1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>TechDrawGui::DlgPrefsTechDrawDimensionsImp</class>
4
<widget class="QWidget" name="TechDrawGui::DlgPrefsTechDrawDimensionsImp">
5
<property name="geometry">
13
<property name="sizePolicy">
14
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
15
<horstretch>0</horstretch>
16
<verstretch>0</verstretch>
19
<property name="windowTitle">
20
<string>Dimensions</string>
22
<layout class="QVBoxLayout" name="verticalLayout_3">
24
<widget class="QGroupBox" name="gbDim">
25
<property name="sizePolicy">
26
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
27
<horstretch>0</horstretch>
28
<verstretch>0</verstretch>
31
<property name="minimumSize">
37
<property name="baseSize">
43
<property name="title">
44
<string>Dimensions</string>
46
<layout class="QVBoxLayout" name="verticalLayout_2">
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>
57
<property name="minimumSize">
63
<property name="toolTip">
64
<string>Arrowhead size</string>
66
<property name="alignment">
67
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
69
<property name="value">
70
<double>5.000000000000000</double>
72
<property name="prefEntry" stdset="0">
73
<cstring>ArrowSize</cstring>
75
<property name="prefPath" stdset="0">
76
<cstring>Mod/TechDraw/Dimensions</cstring>
80
<item row="3" column="0">
81
<widget class="QLabel" name="label">
82
<property name="font">
87
<property name="text">
88
<string>Dimension Format</string>
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>
100
<property name="minimumSize">
106
<property name="toolTip">
107
<string>Arrowhead style</string>
109
<property name="currentIndex">
112
<property name="prefEntry" stdset="0">
113
<cstring>ArrowStyle</cstring>
115
<property name="prefPath" stdset="0">
116
<cstring>Mod/TechDraw/Dimensions</cstring>
120
<item row="6" column="0">
121
<widget class="QLabel" name="label_8">
122
<property name="text">
123
<string>Diameter Symbol</string>
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>
135
<property name="minimumSize">
141
<property name="toolTip">
142
<string>Standard to be used for dimensional values</string>
144
<property name="prefEntry" stdset="0">
145
<cstring>StandardAndStyle</cstring>
147
<property name="prefPath" stdset="0">
148
<cstring>/Mod/TechDraw/Dimensions</cstring>
151
<property name="text">
152
<string>ISO Oriented</string>
156
<property name="text">
157
<string>ISO Referencing</string>
161
<property name="text">
162
<string>ASME Inlined</string>
166
<property name="text">
167
<string>ASME Referencing</string>
172
<item row="4" column="0">
173
<widget class="QLabel" name="label_2">
174
<property name="font">
176
<italic>true</italic>
179
<property name="text">
180
<string>Font Size</string>
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>
192
<property name="minimumSize">
198
<property name="toolTip">
199
<string>Append unit to dimension values</string>
201
<property name="text">
202
<string>Show Units</string>
204
<property name="prefEntry" stdset="0">
205
<cstring>ShowUnits</cstring>
207
<property name="prefPath" stdset="0">
208
<cstring>/Mod/TechDraw/Dimensions</cstring>
212
<item row="0" column="0">
213
<widget class="QLabel" name="label_16">
214
<property name="minimumSize">
220
<property name="font">
222
<italic>true</italic>
225
<property name="text">
226
<string>Standard and Style</string>
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>
238
<property name="minimumSize">
244
<property name="toolTip">
245
<string>Dimension text font size</string>
247
<property name="alignment">
248
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
250
<property name="value">
251
<double>4.000000000000000</double>
253
<property name="prefEntry" stdset="0">
254
<cstring>FontSize</cstring>
256
<property name="prefPath" stdset="0">
257
<cstring>/Mod/TechDraw/Dimensions</cstring>
261
<item row="8" column="0">
262
<widget class="QLabel" name="label_12">
263
<property name="font">
265
<italic>true</italic>
268
<property name="text">
269
<string>Arrow Size</string>
273
<item row="7" column="0">
274
<widget class="QLabel" name="label_9">
275
<property name="font">
277
<italic>true</italic>
280
<property name="text">
281
<string>Arrow Style</string>
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>
293
<property name="minimumSize">
299
<property name="baseSize">
305
<property name="toolTip">
306
<string>Tolerance text scale
307
Multiplier of 'Font Size'</string>
309
<property name="accessibleName">
312
<property name="alignment">
313
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
315
<property name="singleStep">
316
<double>0.100000000000000</double>
318
<property name="value">
319
<double>0.800000000000000</double>
321
<property name="prefEntry" stdset="0">
322
<cstring>TolSizeAdjust</cstring>
324
<property name="prefPath" stdset="0">
325
<cstring>Mod/TechDraw/Dimensions</cstring>
329
<item row="5" column="0">
330
<widget class="QLabel" name="lbl_LabelFont">
331
<property name="minimumSize">
337
<property name="baseSize">
343
<property name="font">
345
<italic>false</italic>
348
<property name="text">
349
<string>Tolerance Text Scale</string>
353
<item row="2" column="2">
354
<widget class="Gui::PrefSpinBox" name="sbAltDecimals">
355
<property name="enabled">
358
<property name="sizePolicy">
359
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
360
<horstretch>0</horstretch>
361
<verstretch>0</verstretch>
364
<property name="minimumSize">
370
<property name="toolTip">
371
<string>Number of decimals if 'Use Global Decimals' is not used</string>
373
<property name="alignment">
374
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
376
<property name="value">
379
<property name="prefEntry" stdset="0">
380
<cstring>AltDecimals</cstring>
382
<property name="prefPath" stdset="0">
383
<cstring>/Mod/TechDraw/Dimensions</cstring>
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>
395
<property name="minimumSize">
401
<property name="font">
403
<pointsize>12</pointsize>
406
<property name="toolTip">
407
<string>Character used to indicate diameter dimensions</string>
409
<property name="text">
410
<string notr="true">⌀</string>
412
<property name="alignment">
413
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
415
<property name="prefEntry" stdset="0">
416
<cstring>DiameterSymbol</cstring>
418
<property name="prefPath" stdset="0">
419
<cstring>/Mod/TechDraw/Dimensions</cstring>
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>
431
<property name="font">
433
<italic>true</italic>
436
<property name="toolTip">
437
<string>Use system setting for number of decimals</string>
439
<property name="text">
440
<string>Use Global Decimals</string>
442
<property name="checked">
445
<property name="prefEntry" stdset="0">
446
<cstring>UseGlobalDecimals</cstring>
448
<property name="prefPath" stdset="0">
449
<cstring>/Mod/TechDraw/Dimensions</cstring>
453
<item row="4" column="1">
454
<spacer name="horizontalSpacer">
455
<property name="orientation">
456
<enum>Qt::Horizontal</enum>
458
<property name="sizeHint" stdset="0">
466
<item row="2" column="0">
467
<widget class="QLabel" name="label_11">
468
<property name="font">
470
<italic>true</italic>
473
<property name="text">
474
<string>Alternate Decimals</string>
478
<item row="9" column="0">
479
<widget class="QLabel" name="label_3">
480
<property name="font">
482
<italic>true</italic>
485
<property name="toolTip">
486
<string>Controls the size of gap between dimension point and start of extension line for ISO dimensions.</string>
488
<property name="text">
489
<string>Extension Gap Factor - ISO</string>
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>
498
<property name="alignment">
499
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
501
<property name="prefEntry" stdset="0">
502
<cstring>formatSpec</cstring>
504
<property name="prefPath" stdset="0">
505
<cstring>/Mod/TechDraw/Dimensions</cstring>
509
<item row="10" column="0">
510
<widget class="QLabel" name="label_4">
511
<property name="font">
513
<italic>true</italic>
516
<property name="toolTip">
517
<string>Controls the size of gap between dimension point and start of extension line for ASME dimensions.</string>
519
<property name="text">
520
<string>Extension Gap Factor - ASME</string>
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>
531
<property name="alignment">
532
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
534
<property name="value">
535
<double>0.000000000000000</double>
537
<property name="prefEntry" stdset="0">
538
<cstring>GapISO</cstring>
540
<property name="prefPath" stdset="0">
541
<cstring>Mod/TechDraw/Dimensions</cstring>
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>
551
<property name="alignment">
552
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
554
<property name="value">
555
<double>0.000000000000000</double>
557
<property name="prefEntry" stdset="0">
558
<cstring>GapASME</cstring>
560
<property name="prefPath" stdset="0">
561
<cstring>Mod/TechDraw/Dimensions</cstring>
565
<item row="11" column="0">
566
<widget class="QLabel" name="label_18">
567
<property name="font">
569
<italic>true</italic>
572
<property name="toolTip">
573
<string>Controls the size of spacing between dimension line and dimension text for ISO dimensions.</string>
575
<property name="text">
576
<string>Line Spacing - ISO</string>
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>
586
<property name="alignment">
587
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
589
<property name="value">
590
<double>2.000000000000000</double>
592
<property name="prefEntry" stdset="0">
593
<cstring>LineSpacingFactorISO</cstring>
595
<property name="prefPath" stdset="0">
596
<cstring>Mod/TechDraw/Dimensions</cstring>
606
<widget class="QLabel" name="label_17">
607
<property name="font">
609
<pointsize>10</pointsize>
610
<italic>false</italic>
613
<property name="text">
614
<string><html><head/><body><p><span style=" font-weight:600;">Note:</span> Items in <span style=" font-style:italic;">italics</span> are default values for new objects. They have no effect on existing objects.</p></body></html></string>
616
<property name="wordWrap">
622
<spacer name="verticalSpacer">
623
<property name="orientation">
624
<enum>Qt::Vertical</enum>
626
<property name="sizeHint" stdset="0">
638
<class>Gui::QuantitySpinBox</class>
639
<extends>QWidget</extends>
640
<header>Gui/QuantitySpinBox.h</header>
643
<class>Gui::PrefSpinBox</class>
644
<extends>QSpinBox</extends>
645
<header>Gui/PrefWidgets.h</header>
648
<class>Gui::PrefCheckBox</class>
649
<extends>QCheckBox</extends>
650
<header>Gui/PrefWidgets.h</header>
653
<class>Gui::PrefComboBox</class>
654
<extends>QComboBox</extends>
655
<header>Gui/PrefWidgets.h</header>
658
<class>Gui::PrefLineEdit</class>
659
<extends>QLineEdit</extends>
660
<header>Gui/PrefWidgets.h</header>
663
<class>Gui::PrefDoubleSpinBox</class>
664
<extends>QDoubleSpinBox</extends>
665
<header>Gui/PrefWidgets.h</header>
668
<class>Gui::PrefUnitSpinBox</class>
669
<extends>Gui::QuantitySpinBox</extends>
670
<header>Gui/PrefWidgets.h</header>
674
<include location="Resources/TechDraw.qrc"/>
678
<sender>cbGlobalDecimals</sender>
679
<signal>toggled(bool)</signal>
680
<receiver>sbAltDecimals</receiver>
681
<slot>setDisabled(bool)</slot>
683
<hint type="sourcelabel">
687
<hint type="destinationlabel">