aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/touchmouse/data/buttononflickable.qml
blob: 95a993f806ea9debcdcf41c61e3ea9f325a467ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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
            }
        }
    }
}