|
1 <ui version="4.0" > |
|
2 <comment></comment> |
|
3 <class>ImageDialog</class> |
|
4 <widget class="QDialog" > |
|
5 <property name="objectName" > |
|
6 <string notr="true" >ImageDialog</string> |
|
7 </property> |
|
8 <property name="geometry" > |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>320</width> |
|
13 <height>180</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle" > |
|
17 <string>Create Image</string> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" > |
|
20 <property name="objectName" > |
|
21 <string notr="true" /> |
|
22 </property> |
|
23 <property name="margin" > |
|
24 <number>9</number> |
|
25 </property> |
|
26 <property name="spacing" > |
|
27 <number>6</number> |
|
28 </property> |
|
29 <item> |
|
30 <layout class="QGridLayout" > |
|
31 <property name="objectName" > |
|
32 <string notr="true" /> |
|
33 </property> |
|
34 <property name="margin" > |
|
35 <number>1</number> |
|
36 </property> |
|
37 <property name="spacing" > |
|
38 <number>6</number> |
|
39 </property> |
|
40 <item row="1" column="0" > |
|
41 <widget class="QLabel" name="widthLabel" > |
|
42 <property name="objectName" > |
|
43 <string notr="true" >widthLabel</string> |
|
44 </property> |
|
45 <property name="geometry" > |
|
46 <rect> |
|
47 <x>1</x> |
|
48 <y>27</y> |
|
49 <width>67</width> |
|
50 <height>22</height> |
|
51 </rect> |
|
52 </property> |
|
53 <property name="frameShape" > |
|
54 <enum>QFrame::NoFrame</enum> |
|
55 </property> |
|
56 <property name="frameShadow" > |
|
57 <enum>QFrame::Plain</enum> |
|
58 </property> |
|
59 <property name="text" > |
|
60 <string>Width:</string> |
|
61 </property> |
|
62 <property name="textFormat" > |
|
63 <enum>Qt::AutoText</enum> |
|
64 </property> |
|
65 </widget> |
|
66 </item> |
|
67 <item row="2" column="0" > |
|
68 <widget class="QLabel" name="heightLabel" > |
|
69 <property name="objectName" > |
|
70 <string notr="true" >heightLabel</string> |
|
71 </property> |
|
72 <property name="geometry" > |
|
73 <rect> |
|
74 <x>1</x> |
|
75 <y>55</y> |
|
76 <width>67</width> |
|
77 <height>22</height> |
|
78 </rect> |
|
79 </property> |
|
80 <property name="frameShape" > |
|
81 <enum>QFrame::NoFrame</enum> |
|
82 </property> |
|
83 <property name="frameShadow" > |
|
84 <enum>QFrame::Plain</enum> |
|
85 </property> |
|
86 <property name="text" > |
|
87 <string>Height:</string> |
|
88 </property> |
|
89 <property name="textFormat" > |
|
90 <enum>Qt::AutoText</enum> |
|
91 </property> |
|
92 </widget> |
|
93 </item> |
|
94 <item row="3" column="1" > |
|
95 <widget class="QComboBox" name="colorDepthCombo" > |
|
96 <property name="objectName" > |
|
97 <string notr="true" >colorDepthCombo</string> |
|
98 </property> |
|
99 <property name="geometry" > |
|
100 <rect> |
|
101 <x>74</x> |
|
102 <y>83</y> |
|
103 <width>227</width> |
|
104 <height>22</height> |
|
105 </rect> |
|
106 </property> |
|
107 <property name="sizePolicy" > |
|
108 <sizepolicy> |
|
109 <hsizetype>5</hsizetype> |
|
110 <vsizetype>0</vsizetype> |
|
111 <horstretch>0</horstretch> |
|
112 <verstretch>0</verstretch> |
|
113 </sizepolicy> |
|
114 </property> |
|
115 <property name="insertPolicy" > |
|
116 <enum>QComboBox::InsertAtBottom</enum> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="0" column="1" > |
|
121 <widget class="QLineEdit" name="nameLineEdit" > |
|
122 <property name="objectName" > |
|
123 <string notr="true" >nameLineEdit</string> |
|
124 </property> |
|
125 <property name="geometry" > |
|
126 <rect> |
|
127 <x>74</x> |
|
128 <y>83</y> |
|
129 <width>227</width> |
|
130 <height>22</height> |
|
131 </rect> |
|
132 </property> |
|
133 <property name="sizePolicy" > |
|
134 <sizepolicy> |
|
135 <hsizetype>5</hsizetype> |
|
136 <vsizetype>0</vsizetype> |
|
137 <horstretch>1</horstretch> |
|
138 <verstretch>0</verstretch> |
|
139 </sizepolicy> |
|
140 </property> |
|
141 <property name="text" > |
|
142 <string>Untitled image</string> |
|
143 </property> |
|
144 <property name="echoMode" > |
|
145 <enum>QLineEdit::Normal</enum> |
|
146 </property> |
|
147 </widget> |
|
148 </item> |
|
149 <item row="1" column="1" > |
|
150 <widget class="QSpinBox" name="spinBox" > |
|
151 <property name="objectName" > |
|
152 <string notr="true" >spinBox</string> |
|
153 </property> |
|
154 <property name="geometry" > |
|
155 <rect> |
|
156 <x>74</x> |
|
157 <y>1</y> |
|
158 <width>227</width> |
|
159 <height>20</height> |
|
160 </rect> |
|
161 </property> |
|
162 <property name="sizePolicy" > |
|
163 <sizepolicy> |
|
164 <hsizetype>5</hsizetype> |
|
165 <vsizetype>0</vsizetype> |
|
166 <horstretch>0</horstretch> |
|
167 <verstretch>0</verstretch> |
|
168 </sizepolicy> |
|
169 </property> |
|
170 <property name="buttonSymbols" > |
|
171 <enum>QAbstractSpinBox::UpDownArrows</enum> |
|
172 </property> |
|
173 <property name="value" > |
|
174 <number>32</number> |
|
175 </property> |
|
176 <property name="maximum" > |
|
177 <number>1024</number> |
|
178 </property> |
|
179 <property name="minimum" > |
|
180 <number>1</number> |
|
181 </property> |
|
182 </widget> |
|
183 </item> |
|
184 <item row="2" column="1" > |
|
185 <widget class="QSpinBox" name="spinBox_2" > |
|
186 <property name="objectName" > |
|
187 <string notr="true" >spinBox_2</string> |
|
188 </property> |
|
189 <property name="geometry" > |
|
190 <rect> |
|
191 <x>74</x> |
|
192 <y>27</y> |
|
193 <width>227</width> |
|
194 <height>22</height> |
|
195 </rect> |
|
196 </property> |
|
197 <property name="sizePolicy" > |
|
198 <sizepolicy> |
|
199 <hsizetype>5</hsizetype> |
|
200 <vsizetype>0</vsizetype> |
|
201 <horstretch>0</horstretch> |
|
202 <verstretch>0</verstretch> |
|
203 </sizepolicy> |
|
204 </property> |
|
205 <property name="buttonSymbols" > |
|
206 <enum>QAbstractSpinBox::UpDownArrows</enum> |
|
207 </property> |
|
208 <property name="value" > |
|
209 <number>32</number> |
|
210 </property> |
|
211 <property name="maximum" > |
|
212 <number>1024</number> |
|
213 </property> |
|
214 <property name="minimum" > |
|
215 <number>1</number> |
|
216 </property> |
|
217 </widget> |
|
218 </item> |
|
219 <item row="0" column="0" > |
|
220 <widget class="QLabel" name="nameLabel" > |
|
221 <property name="objectName" > |
|
222 <string notr="true" >nameLabel</string> |
|
223 </property> |
|
224 <property name="geometry" > |
|
225 <rect> |
|
226 <x>1</x> |
|
227 <y>1</y> |
|
228 <width>67</width> |
|
229 <height>20</height> |
|
230 </rect> |
|
231 </property> |
|
232 <property name="frameShape" > |
|
233 <enum>QFrame::NoFrame</enum> |
|
234 </property> |
|
235 <property name="frameShadow" > |
|
236 <enum>QFrame::Plain</enum> |
|
237 </property> |
|
238 <property name="text" > |
|
239 <string>Name:</string> |
|
240 </property> |
|
241 <property name="textFormat" > |
|
242 <enum>Qt::AutoText</enum> |
|
243 </property> |
|
244 </widget> |
|
245 </item> |
|
246 <item row="3" column="0" > |
|
247 <widget class="QLabel" name="colorDepthLabel" > |
|
248 <property name="objectName" > |
|
249 <string notr="true" >colorDepthLabel</string> |
|
250 </property> |
|
251 <property name="geometry" > |
|
252 <rect> |
|
253 <x>1</x> |
|
254 <y>83</y> |
|
255 <width>67</width> |
|
256 <height>22</height> |
|
257 </rect> |
|
258 </property> |
|
259 <property name="frameShape" > |
|
260 <enum>QFrame::NoFrame</enum> |
|
261 </property> |
|
262 <property name="frameShadow" > |
|
263 <enum>QFrame::Plain</enum> |
|
264 </property> |
|
265 <property name="text" > |
|
266 <string>Color depth:</string> |
|
267 </property> |
|
268 <property name="textFormat" > |
|
269 <enum>Qt::AutoText</enum> |
|
270 </property> |
|
271 </widget> |
|
272 </item> |
|
273 </layout> |
|
274 </item> |
|
275 <item> |
|
276 <spacer> |
|
277 <property name="objectName" > |
|
278 <string notr="true" /> |
|
279 </property> |
|
280 <property name="geometry" > |
|
281 <rect> |
|
282 <x>9</x> |
|
283 <y>121</y> |
|
284 <width>302</width> |
|
285 <height>18</height> |
|
286 </rect> |
|
287 </property> |
|
288 <property name="orientation" > |
|
289 <enum>Qt::Vertical</enum> |
|
290 </property> |
|
291 </spacer> |
|
292 </item> |
|
293 <item> |
|
294 <layout class="QHBoxLayout" > |
|
295 <property name="objectName" > |
|
296 <string notr="true" /> |
|
297 </property> |
|
298 <property name="margin" > |
|
299 <number>1</number> |
|
300 </property> |
|
301 <property name="spacing" > |
|
302 <number>6</number> |
|
303 </property> |
|
304 <item> |
|
305 <spacer> |
|
306 <property name="objectName" > |
|
307 <string notr="true" /> |
|
308 </property> |
|
309 <property name="geometry" > |
|
310 <rect> |
|
311 <x>1</x> |
|
312 <y>1</y> |
|
313 <width>128</width> |
|
314 <height>24</height> |
|
315 </rect> |
|
316 </property> |
|
317 <property name="orientation" > |
|
318 <enum>Qt::Horizontal</enum> |
|
319 </property> |
|
320 </spacer> |
|
321 </item> |
|
322 <item> |
|
323 <widget class="QPushButton" name="okButton" > |
|
324 <property name="objectName" > |
|
325 <string notr="true" >okButton</string> |
|
326 </property> |
|
327 <property name="geometry" > |
|
328 <rect> |
|
329 <x>135</x> |
|
330 <y>1</y> |
|
331 <width>80</width> |
|
332 <height>24</height> |
|
333 </rect> |
|
334 </property> |
|
335 <property name="text" > |
|
336 <string>OK</string> |
|
337 </property> |
|
338 </widget> |
|
339 </item> |
|
340 <item> |
|
341 <widget class="QPushButton" name="cancelButton" > |
|
342 <property name="objectName" > |
|
343 <string notr="true" >cancelButton</string> |
|
344 </property> |
|
345 <property name="geometry" > |
|
346 <rect> |
|
347 <x>221</x> |
|
348 <y>1</y> |
|
349 <width>80</width> |
|
350 <height>24</height> |
|
351 </rect> |
|
352 </property> |
|
353 <property name="text" > |
|
354 <string>Cancel</string> |
|
355 </property> |
|
356 </widget> |
|
357 </item> |
|
358 </layout> |
|
359 </item> |
|
360 </layout> |
|
361 </widget> |
|
362 <pixmapfunction></pixmapfunction> |
|
363 <tabstops> |
|
364 <tabstop>nameLineEdit</tabstop> |
|
365 <tabstop>spinBox</tabstop> |
|
366 <tabstop>spinBox_2</tabstop> |
|
367 <tabstop>colorDepthCombo</tabstop> |
|
368 <tabstop>okButton</tabstop> |
|
369 <tabstop>cancelButton</tabstop> |
|
370 </tabstops> |
|
371 <connections> |
|
372 <connection> |
|
373 <sender>nameLineEdit</sender> |
|
374 <signal>returnPressed()</signal> |
|
375 <receiver>okButton</receiver> |
|
376 <slot>animateClick()</slot> |
|
377 <hints> |
|
378 <hint type="sourcelabel" > |
|
379 <x>-1</x> |
|
380 <y>7</y> |
|
381 </hint> |
|
382 <hint type="destinationlabel" > |
|
383 <x>-1</x> |
|
384 <y>7</y> |
|
385 </hint> |
|
386 </hints> |
|
387 </connection> |
|
388 </connections> |
|
389 </ui> |