summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-09-07 16:01:05 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-09-08 13:18:18 +0000
commit602af14a7782613f1f6e4bd6492a1abf5b40806b (patch)
treedc282de43050eb330601f3f377a4d601b03663f1 /tests/manual
parent1337c54caec3c8f905b11f06a275eca12fdf6a00 (diff)
singlePointHandlerProperties manual test fixes
After 2617ac5b9df7dfdecf0cb02d5933c40df1a55bbc the point.pos properties are renamed. We need to accept all buttons in order to show feedback for middle and right clicks. Change-Id: I2dce1b14c4ac94ffac7b8ed3ecc12938067a434c Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/pointer/singlePointHandlerProperties.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/pointer/singlePointHandlerProperties.qml b/tests/manual/pointer/singlePointHandlerProperties.qml
index f91094ee9e..c51c2eb443 100644
--- a/tests/manual/pointer/singlePointHandlerProperties.qml
+++ b/tests/manual/pointer/singlePointHandlerProperties.qml
@@ -150,9 +150,10 @@ Rectangle {
DragHandler {
id: dragHandler
target: null
+ acceptedButtons: Qt.AllButtons
onGrabChanged: if (active) { // 'point' is an implicit parameter referencing to a QQuickEventPoint instance
console.log("grabbed " + point.pointId + " @ " + point.sceneGrabPos)
- grabbingLocationIndicator.createObject(root, {"x": point.sceneGrabPos.x, "y": point.sceneGrabPos.y - 16})
+ grabbingLocationIndicator.createObject(root, {"x": point.sceneGrabPosition.x, "y": point.sceneGrabPosition.y - 16})
}
onPointChanged: {
// Here, 'point' is referring to the property of the DragHandler