PDA

View Full Version : QTreeView CheckBox



parshant65@gmail.com
7th March 2014, 06:49
I have created a tree with QTreeView + QStandardItemModel with checkboxes. I need to perform separate action on checkbox click and item click.
I am not able to identify difference between checkbox click and item click. Please suggest how to do that?

ChrisW67
7th March 2014, 06:55
The click on the checkbox will result in a model update of the CheckStaterole and a click elsewhere will not. What are you trying to achieve?

parshant65@gmail.com
7th March 2014, 07:06
I am new to QT. Can you explain where and how to handle it?