diff options
| author | Christian Tismer <tismer@stackless.com> | 2022-08-03 16:30:51 +0200 |
|---|---|---|
| committer | Christian Tismer <tismer@stackless.com> | 2022-08-09 16:44:24 +0200 |
| commit | 06bc40580c5f170e903d58e5e1fe5793be749e3c (patch) | |
| tree | a622aa741d391ded602086d15623e96ee6e418ef /sources/pyside6/doc/tutorials | |
| parent | f9f620436058efe93d086c5214955c4d56e70e26 (diff) | |
PyEnum: Fix QKeySequence to stay correct when switching IntEnum to Enum
Most PyEnum types will no longer be compatible with int, when we change
from IntEnum to Enum.
This has a number of consequences and leads to improvements
in type representations.
The repr of QKeySequence was actually wrong and misleading,
see the test qkeysequence_test.py .
We change the repr and the indexing to return QKeyCombination like
our competitor does since a long time.
[ChangeLog][PySide6] QKeySequence returns now QKeyCombination instances
when indexed and the new PyEnums are used.
Change-Id: Idaaeb44ca3b6103b3e0416eaeb691ad954745f73
Pick-to: 6.3
Task-number: PYSIDE-1735
Fixes: PYSIDE-2021
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/doc/tutorials')
0 files changed, 0 insertions, 0 deletions
