diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-03-31 18:36:53 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2017-04-25 08:36:47 +0000 |
commit | f569af401aae651ea9bfa1f3a8ff68a58f8d71d1 (patch) | |
tree | 8ea20f278b3df8d8852f2633feaba4178787e329 /tests/manual/pointer/pinchHandler.qml | |
parent | b8dbafcae9ccfbf5c2ef7a173c51a73e57476681 (diff) |
QQuickPointerDeviceHandler: add acceptedModifiers
Sometimes you want to require holding down a key in order to enable
some interaction. As with the other "accepted" flags, it's better to
do this with a property than with Javascript.
Change-Id: Ie29880f5f9f496ddca1bee462e2c0e6dd30fa9f5
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual/pointer/pinchHandler.qml')
-rw-r--r-- | tests/manual/pointer/pinchHandler.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/manual/pointer/pinchHandler.qml b/tests/manual/pointer/pinchHandler.qml index 1d0a859564..71cdd98e4f 100644 --- a/tests/manual/pointer/pinchHandler.qml +++ b/tests/manual/pointer/pinchHandler.qml @@ -91,6 +91,7 @@ Rectangle { minimumX: 0 maximumX: 600 pointDistanceThreshold: 0 + // acceptedModifiers: Qt.ControlModifier } } |