FreeCAD

Форк
0
/
DlgPrefsTechDrawDimensions.ui 
694 строки · 22.3 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>TechDrawGui::DlgPrefsTechDrawDimensionsImp</class>
4
 <widget class="QWidget" name="TechDrawGui::DlgPrefsTechDrawDimensionsImp">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>440</width>
10
    <height>508</height>
11
   </rect>
12
  </property>
13
  <property name="sizePolicy">
14
   <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
15
    <horstretch>0</horstretch>
16
    <verstretch>0</verstretch>
17
   </sizepolicy>
18
  </property>
19
  <property name="windowTitle">
20
   <string>Dimensions</string>
21
  </property>
22
  <layout class="QVBoxLayout" name="verticalLayout_3">
23
   <item>
24
    <widget class="QGroupBox" name="gbDim">
25
     <property name="sizePolicy">
26
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
27
       <horstretch>0</horstretch>
28
       <verstretch>0</verstretch>
29
      </sizepolicy>
30
     </property>
31
     <property name="minimumSize">
32
      <size>
33
       <width>0</width>
34
       <height>0</height>
35
      </size>
36
     </property>
37
     <property name="baseSize">
38
      <size>
39
       <width>0</width>
40
       <height>0</height>
41
      </size>
42
     </property>
43
     <property name="title">
44
      <string>Dimensions</string>
45
     </property>
46
     <layout class="QVBoxLayout" name="verticalLayout_2">
47
      <item>
48
       <layout class="QGridLayout" name="gridLayout">
49
        <item row="8" column="2">
50
         <widget class="Gui::PrefUnitSpinBox" name="plsb_ArrowSize">
51
          <property name="sizePolicy">
52
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
53
            <horstretch>0</horstretch>
54
            <verstretch>0</verstretch>
55
           </sizepolicy>
56
          </property>
57
          <property name="minimumSize">
58
           <size>
59
            <width>0</width>
60
            <height>22</height>
61
           </size>
62
          </property>
63
          <property name="toolTip">
64
           <string>Arrowhead size</string>
65
          </property>
66
          <property name="alignment">
67
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
68
          </property>
69
          <property name="value">
70
           <double>5.000000000000000</double>
71
          </property>
72
          <property name="prefEntry" stdset="0">
73
           <cstring>ArrowSize</cstring>
74
          </property>
75
          <property name="prefPath" stdset="0">
76
           <cstring>Mod/TechDraw/Dimensions</cstring>
77
          </property>
78
         </widget>
79
        </item>
80
        <item row="3" column="0">
81
         <widget class="QLabel" name="label">
82
          <property name="font">
83
           <font>
84
            <italic>true</italic>
85
           </font>
86
          </property>
87
          <property name="text">
88
           <string>Dimension Format</string>
89
          </property>
90
         </widget>
91
        </item>
92
        <item row="7" column="2">
93
         <widget class="Gui::PrefComboBox" name="pcbArrow">
94
          <property name="sizePolicy">
95
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
96
            <horstretch>0</horstretch>
97
            <verstretch>0</verstretch>
98
           </sizepolicy>
99
          </property>
100
          <property name="minimumSize">
101
           <size>
102
            <width>0</width>
103
            <height>22</height>
104
           </size>
105
          </property>
106
          <property name="toolTip">
107
           <string>Arrowhead style</string>
108
          </property>
109
          <property name="currentIndex">
110
           <number>-1</number>
111
          </property>
112
          <property name="prefEntry" stdset="0">
113
           <cstring>ArrowStyle</cstring>
114
          </property>
115
          <property name="prefPath" stdset="0">
116
           <cstring>Mod/TechDraw/Dimensions</cstring>
117
          </property>
118
         </widget>
119
        </item>
120
        <item row="6" column="0">
121
         <widget class="QLabel" name="label_8">
122
          <property name="text">
123
           <string>Diameter Symbol</string>
124
          </property>
125
         </widget>
126
        </item>
127
        <item row="0" column="2">
128
         <widget class="Gui::PrefComboBox" name="pcbStandardAndStyle">
129
          <property name="sizePolicy">
130
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
131
            <horstretch>0</horstretch>
132
            <verstretch>0</verstretch>
133
           </sizepolicy>
134
          </property>
135
          <property name="minimumSize">
136
           <size>
137
            <width>184</width>
138
            <height>22</height>
139
           </size>
140
          </property>
141
          <property name="toolTip">
142
           <string>Standard to be used for dimensional values</string>
