aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickflickable
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@jollamobile.com>2013-08-24 09:06:10 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-09 10:07:24 +0200
commitb01b2474bb4c901a60a528c66f8b0ae8dd14e975 (patch)
treea121b5ea5678cc2b6c49faf12f7e95a875e2802a /tests/auto/quick/qquickflickable
parentc65bab24f18781c3a50b866c048f2dc4db57f400 (diff)
Add missing file to qquickflickable test
Change-Id: I69014a85f61bbf1958daa1e4b6cda59534c04a83 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Alan Alpert <aalpert@blackberry.com>
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
+ }
+ }
+}