~ubuntu-branches/debian/sid/calligraplan/sid

« back to all changes in this revision

Viewing changes to src/kptcolorsconfigpanel.ui

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2018-02-01 18:20:19 UTC
  • Revision ID: package-import@ubuntu.com-20180201182019-1qo7qaim5wejm5k9
Tags: upstream-3.1.0
ImportĀ upstreamĀ versionĀ 3.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>KPlato::ColorsConfigPanel</class>
 
4
 <widget class="QWidget" name="KPlato::ColorsConfigPanel">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>402</width>
 
10
    <height>289</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="sizePolicy">
 
14
   <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
 
15
    <horstretch>0</horstretch>
 
16
    <verstretch>0</verstretch>
 
17
   </sizepolicy>
 
18
  </property>
 
19
  <layout class="QVBoxLayout" name="verticalLayout">
 
20
   <property name="margin">
 
21
    <number>0</number>
 
22
   </property>
 
23
   <item>
 
24
    <layout class="QHBoxLayout" name="horizontalLayout">
 
25
     <item>
 
26
      <widget class="QLabel" name="label_9">
 
27
       <property name="text">
 
28
        <string>Gradient:</string>
 
29
       </property>
 
30
      </widget>
 
31
     </item>
 
32
     <item>
 
33
      <widget class="KComboBox" name="kcfg_ColorGradientType"/>
 
34
     </item>
 
35
     <item>
 
36
      <spacer name="horizontalSpacer">
 
37
       <property name="orientation">
 
38
        <enum>Qt::Horizontal</enum>
 
39
       </property>
 
40
       <property name="sizeHint" stdset="0">
 
41
        <size>
 
42
         <width>40</width>
 
43
         <height>20</height>
 
44
        </size>
 
45
       </property>
 
46
      </spacer>
 
47
     </item>
 
48
    </layout>
 
49
   </item>
 
50
   <item>
 
51
    <widget class="QTabWidget" name="ui_colors">
 
52
     <property name="currentIndex">
 
53
      <number>0</number>
 
54
     </property>
 
55
     <widget class="QWidget" name="tab">
 
56
      <attribute name="title">
 
57
       <string comment="@title:tab">Summary task</string>
 
58
      </attribute>
 
59
      <layout class="QGridLayout" name="gridLayout_4">
 
60
       <item row="0" column="0">
 
61
        <widget class="QLabel" name="label">
 
62
         <property name="sizePolicy">
 
63
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
64
           <horstretch>0</horstretch>
 
65
           <verstretch>0</verstretch>
 
66
          </sizepolicy>
 
67
         </property>
 
68
         <property name="text">
 
69
          <string comment="@label:chooser">Default:</string>
 
70
         </property>
 
71
         <property name="buddy">
 
72
          <cstring>kcfg_SummaryTaskDefaultColor</cstring>
 
73
         </property>
 
74
        </widget>
 
75
       </item>
 
76
       <item row="0" column="1">
 
77
        <widget class="KColorCombo" name="kcfg_SummaryTaskDefaultColor">
 
78
         <property name="sizePolicy">
 
79
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
80
           <horstretch>0</horstretch>
 
81
           <verstretch>0</verstretch>
 
82
          </sizepolicy>
 
83
         </property>
 
84
         <property name="kcfg_property" stdset="0">
 
85
          <cstring>color</cstring>
 
86
         </property>
 
87
        </widget>
 
88
       </item>
 
89
       <item row="1" column="0" colspan="2">
 
90
        <widget class="QGroupBox" name="kcfg_SummaryTaskLevelColorsEnabled">
 
91
         <property name="title">
 
92
          <string comment="@title:group">Use level colors</string>
 
93
         </property>
 
94
         <property name="checkable">
 
95
          <bool>true</bool>
 
96
         </property>
 
97
         <property name="checked">
 
98
          <bool>false</bool>
 
99
         </property>
 
100
         <layout class="QGridLayout" name="gridLayout">
 
101
          <item row="0" column="0">
 
102
           <widget class="QLabel" name="label_3">
 
103
            <property name="sizePolicy">
 
104
             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
105
              <horstretch>0</horstretch>
 
106
              <verstretch>0</verstretch>
 
107
             </sizepolicy>
 
108
            </property>
 
109
            <property name="text">
 
110
             <string comment="@label:chooser">Level 1</string>
 
111
            </property>
 
112
            <property name="buddy">
 
113
             <cstring>kcfg_SummaryTaskDefaultColor</cstring>
 
114
            </property>
 
115
           </widget>
 
116
          </item>
 
117
          <item row="0" column="1">
 
118
           <widget class="KColorCombo" name="kcfg_SummaryTaskLevelColor_1">
 
119
            <property name="sizePolicy">
 
120
             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
121
              <horstretch>0</horstretch>
 
122
              <verstretch>0</verstretch>
 
123
             </sizepolicy>
 
124
            </property>
 
125
            <property name="kcfg_property" stdset="0">
 
126
             <cstring>color</cstring>
 
127
            </property>
 
128
           </widget>
 
129
          </item>
 
130
          <item row="1" column="0">
 
131
           <widget class="QLabel" name="label_4">
 
132
            <property name="sizePolicy">
 
133
             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
134
              <horstretch>0</horstretch>
 
135
              <verstretch>0</verstretch>
 
136
             </sizepolicy>
 
137
            </property>
 
138
            <property name="text">
 
139
             <string comment="@label:chooser">Level 2</string>
 
140
            </property>
 
141
            <property name="buddy">
 
142
             <cstring>kcfg_SummaryTaskDefaultColor</cstring>
 
143
            </property>
 
144
           </widget>
 
145
          </item>
 
146
          <item row="1" column="1">
 
147
           <widget class="KColorCombo" name="kcfg_SummaryTaskLevelColor_2">
 
148
            <property name="sizePolicy">
 
149
             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
150
              <horstretch>0</horstretch>
 
151
              <verstretch>0</verstretch>
 
152
             </sizepolicy>
 
153
            </property>
 
154
            <property name="kcfg_property" stdset="0">
 
155
             <cstring>color</cstring>
 
156
            </property>
 
157
           </widget>
 
158
          </item>
 
159
          <item row="2" column="0">
 
160
           <widget class="QLabel" name="label_5">
 
161
            <property name="sizePolicy">
 
162
             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
163
              <horstretch>0</horstretch>
 
164
              <verstretch>0</verstretch>
 
165
             </sizepolicy>
 
166
            </property>
 
167
            <property name="text">
 
168
             <string comment="@label:chooser">Level 3</string>
 
169
            </property>
 
170
            <property name="buddy">
 
171
             <cstring>kcfg_SummaryTaskDefaultColor</cstring>
 
172
            </property>
 
173
           </widget>
 
174
          </item>
 
175
          <item row="2" column="1">
 
176
           <widget class="KColorCombo" name="kcfg_SummaryTaskLevelColor_3">
 
177
            <property name="sizePolicy">
 
178
             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
179
              <horstretch>0</horstretch>
 
180
              <verstretch>0</verstretch>
 
181
             </sizepolicy>
 
182
            </property>
 
183
            <property name="kcfg_property" stdset="0">
 
184
             <cstring>color</cstring>
 
185
            </property>
 
186
           </widget>
 
187
          </item>
 
188
          <item row="3" column="0">
 
189
           <widget class="QLabel" name="label_10">
 
190
            <property name="sizePolicy">
 
191
             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
192
              <horstretch>0</horstretch>
 
193
              <verstretch>0</verstretch>
 
194
             </sizepolicy>
 
195
            </property>
 
196
            <property name="text">
 
197
             <string comment="@label:chooser">Level 4</string>
 
198
            </property>
 
199
            <property name="buddy">
 
200
             <cstring>kcfg_SummaryTaskDefaultColor</cstring>
 
201
            </property>
 
202
           </widget>
 
203
          </item>
 
204
          <item row="3" column="1">
 
205
           <widget class="KColorCombo" name="kcfg_SummaryTaskLevelColor_4">
 
206
            <property name="sizePolicy">
 
207
             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
208
              <horstretch>0</horstretch>
 
209
              <verstretch>0</verstretch>
 
210
             </sizepolicy>
 
211
            </property>
 
212
            <property name="kcfg_property" stdset="0">
 
213
             <cstring>color</cstring>
 
214
            </property>
 
215
           </widget>
 
216
          </item>
 
217
         </layout>
 
218
        </widget>
 
219
       </item>
 
220
       <item row="2" column="0">
 
221
        <widget class="Line" name="line_2">
 
222
         <property name="orientation">
 
223
          <enum>Qt::Vertical</enum>
 
224
         </property>
 
225
        </widget>
 
226
       </item>
 
227
      </layout>
 
228
     </widget>
 
229
     <widget class="QWidget" name="tab_2">
 
230
      <attribute name="title">
 
231
       <string comment="@title:tab">Task</string>
 
232
      </attribute>
 
233
      <layout class="QGridLayout" name="gridLayout_2">
 
234
       <item row="0" column="0">
 
235
        <widget class="QLabel" name="label_2">
 
236
         <property name="sizePolicy">
 
237
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
238
           <horstretch>0</horstretch>
 
239
           <verstretch>0</verstretch>
 
240
          </sizepolicy>
 
241
         </property>
 
242
         <property name="text">
 
243
          <string comment="@label:chooser">Normal:</string>
 
244
         </property>
 
245
         <property name="alignment">
 
246
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
247
         </property>
 
248
         <property name="buddy">
 
249
          <cstring>kcfg_TaskNormalColor</cstring>
 
250
         </property>
 
251
        </widget>
 
252
       </item>
 
253
       <item row="0" column="1">
 
254
        <widget class="KColorCombo" name="kcfg_TaskNormalColor">
 
255
         <property name="sizePolicy">
 
256
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
257
           <horstretch>0</horstretch>
 
258
           <verstretch>0</verstretch>
 
259
          </sizepolicy>
 
260
         </property>
 
261
         <property name="kcfg_property" stdset="0">
 
262
          <cstring>color</cstring>
 
263
         </property>
 
264
        </widget>
 
265
       </item>
 
266
       <item row="1" column="0">
 
267
        <widget class="QLabel" name="label_8">
 
268
         <property name="sizePolicy">
 
269
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
270
           <horstretch>0</horstretch>
 
271
           <verstretch>0</verstretch>
 
272
          </sizepolicy>
 
273
         </property>
 
274
         <property name="text">
 
275
          <string comment="@label:chooser">Critical:</string>
 
276
         </property>
 
277
         <property name="alignment">
 
278
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
279
         </property>
 
280
         <property name="buddy">
 
281
          <cstring>kcfg_TaskCriticalColor</cstring>
 
282
         </property>
 
283
        </widget>
 
284
       </item>
 
285
       <item row="1" column="1">
 
286
        <widget class="KColorCombo" name="kcfg_TaskCriticalColor">
 
287
         <property name="sizePolicy">
 
288
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
289
           <horstretch>0</horstretch>
 
290
           <verstretch>0</verstretch>
 
291
          </sizepolicy>
 
292
         </property>
 
293
         <property name="kcfg_property" stdset="0">
 
294
          <cstring>color</cstring>
 
295
         </property>
 
296
        </widget>
 
297
       </item>
 
298
       <item row="2" column="0">
 
299
        <widget class="QLabel" name="label_7">
 
300
         <property name="sizePolicy">
 
301
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
302
           <horstretch>0</horstretch>
 
303
           <verstretch>0</verstretch>
 
304
          </sizepolicy>
 
305
         </property>
 
306
         <property name="text">
 
307
          <string comment="@label:chooser">Finished:</string>
 
308
         </property>
 
309
         <property name="alignment">
 
310
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
311
         </property>
 
312
         <property name="buddy">
 
