FreeCAD

Форк
0
/
preferences-drafttexts.ui 
719 строк · 22.4 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Gui::Dialog::DlgSettingsDraft</class>
4
 <widget class="QWidget" name="Gui::Dialog::DlgSettingsDraft">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>555</width>
10
    <height>797</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Texts and dimensions</string>
15
  </property>
16
  <layout class="QVBoxLayout">
17
   <item>
18
    <widget class="QGroupBox" name="groupBox_1">
19
     <property name="title">
20
      <string>Texts</string>
21
     </property>
22
     <layout class="QGridLayout" name="gridLayout_1">
23
      <item row="0" column="0">
24
       <widget class="QLabel" name="label_textfont">
25
        <property name="text">
26
         <string>Font name or family</string>
27
        </property>
28
       </widget>
29
      </item>
30
      <item row="0" column="1" colspan="2">
31
       <widget class="Gui::PrefLineEdit" name="lineEdit_textfont">
32
        <property name="toolTip">
33
         <string>The default font for texts, dimensions and labels. It can be a font name such
34
as &quot;Arial&quot;, a style such as &quot;sans&quot;, &quot;serif&quot; or &quot;mono&quot;, or a family such as
35
&quot;Arial,Helvetica,sans&quot;, or a name with a style such as &quot;Arial:Bold&quot;.</string>
36
        </property>
37
        <property name="text">
38
         <string/>
39
        </property>
40
        <property name="placeholderText">
41
         <string>Internal font</string>
42
        </property>
43
        <property name="prefEntry" stdset="0">
44
         <cstring>textfont</cstring>
45
        </property>
46
        <property name="prefPath" stdset="0">
47
         <cstring>Mod/Draft</cstring>
48
        </property>
49
       </widget>
50
      </item>
51
      <item row="1" column="0">
52
       <widget class="QLabel" name="label_textheight">
53
        <property name="text">
54
         <string>Font size</string>
55
        </property>
56
       </widget>
57
      </item>
58
      <item row="1" column="1">
59
       <widget class="Gui::PrefUnitSpinBox" name="spinBox_textheight">
60
        <property name="minimumSize">
61
         <size>
62
          <width>140</width>
63
          <height>0</height>
64
         </size>
65
        </property>
66
        <property name="toolTip">
67
         <string>The default height for texts, dimension texts and label texts</string>
68
        </property>
69
        <property name="singleStep">
70
         <double>0.1</double>
71
        </property>
72
        <property name="unit" stdset="0">
73
         <string>mm</string>
74
        </property>
75
        <property name="minimum">
76
         <double>0.0</double>
77
        </property>
78
        <property name="rawValue" stdset="0">
79
         <double>3.5</double>
80
        </property>
81
        <property name="prefEntry" stdset="0">
82
         <cstring>textheight</cstring>
83
        </property>
84
        <property name="prefPath" stdset="0">
85
         <cstring>Mod/Draft</cstring>
86
        </property>
87
       </widget>
88
      </item>
89
      <item row="1" column="2">
90
       <spacer name="horizontalSpacer_1">
91
        <property name="orientation">
92
         <enum>Qt::Horizontal</enum>
93
        </property>
94
       </spacer>
95
      </item>
96
      <item row="2" column="0">
97
       <widget class="QLabel" name="label_LineSpacing">
98
        <property name="text">
99
         <string>Line spacing factor</string>
100
        </property>
101
       </widget>
102
      </item>
103
      <item row="2" column="1">
104
       <widget class="Gui::PrefDoubleSpinBox" name="spinBox_LineSpacing">
105
        <property name="toolTip">
106
         <string>The default line spacing for multi-line texts and labels (relative to the font size)</string>
107
        </property>
108
        <property name="singleStep">
109
         <double>0.1</double>
110
        </property>
111
        <property name="value">
112
         <double>1.0</double>
113
        </property>
114
        <property name="prefEntry" stdset="0">
115
         <cstring>LineSpacing</cstring>
116
        </property>
117
        <property name="prefPath" stdset="0">
118
         <cstring>Mod/Draft</cstring>
119
        </property>
120
       </widget>
121
      </item>
122
      <item row="3" column="0">
123
       <widget class="QLabel" name="label_DefaultAnnoScaleMultiplier">
124
        <property name="text">
125
         <string>Scale multiplier</string>
126
        </property>
127
       </widget>
128
      </item>
129
      <item row="3" column="1">
130
       <widget class="Gui::PrefDoubleSpinBox" name="spinBox_DefaultAnnoScaleMultiplier">
131
        <property name="toolTip">
132
         <string>The default annotation scale multiplier. This is the inverse of the scale set
133
in the Annotation scale widget. If the scale is 1:100 the multiplier is 100.</string>
134
        </property>
135
        <property name="minimum">
136
         <number>0</number>
137
        </property>
138
        <property name="maximum">
139
         <number>10000</number>
140
        </property>
141
        <property name="value">
142
         <double>1.0</double>
143
        </property>
144
        <property name="prefEntry" stdset="0">
145
         <cstring>DefaultAnnoScaleMultiplier</cstring>
146
        </property>
147
        <property name="prefPath" stdset="0">
148
         <cstring>Mod/Draft</cstring>
149
        </property>
150
       </widget>
151
      </item>
152
      <item row="4" column="0">
153
       <widget class="QLabel" name="label_DefaultTextColor">
154
        <property name="text">
155
         <string>Text color</string>
156
        </property>
157
       </widget>
158
      </item>
159
      <item row="4" column="1">
160
       <widget class="Gui::PrefColorButton" name="colorButton_DefaultTextColor">
161
        <property name="toolTip">
162
         <string>The default color for texts, dimension texts and label texts</string>
163
        </property>
164
        <property name="color" stdset="0">
165
         <color>
166
          <red>0</red>
167
          <green>0</green>
168
          <blue>0</blue>
169
         </color>
170
        </property>
171
        <property name="prefEntry" stdset="0">
172
         <cstring>DefaultTextColor</cstring>
173
        </property>
174
        <property name="prefPath" stdset="0">
175
         <cstring>Mod/Draft</cstring>
176
        </property>
177
       </widget>
178
      </item>
179
     </layout>
180
    </widget>
181
   </item>
182
   <item>
183
    <widget class="QGroupBox" name="groupBox_2">
184
     <property name="title">
185
      <string>Lines and arrows</string>
186
     </property>
187
     <layout class="QGridLayout" name="gridLayout_2">
188
      <item row="0" column="0" colspan="3">
189
       <widget class="Gui::PrefCheckBox" name="checkBox_DimShowLine">
190
        <property name="toolTip">
191
         <string>If checked, the dimension line is displayed by default</string>
192
        </property>
193
        <property name="text">
194
         <string>Show dimension line</string>
195
        </property>
196
        <property name="checked">
197
         <bool>true</bool>
198
        </property>
199
        <property name="prefEntry" stdset="0">
200
         <cstring>DimShowLine</cstring>
201
        </property>
202
        <property name="prefPath" stdset="0">
203
         <cstring>Mod/Draft</cstring>
204
        </property>
205
       </widget>
206
      </item>
207
      <item row="1" column="0">
208
       <widget class="QLabel" name="label_DefaultAnnoLineWidth">
209
        <property name="text">
210
         <string>Line width</string>
211
        </property>
212
       </widget>
213
      </item>
214
      <item row="1" column="1">
215
       <widget class="Gui::PrefSpinBox" name="spinBox_DefaultAnnoLineWidth">
216
        <property name="toolTip">
217
         <string>The default line width</string>
218
        </property>
219
        <property name="suffix">
220
         <string> px</string>
221
        </property>
222
        <property name="minimum">
223
         <number>1</number>
224
        </property>
225
        <property name="value">
226
         <number>2</number>
227
        </property>
228
        <property name="prefEntry" stdset="0">
229
         <cstring>DefaultAnnoLineWidth</cstring>
230
        </property>
231
        <property name="prefPath" stdset="0">
232
         <cstring>Mod/Draft</cstring>
233
        </property>
234
       </widget>
235
      </item>
236
      <item row="1" column="2">
237
       <spacer name="horizontalSpacer_2">
