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

Qt.CheckStateRole not displayed in QAbstractItemView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.3.0, 6.2.4
    • PySide
    • None
    • Python 3.10, Windows 10
    • Windows

    Description

      A Qt.ItemIsUserCheckable cell in a QAbstractItemView (seen in QTreeView and QTableView) is not displaying the Qt.CheckStateRole. The checkbox is always displayed as unchecked. The problem is not present in 6.2.3, but is present in 6.2.4 and 6.3.0.

      There is a semi-minimal example in the .py file attached. In the example the 0th row Enabled value should be checked and the 1st row should be unchecked. The checkboxes should be properly user checkable.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              toadlump Nicholas McKubre
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes