I have a list view made up by check list items.
The type of parent list view items is CheckBoxController while the type of leaves items is CheckBox (this distinction is needed in order to properly manage the tristate of the QCheckListItem).
The user can delete all children of an item, in such case I have to change the type of such item from CheckBoxController to CheckBox otherwise the tristate is wrongly managed.
Is there a way to easily change the type of a QCheckListItem at run time?
Thanks a lot for your help.
Bookmarks