238
        <property name="orientation">
239
         <enum>Qt::Horizontal</enum>
240
        </property>
241
       </spacer>
242
      </item>
243
      <item row="2" column="0">
244
       <widget class="QLabel" name="label_dimsymbol">
245
        <property name="text">
246
         <string>Arrow type</string>
247
        </property>
248
       </widget>
249
      </item>
250
      <item row="2" column="1">
251
       <widget class="Gui::PrefComboBox" name="comboBox_dimsymbol">
252
        <property name="minimumSize">
253
         <size>
254
          <width>140</width>
255
          <height>0</height>
256
         </size>
257
        </property>
258
        <property name="toolTip">
259
         <string>The default symbol displayed at the ends of dimension lines</string>
260
        </property>
261
        <property name="prefEntry" stdset="0">
262
         <cstring>dimsymbol</cstring>
263
        </property>
264
        <property name="prefPath" stdset="0">
265
         <cstring>Mod/Draft</cstring>
266
        </property>
267
        <item>
268
         <property name="text">
269
          <string>Dot</string>
270
         </property>
271
        </item>
272
        <item>
273
         <property name="text">
274
          <string>Circle</string>
275
         </property>
276
        </item>
277
        <item>
278
         <property name="text">
279
          <string>Arrow</string>
280
         </property>
281
        </item>
282
        <item>
283
         <property name="text">
284
          <string>Tick</string>
285
         </property>
286
        </item>
287
        <item>
288
         <property name="text">
289
          <string>Tick-2</string>
290
         </property>
291
        </item>
292
       </widget>
293
      </item>
294
      <item row="3" column="0">
295
       <widget class="QLabel" name="label_arrowsize">
296
        <property name="text">
297
         <string>Arrow size</string>
298
        </property>
299
       </widget>
300
      </item>
301
      <item row="3" column="1">
302
       <widget class="Gui::PrefUnitSpinBox" name="spinBox_arrowsize">
303
        <property name="toolTip">
304
         <string>The default arrow size</string>
305
        </property>
306
        <property name="singleStep">
307
         <double>0.1</double>
308
        </property>
309
        <property name="unit" stdset="0">
310
         <string>mm</string>
311
        </property>
312
        <property name="minimum">
313
         <double>0.0</double>
314
        </property>
315
        <property name="rawValue" stdset="0">
316
         <double>1.0</double>
317
        </property>
318
        <property name="prefEntry" stdset="0">
319
         <cstring>arrowsize</cstring>
320
        </property>
321
        <property name="prefPath" stdset="0">
322
         <cstring>Mod/Draft</cstring>
323
        </property>
324
       </widget>
325
      </item>
326
      <item row="4" column="0">
327
       <widget class="QLabel" name="label_DefaultAnnoLineColor">
328
        <property name="text">
329
         <string>Line and arrow color</string>
330
        </property>
331
       </widget>
332
      </item>
333
      <item row="4" column="1">
334
       <widget class="Gui::PrefColorButton" name="colorButton_DefaultAnnoLineColor">
335
        <property name="toolTip">
336
         <string>The default color for lines and arrows</string>
337
        </property>
338
        <property name="color" stdset="0">
339
         <color>
340
          <red>0</red>
341
          <green>0</green>
342
          <blue>0</blue>
343
         </color>
344
        </property>
345
        <property name="prefEntry" stdset="0">
346
         <cstring>DefaultAnnoLineColor</cstring>
347
        </property>
348
        <property name="prefPath" stdset="0">
349
         <cstring>Mod/Draft</cstring>
350
        </property>
351
       </widget>
352
      </item>
353
     </layout>
354
    </widget>
355
   </item>
356
   <item>
357
    <widget class="QGroupBox" name="groupBox_3">
358
     <property name="title">
359
      <string>Units</string>
360
     </property>
361
     <layout class="QGridLayout" name="gridLayout_3">
362
      <item row="0" column="0" colspan="3">
363
       <widget class="Gui::PrefCheckBox" name="checkBox_showUnit">
364
        <property name="toolTip">
365
         <string>If checked, a unit symbol is added to dimension texts by default</string>
366
        </property>
