PDA

View Full Version : itemDoubleClicked - QTreeWidgetItem



bismitapadhy
19th February 2010, 09:24
The itemDoubleClicked () signal is working, when user doubleclicked left mouse button as well as right mouse button and scroll button double clicked in the run time.
How can i restrict this. I want this function should work only on left mouse button double clicked.

Suggest me any idea or any function available.

wysota
19th February 2010, 11:17
Reimplement mouseDoubleClickEvent() for the view and call the base class implementation only if the left mouse button caused the event (you have such information in the event object available).