Debian Codegraph @

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

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