We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3238de7 commit bdbda26Copy full SHA for bdbda26
qtpy/QtCore.py
@@ -87,6 +87,7 @@
87
88
# Alias for MiddleButton removed in PyQt6 but available in PyQt5, PySide2 and PySide6
89
Qt.MidButton = Qt.MiddleButton
90
+ Qt.MouseButton.MidButton = Qt.MiddleButton
91
92
# Add removed definition for `Qt.ItemFlags` as an alias of `Qt.ItemFlag`
93
# passing as default value 0 in the same way PySide6 6.5+ does.
@@ -142,6 +143,7 @@
142
143
) = Qt.BackgroundRole
144
Qt.TextColorRole = Qt.ItemDataRole.TextColorRole = Qt.ForegroundRole
145
146
147
148
# Map DeprecationWarning methods
149
QCoreApplication.exec_ = lambda *args, **kwargs: possibly_static_exec(
0 commit comments