Hi,
I m having a QTreeWidget and inserting item in the treeWidget as follows.
item->setText(0,"My Text");
item->setIcon(0,icon);
item->setText(1,"--");
item->setCheckState(0,Qt::Unchecked);
QTreeWidgetItem *item = new QTreeWidgetItem(MyTreeWidget);
item->setText(0,"My Text");
item->setIcon(0,icon);
item->setText(1,"--");
item->setCheckState(0,Qt::Unchecked);
To copy to clipboard, switch view to plain text mode
and when I click on the item in the treeWidget on Qt 4.2.2 it is checked immediately but when i am using this code in Qt 4.3.2 then the item is not checked immediately (often) and sometime it is not even checked and also giving the look of disable treeWidget.
Bookmarks