42 #ifndef QGESTUREMANAGER_P_H 43 #define QGESTUREMANAGER_P_H 58 #include "private/qwidget_p.h" 61 #ifndef QT_NO_GESTURES 79 #ifndef QT_NO_GRAPHICSVIEW 81 #endif //QT_NO_GRAPHICSVIEW 149 #endif // QT_NO_GESTURES 151 #endif // QGESTUREMANAGER_P_H The QMultiMap class is a convenience QMap subclass that provides multi-valued maps.
void recycle(QGesture *gesture)
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
QMap< ObjectGesture, QList< QGesture * > > m_objectGestures
bool filterEvent(QWidget *receiver, QEvent *event)
QHash< QGestureRecognizer *, QSet< QGesture * > > m_obsoleteGestures
bool filterEventThroughContexts(const QMultiMap< QObject *, Qt::GestureType > &contexts, QEvent *event)
QHash< QGesture *, QGestureRecognizer * > m_deletedRecognizers
QGestureManager(QObject *parent)
The QHash class is a template class that provides a hash-table-based dictionary.
The QObject class is the base class of all Qt objects.
void cleanupCachedGestures(QObject *target, Qt::GestureType type)
void cleanupGesturesForRemovedRecognizer(QGesture *gesture)
virtual bool event(QEvent *)
This virtual function receives events to an object and should return true if the event e was recogniz...
static QGestureManager * instance()
void deliverEvents(const QSet< QGesture *> &gestures, QSet< QGesture *> *undeliveredGestures)
#define QT_BEGIN_NAMESPACE
This macro expands to.
void unregisterGestureRecognizer(Qt::GestureType type)
QSet< QGesture * > m_gesturesToDelete
The State element defines configurations of objects and properties.
enum QGestureManager::State state
bool operator<(const ObjectGesture &rhs) const
void getGestureTargets(const QSet< QGesture *> &gestures, QMap< QWidget *, QList< QGesture *> > *conflicts, QMap< QWidget *, QList< QGesture *> > *normal)
Qt::GestureType registerGestureRecognizer(QGestureRecognizer *recognizer)
QHash< QGesture *, QWidget * > m_gestureTargets
QHash< QGesture *, QGestureRecognizer * > m_gestureToRecognizer
QHash< QGesture *, QObject * > m_gestureOwners
The QGesture class represents a gesture, containing properties that describe the corresponding user i...
QObject * parent() const
Returns a pointer to the parent object.
QGesture * getState(QObject *widget, QGestureRecognizer *recognizer, Qt::GestureType gesture)
QSet< QGesture * > m_activeGestures
The QGestureRecognizer class provides the infrastructure for gesture recognition. ...
The QBasicTimer class provides timer events for objects.
QMultiMap< Qt::GestureType, QGestureRecognizer * > m_recognizers
int m_lastCustomGestureId
The QGraphicsObject class provides a base class for all graphics items that require signals...
The QEvent class is the base class of all event classes.
void cancelGesturesForChildren(QGesture *originatingGesture)
ObjectGesture(QObject *o, const Qt::GestureType &g)
The QMap class is a template class that provides a skip-list-based dictionary.
QSet< QGesture * > m_maybeGestures
The QList class is a template class that provides lists.