summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-09-21 11:44:07 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-09-29 10:15:08 +0000
commit38ae3bb1c2154c6be289c74d6415eead258745dc (patch)
treed97a7316051572058706d502e5db7d8a8bf8e803 /tests/manual
parenta4439d6baf6996fd018575f5ed752b4d4429f92a (diff)
replace MultiPointHandler::requiredPointCount with min/max range props
This is more flexible in case someone wants a PinchHandler to respond in the same way for either 2 or 3 touchpoints, for example. Change-Id: I360ce6f0239d86aa92dbebc225e3646883e71100 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/pointer/pinchDragFlingMPTA.qml2
-rw-r--r--tests/manual/pointer/pinchHandler.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/pointer/pinchDragFlingMPTA.qml b/tests/manual/pointer/pinchDragFlingMPTA.qml
index 6446a17873..07b2dc2c45 100644
--- a/tests/manual/pointer/pinchDragFlingMPTA.qml
+++ b/tests/manual/pointer/pinchDragFlingMPTA.qml
@@ -75,7 +75,7 @@ Rectangle {
id: pinch3
objectName: "3-finger pinch"
target: container
- requiredPointCount: 3
+ minimumPointCount: 3
minimumScale: 0.1
maximumScale: 10
onActiveChanged: if (!active) fling.restart(centroidVelocity)
diff --git a/tests/manual/pointer/pinchHandler.qml b/tests/manual/pointer/pinchHandler.qml
index 71cdd98e4f..1102f33618 100644
--- a/tests/manual/pointer/pinchHandler.qml
+++ b/tests/manual/pointer/pinchHandler.qml
@@ -118,7 +118,7 @@ Rectangle {
PinchHandler {
id: pinch3
objectName: "3-finger pinch"
- requiredPointCount: 3
+ minimumPointCount: 3
minimumScale: 0.1
maximumScale: 10
onActiveChanged: {