diff options
Diffstat (limited to 'tests/auto/quick/touchmouse/data/buttononflickable.qml')
-rw-r--r-- | tests/auto/quick/touchmouse/data/buttononflickable.qml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/auto/quick/touchmouse/data/buttononflickable.qml b/tests/auto/quick/touchmouse/data/buttononflickable.qml new file mode 100644 index 0000000000..95a993f806 --- /dev/null +++ b/tests/auto/quick/touchmouse/data/buttononflickable.qml @@ -0,0 +1,42 @@ +import QtQuick 2.0 +import Qt.test 1.0 + +Rectangle { + id: root + width: 300 + height: 500 + color: "green" + + Flickable { + objectName: "flickable" + anchors.fill: parent + contentHeight: 1000 + + Rectangle { + objectName: "button" + y: 100 + height: 100 + width: parent.width + + EventItem { + objectName: "eventItem1" + height: 100 + width: 300 + } + } + + Rectangle { + objectName: "button2" + y: 300 + height: 100 + width: parent.width + + EventItem { + objectName: "eventItem2" + height: 100 + width: 300 + } + } + } +} + |