FreeCAD

Форк
0
/
dialog_AnnotationStyleEditor.ui 
634 строки · 20.4 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Dialog</class>
4
 <widget class="QDialog" name="Dialog">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>416</width>
10
    <height>542</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Annotation Styles Editor</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <widget class="QGroupBox" name="groupBox">
19
     <property name="title">
20
      <string>Style name</string>
21
     </property>
22
     <layout class="QHBoxLayout" name="horizontalLayout">
23
      <item>
24
       <widget class="QComboBox" name="comboBoxStyles">
25
        <property name="sizePolicy">
26
         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
27
          <horstretch>0</horstretch>
28
          <verstretch>0</verstretch>
29
         </sizepolicy>
30
        </property>
31
        <property name="minimumSize">
32
         <size>
33
          <width>60</width>
34
          <height>0</height>
35
         </size>
36
        </property>
37
        <property name="toolTip">
38
         <string>The name of your style. Existing style names can be edited.</string>
39
        </property>
40
        <property name="editable">
41
         <bool>false</bool>
42
        </property>
43
        <item>
44
         <property name="text">
45
          <string/>
46
         </property>
47
        </item>
48
        <item>
49
         <property name="text">
50
          <string>Add new...</string>
51
         </property>
52
        </item>
53
       </widget>
54
      </item>
55
      <item>
56
       <widget class="QPushButton" name="pushButtonRename">
57
        <property name="enabled">
58
         <bool>false</bool>
59
        </property>
60
        <property name="sizePolicy">
61
         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
62
          <horstretch>0</horstretch>
63
          <verstretch>0</verstretch>
64
         </sizepolicy>
65
        </property>
66
        <property name="minimumSize">
67
         <size>
68
          <width>60</width>
69
          <height>0</height>
70
         </size>
71
        </property>
72
        <property name="maximumSize">
73
         <size>
74
          <width>110</width>
75
          <height>16777215</height>
76
         </size>
77
        </property>
78
        <property name="toolTip">
79
         <string>Renames the selected style</string>
80
        </property>
81
        <property name="text">
82
         <string>Rename</string>
83
        </property>
84
       </widget>
85
      </item>
86
      <item>
87
       <widget class="QPushButton" name="pushButtonDelete">
88
        <property name="enabled">
89
         <bool>false</bool>
90
        </property>
91
        <property name="sizePolicy">
92
         <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
93
          <horstretch>0</horstretch>
94
          <verstretch>0</verstretch>
95
         </sizepolicy>
96
        </property>
97
        <property name="minimumSize">
98
         <size>
99
          <width>60</width>
100
          <height>0</height>
101
         </size>
102
        </property>
103
        <property name="maximumSize">
104
         <size>
105
          <width>110</width>
106
          <height>16777215</height>
107
         </size>
108
        </property>
109
        <property name="toolTip">
110
         <string>Deletes the selected style</string>
111
        </property>
112
        <property name="text">
113
         <string>Delete</string>
114
        </property>
115
       </widget>
116
      </item>
117
      <item>
118
       <widget class="QPushButton" name="pushButtonImport">
119
        <property name="toolTip">
120
         <string>Import styles from json file</string>
121
        </property>
122
        <property name="text">
123
         <string/>
124
        </property>
125
       </widget>
126
      </item>
127
      <item>
128
       <widget class="QPushButton" name="pushButtonExport">
129
        <property name="toolTip">
130
         <string>Export styles to json file</string>
131
        </property>
132
        <property name="text">
133
         <string/>
134
        </property>
135
       </widget>
136
      </item>
137
     </layout>
138
    </widget>
139
   </item>
140
   <item>
141
    <widget class="QScrollArea" name="scrollArea">
142
     <property name="frameShadow">
143
      <enum>QFrame::Plain</enum>
144
     </property>
145
     <property name="verticalScrollBarPolicy">
146
      <enum>Qt::ScrollBarAsNeeded</enum>
147
     </property>
148
     <property name="widgetResizable">
149
      <bool>true</bool>
150
     </property>
151
     <widget class="QWidget" name="scrollAreaWidgetContents">
152
      <property name="geometry">
153
       <rect>
154
        <x>0</x>
155
        <y>0</y>
156
        <width>383</width>
157
        <height>589</height>
158
       </rect>
159
      </property>
160
      <layout class="QVBoxLayout" name="verticalLayout_2">
161
       <item>
162
        <widget class="QGroupBox" name="groupBox_2">
163
         <property name="title">
164
          <string>Text</string>
165
         </property>
166
         <layout class="QGridLayout" name="gridLayout">
167
          <item row="0" column="0">
168
           <widget class="QLabel" name="label">
169
            <property name="toolTip">
170
             <string>The font to use for texts and dimensions</string>
171
            </property>
172
            <property name="text">
173
             <string>Font name</string>
174
            </property>
175
           </widget>
176
          </item>
177
          <item row="0" column="1">
178
           <widget class="QFontComboBox" name="FontName">
179
            <property name="sizePolicy">
180
             <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
181
              <horstretch>0</horstretch>
182
              <verstretch>0</verstretch>
183
             </sizepolicy>
184
            </property>
185
            <property name="minimumSize">
186
             <size>
187
              <width>60</width>
188
              <height>0</height>
189
             </size>
190
            </property>
191
            <property name="toolTip">
192
             <string>The font to use for texts and dimensions</string>
193
            </property>
194
           </widget>
195
          </item>
196
          <item row="1" column="0">
197
           <widget class="QLabel" name="label_2">
198
            <property name="toolTip">
199
             <string>The font size in system units</string>
200
            </property>
201
            <property name="text">
202
             <string>Font size</string>
203
            </property>
204
           </widget>
205
          </item>
206
          <item row="1" column="1">
207
           <widget class="Gui::InputField" name="FontSize">
208
            <property name="toolTip">
209
             <string>The font size in system units</string>
210
            </property>
211
            <property name="unit" stdset="0">
212
             <string notr="true"/>
213
            </property>
214
           </widget>
215
          </item>
216
          <item row="2" column="0">
217
           <widget class="QLabel" name="label_3">
218
            <property name="toolTip">
219
             <string>The line spacing for multi-line texts and labels (relative to the font size)</string>
220
            </property>
221
            <property name="text">
222
             <string>Line spacing</string>
223
            </property>
224
           </widget>
225
          </item>
226
          <item row="2" column="1">
227
           <widget class="QDoubleSpinBox" name="LineSpacing">
228
            <property name="toolTip">
229
             <string>The line spacing for multi-line texts and labels (relative to the font size)</string>
230
            </property>
231
           </widget>
232
          </item>
233
          <item row="3" column="0">
234
           <widget class="QLabel" name="label_4">
235
            <property name="toolTip">
236
             <string>The color of texts, dimension texts and label texts</string>
237
            </property>
238
            <property name="text">
239
             <string>Text color</string>
240
            </property>
241
           </widget>
242
          </item>
243
          <item row="3" column="1">
244
           <widget class="Gui::ColorButton" name="TextColor">
245
            <property name="toolTip">
246
             <string>The color of texts, dimension texts and label texts</string>
247
            </property>
248
           </widget>
249
          </item>
250
         </layout>
251
        </widget>
252
       </item>
253
       <item>
254
        <widget class="QGroupBox" name="groupBox_3">
255
         <property name="title">
256
          <string>Lines and arrows</string>
257
         </property>
258
         <layout class="QGridLayout" name="gridLayout_2">
259
          <item row="0" column="0">
260
           <widget class="QLabel" name="label_5">
261
            <property name="toolTip">
262
             <string>If it is checked it will display the dimension line</string>
263
            </property>
264
            <property name="text">
265
             <string>Show line</string>
266
            </property>
267
           </widget>
268
          </item>
269
          <item row="0" column="1">
270
           <widget class="QCheckBox" name="ShowLine">
271
            <property name="toolTip">
272
             <string>If it is checked it will display the dimension line</string>
273
            </property>
274
            <property name="layoutDirection">
275
             <enum>Qt::LeftToRight</enum>
276
            </property>
277
            <property name="text">
278
             <string/>
279
            </property>
280
            <property name="checked">
281
             <bool>true</bool>
282
            </property>
283
           </widget>
284
          </item>
285
          <item row="2" column="0">
286
           <widget class="QLabel" name="label_6">
287
            <property name="toolTip">
288
             <string>The width of the lines</string>
289
            </property>
290
            <property name="text">
291
             <string>Line width</string>
292
            </property>
293
           </widget>
294
          </item>
295
          <item row="2" column="1">
296
           <widget class="QSpinBox" name="LineWidth">
297
            <property name="toolTip">
298
             <string>The width of the lines</string>
299
            </property>
300
            <property name="suffix">
301
             <string> px</string>
302
            </property>
303
           </widget>
304
          </item>
305
          <item row="3" column="0">
306
           <widget class="QLabel" name="label_7">
307
            <property name="toolTip">
308
             <string>The type of arrows or markers to use for dimensions and labels</string>
309
            </property>
310
            <property name="text">
311
             <string>Arrow type</string>
312
            </property>
313
           </widget>
314
          </item>
315
          <item row="3" column="1">
316
           <widget class="QComboBox" name="ArrowType">
317
            <property name="sizePolicy">
318
             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
319
              <horstretch>0</horstretch>
320
              <verstretch>0</verstretch>
321
             </sizepolicy>
322
            </property>
323
            <property name="minimumSize">
324
             <size>
325
              <width>60</width>
326
              <height>0</height>
327
             </size>
328
            </property>
