Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2339

Enums returned from QAIM::data() get casted to ints for StyledItemDelegate.displayText()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4: Low
    • 6.5.2
    • 6.5.0
    • PySide
    • None
    • Windows
    • 59581e630 (dev), 916ff7efd (6.5)

    Description

      See example. Works in PyQt6, in PySide6 the enum value got casted to an int.

      Attachments

        1. pyside2339_log.txt
          2 kB
        2. pyside2339_pyqt.py
          1 kB
        3. pyside2339.py
          1 kB
        4. test.py
          0.9 kB

        Issue Links

          For Gerrit Dashboard: PYSIDE-2339
          # Subject Branch Project Status CR V

          Activity

            People

              shpremna Shyamnath Premnadh
              phil__65 Philipp Temminghoff
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes