When I set ItemFlags to 'Qt::ItemIsSelectable | Qt::ItemIsEnabled' in my model, alle fields are read only except for the checkboxes. A user can still check and uncheck the checkboxes even though Qt::ItemIsUserCheckable has not been set.
The only way to work around this is to disable the column with the checkboxes. Is this working as expected or am I missing something ?
With flags implemented like below checkboxes can be checked/unchecked by the user:
Sure this cannot be the way to ensure a user cannot check the checkboxes if I did not specify the ItemIsUserCheckable.
I also tried
column = (Qtitan::GridTableColumn*)view->getColumnByModelColumn(EnterpriseTableModel::isBilling);
if (column) column->editorRepository()->setEditorActivationPolicy(Qtitan::NoPolicy);
No change - still able to check and uncheck the checkbox...