diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-08-25 11:54:56 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-09-01 11:47:09 +0200 |
| commit | edbee6b65aeafc0fb9a5cdb8d53e04e15a94edbe (patch) | |
| tree | 4597195b0eff909167dde939805bb656031840d8 /sources/pyside-tools/qtpy2cpp_lib/qt.py | |
| parent | 24b86d11921c70029c1b1b75f8a20c83dbc8a88c (diff) | |
PyEnum: Finish the flexible Enum/Flag assignment and correct
The former fixed coupling between flags and the Enum/Flag decision
is no longer correct, because there are rare cases which deviate
heavily from the default.
One example is Qt.Modifier: This class is equivalent to
Qt.KeyboardModifier, which is a Python Flag type.
This patch implements the full flexibility of redefining enum
and flag and corrects the Qt.Modifier case.
Task-number: PYSIDE-1735
Change-Id: I7947e722f72b4d7b821bce57586e1793a1089606
Pick-to: 6.3
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside-tools/qtpy2cpp_lib/qt.py')
0 files changed, 0 insertions, 0 deletions
