1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>TechDrawGui::TaskDimension</class>
4
<widget class="QWidget" name="TechDrawGui::TaskDimension">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Dimension</string>
16
<layout class="QVBoxLayout" name="verticalLayout_4">
18
<widget class="QGroupBox" name="gbTolerancing">
19
<property name="title">
20
<string>Tolerancing</string>
22
<layout class="QVBoxLayout" name="verticalLayout_2">
24
<layout class="QGridLayout" name="gridLayout_2">
25
<item row="0" column="0">
26
<widget class="QCheckBox" name="cbTheoreticallyExact">
27
<property name="toolTip">
28
<string>If theoretical exact (basic) dimension</string>
30
<property name="text">
31
<string>Theoretically Exact</string>
35
<item row="1" column="0">
36
<widget class="QCheckBox" name="cbEqualTolerance">
37
<property name="toolTip">
38
<string>Assign same value to over and under tolerance</string>
40
<property name="text">
41
<string>Equal Tolerance</string>
45
<item row="2" column="0">
46
<widget class="QLabel" name="label_2">
47
<property name="text">
48
<string>Overtolerance:</string>
52
<item row="2" column="1">
53
<widget class="Gui::QuantitySpinBox" name="qsbOvertolerance">
54
<property name="minimumSize">
60
<property name="toolTip">
61
<string>Overtolerance value
62
If 'Equal Tolerance' is checked this is also
63
the negated value for 'Under Tolerance'.</string>
65
<property name="alignment">
66
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
68
<property name="singleStep">
69
<double>0.100000000000000</double>
71
<property name="value">
72
<double>0.000000000000000</double>
76
<item row="3" column="0">
77
<widget class="QLabel" name="label_8">
78
<property name="text">
79
<string>Undertolerance:</string>
83
<item row="3" column="1">
84
<widget class="Gui::QuantitySpinBox" name="qsbUndertolerance">
85
<property name="minimumSize">
91
<property name="toolTip">
92
<string>Undertolerance value
93
If 'Equal Tolerance' is checked it will be replaced
94
by negative value of 'Over Tolerance'.</string>
96
<property name="alignment">
97
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
99
<property name="singleStep">
100
<double>0.100000000000000</double>
102
<property name="value">
103
<double>0.000000000000000</double>
113
<widget class="QGroupBox" name="gbFormatting">
114
<property name="title">
115
<string>Formatting</string>
117
<layout class="QVBoxLayout" name="verticalLayout">
119
<layout class="QGridLayout" name="gridLayout">
120
<item row="0" column="0">
121
<widget class="QLabel" name="label_11">
122
<property name="text">
123
<string>Format Specifier:</string>
127
<item row="0" column="1">
128
<widget class="QLineEdit" name="leFormatSpecifier">
129
<property name="toolTip">
130
<string>Text to be displayed</string>
134
<item row="1" column="0">
135
<widget class="QCheckBox" name="cbArbitrary">
136
<property name="toolTip">
137
<string>If checked the content of 'Format Spec' will
138
be used instead of the dimension value</string>
140
<property name="text">
141
<string>Arbitrary Text</string>
145
<item row="2" column="0">
146
<widget class="QLabel" name="label">
147
<property name="text">
148
<string>OverTolerance Format Specifier:</string>
152
<item row="2" column="1">
153
<widget class="QLineEdit" name="leFormatSpecifierOverTolerance">
154
<property name="toolTip">
155
<string>Specifies the overtolerance format in printf() style, or arbitrary text</string>
159
<item row="3" column="0">
160
<widget class="QLabel" name="label_12">
161
<property name="text">
162
<string>UnderTolerance Format Specifier:</string>
166
<item row="3" column="1">
167
<widget class="QLineEdit" name="leFormatSpecifierUnderTolerance">
168
<property name="toolTip">
169
<string>Specifies the undertolerance format in printf() style, or arbitrary text</string>
173
<item row="4" column="0">
174
<widget class="QCheckBox" name="cbArbitraryTolerances">
175
<property name="toolTip">
176
<string><html><head/><body><p>If checked the content of tolerance format spec will</p><p>be used instead of the tolerance value</p></body></html></string>
178
<property name="text">
179
<string>Arbitrary Tolerance Text</string>
189
<widget class="QGroupBox" name="gbDisplayStyle">
190
<property name="title">
191
<string>Display Style</string>
193
<layout class="QVBoxLayout" name="verticalLayout_3">
195
<layout class="QGridLayout" name="gridLayout_3">
196
<item row="0" column="0">
197
<widget class="QCheckBox" name="cbArrowheads">
198
<property name="toolTip">
199
<string>Reverses usual direction of dimension line terminators</string>
201
<property name="text">
202
<string>Flip Arrowheads</string>
206
<item row="1" column="0">
207
<widget class="QLabel" name="label_5">
208
<property name="text">
209
<string>Color:</string>
213
<item row="1" column="1">
214
<widget class="Gui::ColorButton" name="dimensionColor">
215
<property name="toolTip">
216
<string>Color of the dimension</string>
218
<property name="color">
227
<item row="2" column="0">
228
<widget class="QLabel" name="label_7">
229
<property name="text">
230
<string>Font Size:</string>
234
<item row="2" column="1">
235
<widget class="Gui::QuantitySpinBox" name="qsbFontSize">
236
<property name="sizePolicy">
237
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
238
<horstretch>0</horstretch>
239
<verstretch>0</verstretch>
242
<property name="minimumSize">
248
<property name="toolTip">
249
<string>Fontsize for 'Text'</string>
251
<property name="alignment">
252
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
254
<property name="minimum">
255
<double>0.000000000000000</double>
257
<property name="value">
258
<double>4.000000000000000</double>
260
<property name="prefEntry" stdset="0">
261
<cstring>FontSize</cstring>
263
<property name="prefPath" stdset="0">
264
<cstring>/Mod/TechDraw/Dimensions</cstring>
268
<item row="3" column="0">
269
<widget class="QLabel" name="label_4">
270
<property name="text">
271
<string>Drawing Style:</string>
275
<item row="3" column="1">
276
<widget class="QComboBox" name="comboDrawingStyle">
277
<property name="toolTip">
278
<string>Standard and style according to which dimension is drawn</string>
281
<property name="text">
282
<string>ISO Oriented</string>
286
<property name="text">
287
<string>ISO Referencing</string>
291
<property name="text">
292
<string>ASME Inlined</string>
296
<property name="text">
297
<string>ASME Referencing</string>
308
<widget class="QGroupBox" name="gbLines">
309
<property name="title">
310
<string>Lines</string>
312
<layout class="QVBoxLayout" name="verticalLayout_5">
314
<layout class="QGridLayout" name="gridLayout_4">
315
<item row="0" column="0">
316
<widget class="QRadioButton" name="rbOverride">
317
<property name="toolTip">
318
<string>Use override angles if checked. Use default angles if unchecked.</string>
320
<property name="text">
321
<string>Override angles</string>
325
<item row="1" column="0">
326
<widget class="QLabel" name="label_3">
327
<property name="text">
328
<string>Dimension line angle</string>
332
<item row="1" column="1">
333
<widget class="QDoubleSpinBox" name="dsbDimAngle">
334
<property name="toolTip">
335
<string>Angle of dimension line with drawing X axis (degrees)</string>
337
<property name="alignment">
338
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
340
<property name="minimum">
341
<double>-360.000000000000000</double>
343
<property name="maximum">
344
<double>360.000000000000000</double>
348
<item row="2" column="0">
349
<widget class="QPushButton" name="pbDimUseDefault">
350
<property name="toolTip">
351
<string>Set dimension line angle to default (ortho view).</string>
353
<property name="text">
354
<string>Use default</string>
358
<item row="2" column="1">
359
<widget class="QPushButton" name="pbDimUseSelection">
360
<property name="toolTip">
361
<string>Set dimension line angle to match selected edge or vertices.</string>
363
<property name="text">
364
<string>Use selection</string>
368
<item row="3" column="0">
369
<widget class="QLabel" name="label_6">
370
<property name="text">
371
<string>Extension line angle</string>
375
<item row="3" column="1">
376
<widget class="QDoubleSpinBox" name="dsbExtAngle">
377
<property name="toolTip">
378
<string>Angle of extension lines with drawing X axis (degrees)</string>
380
<property name="alignment">
381
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
383
<property name="minimum">
384
<double>-360.000000000000000</double>
386
<property name="maximum">
387
<double>360.000000000000000</double>
391
<item row="4" column="0">
392
<widget class="QPushButton" name="pbExtUseDefault">
393
<property name="toolTip">
394
<string>Set extension line angle to default (ortho).</string>
396
<property name="text">
397
<string>Use default</string>
401
<item row="4" column="1">
402
<widget class="QPushButton" name="pbExtUseSelection">
403
<property name="toolTip">
404
<string>Set extension line angle to match selected edge or vertices.</string>
406
<property name="text">
407
<string>Use selection</string>
420
<class>Gui::QuantitySpinBox</class>
421
<extends>QWidget</extends>
422
<header>Gui/QuantitySpinBox.h</header>
425
<class>Gui::ColorButton</class>
426
<extends>QPushButton</extends>
427
<header>Gui/Widgets.h</header>
431
<include location="Resources/TechDraw.qrc"/>