143
          </property>
144
          <property name="prefEntry" stdset="0">
145
           <cstring>StandardAndStyle</cstring>
146
          </property>
147
          <property name="prefPath" stdset="0">
148
           <cstring>/Mod/TechDraw/Dimensions</cstring>
149
          </property>
150
          <item>
151
           <property name="text">
152
            <string>ISO Oriented</string>
153
           </property>
154
          </item>
155
          <item>
156
           <property name="text">
157
            <string>ISO Referencing</string>
158
           </property>
159
          </item>
160
          <item>
161
           <property name="text">
162
            <string>ASME Inlined</string>
163
           </property>
164
          </item>
165
          <item>
166
           <property name="text">
167
            <string>ASME Referencing</string>
168
           </property>
169
          </item>
170
         </widget>
171
        </item>
172
        <item row="4" column="0">
173
         <widget class="QLabel" name="label_2">
174
          <property name="font">
175
           <font>
176
            <italic>true</italic>
177
           </font>
178
          </property>
179
          <property name="text">
180
           <string>Font Size</string>
181
          </property>
182
         </widget>
183
        </item>
184
        <item row="1" column="2">
185
         <widget class="Gui::PrefCheckBox" name="cbShowUnits">
186
          <property name="sizePolicy">
187
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
188
            <horstretch>0</horstretch>
189
            <verstretch>0</verstretch>
190
           </sizepolicy>
191
          </property>
192
          <property name="minimumSize">
193
           <size>
194
            <width>0</width>
195
            <height>22</height>
196
           </size>
197
          </property>
198
          <property name="toolTip">
199
           <string>Append unit to dimension values</string>
200
          </property>
201
          <property name="text">
202
           <string>Show Units</string>
203
          </property>
204
          <property name="prefEntry" stdset="0">
205
           <cstring>ShowUnits</cstring>
206
          </property>
207
          <property name="prefPath" stdset="0">
208
           <cstring>/Mod/TechDraw/Dimensions</cstring>
209
          </property>
210
         </widget>
211
        </item>
212
        <item row="0" column="0">
213
         <widget class="QLabel" name="label_16">
214
          <property name="minimumSize">
215
           <size>
216
            <width>0</width>
217
            <height>0</height>
218
           </size>
219
          </property>
220
          <property name="font">
221
           <font>
222
            <italic>true</italic>
223
           </font>
224
          </property>
225
          <property name="text">
226
           <string>Standard and Style</string>
227
          </property>
228
         </widget>
229
        </item>
230
        <item row="4" column="2">
231
         <widget class="Gui::PrefUnitSpinBox" name="plsb_FontSize">
232
          <property name="sizePolicy">
233
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
234
            <horstretch>0</horstretch>
235
            <verstretch>0</verstretch>
236
           </sizepolicy>
237
          </property>
238
          <property name="minimumSize">
239
           <size>
240
            <width>0</width>
241
            <height>22</height>
242
           </size>
243
          </property>
244
          <property name="toolTip">
245
           <string>Dimension text font size</string>
246
          </property>
247
          <property name="alignment">
248
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
249
          </property>
250
          <property name="value">
251
           <double>4.000000000000000</double>
252
          </property>
253
          <property name="prefEntry" stdset="0">
254
           <cstring>FontSize</cstring>
255
          </property>
256
          <property name="prefPath" stdset="0">
257
           <cstring>/Mod/TechDraw/Dimensions</cstring>
258
          </property>
259
         </widget>
260
        </item>
261
        <item row="8" column="0">
262
         <widget class="QLabel" name="label_12">
263
          <property name="font">
264
           <font>
265
            <italic>true</italic>
266
           </font>
267
          </property>
268
          <property name="text">
269
           <string>Arrow Size</string>
270
          </property>
271
         </widget>
272
        </item>
273
        <item row="7" column="0">
274
         <widget class="QLabel" name="label_9">
275
          <property name="font">
276
           <font>
277
            <italic>true</italic>
278
           </font>
279
          </property>
280
          <property name="text">
281
           <string>Arrow Style</string>
282
          </property>
283
         </widget>
284
        </item>
285
        <item row="5" column="2">
286
         <widget class="Gui::PrefDoubleSpinBox" name="pdsbToleranceScale">
287
          <property name="sizePolicy">
288
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
289
            <horstretch>0</horstretch>
290
            <verstretch>0</verstretch>
291
           </sizepolicy>
292
          </property>
293
          <property name="minimumSize">
294
           <size>
295
            <width>174</width>
296
            <height>0</height>
297
           </size>
298
          </property>
299
          <property name="baseSize">
300
           <size>
301
            <width>0</width>
302
            <height>0</height>
303
           </size>
304
          </property>
305
          <property name="toolTip">
306
           <string>Tolerance text scale
307
Multiplier of 'Font Size'</string>
308
          </property>
309
          <property name="accessibleName">
310
           <string/>
311
          </property>
312
          <property name="alignment">
313
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
314
          </property>
315
          <property name="singleStep">
316
           <double>0.100000000000000</double>
317
          </property>
318
          <property name="value">
319
           <double>0.800000000000000</double>
320
          </property>
321
          <property name="prefEntry" stdset="0">
322
           <cstring>TolSizeAdjust</cstring>
323
          </property>
324
          <property name="prefPath" stdset="0">
325
           <cstring>Mod/TechDraw/Dimensions</cstring>
326
          </property>
327
         </widget>
328
        </item>
329
        <item row="5" column="0">
330
         <widget class="QLabel" name="lbl_LabelFont">
331
          <property name="minimumSize">
332
           <size>
333
            <width>0</width>
334
            <height>0</height>
335
           </size>
336
          </property>
337
          <property name="baseSize">
338
           <size>
339
            <width>0</width>
340
            <height>0</height>
341
           </size>
342
          </property>
343
          <property name="font">
344
           <font>
345
            <italic>false</italic>
346
           </font>
347
          </property>
348
          <property name="text">
349
           <string>Tolerance Text Scale</string>
350
          </property>
351
         </widget>
352
        </item>
353
        <item row="2" column="2">
354
         <widget class="Gui::PrefSpinBox" name="sbAltDecimals">
355
          <property name="enabled">
356
           <bool>false</bool>
357
          </property>
358
          <property name="sizePolicy">
359
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
360
            <horstretch>0</horstretch>
361
            <verstretch>0</verstretch>
362
           </sizepolicy>
363
          </property>
364
          <property name="minimumSize">
365
           <size>
366
            <width>0</width>
367
            <height>22</height>
368
           </size>
369
          </property>
370
          <property name="toolTip">
371
           <string>Number of decimals if 'Use Global Decimals' is not used</string>
372
          </property>
373
          <property name="alignment">
374
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
375
          </property>
376
          <property name="value">
377
           <number>2</number>
378
          </property>
379
          <property name="prefEntry" stdset="0">
380
           <cstring>AltDecimals</cstring>
381
          </property>
382
          <property name="prefPath" stdset="0">
383
           <cstring>/Mod/TechDraw/Dimensions</cstring>
384
          </property>
385
         </widget>
386
        </item>
387
        <item row="6" column="2">
388
         <widget class="Gui::PrefLineEdit" name="leDiameter">
389
          <property name="sizePolicy">
390
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
391
            <horstretch>0</horstretch>
392
            <verstretch>0</verstretch>
393
           </sizepolicy>
394
          </property>
395
          <property name="minimumSize">
396
           <size>
397
            <width>0</width>
398
            <height>22</height>
399
           </size>
400
          </property>
401
          <property name="font">
402
           <font>
403
            <pointsize>12</pointsize>
404
           </font>
405
          </property>
406
          <property name="toolTip">
407
           <string>Character used to indicate diameter dimensions</string>
408
          </property>
409
          <property name="text">
410
           <string notr="true"></string>
411
          </property>
412
          <property name="alignment">
413
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
414
          </property>
415
          <property name="prefEntry" stdset="0">
416
           <cstring>DiameterSymbol</cstring>
417
          </property>
418
          <property name="prefPath" stdset="0">
419
           <cstring>/Mod/TechDraw/Dimensions</cstring>
420
          </property>
421
         </widget>
422
        </item>
423
        <item row="1" column="0">
424
         <widget class="Gui::PrefCheckBox" name="cbGlobalDecimals">
425
          <property name="sizePolicy">
426
           <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
427
            <horstretch>0</horstretch>
428
            <verstretch>0</verstretch>
429
           </sizepolicy>
430
          </property>
431
          <property name="font">
432
           <font>
433
            <italic>true</italic>
434
           </font>
435
          </property>
436
          <property name="toolTip">
437
           <string>Use system setting for number of decimals</string>
438
          </property>
439
          <property name="text">
440
           <string>Use Global Decimals</string>
