Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5074

[REG] First row of QTreeWidget not user-checkable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • 4.6.0
    • 4.6.0
    • Widgets: Itemviews
    • None

    Description

      Steps to reproduce / test case:

      #include <QApplication> 
      #include <QTreeWidget> 
      
      int main( int argc, char **argv ) 
      { 
      QApplication app( argc, argv ); 
      
      QTreeWidget *w = new QTreeWidget(); 
      
      for (int i=0; i<4; i++) { 
      QTreeWidgetItem *item = new QTreeWidgetItem(); 
      item->setCheckState(0, Qt::Checked); 
      w->addTopLevelItem(item); 
      } 
      
      w->show(); 
      return app.exec(); 
      } 
      

      More information:

      The supplied minimal testprogram show a QTreeWidget with 4 rows of checkboxes.
      The boxes on rows 2-4 can be check/unchecked by clicking on them, but not the one on the first row. Manual checking of boxes worked fine in Qt-4.5.2.

      Attachments

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

        Activity

          People

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            sthomass Stian Sandvik Thomassen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes