4#ifndef QGESTUREMANAGER_P_H
5#define QGESTUREMANAGER_P_H
18#include <QtWidgets/private/qtwidgetsglobal_p.h>
21#include "private/qwidget_p.h"
44#if QT_CONFIG(graphicsview)
73 inline bool operator<(
const ObjectGesture &rhs)
const
75 if (std::less<QObject *>{}(
object, rhs.object))
77 if (
object == rhs.object)
78 return gesture < rhs.gesture;
89 int m_lastCustomGestureId;
94 void cleanupGesturesForRemovedRecognizer(
QGesture *gesture);
104 void cancelGesturesForChildren(
QGesture *originatingGesture);
void recycle(QGesture *gesture)
Qt::GestureType registerGestureRecognizer(QGestureRecognizer *recognizer)
bool filterEventThroughContexts(const QMultiMap< QObject *, Qt::GestureType > &contexts, QEvent *event)
static bool gesturePending(QObject *o)
bool filterEvent(QWidget *receiver, QEvent *event)
void unregisterGestureRecognizer(Qt::GestureType type)
static QGestureManager * instance(InstanceCreation ic=ForceCreation)
void cleanupCachedGestures(QObject *target, Qt::GestureType type)
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...
The QGraphicsObject class provides a base class for all graphics items that require signals,...
QObject * parent() const
Returns a pointer to the parent object.
Combined button and popup list for selecting options.
constexpr bool operator<(const timespec &t1, const timespec &t2)