367
        <property name="text">
368
         <string>Show unit</string>
369
        </property>
370
        <property name="checked">
371
         <bool>true</bool>
372
        </property>
373
        <property name="prefEntry" stdset="0">
374
         <cstring>showUnit</cstring>
375
        </property>
376
        <property name="prefPath" stdset="0">
377
         <cstring>Mod/Draft</cstring>
378
        </property>
379
       </widget>
380
      </item>
381
      <item row="1" column="0">
382
       <widget class="QLabel" name="label_overrideUnit">
383
        <property name="text">
384
         <string>Unit override</string>
385
        </property>
386
       </widget>
387
      </item>
388
      <item row="1" column="1">
389
       <widget class="Gui::PrefLineEdit" name="lineEdit_overrideUnit">
390
        <property name="maximumSize">
391
         <size>
392
          <width>140</width>
393
          <height>16777215</height>
394
         </size>
395
        </property>
396
        <property name="toolTip">
397
         <string>The default unit override for dimensions. Enter a unit such as m
398
or cm, leave blank to use the current unit defined in FreeCAD.</string>
399
        </property>
400
        <property name="prefEntry" stdset="0">
401
         <cstring>overrideUnit</cstring>
402
        </property>
403
        <property name="prefPath" stdset="0">
404
         <cstring>Mod/Draft</cstring>
405
        </property>
406
       </widget>
407
      </item>
408
      <item row="1" column="2">
409
       <spacer name="horizontalSpacer_3">
410
        <property name="orientation">
411
         <enum>Qt::Horizontal</enum>
412
        </property>
413
       </spacer>
414
      </item>
415
      <item row="2" column="0">
416
       <widget class="QLabel" name="label_dimPrecision">
417
        <property name="text">
418
         <string>Number of decimals</string>
419
        </property>
420
       </widget>
421
      </item>
422
      <item row="2" column="1">
423
       <widget class="Gui::PrefSpinBox" name="spinBox_dimPrecision">
424
        <property name="toolTip">
425
         <string>The default number of decimal places for dimension texts</string>
426
        </property>
427
        <property name="minimum">
428
         <number>0</number>
429
        </property>
430
        <property name="maximum">
431
         <number>8</number>
432
        </property>
433
        <property name="value">
434
         <number>2</number>
435
        </property>
436
        <property name="prefEntry" stdset="0">
437
         <cstring>dimPrecision</cstring>
438
        </property>
439
        <property name="prefPath" stdset="0">
440
         <cstring>Mod/Draft</cstring>
441
        </property>
442
       </widget>
443
      </item>
444
      <item row="3" column="0">
445
       <widget class="QLabel" name="label_FeetSeparator">
446
        <property name="text">
447
         <string>Feet separator</string>
448
        </property>
449
       </widget>
450
      </item>
451
      <item row="3" column="1">
452
       <widget class="Gui::PrefLineEdit" name="lineEdit_FeetSeparator">
453
        <property name="maximumSize">
454
         <size>
455
          <width>140</width>
456
          <height>16777215</height>
457
         </size>
458
        </property>
459
        <property name="toolTip">
460
         <string>The optional string inserted between the feet and inches values in dimensions</string>
461
        </property>
462
        <property name="prefEntry" stdset="0">
463
         <cstring>FeetSeparator</cstring>
464
        </property>
465
        <property name="prefPath" stdset="0">
466
         <cstring>Mod/Draft</cstring>
467
        </property>
468
       </widget>
469
      </item>
470
     </layout>
471
    </widget>
472
   </item>
473
   <item>
474
    <widget class="QGroupBox" name="groupBox_4">
475
     <property name="title">
476
      <string>Dimension details</string>
477
     </property>
478
     <layout class="QGridLayout" name="gridLayout_4">
479
      <item row="0" column="0">
480
       <widget class="QLabel" name="label_dimovershoot">
481
        <property name="text">
482
         <string>Dimension line overshoot</string>
483
        </property>
484
       </widget>
485
      </item>
486
      <item row="0" column="1">
487
       <widget class="Gui::PrefUnitSpinBox" name="spinBox_dimovershoot">
