aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/itemviews
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-09-19 12:00:14 +0200
committerChristian Tismer <tismer@stackless.com>2022-09-26 13:12:00 +0200
commit1f143f0440a32882587d4919d0855c7a3e2cd67c (patch)
treec1d24fff22187a282920eb31daa997f9a37bed10 /examples/widgets/itemviews
parentb499d69cf3f5b2a1e74646ec2df4217fc0961713 (diff)
PyEnum: Increase Compatibility by allowing any int as enum value
This patch supplies a _missing_ function to every (Int)?Enum class that creates the given integer as a nameless enum. The missing object is created on-demand and kept in the dict "_sbk_missing_" for re-use. [ChangeLog][PySide6] New Python Enum/IntEnum now allows for missing values like the Shiboken enums before, increasing compatibility. Task-number: PYSIDE-1735 Task-number: PYSIDE-841 Change-Id: I436b536e0a29337663cc3bca5db4322d9cf0de74 Pick-to: 6.3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions