Re: [Interest] Globally Converting QTapAndHoldGesture to Mouse Double Click

2013-02-22 Thread Joshua Grauman
That is a good thought, but I don't think that is the problem. I have a double click event handler on one of my widgets, and it's not even getting called. I would think that sending a double click event would cause the double click event handler to be called, so that's why I think that somehow

[Interest] Globally Converting QTapAndHoldGesture to Mouse Double Click

2013-02-21 Thread Joshua Grauman
Hello all, I'm trying to write a global proceedure to convert all QTapAndHoldGesture events to mouse double click events. I thought this should be trivial, but it's really stumping me. I setup an event filter globally for my QApplication and grab the gesture as follow:

Re: [Interest] Globally Converting QTapAndHoldGesture to Mouse Double Click

2013-02-21 Thread Tony Rietwyk
Hi Josh, I think most widgets are expecting Press, Release, DoubleClick, Release sequences. In my own code, I've had to set a flag on the double-click, then action it on the following release. This was where the double-click was to open another dialog. Without this, the release would