[Qt-interest] how to set the QTableWidgetItem to Qt::PartiallyChecked?
lvbing lvbing
lvbing1981 at gmail.com
Thu Aug 26 08:38:56 CEST 2010
hi
I create a QTableWidget and setItem with the QTableWidgetItem. also I set
the QTableWidgetItem flags include the Qt::ItemIsTristate.
When I set the QTableWidgetItem setCheckState( Qt::PartiallyChecked ), or
Qt::Checked,my table item can displayed fine!
But when I click table item,it can only switch Qt::UnChecked or
Qt::Checked,and I can't select the state Qt::PartiallyChecked.
is the bug?and how to deal it ?
thax all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100826/621fcd4b/attachment.html
More information about the Qt-interest-old
mailing list