~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to tools/designer/src/components/propertyeditor/paletteeditor.ui

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<ui version="4.0" >
 
2
 <author></author>
 
3
 <comment></comment>
 
4
 <exportmacro></exportmacro>
 
5
 <class>PaletteEditor</class>
 
6
 <widget class="QDialog" name="PaletteEditor" >
 
7
  <property name="geometry" >
 
8
   <rect>
 
9
    <x>0</x>
 
10
    <y>0</y>
 
11
    <width>445</width>
 
12
    <height>452</height>
 
13
   </rect>
 
14
  </property>
 
15
  <property name="sizePolicy" >
 
16
   <sizepolicy>
 
17
    <hsizetype>7</hsizetype>
 
18
    <vsizetype>7</vsizetype>
 
19
    <horstretch>0</horstretch>
 
20
    <verstretch>0</verstretch>
 
21
   </sizepolicy>
 
22
  </property>
 
23
  <property name="windowTitle" >
 
24
   <string>Edit Palette</string>
 
25
  </property>
 
26
  <layout class="QVBoxLayout" >
 
27
   <property name="margin" >
 
28
    <number>11</number>
 
29
   </property>
 
30
   <property name="spacing" >
 
31
    <number>6</number>
 
32
   </property>
 
33
   <item>
 
34
    <widget class="QGroupBox" name="groupAutoPalette" >
 
35
     <property name="geometry" >
 
36
      <rect>
 
37
       <x>11</x>
 
38
       <y>11</y>
 
39
       <width>423</width>
 
40
       <height>62</height>
 
41
      </rect>
 
42
     </property>
 
43
     <property name="sizePolicy" >
 
44
      <sizepolicy>
 
45
       <hsizetype>5</hsizetype>
 
46
       <vsizetype>4</vsizetype>
 
47
       <horstretch>0</horstretch>
 
48
       <verstretch>0</verstretch>
 
49
      </sizepolicy>
 
50
     </property>
 
51
     <property name="title" >
 
52
      <string>Build Palette</string>
 
53
     </property>
 
54
     <property name="alignment" >
 
55
      <set>Qt::AlignAbsolute|Qt::AlignBottom|Qt::AlignCenter|Qt::AlignHCenter|Qt::AlignHorizontal_Mask|Qt::AlignJustify|Qt::AlignLeading|Qt::AlignLeft|Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing|Qt::AlignVCenter|Qt::AlignVertical_Mask</set>
 
56
     </property>
 
57
     <layout class="QHBoxLayout" >
 
58
      <property name="margin" >
 
59
       <number>11</number>
 
60
      </property>
 
61
      <property name="spacing" >
 
62
       <number>6</number>
 
63
      </property>
 
64
      <item>
 
65
       <widget class="QLabel" name="labelMainColor" >
 
66
        <property name="geometry" >
 
67
         <rect>
 
68
          <x>13</x>
 
69
          <y>23</y>
 
70
          <width>70</width>
 
71
          <height>26</height>
 
72
         </rect>
 
73
        </property>
 
74
        <property name="sizePolicy" >
 
75
         <sizepolicy>
 
76
          <hsizetype>1</hsizetype>
 
77
          <vsizetype>1</vsizetype>
 
78
          <horstretch>0</horstretch>
 
79
          <verstretch>0</verstretch>
 
80
         </sizepolicy>
 
81
        </property>
 
82
        <property name="minimumSize" >
 
83
         <size>
 
84
          <width>50</width>
 
85
          <height>0</height>
 
86
         </size>
 
87
        </property>
 
88
        <property name="lineWidth" >
 
89
         <number>1</number>
 
90
        </property>
 
91
        <property name="midLineWidth" >
 
92
         <number>0</number>
 
93
        </property>
 
94
        <property name="text" >
 
95
         <string>&amp;3-D Effects:</string>
 
96
        </property>
 
97
        <property name="margin" >
 
98
         <number>0</number>
 
99
        </property>
 
100
        <property name="buddy" >
 
101
         <cstring>buttonMainColor</cstring>
 
102
        </property>
 
103
       </widget>
 
104
      </item>
 
105
      <item>
 
106
        <widget class="qdesigner_internal::StyledButton" name="buttonMainColor" >
 
107
        <property name="geometry" >
 
108
         <rect>
 
109
          <x>89</x>
 
110
          <y>23</y>
 
111
          <width>800</width>
 
112
          <height>480</height>
 
113
         </rect>
 
114
        </property>
 
115
        <property name="sizePolicy" >
 
116
         <sizepolicy>
 
117
          <hsizetype>0</hsizetype>
 
118
          <vsizetype>0</vsizetype>
 
119
          <horstretch>0</horstretch>
 
120
          <verstretch>0</verstretch>
 
121
         </sizepolicy>
 
122
        </property>
 
123
        <property name="focusPolicy" >
 
124
         <enum>Qt::StrongFocus</enum>
 
125
        </property>
 
126
        <property name="toolTip" >
 
127
         <string>Choose a color</string>
 
128
        </property>
 
129
        <property name="whatsThis" >
 
130
         <string>Choose the effect-color for the generated palette.</string>
 
131
        </property>
 
132
       </widget>
 
133
      </item>
 
134
      <item>
 
135
       <widget class="QLabel" name="labelMainColor2" >
 
136
        <property name="geometry" >
 
137
         <rect>
 
138
          <x>95</x>
 
139
          <y>23</y>
 
140
          <width>77</width>
 
141
          <height>26</height>
 
142
         </rect>
 
143
        </property>
 
144
        <property name="sizePolicy" >
 
145
         <sizepolicy>
 
146
          <hsizetype>1</hsizetype>
 
147
          <vsizetype>1</vsizetype>
 
148
          <horstretch>0</horstretch>
 
149
          <verstretch>0</verstretch>
 
150
         </sizepolicy>
 
151
        </property>
 
152
        <property name="minimumSize" >
 
153
         <size>
 
154
          <width>50</width>
 
155
          <height>0</height>
 
156
         </size>
 
157
        </property>
 
158
        <property name="lineWidth" >
 
159
         <number>1</number>
 
160
        </property>
 
161
        <property name="midLineWidth" >
 
162
         <number>0</number>
 
163
        </property>
 
164
        <property name="text" >
 
165
         <string>Back&amp;ground:</string>
 
166
        </property>
 
167
        <property name="margin" >
 
168
         <number>0</number>
 
169
        </property>
 
170
        <property name="buddy" >
 
171
         <cstring>buttonMainColor2</cstring>
 
172
        </property>
 
173
       </widget>
 
174
      </item>
 
175
      <item>
 
176
        <widget class="qdesigner_internal::StyledButton" name="buttonMainColor2" >
 
177
        <property name="geometry" >
 
178
         <rect>
 
179
          <x>178</x>
 
180
          <y>23</y>
 
181
          <width>800</width>
 
182
          <height>480</height>
 
183
         </rect>
 
184
        </property>
 
185
        <property name="sizePolicy" >
 
186
         <sizepolicy>
 
187
          <hsizetype>0</hsizetype>
 
188
          <vsizetype>0</vsizetype>
 
189
          <horstretch>0</horstretch>
 
190
          <verstretch>0</verstretch>
 
191
         </sizepolicy>
 
192
        </property>
 
193
        <property name="focusPolicy" >
 
194
         <enum>Qt::StrongFocus</enum>
 
195
        </property>
 
196
        <property name="toolTip" >
 
197
         <string>Choose a color</string>
 
198
        </property>
 
199
        <property name="whatsThis" >
 
200
         <string>Choose the background color for the generated palette.</string>
 
201
        </property>
 
202
       </widget>
 
203
      </item>
 
204
      <item>
 
205
       <spacer>
 
206
        <property name="geometry" >
 
207
         <rect>
 
208
          <x>184</x>
 
209
          <y>23</y>
 
210
          <width>132</width>
 
211
          <height>26</height>
 
212
         </rect>
 
213
        </property>
 
214
        <property name="orientation" >
 
215
         <enum>Qt::Horizontal</enum>
 
216
        </property>
 
217
        <property name="sizeType" >
 
218
         <enum>QSizePolicy::Expanding</enum>
 
219
        </property>
 
220
        <property name="sizeHint" >
 
221
         <size>
 
222
          <width>20</width>
 
223
          <height>20</height>
 
224
         </size>
 
225
        </property>
 
226
       </spacer>
 
227
      </item>
 
228
      <item>
 
229
       <widget class="QPushButton" name="btnAdvanced" >
 
230
        <property name="geometry" >
 
231
         <rect>
 
232
          <x>322</x>
 
233
          <y>23</y>
 
234
          <width>88</width>
 
235
          <height>26</height>
 
236
         </rect>
 
237
        </property>
 
238
        <property name="text" >
 
239
         <string>&amp;Tune Palette...</string>
 
240
        </property>
 
241
       </widget>
 
242
      </item>
 
243
     </layout>
 
244
    </widget>
 
245
   </item>
 
246
   <item>
 
247
    <widget class="QGroupBox" name="GroupBox126" >
 
248
     <property name="geometry" >
 
249
      <rect>
 
250
       <x>11</x>
 
251
       <y>79</y>
 
252
       <width>423</width>
 
253
       <height>328</height>
 
254
      </rect>
 
255
     </property>
 
256
     <property name="sizePolicy" >
 
257
      <sizepolicy>
 
258
       <hsizetype>5</hsizetype>
 
259
       <vsizetype>7</vsizetype>
 
260
       <horstretch>0</horstretch>
 
261
       <verstretch>0</verstretch>
 
262
      </sizepolicy>
 
263
     </property>
 
264
     <property name="title" >
 
265
      <string>Preview</string>
 
266
     </property>
 
267
     <layout class="QVBoxLayout" >
 
268
      <property name="margin" >
 
269
       <number>11</number>
 
270
      </property>
 
271
      <property name="spacing" >
 
272
       <number>6</number>
 
273
      </property>
 
274
      <item>
 
275
       <layout class="QHBoxLayout" >
 
276
        <property name="margin" >
 
277
         <number>0</number>
 
278
        </property>
 
279
        <property name="spacing" >
 
280
         <number>6</number>
 
281
        </property>
 
282
        <item>
 
283
         <widget class="QLabel" name="TextLabel1" >
 
284
          <property name="geometry" >
 
285
           <rect>
 
286
            <x>0</x>
 
287
            <y>0</y>
 
288
            <width>196</width>
 
289
            <height>143</height>
 
290
           </rect>
 
291
          </property>
 
292
          <property name="text" >
 
293
           <string>Select &amp;Palette:</string>
 
294
          </property>
 
295
          <property name="buddy" >
 
296
           <cstring>paletteCombo</cstring>
 
297
          </property>
 
298
         </widget>
 
299
        </item>
 
300
        <item>
 
301
         <widget class="QComboBox" name="paletteCombo" >
 
302
          <property name="geometry" >
 
303
           <rect>
 
304
            <x>202</x>
 
305
            <y>59</y>
 
306
            <width>195</width>
 
307
            <height>25</height>
 
308
           </rect>
 
309
          </property>
 
310
          <item>
 
311
           <property name="text" >
 
312
            <string>Active Palette</string>
 
313
           </property>
 
314
          </item>
 
315
          <item>
 
316
           <property name="text" >
 
317
            <string>Inactive Palette</string>
 
318
           </property>
 
319
          </item>
 
320
          <item>
 
321
           <property name="text" >
 
322
            <string>Disabled Palette</string>
 
323
           </property>
 
324
          </item>
 
325
         </widget>
 
326
        </item>
 
327
       </layout>
 
328
      </item>
 
329
      <item>
 
330
        <widget class="qdesigner_internal::PreviewFrame" name="previewFrame" >
 
331
        <property name="geometry" >
 
332
         <rect>
 
333
          <x>13</x>
 
334
          <y>172</y>
 
335
          <width>800</width>
 
336
          <height>480</height>
 
337
         </rect>
 
338
        </property>
 
339
        <property name="sizePolicy" >
 
340
         <sizepolicy>
 
341
          <hsizetype>7</hsizetype>
 
342
          <vsizetype>7</vsizetype>
 
343
          <horstretch>0</horstretch>
 
344
          <verstretch>0</verstretch>
 
345
         </sizepolicy>
 
346
        </property>
 
347
       </widget>
 
348
      </item>
 
349
     </layout>
 
350
    </widget>
 
351
   </item>
 
352
   <item>
 
353
    <layout class="QHBoxLayout" >
 
354
     <property name="margin" >
 
355
      <number>0</number>
 
356
     </property>
 
357
     <property name="spacing" >
 
358
      <number>6</number>
 
359
     </property>
 
360
     <item>
 
361
      <widget class="QPushButton" name="buttonHelp" >
 
362
       <property name="geometry" >
 
363
        <rect>
 
364
         <x>0</x>
 
365
         <y>0</y>
 
366
         <width>77</width>
 
367
         <height>28</height>
 
368
        </rect>
 
369
       </property>
 
370
       <property name="text" >
 
371
        <string>&amp;Help</string>
 
372
       </property>
 
373
       <property name="autoDefault" >
 
374
        <bool>true</bool>
 
375
       </property>
 
376
      </widget>
 
377
     </item>
 
378
     <item>
 
379
      <spacer>
 
380
       <property name="geometry" >
 
381
        <rect>
 