329
            <property name="toolTip">
330
             <string>The type of arrows or markers to use for dimensions and labels</string>
331
            </property>
332
            <item>
333
             <property name="text">
334
              <string>Dot</string>
335
             </property>
336
            </item>
337
            <item>
338
             <property name="text">
339
              <string>Circle</string>
340
             </property>
341
            </item>
342
            <item>
343
             <property name="text">
344
              <string>Arrow</string>
345
             </property>
346
            </item>
347
            <item>
348
             <property name="text">
349
              <string>Tick</string>
350
             </property>
351
            </item>
352
            <item>
353
             <property name="text">
354
              <string>Tick-2</string>
355
             </property>
356
            </item>
357
           </widget>
358
          </item>
359
          <item row="4" column="0">
360
           <widget class="QLabel" name="label_8">
361
            <property name="toolTip">
362
             <string>The size of the arrows or markers in system units</string>
363
            </property>
364
            <property name="text">
365
             <string>Arrow size</string>
366
            </property>
367
           </widget>
368
          </item>
369
          <item row="4" column="1">
370
           <widget class="Gui::InputField" name="ArrowSize">
371
            <property name="toolTip">
372
             <string>The size of the arrows or markers in system units</string>
373
            </property>
374
            <property name="unit" stdset="0">
375
             <string notr="true"/>
376
            </property>
377
           </widget>
378
          </item>
379
          <item row="5" column="0">
380
           <widget class="QLabel" name="label_9">
381
            <property name="toolTip">
382
             <string>The color of lines and arrows</string>
383
            </property>
384
            <property name="text">
385
             <string>Line and arrow color</string>
386
            </property>
387
           </widget>
388
          </item>
389
          <item row="5" column="1">
390
           <widget class="Gui::ColorButton" name="LineColor">
391
            <property name="toolTip">
392
             <string>The color of lines and arrows</string>
393
            </property>
394
           </widget>
395
          </item>
396
         </layout>
397
        </widget>
398
       </item>
399
       <item>
400
        <widget class="QGroupBox" name="groupBox_4">
401
         <property name="title">
402
          <string>Units</string>
403
         </property>
404
         <layout class="QGridLayout" name="gridLayout_3">
405
          <item row="0" column="0">
406
           <widget class="QLabel" name="label_10">
407
            <property name="toolTip">
408
             <string>A multiplier factor that affects the size of texts and markers</string>
409
            </property>
410
            <property name="text">
411
             <string>Scale multiplier</string>
412
            </property>
413
           </widget>
414
          </item>
415
          <item row="0" column="1">
416
           <widget class="QDoubleSpinBox" name="ScaleMultiplier">
417
            <property name="toolTip">
418
             <string>A multiplier factor that affects the size of texts and markers</string>
419
            </property>
420
           </widget>
421
          </item>
422
          <item row="1" column="0">
423
           <widget class="QLabel" name="label_11">
424
            <property name="toolTip">
425
             <string>If it is checked it will show the unit next to the dimension value</string>
426
            </property>
427
            <property name="text">
428
             <string>Show unit</string>
429
            </property>
430
           </widget>
431
          </item>
432
          <item row="1" column="1">
433
           <widget class="QCheckBox" name="ShowUnit">
434
            <property name="toolTip">
435
             <string>If it is checked it will show the unit next to the dimension value</string>
436
            </property>
437
            <property name="layoutDirection">
438
             <enum>Qt::LeftToRight</enum>
439
            </property>
440
            <property name="text">
441
             <string/>
442
            </property>
443
           </widget>
444
          </item>
445
         <item row="2" column="0">
446
           <widget class="QLabel" name="label_12">
447
            <property name="toolTip">
448
             <string>Specify a valid length unit like mm, m, in, ft, to force displaying the dimension value in this unit</string>
449
            </property>
450
            <property name="text">
451
             <string>Unit override</string>
452
            </property>
453
           </widget>
454
          </item>
455
          <item row="2" column="1">
456
           <widget class="QLineEdit" name="UnitOverride">
457
            <property name="toolTip">
458
             <string>Specify a valid length unit like mm, m, in, ft, to force displaying the dimension value in this unit</string>
459
            </property>
460
           </widget>
461
          </item>
462
          <item row="3" column="0">
463
           <widget class="QLabel" name="label_13">
464
            <property name="toolTip">
465
             <string>The number of decimals to show for dimension values</string>
466
            </property>
467
            <property name="text">
468
             <string>Decimals</string>
469
            </property>
470
           </widget>
471
          </item>
472
          <item row="3" column="1">
473
           <widget class="QSpinBox" name="Decimals">
474
            <property name="toolTip">
475
             <string>The number of decimals to show for dimension values</string>
476
            </property>
477
           </widget>
478
          </item>
479
         </layout>
480
        </widget>
481
       </item>
482
       <item>
483
        <widget class="QGroupBox" name="groupBox_5">
484
         <property name="title">
485
          <string>Dimension details</string>
486
         </property>
487
         <layout class="QGridLayout" name="gridLayout_4">
488
          <item row="0" column="0">
489
           <widget class="QLabel" name="label_14">
490
            <property name="toolTip">
491
             <string>The distance the dimension line is additionally extended</string>
492
            </property>
493
            <property name="text">
494
             <string>Dimension overshoot</string>
495
            </property>
496
           </widget>
497
          </item>
498
          <item row="0" column="1">
499
           <widget class="Gui::InputField" name="DimOvershoot">
500
            <property name="toolTip">
501
             <string>The distance the dimension line is additionally extended</string>
502
            </property>
503
            <property name="unit" stdset="0">
504
             <string notr="true"/>
505
            </property>
506
           </widget>
507
          </item>
508
          <item row="1" column="0">
509
           <widget class="QLabel" name="label_15">
510
            <property name="toolTip">
511
             <string>The length of the extension lines</string>
512
            </property>
513
            <property name="text">
514
             <string>Extension lines</string>
515
            </property>
516
           </widget>
517
          </item>
518
          <item row="1" column="1">
519
           <widget class="Gui::InputField" name="ExtLines">
520
            <property name="toolTip">
521
             <string>The length of the extension lines</string>
522
            </property>
523
            <property name="unit" stdset="0">
524
             <string notr="true"/>
525
            </property>
526
           </widget>
527
          </item>
528
          <item row="2" column="0">
529
           <widget class="QLabel" name="label_16">
530
            <property name="toolTip">
531
             <string>The distance the extension lines are additionally extended beyond the dimension line</string>
532
            </property>
533
            <property name="text">
534
             <string>Extension overshoot</string>
535
            </property>
536
           </widget>
537
          </item>
538
          <item row="2" column="1">
539
           <widget class="Gui::InputField" name="ExtOvershoot">
540
            <property name="toolTip">
541
             <string>The distance the extension lines are additionally extended beyond the dimension line</string>
542
            </property>
543
            <property name="unit" stdset="0">
544
             <string notr="true"/>
545
            </property>
546
           </widget>
547
          </item>
548
          <item row="3" column="0">
549
           <widget class="QLabel" name="label_17">
550
            <property name="toolTip">
551
             <string>The distance between the dimension text and the dimension line</string>
552
            </property>
553
            <property name="text">
554
             <string>Text spacing</string>
555
            </property>
556
           </widget>
557
          </item>
558
          <item row="3" column="1">
559
           <widget class="Gui::InputField" name="TextSpacing">
560
            <property name="toolTip">
561
             <string>The distance between the dimension text and the dimension line</string>
562
            </property>
563
            <property name="unit" stdset="0">
564
             <string notr="true"/>
565
            </property>
566
           </widget>
567
          </item>
568
         </layout>
569
        </widget>
570
       </item>
571
      </layout>
572
     </widget>
573
    </widget>
574
   </item>
575
   <item>
576
    <widget class="QDialogButtonBox" name="buttonBox">
577
     <property name="orientation">
578
      <enum>Qt::Horizontal</enum>
579
     </property>
580
     <property name="standardButtons">
581
      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
582
     </property>
583
    </widget>
584
   </item>
585
  </layout>
586
 </widget>
587
 <customwidgets>
588
  <customwidget>
589
   <class>Gui::InputField</class>
590
   <extends>QLineEdit</extends>
591
   <header>Gui/InputField.h</header>
592
  </customwidget>
593
  <customwidget>
594
   <class>Gui::ColorButton</class>
595
   <extends>QPushButton</extends>
596
   <header>Gui/Widgets.h</header>
597
  </customwidget>
598
 </customwidgets>
599
 <resources/>
600
 <connections>
601
  <connection>
602
   <sender>buttonBox</sender>
603
   <signal>accepted()</signal>
604
   <receiver>Dialog</receiver>
605
   <slot>accept()</slot>
606
   <hints>
607
    <hint type="sourcelabel">
608
     <x>248</x>
609
     <y>254</y>
610
    </hint>
611
    <hint type="destinationlabel">
612
     <x>157</x>
613
     <y>274</y>
614
    </hint>
615
   </hints>
616
  </connection>
617
  <connection>
618
   <sender>buttonBox</sender>
619
   <signal>rejected()</signal>
620
   <receiver>Dialog</receiver>
621
   <slot>reject()</slot>
622
   <hints>
623
    <hint type="sourcelabel">
624
     <x>316</x>
625
     <y>260</y>
626
    </hint>
627
    <hint type="destinationlabel">
628
     <x>286</x>
629
     <y>274</y>
630
    </hint>
631
   </hints>
632
  </connection>
633
 </connections>
634
</ui>
635

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.