[Qt-interest] Checkbox and QTableWidgetItem
Andrew Bell
andrew.bell.ia at gmail.com
Thu Feb 5 22:23:13 CET 2009
Hi,
I would have thought that the _display_ of a checkbox in a cell
associated with a TableWidgetItem would be independent of the _state_
of the check box, but I don't see support for this functionality. For
example, I can't find any method to remove a check box once displayed
with TableWidgetItem::setCheckState().
Calling TableWidgetItem::checkState() on a cell that has no check box
displayed returns Qt::Unchecked, the same value that you get if you
call TableWidgetItem::checkState() on cell that has an unchecked box
displayed.
Can anyone help to explain the expected way to manipulate check boxes
associated with TableWidgetItems?
Thanks,
--
Andrew Bell
andrew.bell.ia at gmail.com
More information about the Qt-interest-old
mailing list