Description
See example. Works in PyQt6, in PySide6 the enum value got casted to an int.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2342 Inconsistent behaviour between enums returned from QAbstractItemModel.data() and QModelIndex.data()
- Closed
- relates to
-
QTBUG-75172 Wrong documentation for Qt::ItemDataRole expected types
- Closed
-
PYSIDE-1930 REG ->6.2.4: Cannot return Qt.CheckState enum values from QAbstractItemModel::flags()
- Closed
-
PYSIDE-2840 Enum properties unsupported in Qt Designer custom widgets
- Closed
For Gerrit Dashboard: PYSIDE-2339 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
479510,1 | WIP: Fix returning (modern) enums from QAbstractItemModel::data() | dev | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |
480654,15 | Enum: Enable toInt for QVariant(PyEnum/SbkEnum) | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
484732,2 | Enum: Enable toInt for QVariant(PyEnum/SbkEnum) | 6.5 | pyside/pyside-setup | Status: MERGED | +2 | 0 |