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

Complete Qt6/PySide6 migration #187

Merged
merged 22 commits into from
Dec 19, 2023
Merged

Complete Qt6/PySide6 migration #187

merged 22 commits into from
Dec 19, 2023

Conversation

daringer
Copy link
Collaborator

@daringer daringer commented Dec 18, 2023

supersedes: #181 & #176

This is a complete migration to PySide6 including:

  • adaptions for poetry
  • bump pynitrokey to 0.4.43
  • remove any resources/ui translation and corresponding files#
  • load ui and icons from files directly
  • *.ui referenced files shall be relative to the ui/ directory (set as workdir during in UiLoader)
  • remove any old/unused files inside ui/ and bak itself
  • derive from Qt6's QUiLoader to populate the owning QWidget instead of creating a QWidget inside another QWidget

@daringer daringer force-pushed the qt6-full branch 2 times, most recently from 3328053 to 9169c7f Compare December 18, 2023 16:04
This was referenced Dec 18, 2023
daringer and others added 19 commits December 18, 2023 17:07
* convert enums to full paths for qt6
* change all `PyQt5` occurences to `PyQt6`
* rename all pyqtSlot/pyqtSignal to Slot/Signal
* temporary move to pyside6 tooling for ui compilation
* some unused code removed
* various cleanups for icons and ui-widgets
* remove old 'about_dialog.py' and its '.ui'
* no need to compile resources anymore, now filepaths are used directly
* no need to compile '.ui' files to '.py' anymore, QUiLoader takes care
  during runtime
* introduce new `load_ui()` that properly injects into current instance
* automated resizing of inner widgets works again
* rename evil 'widget' to 'line_widget' inside `secrets_tab.ui`
remember - don't try to overwrite Qt's `.connect` method!
* add pyqt6-stubs
* bump pynitrokey to 0.4.43
* center nitrokey logo in left frame
* proper layout design for the left frame
@daringer daringer merged commit f0efa28 into main Dec 19, 2023
10 checks passed
@daringer daringer deleted the qt6-full branch December 19, 2023 13:55
@mmerklinger mmerklinger mentioned this pull request Jan 12, 2024
This was referenced Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants