4#ifndef QMACSWIPEGESTURERECOGNIZER_MAC_P_H
5#define QMACSWIPEGESTURERECOGNIZER_MAC_P_H
18#include <QtWidgets/private/qtwidgetsglobal_p.h>
21#include <QtCore/qbasictimer.h>
22#include <QtCore/qobject.h>
23#include <QtCore/qpointer.h>
29class QMacSwipeGestureRecognizer :
public QGestureRecognizer
32 QMacSwipeGestureRecognizer();
34 QGesture *create(QObject *target) override;
35 QGestureRecognizer::Result recognize(QGesture *gesture, QObject *watched, QEvent *event) override;
36 void reset(QGesture *gesture) override;
62 QBasicTimer _panTimer;
64 QPointer<QObject> _target;
void reset(QGesture *gesture) override
This function is called by the framework to reset a given gesture.
QGesture * create(QObject *target) override
This function is called by Qt to create a new QGesture object for the given target (QWidget or QGraph...
void timerEvent(QTimerEvent *ev) override
This event handler can be reimplemented in a subclass to receive timer events for the object.
void reset(QGesture *gesture) override
This function is called by the framework to reset a given gesture.
QGesture * create(QObject *target) override
This function is called by Qt to create a new QGesture object for the given target (QWidget or QGraph...
QMacPinchGestureRecognizer()
\inmodule QtCore\reentrant
Combined button and popup list for selecting options.