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)
44 Qt::GestureType gestureType() const;
50 bool hasHotSpot() const;
58 void setGestureCancelPolicy(GestureCancelPolicy
policy);
59 GestureCancelPolicy gestureCancelPolicy()
const;
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)
124 Q_PROPERTY(
qreal totalRotationAngle READ totalRotationAngle WRITE setTotalRotationAngle)
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;
249 QList<QGesture *> gestures()
const;
252 QList<QGesture *> activeGestures()
const;
253 QList<QGesture *> canceledGestures()
const;
273#if QT_CONFIG(graphicsview)
278 QList<QGesture *> m_gestures;
280 QMap<Qt::GestureType, bool> m_accepted;
281 QMap<Qt::GestureType, QWidget *> m_targetWidgets;
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.
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)
n void setPosition(void) \n\
GLbitfield GLuint64 timeout
[4]
GLenum GLuint GLintptr offset
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)