diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-20 19:01:56 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-22 14:59:19 (GMT) |
commit | 9cf2b77328fce9b7663876966112af6ed374df5b (patch) | |
tree | 2dc8ba37d1ff9c5b1f3dc62dd4b9d1661194093e /src/gui/graphicsview/qgraphicsscene_p.h | |
parent | 6406a786990a7526120871dceb318ff788d609e2 (diff) | |
download | Qt-9cf2b77328fce9b7663876966112af6ed374df5b.zip Qt-9cf2b77328fce9b7663876966112af6ed374df5b.tar.gz Qt-9cf2b77328fce9b7663876966112af6ed374df5b.tar.bz2 |
Implemented gesture event delivery and propagation inside QGraphicsView.
Reviewed-by: Thomas Zander
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene_p.h')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene_p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene_p.h b/src/gui/graphicsview/qgraphicsscene_p.h index 4c82b49..cd20fd0 100644 --- a/src/gui/graphicsview/qgraphicsscene_p.h +++ b/src/gui/graphicsview/qgraphicsscene_p.h @@ -282,7 +282,12 @@ public: bool allItemsIgnoreTouchEvents; void enableTouchEventsOnViews(); + QHash<QGesture *, QGraphicsObject *> gestureTargets; void gestureEventHandler(QGestureEvent *event); + void getGestureTargets(const QSet<QGesture *> &gestures, QWidget *viewport, + QMap<Qt::GestureType, QGesture *> *conflictedGestures, + QList<QList<QGraphicsObject *> > *conflictedItems, + QHash<QGesture *, QGraphicsObject *> *normalGestures); void updateInputMethodSensitivityInViews(); |