#include <qgesturerecognizer.h>
Definition at line 59 of file qgesturerecognizer.h.
Public Types | |
enum | ResultFlag { Ignore = 0x0001, MayBeGesture = 0x0002, TriggerGesture = 0x0004, FinishGesture = 0x0008, CancelGesture = 0x0010, ResultState_Mask = 0x00ff, ConsumeEventHint = 0x0100, ResultHint_Mask = 0xff00 } |
Public Member Functions | |
QGestureRecognizer () | |
virtual | ~QGestureRecognizer () |
virtual QGesture * | create (QObject *target) |
virtual Result | recognize (QGesture *state, QObject *watched, QEvent *event)=0 |
virtual void | reset (QGesture *state) |
Static Public Member Functions | |
static Qt::GestureType | registerRecognizer (QGestureRecognizer *recognizer) |
static void | unregisterRecognizer (Qt::GestureType type) |
enum ResultFlag |
Enumerator | |
---|---|
Ignore | |
MayBeGesture | |
TriggerGesture | |
FinishGesture | |
CancelGesture | |
ResultState_Mask | |
ConsumeEventHint | |
ResultHint_Mask |
Definition at line 62 of file qgesturerecognizer.h.
|
virtual |
|
static |
|
static |