313
          <cstring>kcfg_TaskFinishedColor</cstring>
 
314
         </property>
 
315
        </widget>
 
316
       </item>
 
317
       <item row="2" column="1">
 
318
        <widget class="KColorCombo" name="kcfg_TaskFinishedColor">
 
319
         <property name="sizePolicy">
 
320
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
321
           <horstretch>0</horstretch>
 
322
           <verstretch>0</verstretch>
 
323
          </sizepolicy>
 
324
         </property>
 
325
         <property name="kcfg_property" stdset="0">
 
326
          <cstring>color</cstring>
 
327
         </property>
 
328
        </widget>
 
329
       </item>
 
330
       <item row="3" column="0">
 
331
        <widget class="QLabel" name="label_6">
 
332
         <property name="sizePolicy">
 
333
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
334
           <horstretch>0</horstretch>
 
335
           <verstretch>0</verstretch>
 
336
          </sizepolicy>
 
337
         </property>
 
338
         <property name="text">
 
339
          <string comment="@label:chooser">Error:</string>
 
340
         </property>
 
341
         <property name="alignment">
 
342
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
343
         </property>
 
344
         <property name="buddy">
 
345
          <cstring>kcfg_TaskErrorColor</cstring>
 
346
         </property>
 
347
        </widget>
 
348
       </item>
 
349
       <item row="3" column="1">
 
350
        <widget class="KColorCombo" name="kcfg_TaskErrorColor">
 
351
         <property name="sizePolicy">
 
352
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
353
           <horstretch>0</horstretch>
 
354
           <verstretch>0</verstretch>
 
355
          </sizepolicy>
 
356
         </property>
 
357
         <property name="kcfg_property" stdset="0">
 
358
          <cstring>color</cstring>
 
359
         </property>
 
360
        </widget>
 
361
       </item>
 
362
       <item row="4" column="1">
 
363
        <widget class="Line" name="line">
 
364
         <property name="orientation">
 
365
          <enum>Qt::Vertical</enum>
 
366
         </property>
 
367
        </widget>
 
368
       </item>
 
369
      </layout>
 
370
     </widget>
 
371
     <widget class="QWidget" name="tab_3">
 
372
      <attribute name="title">
 
373
       <string comment="@title:tab">Milestone</string>
 
374
      </attribute>
 
375
      <layout class="QGridLayout" name="gridLayout_3">
 
376
       <item row="0" column="0">
 
377
        <widget class="QLabel" name="label_12">
 
378
         <property name="sizePolicy">
 
379
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
380
           <horstretch>0</horstretch>
 
381
           <verstretch>0</verstretch>
 
382
          </sizepolicy>
 
383
         </property>
 
384
         <property name="text">
 
385
          <string comment="@label:chooser">Normal:</string>
 
386
         </property>
 
387
         <property name="alignment">
 
388
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
389
         </property>
 
390
         <property name="buddy">
 
391
          <cstring>kcfg_MilestoneNormalColor</cstring>
 
392
         </property>
 
393
        </widget>
 
394
       </item>
 
395
       <item row="0" column="1">
 
396
        <widget class="KColorCombo" name="kcfg_MilestoneNormalColor">
 
397
         <property name="sizePolicy">
 
398
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
399
           <horstretch>0</horstretch>
 
400
           <verstretch>0</verstretch>
 
401
          </sizepolicy>
 
402
         </property>
 
403
         <property name="kcfg_property" stdset="0">
 
404
          <cstring>color</cstring>
 
405
         </property>
 
406
        </widget>
 
407
       </item>
 
408
       <item row="1" column="0">
 
409
        <widget class="QLabel" name="label_14">
 
410
         <property name="sizePolicy">
 
411
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
412
           <horstretch>0</horstretch>
 
413
           <verstretch>0</verstretch>
 
414
          </sizepolicy>
 
415
         </property>
 
416
         <property name="text">
 
417
          <string comment="@label:chooser">Critical:</string>
 
418
         </property>
 
419
         <property name="alignment">
 
420
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
421
         </property>
 
