Debian Codegraph @

tests/manual/scenegraph_lancelot/data/borderimages/borderimage_unsmoothed.qml

raw
1 import QtQuick 2.0
2
3 Rectangle {
4 width: 320
5 height: 480
6 property bool smoothing: false
7
8 Rectangle{
9 id: rect_0_0
10 width: 160
11 height: 160
12 x: 0
13 y: 0
14 Text {
15 anchors.verticalCenter: parent.TopLeft
16 text: "border size 1"
17 z: 1
18 }
19 BorderImage {
20 id: borderImage_1
21 smooth: smoothing
22 source: "../shared/sample_1.png"
23 width: 120; height: 120
24 border.left: 1; border.top: 1
25 border.right: 1; border.bottom: 1
26 anchors.centerIn: parent
27 }
28 }
29 Rectangle{
30 id: rect_0_1
31 width: 160
32 height: 160
33 x: 160
34 y: 0
35 Text {
36 anchors.verticalCenter: parent.TopLeft
37 text: "border size 2"
38 z: 1
39 }
40 BorderImage {
41 id: borderImage_2
42 smooth: smoothing
43 source: "../shared/sample_1.png"
44 width: 120; height: 120
45 border.left: 2; border.top: 2
46 border.right: 2; border.bottom: 2
47 anchors.centerIn: parent
48 }
49 }
50 Rectangle{
51 id: rect_1_0
52 width: 160
53 height: 160
54 x: 0
55 y: 160
56 Text {
57 anchors.verticalCenter: parent.TopLeft
58 text: "border size 3"
59 z: 1
60 }
61 BorderImage {
62 id: borderImage_3
63 smooth: smoothing
64 source: "../shared/sample_1.png"
65 width: 120; height: 120
66 border.left: 3; border.top: 3
67 border.right: 3; border.bottom: 3
68 anchors.centerIn: parent
69 }
70 }
71 Rectangle{
72 id: rect_1_1
73 width: 160
74 height: 160
75 x: 160
76 y: 160
77 Text {
78 anchors.verticalCenter: parent.TopLeft
79 text: "border size 4"
80 z: 1
81 }
82 BorderImage {
83 id: borderImage_4
84 smooth: smoothing
85 source: "../shared/sample_1.png"
86 width: 120; height: 120
87 border.left: 4; border.top: 4
88 border.right: 4; border.bottom: 4
89 anchors.centerIn: parent
90 }
91 }
92 Rectangle{
93 id: rect_2_0
94 width: 160
95 height: 160
96 x: 0
97 y: 320
98 Text {
99 anchors.verticalCenter: parent.TopLeft
100 text: "border size 5"
101 z: 1
102 }
103 BorderImage {
104 id: borderImage_5
105 smooth: smoothing
106 source: "../shared/sample_1.png"
107 width: 120; height: 120
108 border.left: 5; border.top: 5
109 border.right: 5; border.bottom: 5
110 anchors.centerIn: parent
111 }
112 }
113 Rectangle{
114 id: rect_2_1
115 width: 160
116 height: 160
117 x: 160
118 y: 320
119 Text {
120 anchors.verticalCenter: parent.TopLeft
121 text: "border size 6"
122 z: 1
123 }
124 BorderImage {
125 id: borderImage_6
126 smooth: smoothing
127 source: "../shared/sample_1.png"
128 width: 120; height: 120
129 border.left: 6; border.top: 6
130 border.right: 6; border.bottom: 6
131 anchors.centerIn: parent
132 }
133 }
134 Rectangle{
135 id: rect_3_0
136 width: 160
137 height: 160
138 x: 0
139 y: 480
140 Text {
141 anchors.verticalCenter: parent.TopLeft
142 text: "border size 7"
143 z: 1
144 }
145 BorderImage {
146 id: borderImage_7
147 smooth: smoothing
148 source: "../shared/sample_1.png"
149 width: 120; height: 120
150 border.left: 7; border.top: 7
151 border.right: 7; border.bottom: 7
152 anchors.centerIn: parent
153 }
154 }
155 Rectangle{
156 id: rect_3_1
157 width: 160
158 height: 160
159 x: 160
160 y: 480
161 Text {
162 anchors.verticalCenter: parent.TopLeft
163 text: "border size 8"
164 z: 1
165 }
166 BorderImage {
167 id: borderImage_8
168 smooth: smoothing
169 source: "../shared/sample_1.png"
170 width: 120; height: 120
171 border.left: 8; border.top: 8
172 border.right: 8; border.bottom: 8
173 anchors.centerIn: parent
174 }
175 }
176
177
178 }