382
         <x>83</x>
 
383
         <y>0</y>
 
384
         <width>174</width>
 
385
         <height>28</height>
 
386
        </rect>
 
387
       </property>
 
388
       <property name="orientation" >
 
389
        <enum>Qt::Horizontal</enum>
 
390
       </property>
 
391
       <property name="sizeType" >
 
392
        <enum>QSizePolicy::Expanding</enum>
 
393
       </property>
 
394
       <property name="sizeHint" >
 
395
        <size>
 
396
         <width>20</width>
 
397
         <height>20</height>
 
398
        </size>
 
399
       </property>
 
400
      </spacer>
 
401
     </item>
 
402
     <item>
 
403
      <widget class="QPushButton" name="buttonOk" >
 
404
       <property name="geometry" >
 
405
        <rect>
 
406
         <x>263</x>
 
407
         <y>0</y>
 
408
         <width>77</width>
 
409
         <height>28</height>
 
410
        </rect>
 
411
       </property>
 
412
       <property name="whatsThis" >
 
413
        <string>Close the dialog and apply all the changes.</string>
 
414
       </property>
 
415
       <property name="text" >
 
416
        <string>OK</string>
 
417
       </property>
 
418
       <property name="autoDefault" >
 
419
        <bool>true</bool>
 
420
       </property>
 
421
       <property name="default" >
 
422
        <bool>true</bool>
 
423
       </property>
 
424
      </widget>
 
425
     </item>
 
426
     <item>
 
427
      <widget class="QPushButton" name="buttonCancel" >
 
428
       <property name="geometry" >
 
429
        <rect>
 
430
         <x>346</x>
 
431
         <y>0</y>
 
432
         <width>77</width>
 
433
         <height>28</height>
 
434
        </rect>
 
435
       </property>
 
436
       <property name="whatsThis" >
 
437
        <string>Close the dialog and discard any changes.</string>
 
438
       </property>
 
439
       <property name="text" >
 
440
        <string>Cancel</string>
 
441
       </property>
 
442
       <property name="autoDefault" >
 
443
        <bool>true</bool>
 
444
       </property>
 
445
      </widget>
 
446
     </item>
 
447
    </layout>
 
448
   </item>
 
449
  </layout>
 
450
 </widget>
 
451
 <pixmapfunction></pixmapfunction>
 
452
 <customwidgets>
 
453
  <customwidget>
 
454
   <class>qdesigner_internal::StyledButton</class>
 
455
   <extends></extends>
 
456
   <header>styledbutton.h</header>
 
457
   <container>0</container>
 
458
   <pixmap></pixmap>
 
459
  </customwidget>
 
460
  <customwidget>
 
461
   <class>qdesigner_internal::PreviewFrame</class>
 
462
   <extends></extends>
 
463
   <header>previewframe.h</header>
 
464
   <container>0</container>
 
465
   <pixmap></pixmap>
 
466
  </customwidget>
 
467
 </customwidgets>
 
468
 <tabstops>
 
469
  <tabstop>buttonOk</tabstop>
 
470
  <tabstop>buttonCancel</tabstop>
 
471
  <tabstop>btnAdvanced</tabstop>
 
472
  <tabstop>paletteCombo</tabstop>
 
473
  <tabstop>buttonHelp</tabstop>
 
474
 </tabstops>
 
475
 <resources/>
 
476
 <connections>
 
477
  <connection>
 
478
   <sender>buttonCancel</sender>
 
479
   <signal>clicked()</signal>
 
480
   <receiver>PaletteEditor</receiver>
 
481
   <slot>reject()</slot>
 
482
   <hints>
 
483
    <hint type="sourcelabel" >
 
484
     <x>390</x>
 
485
     <y>430</y>
 
486
    </hint>
 
487
    <hint type="destinationlabel" >
 
488
     <x>409</x>
 
489
     <y>444</y>
 
490
    </hint>
 
491
   </hints>
 
492
  </connection>
 
493
  <connection>
 
494
   <sender>buttonOk</sender>
 
495
   <signal>clicked()</signal>
 
496
   <receiver>PaletteEditor</receiver>
 
497
   <slot>accept()</slot>
 
498
   <hints>
 
499
    <hint type="sourcelabel" >
 
500
     <x>304</x>
 
501
     <y>423</y>
 
502
    </hint>
 
503
    <hint type="destinationlabel" >
 
504
     <x>208</x>
 
505
     <y>419</y>
 
506
    </hint>
 
507
   </hints>
 
508
  </connection>
 
509
 </connections>
 
510
</ui>