diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-05 16:57:25 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-08-10 12:21:44 (GMT) |
commit | 6826490774d66e0470fc1e5848ab89b3a0d0bb86 (patch) | |
tree | 553656766c1625ca837e3d07f59f77e6f3461ace /src/gui/kernel/qevent_p.h | |
parent | 47f58dfad1eb7fe61a523597023df33f3d320377 (diff) | |
download | Qt-6826490774d66e0470fc1e5848ab89b3a0d0bb86.zip Qt-6826490774d66e0470fc1e5848ab89b3a0d0bb86.tar.gz Qt-6826490774d66e0470fc1e5848ab89b3a0d0bb86.tar.bz2 |
Implemented QPinchGesture.
Added a new standard gesture, which is implemented using a native zoom and
rotate gestures on Windows and with a direct touch event handling on other
platforms.
Improved pan support - we subscribe to native pan gesture only when it's really
needed, and we pass proper flags for single finger horizontal/vertical panning.
Reviewed-by: Richard Moe Gustavsen
Diffstat (limited to 'src/gui/kernel/qevent_p.h')
-rw-r--r-- | src/gui/kernel/qevent_p.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/kernel/qevent_p.h b/src/gui/kernel/qevent_p.h index b21b35c..2ff672b 100644 --- a/src/gui/kernel/qevent_p.h +++ b/src/gui/kernel/qevent_p.h @@ -133,9 +133,9 @@ public: }; QNativeGestureEvent() - : QEvent(QEvent::NativeGesture), gestureType(None), percentage(0), direction(0, 0) + : QEvent(QEvent::NativeGesture), gestureType(None), percentage(0) #ifdef Q_WS_WIN - , sequenceId(0) + , sequenceId(0), argument(0) #endif { } @@ -146,6 +146,7 @@ public: QSize direction; #ifdef Q_WS_WIN ulong sequenceId; + quint64 argument; #endif }; |