4#ifndef QGESTURERECOGNIZER_H
5#define QGESTURERECOGNIZER_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qnamespace.h>
25 MayBeGesture = 0x0002,
26 TriggerGesture = 0x0004,
27 FinishGesture = 0x0008,
28 CancelGesture = 0x0010,
30 ResultState_Mask = 0x00ff,
32 ConsumeEventHint = 0x0100,
37 ResultHint_Mask = 0xff00
The QGestureRecognizer class provides the infrastructure for gesture recognition.\inmodule QtWidgets.
ResultFlag
This enum describes the result of the current event filtering step in a gesture recognizer state mach...
virtual Result recognize(QGesture *state, QObject *watched, QEvent *event)=0
Handles the given event for the watched object, updating the state of the gesture object as required,...
The QGesture class represents a gesture, containing properties that describe the corresponding user i...
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)