441
          </property>
442
          <property name="checked">
443
           <bool>true</bool>
444
          </property>
445
          <property name="prefEntry" stdset="0">
446
           <cstring>UseGlobalDecimals</cstring>
447
          </property>
448
          <property name="prefPath" stdset="0">
449
           <cstring>/Mod/TechDraw/Dimensions</cstring>
450
          </property>
451
         </widget>
452
        </item>
453
        <item row="4" column="1">
454
         <spacer name="horizontalSpacer">
455
          <property name="orientation">
456
           <enum>Qt::Horizontal</enum>
457
          </property>
458
          <property name="sizeHint" stdset="0">
459
           <size>
460
            <width>40</width>
461
            <height>20</height>
462
           </size>
463
          </property>
464
         </spacer>
465
        </item>
466
        <item row="2" column="0">
467
         <widget class="QLabel" name="label_11">
468
          <property name="font">
469
           <font>
470
            <italic>true</italic>
471
           </font>
472
          </property>
473
          <property name="text">
474
           <string>Alternate Decimals</string>
475
          </property>
476
         </widget>
477
        </item>
478
        <item row="9" column="0">
479
         <widget class="QLabel" name="label_3">
480
          <property name="font">
481
           <font>
482
            <italic>true</italic>
483
           </font>
484
          </property>
485
          <property name="toolTip">
486
           <string>Controls the size of gap between dimension point and start of extension line for ISO dimensions.</string>
487
          </property>
488
          <property name="text">
489
           <string>Extension Gap Factor - ISO</string>
490
          </property>
491
         </widget>
492
        </item>
493
        <item row="3" column="2">
494
         <widget class="Gui::PrefLineEdit" name="leFormatSpec">
495
          <property name="toolTip">
496
           <string>Leave blank for automatic dimension format. Use %f, %g or %w specifiers to override.</string>
497
          </property>
498
          <property name="alignment">
499
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
500
          </property>
501
          <property name="prefEntry" stdset="0">
502
           <cstring>formatSpec</cstring>
503
          </property>
504
          <property name="prefPath" stdset="0">
505
           <cstring>/Mod/TechDraw/Dimensions</cstring>
506
          </property>
507
         </widget>
508
        </item>
509
        <item row="10" column="0">
510
         <widget class="QLabel" name="label_4">
511
          <property name="font">
512
           <font>
513
            <italic>true</italic>
514
           </font>
515
          </property>
516
          <property name="toolTip">
517
           <string>Controls the size of gap between dimension point and start of extension line for ASME dimensions.</string>
518
          </property>
519
          <property name="text">
520
           <string>Extension Gap Factor - ASME</string>
521
          </property>
522
         </widget>
523
        </item>
524
        <item row="9" column="2">
525
         <widget class="Gui::PrefDoubleSpinBox" name="pdsbGapISO">
526
          <property name="toolTip">
527
           <string>Controls the size of gap between dimension point and start of extension line for ISO dimensions. 
528
Value * linewidth is the gap. 
529
Normally, no gap is used. If using a gap, the recommended value 8.</string>
530
          </property>
531
          <property name="alignment">
532
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
533
          </property>
534
          <property name="value">
535
           <double>0.000000000000000</double>
536
          </property>
537
          <property name="prefEntry" stdset="0">
538
           <cstring>GapISO</cstring>
539
          </property>
540
          <property name="prefPath" stdset="0">
541
           <cstring>Mod/TechDraw/Dimensions</cstring>
542
          </property>
543
         </widget>
544
        </item>
545
        <item row="10" column="2">
546
         <widget class="Gui::PrefDoubleSpinBox" name="pdsbGapASME">
547
          <property name="toolTip">
548
           <string>Controls the size of gap between dimension point and start of extension line for ASME dimensions. Value * linewidth is the gap. 
549
Normally, no gap is used. If a gap is used, the recommended value is 6.</string>
550
          </property>
551
          <property name="alignment">
552
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
553
          </property>
554
          <property name="value">
555
           <double>0.000000000000000</double>
556
          </property>
557
          <property name="prefEntry" stdset="0">
558
           <cstring>GapASME</cstring>
559
          </property>
560
          <property name="prefPath" stdset="0">
561
           <cstring>Mod/TechDraw/Dimensions</cstring>
562
          </property>
563
         </widget>
564
        </item>
565
        <item row="11" column="0">
566
         <widget class="QLabel" name="label_18">
567
          <property name="font">
568
           <font>
