Hi All ,
I'm trying to implement a table widget which has checkable items in it.
And I want to place a check box on the horizontal header to let user "Check
All" and "Uncheck All" by checking or unchecking this check box.
Does anybody know how to do this?
I tried the following:
QTableWidgetItem* item = new QTableWidgetItem("Check");
item->setCheckState(Qt::Checked);
table->setHorizontalHeaderItem(0, item);
But the header does not have a check box on it.
Thanks in advance
Bookmarks