aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-04-21 15:18:27 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-04-28 08:58:15 +0000
commit4c84de4a93b0cdc116d67173eb5d8e7926fe3311 (patch)
treeb567110b17c54ba532f4d229ab1161b203b0e21d /tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro
parenteab5437d3d5a2a80a1b583f3345370036e26dc44 (diff)
Add tst_flickableinterop: verify drag and tap handlers inside Flickable
Flickable can steal the grab from a PointerHandler the same way it can steal from an Item: by filtering the children's events. But within the drag threshold, or if the DragHandler is dragging, the handlers behave normally. Change-Id: If1bc1f2e8d9aaebb590f3434a3018a9f1a1f1dac Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro')
-rw-r--r--tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro b/tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro
new file mode 100644
index 0000000000..9075044bd3
--- /dev/null
+++ b/tests/auto/quick/pointerhandlers/flickableinterop/flickableinterop.pro
@@ -0,0 +1,15 @@
+CONFIG += testcase
+
+TARGET = tst_flickableinterop
+QT += core-private gui-private qml-private quick-private testlib
+
+macos:CONFIG -= app_bundle
+
+SOURCES += tst_flickableinterop.cpp
+
+include (../../../shared/util.pri)
+include (../../shared/util.pri)
+
+TESTDATA = data/*
+
+OTHER_FILES += data/flickableWithHandlers.qml data/Slider.qml