PDA

View Full Version : How to handle double clicks with mouse?



Morea
14th January 2007, 11:44
I read in the docs that a double click generates a QMousePressEvent and a QMouseReleaseEvent.
How can this behaviour be controlled so that it doesn't do that?

jpn
14th January 2007, 12:01
But you still want the events in case of a single press/release? This would basically mean a delayed handling of every press/release event. There is no way of knowing by the time they occur if a double click is coming.