Since PyQt 5.11 the Qt enum values are also available as scoped enums, making use of actual Python enums.
That means instead of e.g. QtWidgets.QAbstractItemView.ExtendedSelection this value can be accessed with QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection
In PyQt6 this scoped access is the only possible access. In order to ease the actualy PyQt6 migration we plan to do this conversion for PyQt5 in Picard 2.8.
See https://www.riverbankcomputing.com/static/Docs/PyQt5/gotchas.html#enums
- is a dependency of
-
PICARD-2331 Update to PyQt 6
- Closed