Qt-interest Archive, February 2008
Checkable TableView cell read-only when value is true
Message 1 in thread
I have created a qtableview with realtively simple model where one of
the entries in the table is a boolean. I have managed to set the flags,
etc so that a checkbox is displayed in the box (as desired), but only
the cells set to false are checkable. I cannot check the boxes set to
true and once I have checked a box from false to true, it becomes read only.
I am sure I have set my flags, etc. correctly - can somebody please help?
This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify the sender and delete the original.
--
[ signature omitted ]