488
        <property name="minimumSize">
489
         <size>
490
          <width>140</width>
491
          <height>0</height>
492
         </size>
493
        </property>
494
        <property name="toolTip">
495
         <string>The default distance the dimension line is extended past the extension lines</string>
496
        </property>
497
        <property name="singleStep">
498
         <double>0.1</double>
499
        </property>
500
        <property name="unit" stdset="0">
501
         <string>mm</string>
502
        </property>
503
        <property name="rawValue" stdset="0">
504
         <double>0.0</double>
505
        </property>
506
        <property name="prefEntry" stdset="0">
507
         <cstring>dimovershoot</cstring>
508
        </property>
509
        <property name="prefPath" stdset="0">
510
         <cstring>Mod/Draft</cstring>
511
        </property>
512
       </widget>
513
      </item>
514
      <item row="0" column="2">
515
       <spacer name="horizontalSpacer_4">
516
        <property name="orientation">
517
         <enum>Qt::Horizontal</enum>
518
        </property>
519
       </spacer>
520
      </item>
521
      <item row="1" column="0">
522
       <widget class="QLabel" name="label_extlines">
523
        <property name="text">
524
         <string>Extension line length</string>
525
        </property>
526
       </widget>
527
      </item>
528
      <item row="1" column="1">
529
       <widget class="Gui::PrefUnitSpinBox" name="spinBox_extlines">
530
        <property name="toolTip">
531
         <string>The default length of extension lines. Use 0 for full extension lines. A negative
532
value defines the gap between the ends of the extension lines and the measured
533
points. A positive value defines the maximum length of the extension lines. Only
534
used for linear dimensions.</string>
535
        </property>
536
        <property name="singleStep">
537
         <double>0.1</double>
538
        </property>
539
        <property name="unit" stdset="0">
540
         <string>mm</string>
541
        </property>
542
        <property name="rawValue" stdset="0">
543
         <double>-0.5</double>
544
        </property>
545
        <property name="prefEntry" stdset="0">
546
         <cstring>extlines</cstring>
547
        </property>
548
        <property name="prefPath" stdset="0">
549
         <cstring>Mod/Draft</cstring>
550
        </property>
551
       </widget>
552
      </item>
553
      <item row="2" column="0">
554
       <widget class="QLabel" name="label_extovershoot">
555
        <property name="text">
556
         <string>Extension line overshoot</string>
557
        </property>
558
       </widget>
559
      </item>
560
      <item row="2" column="1">
561
       <widget class="Gui::PrefUnitSpinBox" name="spinBox_extovershoot">
562
        <property name="toolTip">
563
         <string>The default length of extension lines above the dimension line</string>
564
        </property>
565
        <property name="singleStep">
566
         <double>0.1</double>
567
        </property>
568
        <property name="unit" stdset="0">
569
         <string>mm</string>
570
        </property>
571
        <property name="rawValue" stdset="0">
572
         <double>2.0</double>
573
        </property>
574
        <property name="prefEntry" stdset="0">
575
         <cstring>extovershoot</cstring>
576
        </property>
577
        <property name="prefPath" stdset="0">
578
         <cstring>Mod/Draft</cstring>
579
        </property>
580
       </widget>
581
      </item>
582
      <item row="3" column="0">
583
       <widget class="QLabel" name="label_dimspacing">
584
        <property name="text">
585
         <string>Text spacing</string>
586
        </property>
587
       </widget>
588
      </item>
589
      <item row="3" column="1">
590
       <widget class="Gui::PrefUnitSpinBox" name="spinBox_dimspacing">
591
        <property name="toolTip">
592
         <string>The default space between the dimension line and the dimension text</string>
593
        </property>
594
        <property name="singleStep">
595
         <double>0.1</double>
596
        </property>
597
        <property name="unit" stdset="0">
598
         <string>mm</string>
599
        </property>
600
        <property name="minimum">
601
         <double>0.0</double>
602
        </property>
603
        <property name="rawValue" stdset="0">
604
         <double>1.0</double>
605
        </property>
606
        <property name="prefEntry" stdset="0">
607
         <cstring>dimspacing</cstring>
608
        </property>
