diff options
author | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-06-22 12:49:09 (GMT) |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@nokia.com> | 2009-06-22 13:02:05 (GMT) |
commit | 3ead3dff7e713057b03cd2b969896f196b7ca2f0 (patch) | |
tree | d4e6f44e3720b8d1f03b88336bdcc1c3fa900aa9 /src/corelib/global | |
parent | f31240c216e19fe02547f078608fa8c0a2aaca7d (diff) | |
download | Qt-3ead3dff7e713057b03cd2b969896f196b7ca2f0.zip Qt-3ead3dff7e713057b03cd2b969896f196b7ca2f0.tar.gz Qt-3ead3dff7e713057b03cd2b969896f196b7ca2f0.tar.bz2 |
Multitouch, Cocoa: Added Qt::WA_TouchPadAcceptSingleTouchEvents
By default this is set to false, meaning you will only get multitouch
events. The reason why this is important is that we use the first
touch of a new touch sequence to find out which widget to send
the subsequent touches to. And on a touchpad, you normally want
this to be the widget under the cursor when more than one finger
is pressed on the pad.
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qnamespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 2e2a09d..0006026 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -493,6 +493,7 @@ public: WA_AcceptTouchEvents = 121, WA_WState_AcceptedTouchBeginEvent = 122, + WA_TouchPadAcceptSingleTouchEvents = 123, // Add new attributes before this line WA_AttributeCount |