|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment>********************************************************************* |
|
5 ** |
|
6 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
7 ** All rights reserved. |
|
8 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
9 ** |
|
10 ** This file is part of the autotests of the Qt Toolkit. |
|
11 ** |
|
12 ** $QT_BEGIN_LICENSE:LGPL$ |
|
13 ** No Commercial Usage |
|
14 ** This file contains pre-release code and may not be distributed. |
|
15 ** You may use this file in accordance with the terms and conditions |
|
16 ** contained in the Technology Preview License Agreement accompanying |
|
17 ** this package. |
|
18 ** |
|
19 ** GNU Lesser General Public License Usage |
|
20 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
21 ** General Public License version 2.1 as published by the Free Software |
|
22 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
23 ** packaging of this file. Please review the following information to |
|
24 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
26 ** |
|
27 ** In addition, as a special exception, Nokia gives you certain additional |
|
28 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
30 ** |
|
31 ** If you have questions regarding the use of this file, please contact |
|
32 ** Nokia at qt-info@nokia.com. |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** |
|
41 ** $QT_END_LICENSE$ |
|
42 ** |
|
43 *********************************************************************</comment> |
|
44 <exportmacro></exportmacro> |
|
45 <class>PaletteEditorBase</class> |
|
46 <widget class="QDialog" name="PaletteEditorBase"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>449</width> |
|
52 <height>443</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="sizePolicy"> |
|
56 <sizepolicy> |
|
57 <hsizetype>7</hsizetype> |
|
58 <vsizetype>7</vsizetype> |
|
59 </sizepolicy> |
|
60 </property> |
|
61 <property name="windowTitle"> |
|
62 <string>Edit Palette</string> |
|
63 </property> |
|
64 <layout class="QVBoxLayout"> |
|
65 <property name="margin"> |
|
66 <number>11</number> |
|
67 </property> |
|
68 <property name="spacing"> |
|
69 <number>6</number> |
|
70 </property> |
|
71 <item> |
|
72 <widget class="Q3GroupBox" name="groupAutoPalette"> |
|
73 <property name="sizePolicy"> |
|
74 <sizepolicy> |
|
75 <hsizetype>5</hsizetype> |
|
76 <vsizetype>4</vsizetype> |
|
77 </sizepolicy> |
|
78 </property> |
|
79 <property name="title"> |
|
80 <string>Build Palette</string> |
|
81 </property> |
|
82 <layout class="QHBoxLayout"> |
|
83 <property name="margin"> |
|
84 <number>11</number> |
|
85 </property> |
|
86 <property name="spacing"> |
|
87 <number>6</number> |
|
88 </property> |
|
89 <item> |
|
90 <widget class="QLabel" name="labelMainColor"> |
|
91 <property name="sizePolicy"> |
|
92 <sizepolicy> |
|
93 <hsizetype>1</hsizetype> |
|
94 <vsizetype>1</vsizetype> |
|
95 </sizepolicy> |
|
96 </property> |
|
97 <property name="minimumSize"> |
|
98 <size> |
|
99 <width>50</width> |
|
100 <height>0</height> |
|
101 </size> |
|
102 </property> |
|
103 <property name="lineWidth"> |
|
104 <number>1</number> |
|
105 </property> |
|
106 <property name="margin"> |
|
107 <number>0</number> |
|
108 </property> |
|
109 <property name="midLineWidth"> |
|
110 <number>0</number> |
|
111 </property> |
|
112 <property name="text"> |
|
113 <string>&3-D Effects:</string> |
|
114 </property> |
|
115 <property name="alignment"> |
|
116 <set>Qt::AlignVCenter</set> |
|
117 </property> |
|
118 <property name="buddy" stdset="0"> |
|
119 <cstring>buttonMainColor</cstring> |
|
120 </property> |
|
121 <property name="wordWrap"> |
|
122 <bool>false</bool> |
|
123 </property> |
|
124 </widget> |
|
125 </item> |
|
126 <item> |
|
127 <widget class="StyledButton" name="buttonMainColor"> |
|
128 <property name="sizePolicy"> |
|
129 <sizepolicy> |
|
130 <hsizetype>0</hsizetype> |
|
131 <vsizetype>0</vsizetype> |
|
132 </sizepolicy> |
|
133 </property> |
|
134 <property name="focusPolicy"> |
|
135 <enum>Qt::StrongFocus</enum> |
|
136 </property> |
|
137 <property name="scale" stdset="0"> |
|
138 <bool>false</bool> |
|
139 </property> |
|
140 <property name="toolTip" stdset="0"> |
|
141 <string>Choose a color</string> |
|
142 </property> |
|
143 <property name="whatsThis" stdset="0"> |
|
144 <string>Choose the effect-color for the generated palette.</string> |
|
145 </property> |
|
146 </widget> |
|
147 </item> |
|
148 <item> |
|
149 <widget class="QLabel" name="labelMainColor2"> |
|
150 <property name="sizePolicy"> |
|
151 <sizepolicy> |
|
152 <hsizetype>1</hsizetype> |
|
153 <vsizetype>1</vsizetype> |
|
154 </sizepolicy> |
|
155 </property> |
|
156 <property name="minimumSize"> |
|
157 <size> |
|
158 <width>50</width> |
|
159 <height>0</height> |
|
160 </size> |
|
161 </property> |
|
162 <property name="lineWidth"> |
|
163 <number>1</number> |
|
164 </property> |
|
165 <property name="margin"> |
|
166 <number>0</number> |
|
167 </property> |
|
168 <property name="midLineWidth"> |
|
169 <number>0</number> |
|
170 </property> |
|
171 <property name="text"> |
|
172 <string>Back&ground:</string> |
|
173 </property> |
|
174 <property name="alignment"> |
|
175 <set>Qt::AlignVCenter</set> |
|
176 </property> |
|
177 <property name="buddy" stdset="0"> |
|
178 <cstring>buttonMainColor2</cstring> |
|
179 </property> |
|
180 <property name="wordWrap"> |
|
181 <bool>false</bool> |
|
182 </property> |
|
183 </widget> |
|
184 </item> |
|
185 <item> |
|
186 <widget class="StyledButton" name="buttonMainColor2"> |
|
187 <property name="sizePolicy"> |
|
188 <sizepolicy> |
|
189 <hsizetype>0</hsizetype> |
|
190 <vsizetype>0</vsizetype> |
|
191 </sizepolicy> |
|
192 </property> |
|
193 <property name="focusPolicy"> |
|
194 <enum>Qt::StrongFocus</enum> |
|
195 </property> |
|
196 <property name="scale" stdset="0"> |
|
197 <bool>false</bool> |
|
198 </property> |
|
199 <property name="toolTip" stdset="0"> |
|
200 <string>Choose a color</string> |
|
201 </property> |
|
202 <property name="whatsThis" stdset="0"> |
|
203 <string>Choose the background color for the generated palette.</string> |
|
204 </property> |
|
205 </widget> |
|
206 </item> |
|
207 <item> |
|
208 <spacer name="Spacer1"> |
|
209 <property name="sizeHint"> |
|
210 <size> |
|
211 <width>20</width> |
|
212 <height>20</height> |
|
213 </size> |
|
214 </property> |
|
215 <property name="sizeType"> |
|
216 <enum>QSizePolicy::Expanding</enum> |
|
217 </property> |
|
218 <property name="orientation"> |
|
219 <enum>Qt::Horizontal</enum> |
|
220 </property> |
|
221 </spacer> |
|
222 </item> |
|
223 <item> |
|
224 <widget class="QPushButton" name="btnAdvanced"> |
|
225 <property name="text"> |
|
226 <string>&Tune Palette...</string> |
|
227 </property> |
|
228 </widget> |
|
229 </item> |
|
230 </layout> |
|
231 </widget> |
|
232 </item> |
|
233 <item> |
|
234 <widget class="Q3GroupBox" name="GroupBox126"> |
|
235 <property name="sizePolicy"> |
|
236 <sizepolicy> |
|
237 <hsizetype>5</hsizetype> |
|
238 <vsizetype>7</vsizetype> |
|
239 </sizepolicy> |
|
240 </property> |
|
241 <property name="title"> |
|
242 <string>Preview</string> |
|
243 </property> |
|
244 <layout class="QVBoxLayout"> |
|
245 <property name="margin"> |
|
246 <number>11</number> |
|
247 </property> |
|
248 <property name="spacing"> |
|
249 <number>6</number> |
|
250 </property> |
|
251 <item> |
|
252 <layout class="QHBoxLayout"> |
|
253 <property name="margin"> |
|
254 <number>0</number> |
|
255 </property> |
|
256 <property name="spacing"> |
|
257 <number>6</number> |
|
258 </property> |
|
259 <item> |
|
260 <widget class="QLabel" name="TextLabel1"> |
|
261 <property name="text"> |
|
262 <string>Select &Palette:</string> |
|
263 </property> |
|
264 <property name="buddy" stdset="0"> |
|
265 <cstring>paletteCombo</cstring> |
|
266 </property> |
|
267 <property name="wordWrap"> |
|
268 <bool>false</bool> |
|
269 </property> |
|
270 </widget> |
|
271 </item> |
|
272 <item> |
|
273 <widget class="QComboBox" name="paletteCombo"> |
|
274 <item> |
|
275 <property name="text"> |
|
276 <string>Active Palette</string> |
|
277 </property> |
|
278 </item> |
|
279 <item> |
|
280 <property name="text"> |
|
281 <string>Inactive Palette</string> |
|
282 </property> |
|
283 </item> |
|
284 <item> |
|
285 <property name="text"> |
|
286 <string>Disabled Palette</string> |
|
287 </property> |
|
288 </item> |
|
289 </widget> |
|
290 </item> |
|
291 </layout> |
|
292 </item> |
|
293 <item> |
|
294 <widget class="PreviewFrame" name="previewFrame"> |
|
295 <property name="sizePolicy"> |
|
296 <sizepolicy> |
|
297 <hsizetype>7</hsizetype> |
|
298 <vsizetype>7</vsizetype> |
|
299 </sizepolicy> |
|
300 </property> |
|
301 </widget> |
|
302 </item> |
|
303 </layout> |
|
304 </widget> |
|
305 </item> |
|
306 <item> |
|
307 <layout class="QHBoxLayout"> |
|
308 <property name="margin"> |
|
309 <number>0</number> |
|
310 </property> |
|
311 <property name="spacing"> |
|
312 <number>6</number> |
|
313 </property> |
|
314 <item> |
|
315 <widget class="QPushButton" name="buttonHelp"> |
|
316 <property name="text"> |
|
317 <string>&Help</string> |
|
318 </property> |
|
319 <property name="autoDefault"> |
|
320 <bool>true</bool> |
|
321 </property> |
|
322 </widget> |
|
323 </item> |
|
324 <item> |
|
325 <spacer name="Horizontal Spacing11"> |
|
326 <property name="sizeHint"> |
|
327 <size> |
|
328 <width>20</width> |
|
329 <height>20</height> |
|
330 </size> |
|
331 </property> |
|
332 <property name="sizeType"> |
|
333 <enum>QSizePolicy::Expanding</enum> |
|
334 </property> |
|
335 <property name="orientation"> |
|
336 <enum>Qt::Horizontal</enum> |
|
337 </property> |
|
338 </spacer> |
|
339 </item> |
|
340 <item> |
|
341 <widget class="QPushButton" name="buttonOk"> |
|
342 <property name="text"> |
|
343 <string>&OK</string> |
|
344 </property> |
|
345 <property name="autoDefault"> |
|
346 <bool>true</bool> |
|
347 </property> |
|
348 <property name="default"> |
|
349 <bool>true</bool> |
|
350 </property> |
|
351 <property name="whatsThis" stdset="0"> |
|
352 <string>Close the dialog and apply all the changes.</string> |
|
353 </property> |
|
354 </widget> |
|
355 </item> |
|
356 <item> |
|
357 <widget class="QPushButton" name="buttonCancel"> |
|
358 <property name="text"> |
|
359 <string>&Cancel</string> |
|
360 </property> |
|
361 <property name="autoDefault"> |
|
362 <bool>true</bool> |
|
363 </property> |
|
364 <property name="whatsThis" stdset="0"> |
|
365 <string>Close the dialog and discard any changes.</string> |
|
366 </property> |
|
367 </widget> |
|
368 </item> |
|
369 </layout> |
|
370 </item> |
|
371 </layout> |
|
372 </widget> |
|
373 <customwidgets> |
|
374 <customwidget> |
|
375 <class>StyledButton</class> |
|
376 <extends>QWidget</extends> |
|
377 <header location="local">styledbutton.h</header> |
|
378 <sizehint> |
|
379 <width>40</width> |
|
380 <height>25</height> |
|
381 </sizehint> |
|
382 <container>0</container> |
|
383 <sizepolicy> |
|
384 <hordata>5</hordata> |
|
385 <verdata>5</verdata> |
|
386 </sizepolicy> |
|
387 <pixmap>image0</pixmap> |
|
388 <properties> |
|
389 <property type="Color">color</property> |
|
390 <property type="Pixmap">pixmap</property> |
|
391 <property type="Bool">scale</property> |
|
392 </properties> |
|
393 </customwidget> |
|
394 <customwidget> |
|
395 <class>PreviewFrame</class> |
|
396 <extends>QWidget</extends> |
|
397 <header location="local">previewframe.h</header> |
|
398 <sizehint> |
|
399 <width>200</width> |
|
400 <height>200</height> |
|
401 </sizehint> |
|
402 <container>0</container> |
|
403 <sizepolicy> |
|
404 <hordata>5</hordata> |
|
405 <verdata>5</verdata> |
|
406 </sizepolicy> |
|
407 <pixmap>image1</pixmap> |
|
408 </customwidget> |
|
409 </customwidgets> |
|
410 <tabstops> |
|
411 <tabstop>buttonOk</tabstop> |
|
412 <tabstop>buttonCancel</tabstop> |
|
413 <tabstop>buttonMainColor</tabstop> |
|
414 <tabstop>buttonMainColor2</tabstop> |
|
415 <tabstop>btnAdvanced</tabstop> |
|
416 <tabstop>paletteCombo</tabstop> |
|
417 <tabstop>buttonHelp</tabstop> |
|
418 </tabstops> |
|
419 <images> |
|
420 <image name="image0"> |
|
421 <data format="XPM.GZ" length="1112">789c9dd2cb8e9b301406e07d9e0225bba89a09601350d505302c5b7559a9eac23e6672b363620c0ca9faeef53949da2e2a55eab123f9e38f2f217e5e475f3e7f8cd6cf8bde0b7f8008f6c2456b3518337ffdf6e1fb62992451e8691ac5cb778be55304d1277b6e71fc12c6ab0d157222e61bd8e4c812196f6216535a13f318624a6764b2495842e99558249014c81e99c6294b69d3376291424ae9806431638cd28628183081f4489e70ce13e4852878c129ad905992f18cd291283295517a466ed32ddfa64847945bb595c80e99a739cf29d54499ab9c528b2c58c10b86344428540148400a26b8a0541241b482d215523299494a0551c9562ae409091c32e0c82351410b942aa4e22a53941e882d36e41ed966d8903b2215f215f99a6143b6442afaafff5aff485658622584a091941256948443d1cabbdd6ebf3f28753c09a9e9cdc1fe703c9e4ea19f689a0430fa4c8908082be093d08d016bbb0bbd5e7ceafade5b30de19d083b3fa9e008cd39b9fafd69495b473af7fcfb15325c1d61eea0afaf005ddf97b5295c658a866338f97591babef7340fa396c6c5ca9e7fe650807d0bf566b4262299986ba335a3b4a2cc84b69ac85b1b673037d8fabf95b023a9c09cc7530e104dd5419ed6e27083fb09a7c752db5a9bd31cde4ec634ed8a39aebbe337618c3f6fdc5dee6d8b0bb0d6b5b8b1fad43d78fe4e14e3f6aace8e29d9d736777fea3c686eee0138c9726d4d00c548df7a315ff750f7ebc5ffc04a0e5308d</data> |
|
422 </image> |
|
423 <image name="image1"> |
|
424 <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> |
|
425 </image> |
|
426 </images> |
|
427 <connections> |
|
428 <connection> |
|
429 <sender>buttonMainColor2</sender> |
|
430 <signal>clicked()</signal> |
|
431 <receiver>PaletteEditorBase</receiver> |
|
432 <slot>onChoose2ndMainColor()</slot> |
|
433 </connection> |
|
434 <connection> |
|
435 <sender>paletteCombo</sender> |
|
436 <signal>activated(int)</signal> |
|
437 <receiver>PaletteEditorBase</receiver> |
|
438 <slot>paletteSelected(int)</slot> |
|
439 </connection> |
|
440 <connection> |
|
441 <sender>btnAdvanced</sender> |
|
442 <signal>clicked()</signal> |
|
443 <receiver>PaletteEditorBase</receiver> |
|
444 <slot>onTune()</slot> |
|
445 </connection> |
|
446 <connection> |
|
447 <sender>buttonOk</sender> |
|
448 <signal>clicked()</signal> |
|
449 <receiver>PaletteEditorBase</receiver> |
|
450 <slot>accept()</slot> |
|
451 </connection> |
|
452 <connection> |
|
453 <sender>buttonCancel</sender> |
|
454 <signal>clicked()</signal> |
|
455 <receiver>PaletteEditorBase</receiver> |
|
456 <slot>reject()</slot> |
|
457 </connection> |
|
458 <connection> |
|
459 <sender>buttonMainColor</sender> |
|
460 <signal>changed()</signal> |
|
461 <receiver>PaletteEditorBase</receiver> |
|
462 <slot>onChooseMainColor()</slot> |
|
463 </connection> |
|
464 <connection> |
|
465 <sender>buttonMainColor</sender> |
|
466 <signal>clicked()</signal> |
|
467 <receiver>PaletteEditorBase</receiver> |
|
468 <slot>onChooseMainColor()</slot> |
|
469 </connection> |
|
470 <connection> |
|
471 <sender>buttonMainColor2</sender> |
|
472 <signal>changed()</signal> |
|
473 <receiver>PaletteEditorBase</receiver> |
|
474 <slot>onChoose2ndMainColor()</slot> |
|
475 </connection> |
|
476 </connections> |
|
477 </ui> |