569
            <italic>true</italic>
570
           </font>
571
          </property>
572
          <property name="toolTip">
573
           <string>Controls the size of spacing between dimension line and dimension text for ISO dimensions.</string>
574
          </property>
575
          <property name="text">
576
           <string>Line Spacing - ISO</string>
577
          </property>
578
         </widget>
579
        </item>
580
        <item row="11" column="2">
581
         <widget class="Gui::PrefDoubleSpinBox" name="pdsbLineSpacingFactorISO">
582
          <property name="toolTip">
583
           <string>Controls the size of spacing between dimension line and dimension text.
584
 Value * linewidth is the line spacing.</string>
585
          </property>
586
          <property name="alignment">
587
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
588
          </property>
589
          <property name="value">
590
           <double>2.000000000000000</double>
591
          </property>
592
          <property name="prefEntry" stdset="0">
593
           <cstring>LineSpacingFactorISO</cstring>
594
          </property>
595
          <property name="prefPath" stdset="0">
596
           <cstring>Mod/TechDraw/Dimensions</cstring>
597
          </property>
598
         </widget>
599
        </item>
600
       </layout>
601
      </item>
602
     </layout>
603
    </widget>
604
   </item>
605
   <item>
606
    <widget class="QLabel" name="label_17">
607
     <property name="font">
608
      <font>
609
       <pointsize>10</pointsize>
610
       <italic>false</italic>
611
      </font>
612
     </property>
613
     <property name="text">
614
      <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; Items in &lt;span style=&quot; font-style:italic;&quot;&gt;italics&lt;/span&gt; are default values for new objects. They have no effect on existing objects.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
615
     </property>
616
     <property name="wordWrap">
617
      <bool>true</bool>
618
     </property>
619
    </widget>
620
   </item>
621
   <item>
622
    <spacer name="verticalSpacer">
623
     <property name="orientation">
624
      <enum>Qt::Vertical</enum>
625
     </property>
626
     <property name="sizeHint" stdset="0">
627
      <size>
628
       <width>20</width>
629
       <height>20</height>
630
      </size>
631
     </property>
632
    </spacer>
633
   </item>
634
  </layout>
635
 </widget>
636
 <customwidgets>
637
  <customwidget>
638
   <class>Gui::QuantitySpinBox</class>
639
   <extends>QWidget</extends>
640
   <header>Gui/QuantitySpinBox.h</header>
641
  </customwidget>
642
  <customwidget>
643
   <class>Gui::PrefSpinBox</class>
644
   <extends>QSpinBox</extends>
645
   <header>Gui/PrefWidgets.h</header>
646
  </customwidget>
647
  <customwidget>
648
   <class>Gui::PrefCheckBox</class>
649
   <extends>QCheckBox</extends>
650
   <header>Gui/PrefWidgets.h</header>
651
  </customwidget>
652
  <customwidget>
653
   <class>Gui::PrefComboBox</class>
654
   <extends>QComboBox</extends>
655
   <header>Gui/PrefWidgets.h</header>
656
  </customwidget>
657
  <customwidget>
658
   <class>Gui::PrefLineEdit</class>
659
   <extends>QLineEdit</extends>
660
   <header>Gui/PrefWidgets.h</header>
661
  </customwidget>
662
  <customwidget>
663
   <class>Gui::PrefDoubleSpinBox</class>
664
   <extends>QDoubleSpinBox</extends>
665
   <header>Gui/PrefWidgets.h</header>
666
  </customwidget>
667
  <customwidget>
668
   <class>Gui::PrefUnitSpinBox</class>
669
   <extends>Gui::QuantitySpinBox</extends>
670
   <header>Gui/PrefWidgets.h</header>
671
  </customwidget>
672
 </customwidgets>
673
 <resources>
674
  <include location="Resources/TechDraw.qrc"/>
675
 </resources>
676
 <connections>
677
  <connection>
678
   <sender>cbGlobalDecimals</sender>
679
   <signal>toggled(bool)</signal>
680
   <receiver>sbAltDecimals</receiver>
681
   <slot>setDisabled(bool)</slot>
682
   <hints>
683
    <hint type="sourcelabel">
684
     <x>108</x>
685
     <y>71</y>
686
    </hint>
687
    <hint type="destinationlabel">
688
     <x>425</x>
689
     <y>124</y>
690
    </hint>
691
   </hints>
692
  </connection>
693
 </connections>
694
</ui>
695

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

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

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

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