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

WIP: Port to PySide6 #11

Closed
wants to merge 3 commits into from
Closed

Conversation

jsvgoncalves
Copy link
Member

@jsvgoncalves jsvgoncalves commented Feb 16, 2024

Note

There are two commits for easier review, I'll squash them once the PR is approved.

Port to PySide6

For general porting notes, see:
https://doc.qt.io/qtforpython-6/gettingstarted/porting_from2.html

* Update imports to reference `PySide6`
* Update `QAction` imports, it has moved from `QtWidgets` to `QtGui`

For general porting notes, see:
  https://doc.qt.io/qtforpython-6/gettingstarted/porting_from2.html

Signed-off-by: Joao Goncalves <jsvgoncalves@gmail.com>
* Signal handling in PyQt6 is more generic and the `activated` signal
  emits only the index, see:
  https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QComboBox.html#PySide6.QtWidgets.PySide6.QtWidgets.QComboBox.activated

Signed-off-by: Joao Goncalves <jsvgoncalves@gmail.com>
@jsvgoncalves jsvgoncalves linked an issue Mar 25, 2024 that may be closed by this pull request
@jsvgoncalves jsvgoncalves deleted the branch cauldron:master June 4, 2024 11:57
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.

Upgrade QT library to pyside6
1 participant