Subversion Repositories Scribus

Rev

Rev 20329 | Rev 20340 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14832 cbradney 1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <author>Petr Vanek &lt;petr@scribus.info&gt;</author>
9074 subik 4
 <comment>This is base class for Scribus Barcode Generator. Always use designer for this file!</comment>
5
 <class>BarcodeGeneratorBase</class>
14832 cbradney 6
 <widget class="QDialog" name="BarcodeGeneratorBase">
7
  <property name="geometry">
9074 subik 8
   <rect>
9
    <x>0</x>
10
    <y>0</y>
20308 craig 11
    <width>494</width>
12
    <height>535</height>
9074 subik 13
   </rect>
14
  </property>
14832 cbradney 15
  <property name="windowTitle">
10962 cbradney 16
   <string>Insert Barcode</string>
9074 subik 17
  </property>
14832 cbradney 18
  <property name="toolTip">
9074 subik 19
   <string/>
20
  </property>
14832 cbradney 21
  <layout class="QGridLayout">
20308 craig 22
   <item row="8" column="0" colspan="3">
23
    <layout class="QHBoxLayout">
24
     <item>
25
      <spacer>
26
       <property name="orientation">
27
        <enum>Qt::Horizontal</enum>
28
       </property>
29
       <property name="sizeHint" stdset="0">
30
        <size>
31
         <width>40</width>
32
         <height>20</height>
33
        </size>
34
       </property>
35
      </spacer>
36
     </item>
37
     <item>
38
      <widget class="QPushButton" name="okButton">
39
       <property name="text">
40
        <string/>
41
       </property>
42
      </widget>
43
     </item>
44
     <item>
45
      <widget class="QPushButton" name="cancelButton">
46
       <property name="text">
47
        <string/>
48
       </property>
49
      </widget>
50
     </item>
51
    </layout>
52
   </item>
53
   <item row="4" column="0">
14832 cbradney 54
    <widget class="QGroupBox" name="bcodeBox">
55
     <property name="title">
20308 craig 56
      <string/>
11228 subik 57
     </property>
14832 cbradney 58
     <layout class="QGridLayout">
20308 craig 59
      <property name="topMargin">
60
       <number>0</number>
61
      </property>
62
      <property name="bottomMargin">
63
       <number>0</number>
64
      </property>
65
      <item row="6" column="1">
66
       <widget class="QCheckBox" name="includecheckintextCheck">
14832 cbradney 67
        <property name="toolTip">
11228 subik 68
         <string>Include the checksum digit in the barcode text</string>
69
        </property>
14832 cbradney 70
        <property name="text">
20308 craig 71
         <string>Display checksum</string>
11228 subik 72
        </property>
14832 cbradney 73
        <property name="shortcut">
11228 subik 74
         <string>Alt+U</string>
75
        </property>
76
       </widget>
77
      </item>
20308 craig 78
      <item row="5" column="0">
79
       <widget class="QCheckBox" name="includetextCheck">
14832 cbradney 80
        <property name="toolTip">
20308 craig 81
         <string>If checked, there will be numbers in the barcode too</string>
11228 subik 82
        </property>
14832 cbradney 83
        <property name="text">
20308 craig 84
         <string>Show readable text</string>
11228 subik 85
        </property>
14832 cbradney 86
        <property name="shortcut">
20308 craig 87
         <string>Alt+I</string>
11228 subik 88
        </property>
20308 craig 89
        <property name="checked">
90
         <bool>false</bool>
91
        </property>
11228 subik 92
       </widget>
93
      </item>
20308 craig 94
      <item row="8" column="1">
95
       <widget class="QCheckBox" name="parsefncCheck">
14832 cbradney 96
        <property name="text">
20308 craig 97
         <string>Parse specials</string>
11228 subik 98
        </property>
99
       </widget>
100
      </item>
20308 craig 101
      <item row="5" column="1">
102
       <widget class="QCheckBox" name="guardwhitespaceCheck">
14832 cbradney 103
        <property name="toolTip">
20308 craig 104
         <string>Draw arrows to be sure of space next the code</string>
11228 subik 105
        </property>
14832 cbradney 106
        <property name="text">
20308 craig 107
         <string>Guard whitespace</string>
11228 subik 108
        </property>
14832 cbradney 109
        <property name="shortcut">
20308 craig 110
         <string>Alt+G</string>
11228 subik 111
        </property>
112
       </widget>
113
      </item>
20308 craig 114
      <item row="8" column="0">
115
       <widget class="QCheckBox" name="parseCheck">
14832 cbradney 116
        <property name="text">
20308 craig 117
         <string>^NNN as ASCII</string>
11228 subik 118
        </property>
119
       </widget>
120
      </item>
20308 craig 121
      <item row="6" column="0">
122
       <widget class="QCheckBox" name="includecheckCheck">
14832 cbradney 123
        <property name="toolTip">
20308 craig 124
         <string>Generate and include a checksum in barcode</string>
11228 subik 125
        </property>
14832 cbradney 126
        <property name="text">
20308 craig 127
         <string>Add checksum</string>
11228 subik 128
        </property>
20308 craig 129
        <property name="shortcut">
130
         <string>Alt+N</string>
11228 subik 131
        </property>
132
       </widget>
133
      </item>
134
     </layout>
135
    </widget>
136
   </item>
20308 craig 137
   <item row="4" column="1" colspan="2">
14832 cbradney 138
    <widget class="QGroupBox" name="colorBox">
139
     <property name="title">
20308 craig 140
      <string/>
9074 subik 141
     </property>
14832 cbradney 142
     <layout class="QGridLayout">
20308 craig 143
      <property name="topMargin">
144
       <number>0</number>
145
      </property>
14832 cbradney 146
      <item row="0" column="0">
147
       <widget class="QPushButton" name="bgColorButton">
148
        <property name="toolTip">
9074 subik 149
         <string>Background color - under the code lines</string>
150
        </property>
14832 cbradney 151
        <property name="text">
9074 subik 152
         <string>&amp;Background</string>
153
        </property>
14832 cbradney 154
        <property name="shortcut">
9074 subik 155
         <string>Alt+B</string>
156
        </property>
157
       </widget>
158
      </item>
14832 cbradney 159
      <item row="0" column="1">
160
       <widget class="QLabel" name="bgLabel">
161
        <property name="minimumSize">
9074 subik 162
         <size>
163
          <width>10</width>
164
          <height>0</height>
165
         </size>
166
        </property>
14832 cbradney 167
        <property name="frameShape">
9074 subik 168
         <enum>QFrame::Box</enum>
169
        </property>
14832 cbradney 170
        <property name="scaledContents">
9074 subik 171
         <bool>true</bool>
172
        </property>
14832 cbradney 173
        <property name="wordWrap">
9074 subik 174
         <bool>false</bool>
175
        </property>
176
       </widget>
177
      </item>
14832 cbradney 178
      <item row="1" column="0">
179
       <widget class="QPushButton" name="lnColorButton">
180
        <property name="toolTip">
9074 subik 181
         <string>Color of the lines in barcode</string>
182
        </property>
14832 cbradney 183
        <property name="text">
9074 subik 184
         <string>&amp;Lines</string>
185
        </property>
14832 cbradney 186
        <property name="shortcut">
9074 subik 187
         <string>Alt+L</string>
188
        </property>
189
       </widget>
190
      </item>
14832 cbradney 191
      <item row="1" column="1">
192
       <widget class="QLabel" name="linesLabel">
193
        <property name="minimumSize">
9074 subik 194
         <size>
195
          <width>10</width>
196
          <height>0</height>
197
         </size>
198
        </property>
14832 cbradney 199
        <property name="frameShape">
9074 subik 200
         <enum>QFrame::Box</enum>
201
        </property>
14832 cbradney 202
        <property name="scaledContents">
9074 subik 203
         <bool>true</bool>
204
        </property>
14832 cbradney 205
        <property name="wordWrap">
9074 subik 206
         <bool>false</bool>
207
        </property>
208
       </widget>
209
      </item>
14832 cbradney 210
      <item row="2" column="0">
211
       <widget class="QPushButton" name="txtColorButton">
212
        <property name="toolTip">
9074 subik 213
         <string>Color of the text and numbers</string>
214
        </property>
14832 cbradney 215
        <property name="text">
9074 subik 216
         <string>&amp;Text</string>
217
        </property>
14832 cbradney 218
        <property name="shortcut">
9074 subik 219
         <string>Alt+T</string>
220
        </property>
221
       </widget>
222
      </item>
14832 cbradney 223
      <item row="2" column="1">
224
       <widget class="QLabel" name="txtLabel">
225
        <property name="minimumSize">
9074 subik 226
         <size>
227
          <width>10</width>
228
          <height>0</height>
229
         </size>
230
        </property>
14832 cbradney 231
        <property name="frameShape">
9074 subik 232
         <enum>QFrame::Box</enum>
233
        </property>
14832 cbradney 234
        <property name="scaledContents">
9074 subik 235
         <bool>true</bool>
236
        </property>
14832 cbradney 237
        <property name="wordWrap">
9074 subik 238
         <bool>false</bool>
239
        </property>
240
       </widget>
241
      </item>
242
     </layout>
243
    </widget>
244
   </item>
20308 craig 245
   <item row="2" column="0" rowspan="2" colspan="3">
246
    <widget class="QGroupBox" name="groupBox">
247
     <property name="minimumSize">
248
      <size>
249
       <width>0</width>
250
       <height>100</height>
251
      </size>
9074 subik 252
     </property>
20308 craig 253
     <property name="title">
254
      <string/>
9074 subik 255
     </property>
20308 craig 256
     <widget class="QLineEdit" name="optionsEdit">
257
      <property name="geometry">
258
       <rect>
259
        <x>80</x>
260
        <y>70</y>
261
        <width>331</width>
262
        <height>27</height>
263
       </rect>
264
      </property>
265
      <property name="toolTip">
266
       <string>Advanced options for the barcode</string>
267
      </property>
268
     </widget>
269
     <widget class="QLabel" name="bcLabel">
270
      <property name="geometry">
271
       <rect>
272
        <x>10</x>
273
        <y>10</y>
274
        <width>171</width>
275
        <height>27</height>
276
       </rect>
277
      </property>
278
      <property name="text">
279
       <string>&amp;Barcode:</string>
280
      </property>
281
      <property name="wordWrap">
282
       <bool>false</bool>
283
      </property>
284
      <property name="buddy">
285
       <cstring>bcCombo</cstring>
286
      </property>
287
     </widget>
288
     <widget class="QLabel" name="codeLabel">
289
      <property name="geometry">
290
       <rect>
291
        <x>10</x>
292
        <y>40</y>
293
        <width>101</width>
294
        <height>20</height>
295
       </rect>
296
      </property>
297
      <property name="text">
298
       <string>&amp;Contents:</string>
299
      </property>
300
      <property name="wordWrap">
301
       <bool>false</bool>
302
      </property>
303
      <property name="buddy">
304
       <cstring>codeEdit</cstring>
305
      </property>
306
     </widget>
307
     <widget class="QLabel" name="optionsLabel">
308
      <property name="geometry">
309
       <rect>
310
        <x>10</x>
311
        <y>70</y>
312
        <width>61</width>
313
        <height>20</height>
314
       </rect>
315
      </property>
316
      <property name="text">
317
       <string>Options:</string>
318
      </property>
319
      <property name="textInteractionFlags">
320
       <set>Qt::LinksAccessibleByMouse</set>
321
      </property>
322
     </widget>
323
     <widget class="QLineEdit" name="codeEdit">
324
      <property name="geometry">
325
       <rect>
326
        <x>80</x>
327
        <y>40</y>
328
        <width>331</width>
329
        <height>27</height>
330
       </rect>
331
      </property>
332
      <property name="toolTip">
333
       <string>The contents encoded in the barcode</string>
334
      </property>
335
     </widget>
336
     <widget class="QComboBox" name="bcCombo">
337
      <property name="geometry">
338
       <rect>
339
        <x>80</x>
340
        <y>10</y>
341
        <width>331</width>
342
        <height>27</height>
343
       </rect>
344
      </property>
345
      <property name="toolTip">
346
       <string>Select one of the available barcode types here</string>
347
      </property>
348
     </widget>
349
     <widget class="QPushButton" name="resetButton">
350
      <property name="geometry">
351
       <rect>
352
        <x>420</x>
353
        <y>40</y>
354
        <width>24</width>
355
        <height>27</height>
356
       </rect>
357
      </property>
358
      <property name="sizePolicy">
359
       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
360
        <horstretch>0</horstretch>
361
        <verstretch>0</verstretch>
362
       </sizepolicy>
363
      </property>
364
      <property name="maximumSize">
365
       <size>
366
        <width>24</width>
367
        <height>32767</height>
368
       </size>
369
      </property>
370
      <property name="toolTip">
371
       <string>Reset the barcode samples</string>
372
      </property>
373
      <property name="text">
374
       <string/>
375
      </property>
376
     </widget>
9074 subik 377
    </widget>
378
   </item>
20308 craig 379
   <item row="6" column="0" colspan="3">
18612 jghali 380
    <widget class="QGroupBox" name="optionsBox">
381
     <property name="title">
20308 craig 382
      <string/>
18612 jghali 383
     </property>
384
     <layout class="QGridLayout">
20308 craig 385
      <property name="topMargin">
386
       <number>0</number>
387
      </property>
388
      <property name="verticalSpacing">
389
       <number>6</number>
390
      </property>
391
      <item row="2" column="0" colspan="5">
392
       <widget class="QLabel" name="sampleLabel">
393
        <property name="minimumSize">
394
         <size>
395
          <width>450</width>
396
          <height>190</height>
397
         </size>
398
        </property>
399
        <property name="styleSheet">
400
         <string notr="true">background-color : #FFF</string>
401
        </property>
402
        <property name="frameShape">
403
         <enum>QFrame::Box</enum>
404
        </property>
405
        <property name="alignment">
406
         <set>Qt::AlignCenter</set>
407
        </property>
408
        <property name="wordWrap">
20329 craig 409
         <bool>true</bool>
20308 craig 410
        </property>
411
       </widget>
412
      </item>
18612 jghali 413
      <item row="0" column="0">
414
       <widget class="QLabel" name="formatLabel">
415
        <property name="text">
20308 craig 416
         <string>Version:</string>
18612 jghali 417
        </property>
418
        <property name="wordWrap">
419
         <bool>false</bool>
420
        </property>
421
        <property name="buddy">
422
         <cstring>formatCombo</cstring>
423
        </property>
424
       </widget>
425
      </item>
426
      <item row="0" column="1">
427
       <widget class="QComboBox" name="formatCombo">
20308 craig 428
        <property name="minimumSize">
429
         <size>
430
          <width>125</width>
431
          <height>1</height>
432
         </size>
433
        </property>
18612 jghali 434
        <property name="toolTip">
20337 craig 435
         <string>Version of the symbol</string>
18612 jghali 436
        </property>
437
       </widget>
438
      </item>
20308 craig 439
      <item row="0" column="4">
440
       <widget class="QComboBox" name="eccCombo">
441
        <property name="minimumSize">
442
         <size>
443
          <width>125</width>
444
          <height>0</height>
445
         </size>
446
        </property>
447
        <property name="toolTip">
20337 craig 448
         <string>Error correction level</string>
20308 craig 449
        </property>
450
       </widget>
451
      </item>
452
      <item row="0" column="3">
18612 jghali 453
       <widget class="QLabel" name="eccLabel">
454
        <property name="text">
20308 craig 455
         <string>Error correction level:</string>
18612 jghali 456
        </property>
457
        <property name="wordWrap">
458
         <bool>false</bool>
459
        </property>
460
        <property name="buddy">
461
         <cstring>eccCombo</cstring>
462
        </property>
463
       </widget>
464
      </item>
465
     </layout>
466
    </widget>
467
   </item>
9074 subik 468
  </layout>
469
 </widget>
14832 cbradney 470
 <layoutdefault spacing="6" margin="11"/>
19500 jghali 471
 <tabstops>
472
  <tabstop>bgColorButton</tabstop>
473
  <tabstop>lnColorButton</tabstop>
474
  <tabstop>txtColorButton</tabstop>
475
  <tabstop>okButton</tabstop>
476
  <tabstop>cancelButton</tabstop>
477
 </tabstops>
9074 subik 478
 <resources/>
479
 <connections>
480
  <connection>
481
   <sender>bcCombo</sender>
482
   <signal>activated(QString)</signal>
483
   <receiver>BarcodeGeneratorBase</receiver>
484
   <slot>bcComboChanged()</slot>
485
   <hints>
14832 cbradney 486
    <hint type="sourcelabel">
9074 subik 487
     <x>20</x>
488
     <y>20</y>
489
    </hint>
14832 cbradney 490
    <hint type="destinationlabel">
9074 subik 491
     <x>20</x>
492
     <y>20</y>
493
    </hint>
494
   </hints>
495
  </connection>
496
  <connection>
497
   <sender>bgColorButton</sender>
498
   <signal>clicked()</signal>
499
   <receiver>BarcodeGeneratorBase</receiver>
500
   <slot>bgColorButton_pressed()</slot>
501
   <hints>
14832 cbradney 502
    <hint type="sourcelabel">
9074 subik 503
     <x>20</x>
504
     <y>20</y>
505
    </hint>
14832 cbradney 506
    <hint type="destinationlabel">
9074 subik 507
     <x>20</x>
508
     <y>20</y>
509
    </hint>
510
   </hints>
511
  </connection>
512
  <connection>
513
   <sender>lnColorButton</sender>
514
   <signal>clicked()</signal>
515
   <receiver>BarcodeGeneratorBase</receiver>
516
   <slot>lnColorButton_pressed()</slot>
517
   <hints>
14832 cbradney 518
    <hint type="sourcelabel">
9074 subik 519
     <x>20</x>
520
     <y>20</y>
521
    </hint>
14832 cbradney 522
    <hint type="destinationlabel">
9074 subik 523
     <x>20</x>
524
     <y>20</y>
525
    </hint>
526
   </hints>
527
  </connection>
528
  <connection>
529
   <sender>txtColorButton</sender>
530
   <signal>clicked()</signal>
531
   <receiver>BarcodeGeneratorBase</receiver>
532
   <slot>txtColorButton_pressed()</slot>
533
   <hints>
14832 cbradney 534
    <hint type="sourcelabel">
9074 subik 535
     <x>20</x>
536
     <y>20</y>
537
    </hint>
14832 cbradney 538
    <hint type="destinationlabel">
9074 subik 539
     <x>20</x>
540
     <y>20</y>
541
    </hint>
542
   </hints>
543
  </connection>
544
  <connection>
545
   <sender>okButton</sender>
546
   <signal>clicked()</signal>
547
   <receiver>BarcodeGeneratorBase</receiver>
548
   <slot>okButton_pressed()</slot>
549
   <hints>
14832 cbradney 550
    <hint type="sourcelabel">
9074 subik 551
     <x>20</x>
552
     <y>20</y>
553
    </hint>
14832 cbradney 554
    <hint type="destinationlabel">
9074 subik 555
     <x>20</x>
556
     <y>20</y>
557
    </hint>
558
   </hints>
559
  </connection>
560
  <connection>
561
   <sender>cancelButton</sender>
562
   <signal>clicked()</signal>
563
   <receiver>BarcodeGeneratorBase</receiver>
564
   <slot>cancelButton_pressed()</slot>
565
   <hints>
14832 cbradney 566
    <hint type="sourcelabel">
9074 subik 567
     <x>20</x>
568
     <y>20</y>
569
    </hint>
14832 cbradney 570
    <hint type="destinationlabel">
9074 subik 571
     <x>20</x>
572
     <y>20</y>
573
    </hint>
574
   </hints>
575
  </connection>
576
  <connection>
577
   <sender>codeEdit</sender>
578
   <signal>textChanged(QString)</signal>
579
   <receiver>BarcodeGeneratorBase</receiver>
580
   <slot>codeEdit_textChanged(QString)</slot>
581
   <hints>
14832 cbradney 582
    <hint type="sourcelabel">
9074 subik 583
     <x>20</x>
584
     <y>20</y>
585
    </hint>
14832 cbradney 586
    <hint type="destinationlabel">
9074 subik 587
     <x>20</x>
588
     <y>20</y>
589
    </hint>
590
   </hints>
591
  </connection>
592
  <connection>
593
   <sender>resetButton</sender>
594
   <signal>clicked()</signal>
595
   <receiver>BarcodeGeneratorBase</receiver>
596
   <slot>resetButton_clicked()</slot>
597
   <hints>
14832 cbradney 598
    <hint type="sourcelabel">
9074 subik 599
     <x>20</x>
600
     <y>20</y>
601
    </hint>
14832 cbradney 602
    <hint type="destinationlabel">
9074 subik 603
     <x>20</x>
604
     <y>20</y>
605
    </hint>
606
   </hints>
607
  </connection>
608
 </connections>
8516 cbradney 609
</ui>