| 1 |
import QtQuick 2.0 |
| 2 |
|
| 3 |
Rectangle { |
| 4 |
id: topRect |
| 5 |
width: 320 |
| 6 |
height: 480 |
| 7 |
|
| 8 |
Row{ |
| 9 |
id: row_0000 |
| 10 |
anchors.top: parent.top |
| 11 |
Row{ |
| 12 |
Rectangle{ |
| 13 |
id: rect_0001 |
| 14 |
width: topRect.width / 4 |
| 15 |
height: topRect.height / 4 |
| 16 |
color: "red" |
| 17 |
anchors.top: parent.top |
| 18 |
} |
| 19 |
Rectangle{ |
| 20 |
id: rect_0002 |
| 21 |
width: topRect.width / 4 |
| 22 |
height: topRect.height / 4 |
| 23 |
color: "blue" |
| 24 |
anchors.top: rect_0001.Center |
| 25 |
opacity: 0.1 |
| 26 |
Text{ |
| 27 |
width: parent.width |
| 28 |
text: "opac. 0.1" |
| 29 |
anchors.top: parent.top |
| 30 |
} |
| 31 |
} |
| 32 |
} |
| 33 |
Row{ |
| 34 |
Rectangle{ |
| 35 |
id: rect_0003 |
| 36 |
width: topRect.width / 4 |
| 37 |
height: topRect.height / 4 |
| 38 |
color: "yellow" |
| 39 |
anchors.top: parent.top |
| 40 |
} |
| 41 |
Rectangle{ |
| 42 |
id: rect_0004 |
| 43 |
width: topRect.width / 4 |
| 44 |
height: topRect.height / 4 |
| 45 |
color: "green" |
| 46 |
anchors.top: rect_0003.Center |
| 47 |
opacity: 0.2 |
| 48 |
Text{ |
| 49 |
width: parent.width |
| 50 |
text: "opac. 0.2" |
| 51 |
anchors.top: parent.top |
| 52 |
} |
| 53 |
} |
| 54 |
} |
| 55 |
} |
| 56 |
Row{ |
| 57 |
id: row_0001 |
| 58 |
anchors.top: row_0000.bottom |
| 59 |
Row{ |
| 60 |
Rectangle{ |
| 61 |
id: rect_0005 |
| 62 |
width: topRect.width / 4 |
| 63 |
height: topRect.height / 4 |
| 64 |
color: "black" |
| 65 |
anchors.top: parent.top |
| 66 |
} |
| 67 |
Rectangle{ |
| 68 |
id: rect_0006 |
| 69 |
width: topRect.width / 4 |
| 70 |
height: topRect.height / 4 |
| 71 |
color: "white" |
| 72 |
anchors.top: rect_0005.Center |
| 73 |
opacity: 0.3 |
| 74 |
Text{ |
| 75 |
width: parent.width |
| 76 |
text: "opac. 0.3" |
| 77 |
anchors.top: parent.top |
| 78 |
} |
| 79 |
} |
| 80 |
} |
| 81 |
Row{ |
| 82 |
Rectangle{ |
| 83 |
id: rect_0007 |
| 84 |
width: topRect.width / 4 |
| 85 |
height: topRect.height / 4 |
| 86 |
color: "violet" |
| 87 |
anchors.top: parent.top |
| 88 |
} |
| 89 |
Rectangle{ |
| 90 |
id: rect_0008 |
| 91 |
width: topRect.width / 4 |
| 92 |
height: topRect.height / 4 |
| 93 |
color: "indigo" |
| 94 |
anchors.top: rect_0007.Center |
| 95 |
opacity: 0.4 |
| 96 |
Text{ |
| 97 |
text: "opac. 0.4" |
| 98 |
anchors.top: parent.top |
| 99 |
} |
| 100 |
} |
| 101 |
} |
| 102 |
} |
| 103 |
Row{ |
| 104 |
id: row_0002 |
| 105 |
anchors.top: row_0001.bottom |
| 106 |
Row{ |
| 107 |
Rectangle{ |
| 108 |
id: rect_0009 |
| 109 |
width: topRect.width / 4 |
| 110 |
height: topRect.height / 4 |
| 111 |
color: "light grey" |
| 112 |
anchors.top: parent.top |
| 113 |
} |
| 114 |
Rectangle{ |
| 115 |
id: rect_0010 |
| 116 |
width: topRect.width / 4 |
| 117 |
height: topRect.height / 4 |
| 118 |
color: "cyan" |
| 119 |
anchors.top: rect_0009.Center |
| 120 |
opacity: 0.5 |
| 121 |
Text{ |
| 122 |
text: "opac. 0.5" |
| 123 |
anchors.top: parent.top |
| 124 |
} |
| 125 |
} |
| 126 |
} |
| 127 |
Row{ |
| 128 |
Rectangle{ |
| 129 |
id: rect_0011 |
| 130 |
width: topRect.width / 4 |
| 131 |
height: topRect.height / 4 |
| 132 |
color: "orange" |
| 133 |
anchors.top: parent.top |
| 134 |
} |
| 135 |
Rectangle{ |
| 136 |
id: rect_0012 |
| 137 |
width: topRect.width / 4 |
| 138 |
height: topRect.height / 4 |
| 139 |
color: "pink" |
| 140 |
anchors.top: rect_0011.Center |
| 141 |
opacity: 0.6 |
| 142 |
Text{ |
| 143 |
text: "opac. 0.6" |
| 144 |
anchors.top: parent.top |
| 145 |
} |
| 146 |
} |
| 147 |
} |
| 148 |
} |
| 149 |
Row{ |
| 150 |
id: row_0003 |
| 151 |
anchors.top: row_0002.bottom |
| 152 |
Rectangle{ |
| 153 |
id: rect_0013 |
| 154 |
width: topRect.width / 4 |
| 155 |
height: topRect.height / 4 |
| 156 |
color: "brown" |
| 157 |
anchors.top: parent.top |
| 158 |
} |
| 159 |
Rectangle{ |
| 160 |
id: rect_0014 |
| 161 |
width: topRect.width / 4 |
| 162 |
height: topRect.height / 4 |
| 163 |
color: "light green" |
| 164 |
anchors.top: rect_0013.Center |
| 165 |
opacity: 0.7 |
| 166 |
Text{ |
| 167 |
text: "opac. 0.7" |
| 168 |
anchors.top: parent.top |
| 169 |
} |
| 170 |
} |
| 171 |
Rectangle{ |
| 172 |
id: rect_0015 |
| 173 |
width: topRect.width / 4 |
| 174 |
height: topRect.height / 4 |
| 175 |
color: "dark blue" |
| 176 |
anchors.top: parent.top |
| 177 |
} |
| 178 |
Rectangle{ |
| 179 |
id: rect_0016 |
| 180 |
width: topRect.width / 4 |
| 181 |
height: topRect.height / 4 |
| 182 |
color: "light blue" |
| 183 |
anchors.top: rect_0015.Center |
| 184 |
opacity: 0.8 |
| 185 |
Text{ |
| 186 |
text: "opac. 0.8" |
| 187 |
anchors.top: parent.top |
| 188 |
} |
| 189 |
} |
| 190 |
} |
| 191 |
} |