Propagate synthesized mouse events in parallel with touch.
[profile/ivi/qtdeclarative.git] / tests / auto / quick / touchmouse / data / buttononflickable.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 Rectangle {
5     id: root
6     width: 300
7     height: 500
8     color: "green"
9
10     Flickable {
11         objectName: "flickable"
12         anchors.fill: parent
13         contentHeight: 1000
14
15         Rectangle {
16             objectName: "button"
17             y: 100
18             height: 100
19             width: parent.width
20
21             EventItem {
22                 objectName: "eventItem1"
23                 height: 100
24                 width: 300
25             }
26         }
27
28         Rectangle {
29             objectName: "button2"
30             y: 300
31             height: 100
32             width: parent.width
33
34             EventItem {
35                 objectName: "eventItem2"
36                 height: 100
37                 width: 300
38             }
39         }
40     }
41 }
42