spyder-ide / qtpy

Provides an uniform layer to support PyQt5, PySide2, PyQt6, PySide6 with a single codebase
MIT License
987 stars 153 forks source link

PR: Add `QtCore.Qt.MouseButton.MidButton` alias for Qt6 #475

Closed PierreRaybaut closed 1 month ago

PierreRaybaut commented 9 months ago

If QtCore.Qt.MidButton works with QtPy and Qt6, then QtCore.Qt.MouseButton.MidButton is expected to work as well.

coveralls commented 9 months ago

Coverage Status

coverage: 96.781%. remained the same when pulling bdbda260a0e1fdafcef2c8bf633cbcf14d90d040 on PR-Add-QtCore.Qt.MouseButton.MidButton-alias-for-Qt6 into 3238de7a3e038daeb585c1a76fd9a0c4baf22f11 on master.

ccordoba12 commented 1 month ago

@dalthviz, please push to this PR the fix you mentioned so we can include it in 2.4.2.

coveralls commented 1 month ago

Coverage Status

coverage: 90.18% (+0.02%) from 90.164% when pulling 78d721e5ed950b6ea4bc9c2103fa58a9990022a7 on PR-Add-QtCore.Qt.MouseButton.MidButton-alias-for-Qt6 into cc54a5e2a203f19ed86b0f685ee2da32acef919d on master.