Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Selection behaviour of QTreeView
GAURAV PANT last edited by
I have a tree view with checkboxes.
setTristate property og checkboxes are true means they can have 3 states.
my tree view is like this
Now i want if parent get selected then all its children and sub childrens also get selected and if parent get unchecked then all its childrens get disselected.
Is there any inbuilt Qt function to do this.
qxoz last edited by
You can just edit topic instead of duplicating. I'll delete old one.