Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.0.1
-
None
-
Kubuntu Linux and Windows
Description
I have a widget that accepts mouse double clicks and also the Tap and Hold Gesture. When I double click with the mouse it generates a Tap and Hold Gesture event.
Here's the code I use to verify that it is indeed a Tap and Hold Gesture...
if(e->type() == QEvent::Gesture)
{
QGestureEvent event = static_cast<QGestureEvent>(e);
if(QGesture *gest = event->gesture(Qt::TapAndHoldGesture))
{
if(gest->state()==1)