609
        <property name="prefPath" stdset="0">
610
         <cstring>Mod/Draft</cstring>
611
        </property>
612
       </widget>
613
      </item>
614
     </layout>
615
    </widget>
616
   </item>
617
   <item>
618
    <widget class="QGroupBox" name="groupBox_5">
619
     <property name="title">
620
      <string>ShapeStrings</string>
621
     </property>
622
     <layout class="QHBoxLayout" name="horizontalLayout_1">
623
      <item>
624
       <widget class="QLabel" name="label_FontFile">
625
        <property name="text">
626
         <string>Default ShapeString font file</string>
627
        </property>
628
       </widget>
629
      </item>
630
      <item>
631
       <widget class="Gui::PrefFileChooser" name="fileChooser_FontFile">
632
        <property name="filter">
633
         <string>Font files (*.ttf *.otf *.pfb *.TTF *.OTF *.PFB)</string>
634
        </property>
635
        <property name="toolTip">
636
         <string>Select a font file</string>
637
        </property>
638
        <property name="prefEntry" stdset="0">
639
         <cstring>FontFile</cstring>
640
        </property>
641
        <property name="prefPath" stdset="0">
642
         <cstring>Mod/Draft</cstring>
643
        </property>
644
       </widget>
645
      </item>
646
     </layout>
647
    </widget>
648
   </item>
649
   <item>
650
    <spacer name="verticalSpacer_1">
651
     <property name="orientation">
652
      <enum>Qt::Vertical</enum>
653
     </property>
654
    </spacer>
655
   </item>
656
  </layout>
657
 </widget>
658
 <layoutdefault spacing="6" margin="30"/>
659
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
660
 <customwidgets>
661
  <customwidget>
662
   <class>Gui::PrefCheckBox</class>
663
   <extends>QCheckBox</extends>
664
   <header>Gui/PrefWidgets.h</header>
665
  </customwidget>
666
  <customwidget>
667
   <class>Gui::PrefLineEdit</class>
668
   <extends>QLineEdit</extends>
669
   <header>Gui/PrefWidgets.h</header>
670
  </customwidget>
671
  <customwidget>
672
   <class>Gui::PrefComboBox</class>
673
   <extends>QComboBox</extends>
674
   <header>Gui/PrefWidgets.h</header>
675
  </customwidget>
676
  <customwidget>
677
   <class>Gui::PrefSpinBox</class>
678
   <extends>QSpinBox</extends>
679
   <header>Gui/PrefWidgets.h</header>
680
  </customwidget>
681
  <customwidget>
682
   <class>Gui::PrefDoubleSpinBox</class>
683
   <extends>QDoubleSpinBox</extends>
684
   <header>Gui/PrefWidgets.h</header>
685
  </customwidget>
686
  <customwidget>
687
   <class>Gui::QuantitySpinBox</class>
688
   <extends>QWidget</extends>
689
   <header>Gui/QuantitySpinBox.h</header>
690
  </customwidget>
691
  <customwidget>
692
   <class>Gui::PrefUnitSpinBox</class>
693
   <extends>Gui::QuantitySpinBox</extends>
694
   <header>Gui/PrefWidgets.h</header>
695
  </customwidget>
696
  <customwidget>
697
   <class>Gui::ColorButton</class>
698
   <extends>QPushButton</extends>
699
   <header>Gui/Widgets.h</header>
700
  </customwidget>
701
  <customwidget>
702
   <class>Gui::PrefColorButton</class>
703
   <extends>Gui::ColorButton</extends>
704
   <header>Gui/PrefWidgets.h</header>
705
  </customwidget>
706
  <customwidget>
707
   <class>Gui::FileChooser</class>
708
   <extends>QWidget</extends>
709
   <header>Gui/FileDialog.h</header>
710
  </customwidget>
711
  <customwidget>
712
   <class>Gui::PrefFileChooser</class>
713
   <extends>Gui::FileChooser</extends>
714
   <header>Gui/PrefWidgets.h</header>
715
  </customwidget>
716
 </customwidgets>
717
 <resources/>
718
 <connections/>
719
</ui>
720

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

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

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

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