7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtCore/qobject.h>
9#include <QtCore/qmap.h>
10#include <QtCore/qlist.h>
11#include <QtCore/qdatetime.h>
12#include <QtCore/qpoint.h>
13#include <QtCore/qrect.h>
14#include <QtCore/qmetatype.h>
15#include <QtGui/qevent.h>
36 WRITE setGestureCancelPolicy)
50 bool hasHotSpot()
const;
58 void setGestureCancelPolicy(GestureCancelPolicy
policy);
59 GestureCancelPolicy gestureCancelPolicy()
const;
81 Q_PRIVATE_PROPERTY(QPanGesture::d_func(),
qreal horizontalVelocity READ horizontalVelocity WRITE setHorizontalVelocity)
82 Q_PRIVATE_PROPERTY(QPanGesture::d_func(),
qreal verticalVelocity READ verticalVelocity WRITE setVerticalVelocity)
91 qreal acceleration()
const;
98 friend class QWinNativePanGestureRecognizer;
109 ScaleFactorChanged = 0x1,
110 RotationAngleChanged = 0x2,
111 CenterPointChanged = 0x4
117 Q_PROPERTY(ChangeFlags totalChangeFlags READ totalChangeFlags WRITE setTotalChangeFlags)
118 Q_PROPERTY(ChangeFlags changeFlags READ changeFlags WRITE setChangeFlags)
120 Q_PROPERTY(
qreal totalScaleFactor READ totalScaleFactor WRITE setTotalScaleFactor)
121 Q_PROPERTY(
qreal lastScaleFactor READ lastScaleFactor WRITE setLastScaleFactor)
124 Q_PROPERTY(
qreal totalRotationAngle READ totalRotationAngle WRITE setTotalRotationAngle)
125 Q_PROPERTY(
qreal lastRotationAngle READ lastRotationAngle WRITE setLastRotationAngle)
126 Q_PROPERTY(
qreal rotationAngle READ rotationAngle WRITE setRotationAngle)
128 Q_PROPERTY(
QPointF startCenterPoint READ startCenterPoint WRITE setStartCenterPoint)
129 Q_PROPERTY(
QPointF lastCenterPoint READ lastCenterPoint WRITE setLastCenterPoint)
136 ChangeFlags totalChangeFlags()
const;
137 void setTotalChangeFlags(ChangeFlags
value);
139 ChangeFlags changeFlags()
const;
140 void setChangeFlags(ChangeFlags
value);
142 QPointF startCenterPoint()
const;
143 QPointF lastCenterPoint()
const;
149 qreal totalScaleFactor()
const;
150 qreal lastScaleFactor()
const;
151 qreal scaleFactor()
const;
156 qreal totalRotationAngle()
const;
157 qreal lastRotationAngle()
const;
158 qreal rotationAngle()
const;
171 QPinchGesture__ChangeFlags, Q_WIDGETS_EXPORT)
193 SwipeDirection horizontalDirection()
const;
194 SwipeDirection verticalDirection()
const;
196 qreal swipeAngle()
const;
235 static void setTimeout(
int msecs);
242class QGestureEventPrivate;
273#if QT_CONFIG(graphicsview)
287# ifndef QT_NO_DEBUG_STREAM
295 QGesture__GestureCancelPolicy, Q_WIDGETS_EXPORT)
The QApplication class manages the GUI application's control flow and main settings.
virtual void setAccepted(bool accepted)
void ignore()
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false).
void accept()
Sets the accept flag of the event object, the equivalent of calling setAccepted(true).
The QGestureEvent class provides the description of triggered gestures.
The QGestureRecognizer class provides the infrastructure for gesture recognition.\inmodule QtWidgets.
The QGesture class represents a gesture, containing properties that describe the corresponding user i...
GestureCancelPolicy
This enum describes how accepting a gesture can cancel other gestures automatically.
QGesture(QObject *parent=nullptr)
The QPanGesture class describes a panning gesture made by the user.\inmodule QtWidgets.
The QPinchGesture class describes a pinch gesture made by the user.\inmodule QtWidgets.
ChangeFlag
This enum describes the changes that can occur to the properties of the gesture object.
\inmodule QtCore\reentrant
The QSwipeGesture class describes a swipe gesture made by the user.\inmodule QtWidgets.
SwipeDirection
This enum describes the possible directions for the gesture's motion along the horizontal and vertica...
The QTapAndHoldGesture class describes a tap-and-hold (aka LongTap) gesture made by the user....
The QTapGesture class describes a tap gesture made by the user.\inmodule QtWidgets.
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Q_WIDGETS_EXPORT QDebug operator<<(QDebug, const QGesture *)
n void setPosition(void) \n\
GLbitfield GLuint64 timeout
[4]
GLenum GLuint GLintptr offset
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent