Subversion Repositories Scribus

Rev

Rev 10355 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8524 subik 1
<ui version="4.0" >
10340 subik 2
 <class>StyleManager</class>
10379 subik 3
 <widget class="QDialog" name="StyleManager" >
8524 subik 4
  <property name="enabled" >
5
   <bool>true</bool>
6
  </property>
10355 subik 7
  <property name="sizePolicy" >
10379 subik 8
   <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
10355 subik 9
    <horstretch>0</horstretch>
10
    <verstretch>0</verstretch>
11
   </sizepolicy>
12
  </property>
8524 subik 13
  <layout class="QGridLayout" >
10340 subik 14
   <property name="leftMargin" >
8524 subik 15
    <number>6</number>
16
   </property>
10340 subik 17
   <property name="topMargin" >
18
    <number>6</number>
19
   </property>
20
   <property name="rightMargin" >
21
    <number>6</number>
22
   </property>
23
   <property name="bottomMargin" >
24
    <number>6</number>
25
   </property>
26
   <property name="horizontalSpacing" >
8524 subik 27
    <number>5</number>
28
   </property>
10340 subik 29
   <property name="verticalSpacing" >
30
    <number>5</number>
31
   </property>
10379 subik 32
   <item row="0" column="0" >
33
    <layout class="QVBoxLayout" >
8524 subik 34
     <property name="spacing" >
10355 subik 35
      <number>5</number>
8524 subik 36
     </property>
10340 subik 37
     <property name="leftMargin" >
10355 subik 38
      <number>6</number>
10340 subik 39
     </property>
40
     <property name="topMargin" >
10355 subik 41
      <number>6</number>
10340 subik 42
     </property>
43
     <property name="rightMargin" >
10355 subik 44
      <number>6</number>
10340 subik 45
     </property>
46
     <property name="bottomMargin" >
10355 subik 47
      <number>6</number>
10340 subik 48
     </property>
8524 subik 49
     <item>
10379 subik 50
      <widget class="StyleView" name="styleView" >
51
       <property name="contextMenuPolicy" >
52
        <enum>Qt::CustomContextMenu</enum>
8524 subik 53
       </property>
10379 subik 54
       <property name="alternatingRowColors" >
55
        <bool>true</bool>
8524 subik 56
       </property>
10379 subik 57
       <property name="allColumnsShowFocus" >
58
        <bool>true</bool>
8524 subik 59
       </property>
10379 subik 60
       <column>
61
        <property name="text" >
62
         <string>Name</string>
63
        </property>
64
       </column>
65
       <column>
66
        <property name="text" >
67
         <string>Shortcut</string>
68
        </property>
69
       </column>
70
      </widget>
8524 subik 71
     </item>
72
     <item>
10379 subik 73
      <widget class="QFrame" name="leftFrame" >
8524 subik 74
       <property name="sizePolicy" >
10379 subik 75
        <sizepolicy vsizetype="Preferred" hsizetype="Minimum" >
8524 subik 76
         <horstretch>0</horstretch>
77
         <verstretch>0</verstretch>
78
        </sizepolicy>
79
       </property>
80
       <property name="minimumSize" >
81
        <size>
10379 subik 82
         <width>190</width>
83
         <height>0</height>
8524 subik 84
        </size>
85
       </property>
10379 subik 86
       <property name="maximumSize" >
8524 subik 87
        <size>
10379 subik 88
         <width>32767</width>
89
         <height>32767</height>
8524 subik 90
        </size>
91
       </property>
10379 subik 92
       <property name="frameShape" >
93
        <enum>QFrame::NoFrame</enum>
8524 subik 94
       </property>
10379 subik 95
       <property name="frameShadow" >
96
        <enum>QFrame::Plain</enum>
8524 subik 97
       </property>
10379 subik 98
       <property name="lineWidth" >
99
        <number>0</number>
8524 subik 100
       </property>
10379 subik 101
       <layout class="QGridLayout" >
102
        <property name="leftMargin" >
103
         <number>6</number>
8524 subik 104
        </property>
10379 subik 105
        <property name="topMargin" >
106
         <number>6</number>
8524 subik 107
        </property>
10379 subik 108
        <property name="rightMargin" >
109
         <number>6</number>
8524 subik 110
        </property>
10379 subik 111
        <property name="bottomMargin" >
112
         <number>6</number>
8524 subik 113
        </property>
10379 subik 114
        <property name="horizontalSpacing" >
115
         <number>5</number>
116
        </property>
117
        <property name="verticalSpacing" >
118
         <number>5</number>
119
        </property>
120
        <item row="0" column="0" >
121
         <layout class="QHBoxLayout" >
10340 subik 122
          <property name="spacing" >
10379 subik 123
           <number>3</number>
8524 subik 124
          </property>
10340 subik 125
          <property name="leftMargin" >
8524 subik 126
           <number>0</number>
127
          </property>
10340 subik 128
          <property name="topMargin" >
129
           <number>0</number>
130
          </property>
131
          <property name="rightMargin" >
132
           <number>0</number>
133
          </property>
134
          <property name="bottomMargin" >
135
           <number>0</number>
136
          </property>
8524 subik 137
          <item>
10379 subik 138
           <widget class="QToolButton" name="newButton" >
8524 subik 139
            <property name="sizePolicy" >
10379 subik 140
             <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
8524 subik 141
              <horstretch>0</horstretch>
142
              <verstretch>0</verstretch>
143
             </sizepolicy>
144
            </property>
10379 subik 145
            <property name="minimumSize" >
146
             <size>
147
              <width>0</width>
148
              <height>0</height>
149
             </size>
8524 subik 150
            </property>
10379 subik 151
            <property name="maximumSize" >
8524 subik 152
             <size>
10379 subik 153
              <width>1000</width>
154
              <height>32767</height>
8524 subik 155
             </size>
156
            </property>
10379 subik 157
            <property name="text" >
158
             <string>&amp;New</string>
8524 subik 159
            </property>
10379 subik 160
            <property name="shortcut" >
161
             <string>Alt+N</string>
10340 subik 162
            </property>
10379 subik 163
           </widget>
8524 subik 164
          </item>
165
          <item>
10379 subik 166
           <widget class="QToolButton" name="cloneButton" >
167
            <property name="sizePolicy" >
168
             <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
169
              <horstretch>0</horstretch>
170
              <verstretch>0</verstretch>
171
             </sizepolicy>
8524 subik 172
            </property>
10379 subik 173
            <property name="minimumSize" >
174
             <size>
175
              <width>0</width>
176
              <height>0</height>
177
             </size>
8524 subik 178
            </property>
10379 subik 179
            <property name="maximumSize" >
8524 subik 180
             <size>
10379 subik 181
              <width>1000</width>
182
              <height>32767</height>
8524 subik 183
             </size>
184
            </property>
10379 subik 185
            <property name="toolTip" >
186
             <string>Clone copies the style to make similar styles easily.</string>
8524 subik 187
            </property>
10379 subik 188
            <property name="text" >
189
             <string>&amp;Clone</string>
10340 subik 190
            </property>
10379 subik 191
            <property name="shortcut" >
192
             <string>Alt+C</string>
10340 subik 193
            </property>
10379 subik 194
           </widget>
8524 subik 195
          </item>
196
         </layout>
10379 subik 197
        </item>
198
        <item row="1" column="0" >
199
         <layout class="QHBoxLayout" >
10340 subik 200
          <property name="spacing" >
10379 subik 201
           <number>3</number>
8524 subik 202
          </property>
10340 subik 203
          <property name="leftMargin" >
8524 subik 204
           <number>0</number>
205
          </property>
10340 subik 206
          <property name="topMargin" >
207
           <number>0</number>
208
          </property>
209
          <property name="rightMargin" >
210
           <number>0</number>
211
          </property>
212
          <property name="bottomMargin" >
213
           <number>0</number>
214
          </property>
8524 subik 215
          <item>
10379 subik 216
           <widget class="QToolButton" name="importButton" >
8524 subik 217
            <property name="sizePolicy" >
10379 subik 218
             <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
8524 subik 219
              <horstretch>0</horstretch>
220
              <verstretch>0</verstretch>
221
             </sizepolicy>
222
            </property>
10379 subik 223
            <property name="text" >
224
             <string>&amp;Import</string>
8524 subik 225
            </property>
10379 subik 226
            <property name="shortcut" >
227
             <string>Alt+I</string>
8524 subik 228
            </property>
10379 subik 229
           </widget>
230
          </item>
231
          <item>
232
           <widget class="QToolButton" name="deleteButton" >
233
            <property name="sizePolicy" >
234
             <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
235
              <horstretch>0</horstretch>
236
              <verstretch>0</verstretch>
237
             </sizepolicy>
8524 subik 238
            </property>
10379 subik 239
            <property name="text" >
240
             <string>&amp;Delete</string>
241
            </property>
242
            <property name="shortcut" >
243
             <string>Alt+D</string>
244
            </property>
245
           </widget>
246
          </item>
247
         </layout>
248
        </item>
249
       </layout>
250
      </widget>
251
     </item>
252
    </layout>
253
   </item>
254
   <item row="0" column="1" >
255
    <widget class="QFrame" name="rightFrame" >
256
     <property name="minimumSize" >
257
      <size>
258
       <width>472</width>
259
       <height>0</height>
260
      </size>
261
     </property>
262
     <property name="frameShape" >
263
      <enum>QFrame::NoFrame</enum>
264
     </property>
265
     <property name="frameShadow" >
266
      <enum>QFrame::Plain</enum>
267
     </property>
268
     <property name="lineWidth" >
269
      <number>0</number>
270
     </property>
271
     <layout class="QVBoxLayout" >
272
      <property name="spacing" >
273
       <number>0</number>
274
      </property>
275
      <property name="leftMargin" >
276
       <number>0</number>
277
      </property>
278
      <property name="topMargin" >
279
       <number>0</number>
280
      </property>
281
      <property name="rightMargin" >
282
       <number>0</number>
283
      </property>
284
      <property name="bottomMargin" >
285
       <number>0</number>
286
      </property>
287
      <item>
288
       <widget class="QFrame" name="editFrame" >
289
        <property name="sizePolicy" >
290
         <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
291
          <horstretch>0</horstretch>
292
          <verstretch>0</verstretch>
293
         </sizepolicy>
294
        </property>
295
        <property name="frameShape" >
296
         <enum>QFrame::NoFrame</enum>
297
        </property>
298
        <property name="frameShadow" >
299
         <enum>QFrame::Plain</enum>
300
        </property>
301
        <property name="lineWidth" >
302
         <number>0</number>
303
        </property>
304
        <layout class="QVBoxLayout" >
305
         <property name="spacing" >
306
          <number>0</number>
307
         </property>
308
         <property name="leftMargin" >
309
          <number>0</number>
310
         </property>
311
         <property name="topMargin" >
312
          <number>0</number>
313
         </property>
314
         <property name="rightMargin" >
315
          <number>0</number>
316
         </property>
317
         <property name="bottomMargin" >
318
          <number>0</number>
319
         </property>
320
         <item>
321
          <layout class="QHBoxLayout" >
322
           <property name="spacing" >
323
            <number>10</number>
324
           </property>
325
           <property name="leftMargin" >
326
            <number>10</number>
327
           </property>
328
           <property name="topMargin" >
329
            <number>10</number>
330
           </property>
331
           <property name="rightMargin" >
332
            <number>10</number>
333
           </property>
334
           <property name="bottomMargin" >
335
            <number>10</number>
336
           </property>
337
           <item>
338
            <widget class="QLabel" name="nameLabel" >
339
             <property name="text" >
340
              <string>Name:</string>
8524 subik 341
             </property>
10379 subik 342
             <property name="wordWrap" >
343
              <bool>false</bool>
8524 subik 344
             </property>
10379 subik 345
            </widget>
346
           </item>
347
           <item>
348
            <widget class="QLineEdit" name="nameEdit" >
349
             <property name="enabled" >
350
              <bool>false</bool>
10340 subik 351
             </property>
10379 subik 352
            </widget>
353
           </item>
354
          </layout>
355
         </item>
356
         <item>
357
          <widget class="QLabel" name="uniqueLabel" >
358
           <property name="maximumSize" >
359
            <size>
360
             <width>32767</width>
361
             <height>30</height>
362
            </size>
363
           </property>
364
           <property name="font" >
365
            <font>
366
             <weight>75</weight>
367
             <bold>true</bold>
368
            </font>
369
           </property>
370
           <property name="text" >
371
            <string>Please select a unique name for the style</string>
372
           </property>
373
           <property name="alignment" >
374
            <set>Qt::AlignCenter</set>
375
           </property>
376
           <property name="wordWrap" >
377
            <bool>false</bool>
378
           </property>
379
          </widget>
380
         </item>
381
         <item>
382
          <widget class="QFrame" name="mainFrame" >
383
           <property name="sizePolicy" >
384
            <sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" >
385
             <horstretch>0</horstretch>
386
             <verstretch>0</verstretch>
387
            </sizepolicy>
388
           </property>
389
          </widget>
390
         </item>
391
        </layout>
8524 subik 392
       </widget>
393
      </item>
394
     </layout>
395
    </widget>
396
   </item>
10379 subik 397
   <item row="1" column="0" colspan="2" >
398
    <layout class="QHBoxLayout" >
399
     <property name="spacing" >
400
      <number>5</number>
401
     </property>
402
     <property name="leftMargin" >
403
      <number>6</number>
404
     </property>
405
     <property name="topMargin" >
406
      <number>6</number>
407
     </property>
408
     <property name="rightMargin" >
409
      <number>6</number>
410
     </property>
411
     <property name="bottomMargin" >
412
      <number>6</number>
413
     </property>
414
     <item>
415
      <spacer>
416
       <property name="orientation" >
417
        <enum>Qt::Horizontal</enum>
418
       </property>
419
       <property name="sizeType" >
420
        <enum>QSizePolicy::Expanding</enum>
421
       </property>
422
       <property name="sizeHint" >
423
        <size>
424
         <width>0</width>
425
         <height>20</height>
426
        </size>
427
       </property>
428
      </spacer>
429
     </item>
430
     <item>
431
      <widget class="QToolButton" name="okButton" >
432
       <property name="sizePolicy" >
433
        <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
434
         <horstretch>0</horstretch>
435
         <verstretch>0</verstretch>
436
        </sizepolicy>
437
       </property>
438
       <property name="minimumSize" >
439
        <size>
440
         <width>85</width>
441
         <height>24</height>
442
        </size>
443
       </property>
444
       <property name="text" >
445
        <string>&lt;&lt; &amp;Done</string>
446
       </property>
447
       <property name="shortcut" >
448
        <string>Alt+D</string>
449
       </property>
450
      </widget>
451
     </item>
452
     <item>
453
      <widget class="QToolButton" name="applyButton" >
454
       <property name="sizePolicy" >
455
        <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
456
         <horstretch>0</horstretch>
457
         <verstretch>0</verstretch>
458
        </sizepolicy>
459
       </property>
460
       <property name="minimumSize" >
461
        <size>
462
         <width>85</width>
463
         <height>24</height>
464
        </size>
465
       </property>
466
       <property name="text" >
467
        <string>&amp;Apply</string>
468
       </property>
469
       <property name="shortcut" >
470
        <string>Alt+A</string>
471
       </property>
472
      </widget>
473
     </item>
474
     <item>
475
      <widget class="QToolButton" name="resetButton" >
476
       <property name="sizePolicy" >
477
        <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
478
         <horstretch>0</horstretch>
479
         <verstretch>0</verstretch>
480
        </sizepolicy>
481
       </property>
482
       <property name="minimumSize" >
483
        <size>
484
         <width>85</width>
485
         <height>24</height>
486
        </size>
487
       </property>
488
       <property name="text" >
489
        <string>&amp;Reset</string>
490
       </property>
491
       <property name="shortcut" >
492
        <string>Alt+R</string>
493
       </property>
494
      </widget>
495
     </item>
496
    </layout>
497
   </item>
8524 subik 498
  </layout>
499
 </widget>
500
 <layoutdefault spacing="6" margin="11" />
501
 <customwidgets>
502
  <customwidget>
10340 subik 503
   <class>StyleView</class>
504
   <extends>QTreeWidget</extends>
505
   <header>styleview.h</header>
506
  </customwidget>
8524 subik 507
 </customwidgets>
508
 <includes>
509
  <include location="local" >scrpalettebase.h</include>
510
  <include location="local" >scrpalettebase.h</include>
511
 </includes>
512
 <resources/>
513
 <connections/>
514
</ui>