summaryrefslogtreecommitdiffstats
path: root/tests/auto/uiloader/baseline/paletteeditoradvancedbase.ui
blob: c8f539e26fb8f65e9a5b9d6b1a4f649af2a02092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
<ui version="4.0" stdsetdef="1" >
  <author></author>
  <comment>*********************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** This file is part of the tools applications of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License versions 2.0 or 3.0 as published by the Free Software
** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
** included in the packaging of this file.  Alternatively you may (at
** your option) use any later version of the GNU General Public
** License if such license has been publicly approved by Nokia Corporation and/or its subsidiary(-ies)
** (or its successors, if any) and the KDE Free Qt Foundation. In
** addition, as a special exception, Trolltech gives you certain
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.2, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** Please review the following information to ensure GNU General
** Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/. If
** you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** In addition, as a special exception, Trolltech, as the sole
** copyright holder for Qt Designer, grants users of the Qt/Eclipse
** Integration plug-in the right for the Qt/Eclipse Integration to
** link to functionality provided by Qt Designer and its related
** libraries.
**
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE. Trolltech reserves all rights not expressly
** granted herein.
**
*********************************************************************</comment>
  <exportmacro></exportmacro>
  <class>PaletteEditorAdvancedBase</class>
  <widget class="QDialog" name="PaletteEditorAdvancedBase" >
    <property name="objectName" >
      <string notr="true" >PaletteEditorAdvancedBase</string>
    </property>
    <property name="enabled" >
      <bool>true</bool>
    </property>
    <property name="geometry" >
      <rect>
        <x>0</x>
        <y>0</y>
        <width>295</width>
        <height>346</height>
      </rect>
    </property>
    <property name="windowTitle" >
      <string>Tune Palette</string>
    </property>
    <property name="sizeGripEnabled" >
      <bool>true</bool>
    </property>
    <property name="whatsThis" stdset="0" >
      <string>&lt;b>Edit Palette&lt;/b>&lt;p>Change the palette of the current widget or form.&lt;/p>&lt;p>Use a generated palette or select colors for each color group and each color role.&lt;/p>&lt;p>The palette can be tested with different widget layouts in the preview section.&lt;/p></string>
    </property>
    <layout class="QVBoxLayout" >
      <property name="objectName" >
        <string notr="true" >unnamed</string>
      </property>
      <property name="margin" >
        <number>11</number>
      </property>
      <property name="spacing" >
        <number>6</number>
      </property>
      <item>
        <layout class="QHBoxLayout" >
          <property name="objectName" >
            <string notr="true" >unnamed</string>
          </property>
          <property name="margin" >
            <number>0</number>
          </property>
          <property name="spacing" >
            <number>6</number>
          </property>
          <item>
            <widget class="QLabel" name="TextLabel1" >
              <property name="objectName" >
                <string notr="true" >TextLabel1</string>
              </property>
              <property name="text" >
                <string>Select &amp;Palette:</string>
              </property>
              <property name="buddy" stdset="0" >
                <cstring>paletteCombo</cstring>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QComboBox" name="paletteCombo" >
              <property name="objectName" >
                <string notr="true" >paletteCombo</string>
              </property>
              <item>
                <property name="text" >
                  <string>Active Palette</string>
                </property>
              </item>
              <item>
                <property name="text" >
                  <string>Inactive Palette</string>
                </property>
              </item>
              <item>
                <property name="text" >
                  <string>Disabled Palette</string>
                </property>
              </item>
            </widget>
          </item>
        </layout>
      </item>
      <item>
        <widget class="Q3ButtonGroup" name="ButtonGroup1" >
          <property name="objectName" >
            <string notr="true" >ButtonGroup1</string>
          </property>
          <property name="sizePolicy" >
            <sizepolicy>
              <hsizetype>5</hsizetype>
              <vsizetype>4</vsizetype>
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
            </sizepolicy>
          </property>
          <property name="title" >
            <string>Auto</string>
          </property>
          <layout class="QVBoxLayout" >
            <property name="objectName" >
              <string notr="true" >unnamed</string>
            </property>
            <property name="margin" >
              <number>11</number>
            </property>
            <property name="spacing" >
              <number>6</number>
            </property>
            <item>
              <widget class="QCheckBox" name="checkBuildInactive" >
                <property name="objectName" >
                  <string notr="true" >checkBuildInactive</string>
                </property>
                <property name="text" >
                  <string>Build inactive palette from active</string>
                </property>
                <property name="checked" >
                  <bool>true</bool>
                </property>
              </widget>
            </item>
            <item>
              <widget class="QCheckBox" name="checkBuildDisabled" >
                <property name="objectName" >
                  <string notr="true" >checkBuildDisabled</string>
                </property>
                <property name="text" >
                  <string>Build disabled palette from active</string>
                </property>
                <property name="checked" >
                  <bool>true</bool>
                </property>
              </widget>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <widget class="Q3GroupBox" name="groupCentral" >
          <property name="objectName" >
            <string notr="true" >groupCentral</string>
          </property>
          <property name="title" >
            <string>Central color &amp;roles</string>
          </property>
          <layout class="QVBoxLayout" >
            <property name="objectName" >
              <string notr="true" >unnamed</string>
            </property>
            <property name="margin" >
              <number>11</number>
            </property>
            <property name="spacing" >
              <number>6</number>
            </property>
            <item>
              <widget class="QComboBox" name="comboCentral" >
                <property name="objectName" >
                  <string notr="true" >comboCentral</string>
                </property>
                <property name="toolTip" stdset="0" >
                  <string>Choose central color role</string>
                </property>
                <property name="whatsThis" stdset="0" >
                  <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available central roles are: &lt;ul> &lt;li>Window - general background color.&lt;/li> &lt;li>WindowText - general foreground color. &lt;/li> &lt;li>Base - used as background color for e.g. text entry widgets, usually white or another light color. &lt;/li> &lt;li>Text - the foreground color used with Base. Usually this is the same as WindowText, in what case it must provide good contrast both with Window and Base. &lt;/li> &lt;li>Button - general button background color, where buttons need a background different from Window, as in the Macintosh style. &lt;/li> &lt;li>ButtonText - a foreground color used with the Button color. &lt;/li> &lt;li>Highlight - a color to indicate a selected or highlighted item. &lt;/li> &lt;li>HighlightedText - a text color that contrasts to Highlight. &lt;/li> &lt;li>BrightText - a text color that is very different from WindowText and contrasts well with e.g. black. &lt;/li> &lt;/ul> &lt;/p></string>
                </property>
                <item>
                  <property name="text" >
                    <string>Window</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>WindowText</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>Button</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>Base</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>Text</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>BrightText</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>ButtonText</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>Highlight</string>
                  </property>
                </item>
                <item>
                  <property name="text" >
                    <string>HighlightedText</string>
                  </property>
                </item>
              </widget>
            </item>
            <item>
              <layout class="QHBoxLayout" >
                <property name="objectName" >
                  <string notr="true" >unnamed</string>
                </property>
                <property name="margin" >
                  <number>0</number>
                </property>
                <property name="spacing" >
                  <number>6</number>
                </property>
                <item>
                  <spacer name="Horizontal_Spacing1" >
                    <property name="sizeHint" >
                      <size>
                        <width>20</width>
                        <height>20</height>
                      </size>
                    </property>
                    <property name="sizeType" >
                      <enum>Expanding</enum>
                    </property>
                    <property name="orientation" >
                      <enum>Horizontal</enum>
                    </property>
                  </spacer>
                </item>
                <item>
                  <widget class="QLabel" name="labelCentral" >
                    <property name="objectName" >
                      <string notr="true" >labelCentral</string>
                    </property>
                    <property name="sizePolicy" >
                      <sizepolicy>
                        <hsizetype>1</hsizetype>
                        <vsizetype>1</vsizetype>
                        <horstretch>0</horstretch>
                        <verstretch>0</verstretch>
                      </sizepolicy>
                    </property>
                    <property name="minimumSize" >
                      <size>
                        <width>0</width>
                        <height>0</height>
                      </size>
                    </property>
                    <property name="text" >
                      <string>&amp;Select Color:</string>
                    </property>
                    <property name="buddy" stdset="0" >
                      <cstring>buttonCentral</cstring>
                    </property>
                  </widget>
                </item>
                <item>
                  <widget class="ColorButton" name="buttonCentral" >
                    <property name="objectName" >
                      <string notr="true" >buttonCentral</string>
                    </property>
                    <property name="sizePolicy" >
                      <sizepolicy>
                        <hsizetype>0</hsizetype>
                        <vsizetype>0</vsizetype>
                        <horstretch>0</horstretch>
                        <verstretch>0</verstretch>
                      </sizepolicy>
                    </property>
                    <property name="focusPolicy" >
                      <enum>Qt::TabFocus</enum>
                    </property>
                    <property name="toolTip" stdset="0" >
                      <string>Choose a color</string>
                    </property>
                    <property name="whatsThis" stdset="0" >
                      <string>Choose a color for the selected central color role.</string>
                    </property>
                  </widget>
                </item>
              </layout>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <widget class="Q3GroupBox" name="groupEffect" >
          <property name="objectName" >
            <string notr="true" >groupEffect</string>
          </property>
          <property name="title" >
            <string>3-D shadow &amp;effects</string>
          </property>
          <layout class="QVBoxLayout" >
            <property name="objectName" >
              <string notr="true" >unnamed</string>
            </property>
            <property name="margin" >
              <number>11</number>
            </property>
            <property name="spacing" >
              <number>6</number>
            </property>
            <item>
              <layout class="QHBoxLayout" >
                <property name="objectName" >
                  <string notr="true" >unnamed</string>
                </property>
                <property name="margin" >
                  <number>0</number>
                </property>
                <property name="spacing" >
                  <number>6</number>
                </property>
                <item>
                  <widget class="QCheckBox" name="checkBuildEffect" >
                    <property name="objectName" >
                      <string notr="true" >checkBuildEffect</string>
                    </property>
                    <property name="text" >
                      <string>Build &amp;from button color</string>
                    </property>
                    <property name="checked" >
                      <bool>true</bool>
                    </property>
                    <property name="toolTip" stdset="0" >
                      <string>Generate shadings</string>
                    </property>
                    <property name="whatsThis" stdset="0" >
                      <string>Check to let 3D-effect colors be calculated from button-color.</string>
                    </property>
                  </widget>
                </item>
                <item>
                  <widget class="QComboBox" name="comboEffect" >
                    <property name="objectName" >
                      <string notr="true" >comboEffect</string>
                    </property>
                    <property name="toolTip" stdset="0" >
                      <string>Choose 3D-effect color role</string>
                    </property>
                    <property name="whatsThis" stdset="0" >
                      <string>&lt;b>Select a color role.&lt;/b>&lt;p>Available effect roles are: &lt;ul> &lt;li>Light - lighter than Button color. &lt;/li> &lt;li>Midlight - between Button and Light. &lt;/li> &lt;li>Mid - between Button and Dark. &lt;/li> &lt;li>Dark - darker than Button. &lt;/li> &lt;li>Shadow - a very dark color. &lt;/li> &lt;/ul></string>
                    </property>
                    <item>
                      <property name="text" >
                        <string>Light</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Midlight</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Mid</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Dark</string>
                      </property>
                    </item>
                    <item>
                      <property name="text" >
                        <string>Shadow</string>
                      </property>
                    </item>
                  </widget>
                </item>
              </layout>
            </item>
            <item>
              <layout class="QHBoxLayout" >
                <property name="objectName" >
                  <string notr="true" >unnamed</string>
                </property>
                <property name="margin" >
                  <number>0</number>
                </property>
                <property name="spacing" >
                  <number>6</number>
                </property>
                <item>
                  <spacer name="Horizontal_Spacing3" >
                    <property name="sizeHint" >
                      <size>
                        <width>20</width>
                        <height>20</height>
                      </size>
                    </property>
                    <property name="sizeType" >
                      <enum>Expanding</enum>
                    </property>
                    <property name="orientation" >
                      <enum>Horizontal</enum>
                    </property>
                  </spacer>
                </item>
                <item>
                  <widget class="QLabel" name="labelEffect" >
                    <property name="objectName" >
                      <string notr="true" >labelEffect</string>
                    </property>
                    <property name="sizePolicy" >
                      <sizepolicy>
                        <hsizetype>1</hsizetype>
                        <vsizetype>1</vsizetype>
                        <horstretch>0</horstretch>
                        <verstretch>0</verstretch>
                      </sizepolicy>
                    </property>
                    <property name="minimumSize" >
                      <size>
                        <width>0</width>
                        <height>0</height>
                      </size>
                    </property>
                    <property name="text" >
                      <string>Select Co&amp;lor:</string>
                    </property>
                    <property name="buddy" stdset="0" >
                      <cstring>buttonEffect</cstring>
                    </property>
                  </widget>
                </item>
                <item>
                  <widget class="ColorButton" name="buttonEffect" >
                    <property name="objectName" >
                      <string notr="true" >buttonEffect</string>
                    </property>
                    <property name="sizePolicy" >
                      <sizepolicy>
                        <hsizetype>0</hsizetype>
                        <vsizetype>0</vsizetype>
                        <horstretch>0</horstretch>
                        <verstretch>0</verstretch>
                      </sizepolicy>
                    </property>
                    <property name="focusPolicy" >
                      <enum>Qt::TabFocus</enum>
                    </property>
                    <property name="toolTip" stdset="0" >
                      <string>Choose a color</string>
                    </property>
                    <property name="whatsThis" stdset="0" >
                      <string>Choose a color for the selected effect color role.</string>
                    </property>
                  </widget>
                </item>
              </layout>
            </item>
          </layout>
        </widget>
      </item>
      <item>
        <layout class="QHBoxLayout" >
          <property name="objectName" >
            <string notr="true" >unnamed</string>
          </property>
          <property name="margin" >
            <number>0</number>
          </property>
          <property name="spacing" >
            <number>6</number>
          </property>
          <item>
            <spacer name="Horizontal_Spacing2" >
              <property name="sizeHint" >
                <size>
                  <width>20</width>
                  <height>20</height>
                </size>
              </property>
              <property name="sizeType" >
                <enum>Expanding</enum>
              </property>
              <property name="orientation" >
                <enum>Horizontal</enum>
              </property>
            </spacer>
          </item>
          <item>
            <widget class="QPushButton" name="buttonOk" >
              <property name="objectName" >
                <string notr="true" >buttonOk</string>
              </property>
              <property name="text" >
                <string>OK</string>
              </property>
              <property name="autoDefault" >
                <bool>true</bool>
              </property>
              <property name="default" >
                <bool>true</bool>
              </property>
              <property name="whatsThis" stdset="0" >
                <string>Close dialog and apply all changes.</string>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="buttonCancel" >
              <property name="objectName" >
                <string notr="true" >buttonCancel</string>
              </property>
              <property name="text" >
                <string>Cancel</string>
              </property>
              <property name="autoDefault" >
                <bool>true</bool>
              </property>
              <property name="whatsThis" stdset="0" >
                <string>Close dialog and discard all changes.</string>
              </property>
            </widget>
          </item>
        </layout>
      </item>
    </layout>
  </widget>
  <pixmapfunction></pixmapfunction>
  <customwidgets>
    <customwidget>
      <class>ColorButton</class>
      <extends></extends>
      <header location="local" >colorbutton.h</header>
      <sizehint>
        <width>40</width>
        <height>25</height>
      </sizehint>
      <container>0</container>
      <sizepolicy>
        <hordata>5</hordata>
        <verdata>5</verdata>
      </sizepolicy>
      <pixmap>image0</pixmap>
      <properties>
        <property type="Color" >color</property>
        <property type="Pixmap" >pixmap</property>
      </properties>
    </customwidget>
  </customwidgets>
  <tabstops>
    <tabstop>buttonOk</tabstop>
    <tabstop>buttonCancel</tabstop>
    <tabstop>paletteCombo</tabstop>
    <tabstop>checkBuildInactive</tabstop>
    <tabstop>checkBuildDisabled</tabstop>
    <tabstop>comboCentral</tabstop>
    <tabstop>buttonCentral</tabstop>
    <tabstop>checkBuildEffect</tabstop>
    <tabstop>comboEffect</tabstop>
    <tabstop>buttonEffect</tabstop>
  </tabstops>
  <images>
    <image name="image0" >
      <data format="XPM.GZ" length="646" >789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
    </image>
  </images>
</ui>