PDA

View Full Version : How can i open a dialog when clicked on treewidget?



newermind
4th May 2009, 12:07
i have a qdialog. And i want to open this dialog when clicked on treewidget or focus on treewidget.. not clicked on treewidgetitem...

how can i do it?

spirit
4th May 2009, 12:11
come on! what is the reason of duplicating threads?!!!

faldzip
4th May 2009, 12:13
try installing the event filter on tree widget's viewport and open dialog on interesting events for you.