diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-13 08:11:54 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-10-22 14:59:18 (GMT) |
commit | d1a60dcbddbae46aaea655bb55c0c8fd46f38b2c (patch) | |
tree | 7da27d0d94a66a7806acffc57211c8d8556b5e5f /src/gui/kernel/qevent.h | |
parent | 1b154ddf00473700d697411304804ac065ef32ac (diff) | |
download | Qt-d1a60dcbddbae46aaea655bb55c0c8fd46f38b2c.zip Qt-d1a60dcbddbae46aaea655bb55c0c8fd46f38b2c.tar.gz Qt-d1a60dcbddbae46aaea655bb55c0c8fd46f38b2c.tar.bz2 |
Improved gesture event filtering inside QGraphicsView for QGraphicObjects
Reviewed-by: trustme
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h index 3516222..6cba5fb 100644 --- a/src/gui/kernel/qevent.h +++ b/src/gui/kernel/qevent.h @@ -849,8 +849,13 @@ public: void ignore(QGesture *); bool isAccepted(QGesture *) const; + // internal + void setWidget(QWidget *widget); + QWidget *widget() const; + private: QList<QGesture *> gestures_; + QWidget *widget_; }; QT_END_NAMESPACE |