Important: Please read the Qt Code of Conduct -

Possible bug in Qt 5.2.1 about QTreeView checkstate

  • I developed my app with PyQt 5.1.1 and Python 3.3. Recently I changed a new desktop, so I installed the newer PyQt 5.2.1. My app has a QTreeView with checkboxes. When an empty box is check, the values sent to the setData function in the model is Qt::PartiallyChecked(value 1) instead of Qt::Checked(value 2). Is this a bug or a change?

Log in to reply