1
<?xml version="1.0" encoding="UTF-8"?>
4
<widget class="QWidget" name="Form">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Style settings</string>
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<layout class="QHBoxLayout" name="horizontalLayout_2">
20
<widget class="QComboBox" name="comboPresets">
21
<property name="toolTip">
22
<string>Fill the values below from a stored style preset</string>
25
<property name="text">
26
<string>Load preset</string>
32
<widget class="QPushButton" name="saveButton">
33
<property name="maximumSize">
36
<height>16777215</height>
39
<property name="toolTip">
40
<string>Save the current style as a preset...</string>
42
<property name="text">
45
<property name="icon">
46
<iconset theme="gtk-save">
47
<normaloff>.</normaloff>.</iconset>
54
<widget class="QGroupBox" name="groupBox">
55
<property name="title">
56
<string>Shapes</string>
58
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0" columnminimumwidth="0,120">
59
<property name="sizeConstraint">
60
<enum>QLayout::SetDefaultConstraint</enum>
62
<item row="0" column="0">
63
<widget class="QLabel" name="label_ShapeColor">
64
<property name="text">
65
<string>Shape color</string>
69
<item row="0" column="1">
70
<widget class="Gui::ColorButton" name="ShapeColor">
73
<item row="1" column="0">
74
<widget class="QLabel" name="label_Transparency">
75
<property name="text">
76
<string>Transparency</string>
80
<item row="1" column="1">
81
<widget class="QSpinBox" name="Transparency">
82
<property name="suffix">
83
<string notr="true"> %</string>
85
<property name="maximum">
90
<item row="2" column="0">
91
<widget class="QLabel" name="label_LineColor">
92
<property name="text">
93
<string>Line color</string>
97
<item row="2" column="1">
98
<widget class="Gui::ColorButton" name="LineColor">
101
<item row="3" column="0">
102
<widget class="QLabel" name="label_LineWidth">
103
<property name="text">
104
<string>Line width</string>
108
<item row="3" column="1">
109
<widget class="QSpinBox" name="LineWidth">
110
<property name="suffix">
115
<item row="4" column="0">
116
<widget class="QLabel" name="label_PointColor">
117
<property name="text">
118
<string>Point color</string>
122
<item row="4" column="1">
123
<widget class="Gui::ColorButton" name="PointColor">
126
<item row="5" column="0">
127
<widget class="QLabel" name="label_PointSize">
128
<property name="text">
129
<string>Point size</string>
133
<item row="5" column="1">
134
<widget class="QSpinBox" name="PointSize">
135
<property name="suffix">
140
<item row="6" column="0">
141
<widget class="QLabel" name="label_DrawStyle">
142
<property name="text">
143
<string>Draw style</string>
147
<item row="6" column="1">
148
<widget class="QComboBox" name="DrawStyle">
150
<property name="text">
151
<string>Solid</string>
155
<property name="text">
156
<string>Dashed</string>
160
<property name="text">
161
<string>Dotted</string>
165
<property name="text">
166
<string>DashDot</string>
171
<item row="7" column="0">
172
<widget class="QLabel" name="label_DisplayMode">
173
<property name="text">
174
<string>Display mode</string>
178
<item row="7" column="1">
179
<widget class="QComboBox" name="DisplayMode">
181
<property name="text">
182
<string>Flat Lines</string>
186
<property name="text">
187
<string>Shaded</string>
191
<property name="text">
192
<string>Wireframe</string>
196
<property name="text">
197
<string>Points</string>
206
<widget class="QGroupBox" name="groupBox_2">
207
<property name="title">
208
<string>Annotations</string>
210
<layout class="QGridLayout" name="gridLayout_2" columnstretch="1,0" columnminimumwidth="0,120">
211
<item row="0" column="0">
212
<widget class="QLabel" name="label_TextColor">
213
<property name="text">
214
<string>Text color</string>
218
<item row="0" column="1">
219
<widget class="Gui::ColorButton" name="TextColor">
220
<property name="toolTip">
221
<string>The color for texts, dimension texts and label texts</string>
225
<item row="1" column="0">
226
<widget class="QLabel" name="label_TextFont">
227
<property name="text">
228
<string>Font name</string>
232
<item row="1" column="1">
233
<widget class="QFontComboBox" name="TextFont">
234
<property name="sizePolicy">
235
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
236
<horstretch>0</horstretch>
237
<verstretch>0</verstretch>
240
<property name="toolTip">
241
<string>The font for texts, dimensions and labels</string>
245
<item row="2" column="0">
246
<widget class="QLabel" name="label_TextSize">
247
<property name="text">
248
<string>Font size</string>
252
<item row="2" column="1">
253
<widget class="Gui::InputField" name="TextSize">
254
<property name="toolTip">
255
<string>The height for texts, dimension texts and label texts</string>
257
<property name="unit" stdset="0">
258
<string notr="true"/>
262
<item row="3" column="0">
263
<widget class="QLabel" name="label_LineSpacing">
264
<property name="text">
265
<string>Line spacing</string>
269
<item row="3" column="1">
270
<widget class="QDoubleSpinBox" name="LineSpacing">
271
<property name="toolTip">
272
<string>The line spacing for multi-line texts and labels (relative to the font size)</string>
276
<item row="4" column="0">
277
<widget class="QLabel" name="label_ScaleMultiplier">
278
<property name="text">
279
<string>Scale multiplier</string>
283
<item row="4" column="1">
284
<widget class="QDoubleSpinBox" name="ScaleMultiplier">
285
<property name="toolTip">
286
<string>The annotation scale multiplier is the inverse of the scale set in the
287
Annotation scale widget. If the scale is 1:100 the multiplier is 100.</string>
295
<widget class="QGroupBox" name="groupBox_3">
296
<property name="title">
297
<string>Dimensions</string>
299
<layout class="QGridLayout" name="gridLayout_3" columnstretch="1,0" columnminimumwidth="0,120">
300
<item row="0" column="0">
301
<widget class="QLabel" name="label_AnnoLineColor">
302
<property name="text">
303
<string>Line and arrow color</string>
307
<item row="0" column="1">
308
<widget class="Gui::ColorButton" name="AnnoLineColor">
311
<item row="1" column="0">
312
<widget class="QLabel" name="label_AnnoLineWidth">
313
<property name="text">
314
<string>Line width</string>
318
<item row="1" column="1">
319
<widget class="QSpinBox" name="AnnoLineWidth">
320
<property name="suffix">
325
<item row="2" column="0">
326
<widget class="QLabel" name="label_ArrowStyle">
327
<property name="text">
328
<string>Arrow type</string>
332
<item row="2" column="1">
333
<widget class="QComboBox" name="ArrowStyle">
335
<property name="text">
340
<property name="text">
341
<string>Circle</string>
345
<property name="text">
346
<string>Arrow</string>
350
<property name="text">
351
<string>Tick</string>
355
<property name="text">
356
<string>Tick-2</string>
361
<item row="3" column="0">
362
<widget class="QLabel" name="label_ArrowSize">
363
<property name="text">
364
<string>Arrow size</string>
368
<item row="3" column="1">
369
<widget class="Gui::InputField" name="ArrowSize">
370
<property name="unit" stdset="0">
371
<string notr="true"/>
375
<item row="4" column="0">
376
<widget class="QLabel" name="label_ShowUnit">
377
<property name="text">
378
<string>Show unit</string>
382
<item row="4" column="1">
383
<widget class="QCheckBox" name="ShowUnit">
384
<property name="toolTip">
385
<string>If checked, a unit symbol is added to dimension texts</string>
387
<property name="text">
392
<item row="5" column="0">
393
<widget class="QLabel" name="label_UnitOverride">
394
<property name="text">
395
<string>Unit override</string>
399
<item row="5" column="1">
400
<widget class="QLineEdit" name="UnitOverride">
401
<property name="toolTip">
402
<string>The unit override for dimensions. Leave blank to use the current FreeCAD unit.</string>
406
<item row="6" column="0">
407
<widget class="QLabel" name="label_DimOvershoot">
408
<property name="text">
409
<string>Dim overshoot</string>
413
<item row="6" column="1">
414
<widget class="Gui::InputField" name="DimOvershoot">
415
<property name="toolTip">
416
<string>The distance the dimension line is extended past the extension lines</string>
418
<property name="unit" stdset="0">
419
<string notr="true"/>
423
<item row="7" column="0">
424
<widget class="QLabel" name="label_ExtLines">
425
<property name="text">
426
<string>Ext lines</string>
430
<item row="7" column="1">
431
<widget class="Gui::InputField" name="ExtLines">
432
<property name="toolTip">
433
<string>The length of extension lines. Use 0 for full extension lines. A negative value
434
defines the gap between the ends of the extension lines and the measured points.
435
A positive value defines the maximum length of the extension lines. Only used
436
for linear dimensions.</string>
438
<property name="unit" stdset="0">
439
<string notr="true"/>
443
<item row="8" column="0">
444
<widget class="QLabel" name="label_ExtOvershoot">
445
<property name="text">
446
<string>Ext overshoot</string>
450
<item row="8" column="1">
451
<widget class="Gui::InputField" name="ExtOvershoot">
452
<property name="toolTip">
453
<string>The length of extension lines above the dimension line</string>
455
<property name="unit" stdset="0">
456
<string notr="true"/>
460
<item row="9" column="0">
461
<widget class="QLabel" name="label_TextSpacing">
462
<property name="text">
463
<string>Text spacing</string>
467
<item row="9" column="1">
468
<widget class="Gui::InputField" name="TextSpacing">
469
<property name="toolTip">
470
<string>The space between the dimension line and the dimension text</string>
472
<property name="unit" stdset="0">
473
<string notr="true"/>
481
<layout class="QHBoxLayout" name="horizontalLayout">
483
<widget class="QPushButton" name="applyButton">
484
<property name="toolTip">
485
<string>Apply the above style to selected object(s)</string>
487
<property name="text">
488
<string>Selected</string>
490
<property name="icon">
491
<iconset theme="gtk-apply">
492
<normaloff>.</normaloff>.</iconset>
497
<widget class="QPushButton" name="annotButton">
498
<property name="toolTip">
499
<string>Apply the above style to all annotations (texts, dimensions and labels)</string>
501
<property name="text">
502
<string>Annotations</string>
512
<class>Gui::InputField</class>
513
<extends>QLineEdit</extends>
514
<header>Gui/InputField.h</header>
517
<class>Gui::ColorButton</class>
518
<extends>QPushButton</extends>
519
<header>Gui/Widgets.h</header>