PDA

View Full Version : Use of checked state within Tree Widget



DavidLinSuperstar
26th September 2014, 16:24
Hi Guys,

I'm trying to do a few things here.
The widget is going to be used to see what files need to be updated.
I am currently using a Tree Widget to do this.

10647

Is there a way of adding a check box next to the column header "software" to function as a "select all/unselect all"
Is there a way of making these check boxes larger?

Best Regards,
David

wysota
26th September 2014, 17:08
Is there a way of adding a check box next to the column header "software" to function as a "select all/unselect all"
Yes. Subclass QHeaderView and implement the checkbox.


Is there a way of making these check boxes larger?

Yes, implement a custom item delegate that will draw them larger.