aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickflickable
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-09-13 16:42:55 +0200
committerSergio Ahumada <sergio.ahumada@digia.com>2013-09-13 16:42:55 +0200
commita30cacff3885484c9d9a53a4dcebf4d79f4063d3 (patch)
treef8d273b856716c06de200e0f4a3b9fb9b19171ba /tests/auto/quick/qquickflickable
parent9c82c105a1886473ca144b802ce9f5bec01e35e8 (diff)
parentb01b2474bb4c901a60a528c66f8b0ae8dd14e975 (diff)
Merge remote-tracking branch 'origin/stable' into dev
Diffstat (limited to 'tests/auto/quick/qquickflickable')
-rw-r--r--tests/auto/quick/qquickflickable/data/nestedmousearea.qml26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickflickable/data/nestedmousearea.qml b/tests/auto/quick/qquickflickable/data/nestedmousearea.qml
new file mode 100644
index 0000000000..f8f1e59244
--- /dev/null
+++ b/tests/auto/quick/qquickflickable/data/nestedmousearea.qml
@@ -0,0 +1,26 @@
+import QtQuick 2.0
+
+Flickable {
+ id: outer
+ objectName: "flickable"
+ width: 400
+ height: 400
+ contentX: 50
+ contentY: 50
+ contentWidth: 500
+ contentHeight: 500
+
+ Rectangle {
+ objectName: "nested"
+ x: 100
+ y: 100
+ width: 300
+ height: 300
+
+ color: "yellow"
+ MouseArea {
+ anchors.fill: parent
+ drag.target: parent
+ }
+ }
+}