422
         <property name="buddy">
 
423
          <cstring>kcfg_TaskCriticalColor</cstring>
 
424
         </property>
 
425
        </widget>
 
426
       </item>
 
427
       <item row="1" column="1">
 
428
        <widget class="KColorCombo" name="kcfg_MilestoneCriticalColor">
 
429
         <property name="sizePolicy">
 
430
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
431
           <horstretch>0</horstretch>
 
432
           <verstretch>0</verstretch>
 
433
          </sizepolicy>
 
434
         </property>
 
435
         <property name="kcfg_property" stdset="0">
 
436
          <cstring>color</cstring>
 
437
         </property>
 
438
        </widget>
 
439
       </item>
 
440
       <item row="2" column="0">
 
441
        <widget class="QLabel" name="label_13">
 
442
         <property name="sizePolicy">
 
443
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
444
           <horstretch>0</horstretch>
 
445
           <verstretch>0</verstretch>
 
446
          </sizepolicy>
 
447
         </property>
 
448
         <property name="text">
 
449
          <string comment="@label:chooser">Finished:</string>
 
450
         </property>
 
451
         <property name="alignment">
 
452
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
453
         </property>
 
454
         <property name="buddy">
 
455
          <cstring>kcfg_TaskFinishedColor</cstring>
 
456
         </property>
 
457
        </widget>
 
458
       </item>
 
459
       <item row="2" column="1">
 
460
        <widget class="KColorCombo" name="kcfg_MilestoneFinishedColor">
 
461
         <property name="sizePolicy">
 
462
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
463
           <horstretch>0</horstretch>
 
464
           <verstretch>0</verstretch>
 
465
          </sizepolicy>
 
466
         </property>
 
467
         <property name="kcfg_property" stdset="0">
 
468
          <cstring>color</cstring>
 
469
         </property>
 
470
        </widget>
 
471
       </item>
 
472
       <item row="3" column="0">
 
473
        <widget class="QLabel" name="label_11">
 
474
         <property name="sizePolicy">
 
475
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
476
           <horstretch>0</horstretch>
 
477
           <verstretch>0</verstretch>
 
478
          </sizepolicy>
 
479
         </property>
 
480
         <property name="text">
 
481
          <string comment="@label:chooser">Error:</string>
 
482
         </property>
 
483
         <property name="alignment">
 
484
          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
485
         </property>
 
486
         <property name="buddy">
 
487
          <cstring>kcfg_TaskErrorColor</cstring>
 
488
         </property>
 
489
        </widget>
 
490
       </item>
 
491
       <item row="3" column="1">
 
492
        <widget class="KColorCombo" name="kcfg_MilestoneErrorColor">
 
493
         <property name="sizePolicy">
 
494
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
495
           <horstretch>0</horstretch>
 
496
           <verstretch>0</verstretch>
 
497
          </sizepolicy>
 
498
         </property>
 
499
         <property name="kcfg_property" stdset="0">
 
500
          <cstring>color</cstring>
 
501
         </property>
 
502
        </widget>
 
503
       </item>
 
504
       <item row="4" column="1">
 
505
        <widget class="Line" name="line_3">
 
506
         <property name="orientation">
 
507
          <enum>Qt::Vertical</enum>
 
508
         </property>
 
509
        </widget>
 
510
       </item>
 
511
      </layout>
 
512
     </widget>
 
513
    </widget>
 
514
   </item>
 
515
  </layout>
 
516
 </widget>
 
517
 <customwidgets>
 
518
  <customwidget>
 
519
   <class>KColorCombo</class>
 
520
   <extends>QComboBox</extends>
 
521
   <header>kcolorcombo.h</header>
 
522
  </customwidget>
 
523
  <customwidget>
 
524
   <class>KComboBox</class>
 
525
   <extends>QComboBox</extends>
 
526
   <header>kcombobox.h</header>
 
527
  </customwidget>
 
528
 </customwidgets>
 
529
 <resources/>
 
530
 <connections/>
 
531
</ui>