diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2016-08-01 14:13:20 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-01 19:17:59 +0000 |
commit | 4409160ceb7671123c20f4539cf02c75c935d9e1 (patch) | |
tree | 78d1f9c6ab6d04c571f08c1e248c206b1fd0179b /tests/auto/quick/touchmouse/data | |
parent | eae73be9060b4017b3eee64ab43a5b8ecb62ab2c (diff) |
Test touch point delivery order
Change-Id: I9b93eda0378e10bbcc274998d58f5f5ec62bb1b1
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/touchmouse/data')
-rw-r--r-- | tests/auto/quick/touchmouse/data/touchpointdeliveryorder.qml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/auto/quick/touchmouse/data/touchpointdeliveryorder.qml b/tests/auto/quick/touchmouse/data/touchpointdeliveryorder.qml new file mode 100644 index 0000000000..9f67c226a0 --- /dev/null +++ b/tests/auto/quick/touchmouse/data/touchpointdeliveryorder.qml @@ -0,0 +1,39 @@ +import QtQuick 2.0 +import Qt.test 1.0 + +Rectangle { + id: root + + width: 600 + height: 400 + + EventItem { + objectName: "background" + width: 600 + height: 400 + Rectangle { anchors.fill: parent; color: "lightsteelblue" } + + EventItem { + objectName: "left" + width: 300 + height: 300 + Rectangle { anchors.fill: parent; color: "yellow" } + } + + EventItem { + objectName: "right" + x: 300 + width: 300 + height: 300 + Rectangle { anchors.fill: parent; color: "green" } + } + + EventItem { + objectName: "middle" + x: 150 + width: 300 + height: 300 + Rectangle { anchors.fill: parent; color: "blue" } + } + } +} |