Hi,
I have QTreeWidgetItem
set in a QTreeWidget
with 2 columns. Both cells got a CheckBox set by setCheckState(...)
.
When the user unchecks the CheckBox in my first column I uncheck the second CheckBox in column 2.
Now, I would like to prevent the user to check this second CheckBox again. Is it possible to remove this CheckBox in column 2 or to disable only this cell? So far I have just seen that all the flags work on the complete item and a set CheckBox won't disapear.
Btw. The items are not editable and I don't want to use a QTableWidget
/-Item
.