PDA

View Full Version : Multi-selection QTreeWidget with CRTL and without mouse



8080205
3rd October 2012, 15:59
Hi guys,

i want know if is possible in my QTreeWidget i has multi-selection items only if I make key combinations. For example CTR+MOUSE.

sorry my poor English xD

Best regards,
8080205

wysota
5th October 2012, 00:41
The title of your post is contradictory to the content of your post -- you want to select thigs with or without a mouse?

ChrisW67
5th October 2012, 05:09
I think* we have a QTreeWidget with QAbstractItemView::MultiSelection mode but the OP wants items to be toggled by mouse clicks only if the mouse is used in conjunction with another key (Control in this case). Or... the OP may just want ExtendedSelection.

* A dangerous, and often misleading pursuit ;)

8080205
9th October 2012, 11:14
Thanks a lot everyone. My problem is resolved.

Best Regards,

8080205

alfaalfa
19th August 2013, 09:53
Hi 8080205,

Could you please let me know how you have solved your problem.