6#include "private/qgesture_p.h"
7#include "private/qgesturemanager_p.h"
8#include "private/qapplication_p.h"
156 d->isHotSpotSet =
false;
202 if (!qAppPriv->gestureManager)
static QApplicationPrivate * instance()
static QGestureManager * instance(InstanceCreation ic=ForceCreation)
The QGestureRecognizer class provides the infrastructure for gesture recognition.\inmodule QtWidgets.
static void unregisterRecognizer(Qt::GestureType type)
Unregisters all gesture recognizers of the specified type.
virtual void reset(QGesture *state)
This function is called by the framework to reset a given gesture.
QGestureRecognizer()
Constructs a new gesture recognizer object.
static Qt::GestureType registerRecognizer(QGestureRecognizer *recognizer)
Registers the given recognizer in the gesture framework and returns a gesture ID for it.
virtual QGesture * create(QObject *target)
This function is called by Qt to create a new QGesture object for the given target (QWidget or QGraph...
virtual ~QGestureRecognizer()
Destroys the gesture recognizer.
The QGesture class represents a gesture, containing properties that describe the corresponding user i...
Qt::GestureState state
the current state of the gesture
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.