PDA

View Full Version : QGraphicsScene Click / Double Click



philentropist
9th February 2007, 05:16
I'm using QGraphicsScene and associated classes to handle mouse input. I've noticed that when I click in one place and then click in another, a mouse press event is sometimes not generated for the second click. I'm assuming it's being interpreted as a double click, but it seems like the time delay is way too long and clicks in different places shouldn't be interpreted as a double click anyway. Is there an easy way to fix this behavior?

aamer4yu
9th February 2007, 05:32
how about setting QApplication::doubleClickInterval ??
QApplication::setDoubleClickInterval :)