Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Replace QWebViews by native Qt widgets #325

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ptitjano
Copy link
Collaborator

@ptitjano ptitjano commented Mar 6, 2024

With this change, there is no need to use WebView and all the specific js/css resources have been removed: jquery and boostrap.

There is no need to use a webview to display a title and some
description. With this new logic, there are no two different widgets
to display some collection information:
- a label to display the description of the tab (empty state)
- a webview to display a collection description

The next commits will remove this remaining webview.
@github-actions github-actions bot added the UI User interface: forms, widgets... label Mar 6, 2024
This replaces the previous solution based on a QWebView.
Its usage has been replaced by `get_collection` which does not need to
render html.
`get_resource_status` was only introduced while `get_html` was still
present with `get_collection`.
This was used when a QWebView was used to display a collection
information. This is not the case anymore.
This was used when a QwebView was used to display a collection
information. This is not the case anymore.
This makes it easier to understand and use.
@ptitjano ptitjano marked this pull request as draft March 6, 2024 11:50
@ptitjano ptitjano self-assigned this Mar 6, 2024
@Guts
Copy link
Contributor

Guts commented Apr 8, 2024

@ptitjano any chance to see it merged before mid-April?

@ptitjano
Copy link
Collaborator Author

ptitjano commented Apr 9, 2024

@ptitjano any chance to see it merged before mid-April?

I will work on it next week.

@Guts Guts linked an issue May 22, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UI User interface: forms, widgets...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImportError: cannot import name 'QtWebKitWidgets' from 'PyQt5'
2 participants