PDA

View Full Version : disable clicked() signal



mattia
27th February 2008, 10:10
Hello,
I have a QTreeWidget with some QTreeWidgetItem in and i'd like to know if there is a way to disable the "clicked()" signal for a specified item.

item1
item2
item3
|___subItem3 --> i want to disable(just for subItem3) the clicked() signal emitted when the item is clicked

thx

wysota
27th February 2008, 10:27
Why do you want to do that?

jpn
27th February 2008, 10:27
You could try making it non-selectable.