summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/anchors/data/anchors.qml
blob: 6a87390a6cd063cee2ac2b136197aa47235d0cb3 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Rect {
    color: "white"
    width: 240
    height: 320
    Rect { id: MasterRect; x: 26; width: 96; height: 20; color: "red" }
    Rect {
        id: Rect1
        y: 20; width: 10; height: 10
        anchors.left: MasterRect.left
    }
    Rect {
        id: Rect2
        y: 20; width: 10; height: 10
        anchors.left: MasterRect.right
    }
    Rect {
        id: Rect3
        y: 20; width: 10; height: 10
        anchors.left: MasterRect.horizontalCenter
    }
    Rect {
        id: Rect4
        y: 30; width: 10; height: 10
        anchors.right: MasterRect.left
    }
    Rect {
        id: Rect5
        y: 30; width: 10; height: 10
        anchors.right: MasterRect.right
    }
    Rect {
        id: Rect6
        y: 30; width: 10; height: 10
        anchors.right: MasterRect.horizontalCenter
    }
    Rect {
        id: Rect7
        y: 50; width: 10; height: 10
        anchors.left: parent.left
    }
    Rect {
        id: Rect8
        y: 50; width: 10; height: 10
        anchors.left: parent.right
    }
    Rect {
        id: Rect9
        y: 50; width: 10; height: 10
        anchors.left: parent.horizontalCenter
    }
    Rect {
        id: Rect10
        y: 60; width: 10; height: 10
        anchors.right: parent.left
    }
    Rect {
        id: Rect11
        y: 60; width: 10; height: 10
        anchors.right: parent.right
    }
    Rect {
        id: Rect12
        y: 60; width: 10; height: 10
        anchors.right: parent.horizontalCenter
    }
    Rect {
        id: Rect13
        x: 200; width: 10; height: 10
        anchors.top: MasterRect.bottom
    }
    Rect {
        id: Rect14
        width: 10; height: 10; color: "steelblue"
        anchors.verticalCenter: parent.verticalCenter
    }
    Rect {
        id: Rect15
        y: 200; height: 10
        anchors.left: MasterRect.left
        anchors.right: MasterRect.right
    }
    Rect {
        id: Rect16
        y: 220; height: 10
        anchors.left: MasterRect.left
        anchors.horizontalCenter: MasterRect.right
    }
    Rect {
        id: Rect17
        y: 240; height: 10
        anchors.right: MasterRect.right
        anchors.horizontalCenter: MasterRect.left
    }
    Rect {
        id: Rect18
        x: 180; width: 10
        anchors.top: MasterRect.bottom
        anchors.bottom: Rect12.top
    }
    Rect {
        id: Rect19
        y: 70; width: 10; height: 10
        anchors.horizontalCenter: parent.horizontalCenter
    }
    Rect {
        id: Rect20
        y: 70; width: 10; height: 10
        anchors.horizontalCenter: parent.right
    }
    Rect {
        id: Rect21
        y: 70; width: 10; height: 10
        anchors.horizontalCenter: parent.left
    }
}