1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>PartGui::DlgSettingsObjectColor</class>
4
<widget class="QWidget" name="PartGui::DlgSettingsObjectColor">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Shape appearance</string>
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<widget class="QGroupBox" name="groupBoxDefaultColors">
19
<property name="title">
20
<string>Default Shape view properties</string>
22
<layout class="QHBoxLayout" name="horizontalLayout">
24
<layout class="QGridLayout" name="gridLayout">
25
<item row="0" column="0">
26
<widget class="QLabel" name="label_6">
27
<property name="minimumSize">
33
<property name="text">
34
<string>Shape color</string>
38
<item row="0" column="1">
39
<widget class="Gui::PrefColorButton" name="DefaultShapeColor">
40
<property name="toolTip">
41
<string>The default color for new shapes</string>
43
<property name="color">
50
<property name="prefEntry" stdset="0">
51
<cstring>DefaultShapeColor</cstring>
53
<property name="prefPath" stdset="0">
54
<cstring>View</cstring>
58
<item row="0" column="2">
59
<widget class="Gui::PrefCheckBox" name="checkRandomColor">
60
<property name="toolTip">
61
<string>Use random color instead</string>
63
<property name="text">
64
<string>Random</string>
66
<property name="prefEntry" stdset="0">
67
<cstring>RandomColor</cstring>
69
<property name="prefPath" stdset="0">
70
<cstring>View</cstring>
74
<item row="1" column="0">
75
<widget class="QLabel" name="label_ambient">
76
<property name="minimumSize">
82
<property name="text">
83
<string>Ambient shape color</string>
87
<item row="1" column="1">
88
<widget class="Gui::PrefColorButton" name="DefaultAmbientColor">
89
<property name="toolTip">
90
<string>The default ambient color for new shapes</string>
92
<property name="color">
99
<property name="prefEntry" stdset="0">
100
<cstring>DefaultAmbientColor</cstring>
102
<property name="prefPath" stdset="0">
103
<cstring>View</cstring>
107
<item row="2" column="0">
108
<widget class="QLabel" name="label_emissive">
109
<property name="minimumSize">
115
<property name="text">
116
<string>Emissive shape color</string>
120
<item row="2" column="1">
121
<widget class="Gui::PrefColorButton" name="DefaultEmissiveColor">
122
<property name="toolTip">
123
<string>The default emissive color for new shapes</string>
125
<property name="color">
132
<property name="prefEntry" stdset="0">
133
<cstring>DefaultEmissiveColor</cstring>
135
<property name="prefPath" stdset="0">
136
<cstring>View</cstring>
140
<item row="3" column="0">
141
<widget class="QLabel" name="label_specular">
142
<property name="minimumSize">
148
<property name="text">
149
<string>Specular shape color</string>
153
<item row="3" column="1">
154
<widget class="Gui::PrefColorButton" name="DefaultSpecularColor">
155
<property name="toolTip">
156
<string>The default specular color for new shapes</string>
158
<property name="color">
165
<property name="prefEntry" stdset="0">
166
<cstring>DefaultSpecularColor</cstring>
168
<property name="prefPath" stdset="0">
169
<cstring>View</cstring>
173
<item row="4" column="0">
174
<widget class="QLabel" name="label_transparency">
175
<property name="minimumSize">
181
<property name="text">
182
<string>Shape transparency</string>
186
<item row="4" column="1">
187
<widget class="Gui::PrefSpinBox" name="DefaultShapeTransparency">
188
<property name="toolTip">
189
<string>The default transparency for new shapes</string>
191
<property name="suffix">
192
<string notr="true">%</string>
194
<property name="maximum">
197
<property name="singleStep">
200
<property name="prefEntry" stdset="0">
201
<cstring>DefaultShapeTransparency</cstring>
203
<property name="prefPath" stdset="0">
204
<cstring>View</cstring>
208
<item row="5" column="0">
209
<widget class="QLabel" name="label_shininess">
210
<property name="minimumSize">
216
<property name="text">
217
<string>Shape shininess</string>
221
<item row="5" column="1">
222
<widget class="Gui::PrefSpinBox" name="DefaultShapeShininess">
223
<property name="toolTip">
224
<string>The default shininess for new shapes</string>
226
<property name="suffix">
227
<string notr="true">%</string>
229
<property name="maximum">
232
<property name="value">
235
<property name="singleStep">
238
<property name="prefEntry" stdset="0">
239
<cstring>DefaultShapeShininess</cstring>
241
<property name="prefPath" stdset="0">
242
<cstring>View</cstring>
246
<item row="6" column="0">
247
<widget class="QLabel" name="label_7">
248
<property name="minimumSize">
254
<property name="text">
255
<string>Line color</string>
259
<item row="6" column="1">
260
<widget class="Gui::PrefColorButton" name="DefaultShapeLineColor">
261
<property name="toolTip">
262
<string>The default line color for new shapes</string>
264
<property name="color">
271
<property name="prefEntry" stdset="0">
272
<cstring>DefaultShapeLineColor</cstring>
274
<property name="prefPath" stdset="0">
275
<cstring>View</cstring>
279
<item row="7" column="0">
280
<widget class="QLabel" name="label_9">
281
<property name="minimumSize">
287
<property name="text">
288
<string>Line width</string>
292
<item row="7" column="1">
293
<widget class="Gui::PrefSpinBox" name="DefaultShapeLineWidth">
294
<property name="toolTip">
295
<string>The default line thickness for new shapes</string>
297
<property name="suffix">
300
<property name="maximum">
303
<property name="value">
306
<property name="prefEntry" stdset="0">
307
<cstring>DefaultShapeLineWidth</cstring>
309
<property name="prefPath" stdset="0">
310
<cstring>View</cstring>
314
<item row="8" column="0">
315
<widget class="QLabel" name="label_10">
316
<property name="minimumSize">
322
<property name="text">
323
<string>Vertex color</string>
327
<item row="8" column="1">
328
<widget class="Gui::PrefColorButton" name="DefaultShapeVertexColor">
329
<property name="toolTip">
330
<string>The default color for new vertices</string>
332
<property name="color">
339
<property name="prefEntry" stdset="0">
340
<cstring>DefaultShapeVertexColor</cstring>
342
<property name="prefPath" stdset="0">
343
<cstring>View</cstring>
347
<item row="9" column="0">
348
<widget class="QLabel" name="label_11">
349
<property name="minimumSize">
355
<property name="text">
356
<string>Vertex size</string>
360
<item row="9" column="1">
361
<widget class="Gui::PrefSpinBox" name="DefaultShapeVertexSize">
362
<property name="toolTip">
363
<string>The default size for new vertices</string>
365
<property name="suffix">
368
<property name="maximum">
371
<property name="value">
374
<property name="prefEntry" stdset="0">
375
<cstring>DefaultShapePointSize</cstring>
377
<property name="prefPath" stdset="0">
378
<cstring>View</cstring>
382
<item row="10" column="0">
383
<widget class="QLabel" name="label_8">
384
<property name="minimumSize">
390
<property name="text">
391
<string>Bounding box color</string>
395
<item row="10" column="1">
396
<widget class="Gui::PrefColorButton" name="BoundingBoxColor">
397
<property name="toolTip">
398
<string>The color of bounding boxes in the 3D view</string>
400
<property name="color">
407
<property name="prefEntry" stdset="0">
408
<cstring>BoundingBoxColor</cstring>
410
<property name="prefPath" stdset="0">
411
<cstring>View</cstring>
415
<item row="11" column="0">
416
<widget class="QLabel" name="label_fontsize">
417
<property name="minimumSize">
423
<property name="text">
424
<string>Bounding box font size</string>
428
<item row="11" column="1">
429
<widget class="Gui::PrefDoubleSpinBox" name="BoundingBoxFontSize">
430
<property name="toolTip">
431
<string>The font size of bounding boxes in the 3D view</string>
433
<property name="suffix">
434
<string notr="true">pt</string>
436
<property name="decimals">
439
<property name="minimum">
440
<double>2.000000000000000</double>
442
<property name="maximum">
443
<double>64.000000000000000</double>
445
<property name="value">
446
<double>10.000000000000000</double>
448
<property name="prefEntry" stdset="0">
449
<cstring>BoundingBoxFontSize</cstring>
451
<property name="prefPath" stdset="0">
452
<cstring>View</cstring>
456
<item row="12" column="0">
457
<widget class="Gui::PrefCheckBox" name="twosideRendering">
458
<property name="minimumSize">
464
<property name="toolTip">
465
<string>The bottom side of the surface will be rendered the same way as the top.
466
If not checked, it depends on the option "Backlight color"
467
(preferences section Display -> 3D View); either the backlight color
468
will be used or black.</string>
470
<property name="text">
471
<string>Two-side rendering</string>
473
<property name="checked">
476
<property name="prefEntry" stdset="0">
477
<cstring>TwoSideRendering</cstring>
479
<property name="prefPath" stdset="0">
480
<cstring>Mod/Part</cstring>
487
<spacer name="horizontalSpacer">
488
<property name="orientation">
489
<enum>Qt::Horizontal</enum>
491
<property name="sizeHint" stdset="0">
503
<widget class="QGroupBox" name="groupBox">
504
<property name="title">
505
<string>Default Annotation color</string>
507
<layout class="QHBoxLayout" name="horizontalLayout_2">
509
<layout class="QGridLayout" name="gridLayout_2">
510
<item row="0" column="0">
511
<widget class="QLabel" name="label">
512
<property name="minimumSize">
518
<property name="text">
519
<string>Text color</string>
523
<item row="0" column="1">
524
<widget class="Gui::PrefColorButton" name="AnnotationTextColor">
525
<property name="toolTip">
526
<string>Text color for document annotations</string>
528
<property name="prefEntry" stdset="0">
529
<cstring>AnnotationTextColor</cstring>
531
<property name="prefPath" stdset="0">
532
<cstring>View</cstring>
539
<spacer name="horizontalSpacer_2">
540
<property name="orientation">
541
<enum>Qt::Horizontal</enum>
543
<property name="sizeHint" stdset="0">
555
<spacer name="verticalSpacer">
556
<property name="orientation">
557
<enum>Qt::Vertical</enum>
559
<property name="sizeHint" stdset="0">
571
<class>Gui::ColorButton</class>
572
<extends>QPushButton</extends>
573
<header>Gui/Widgets.h</header>
576
<class>Gui::PrefSpinBox</class>
577
<extends>QSpinBox</extends>
578
<header>Gui/PrefWidgets.h</header>
581
<class>Gui::PrefColorButton</class>
582
<extends>Gui::ColorButton</extends>
583
<header>Gui/PrefWidgets.h</header>
586
<class>Gui::PrefCheckBox</class>
587
<extends>QCheckBox</extends>
588
<header>Gui/PrefWidgets.h</header>
591
<class>Gui::PrefDoubleSpinBox</class>
592
<extends>QDoubleSpinBox</extends>
593
<header>Gui/PrefWidgets.h</header>
597
<tabstop>DefaultShapeColor</tabstop>
598
<tabstop>DefaultShapeLineWidth</tabstop>
599
<tabstop>DefaultShapeLineColor</tabstop>
600
<tabstop>BoundingBoxColor</tabstop>
605
<sender>checkRandomColor</sender>
606
<signal>toggled(bool)</signal>
607
<receiver>DefaultShapeColor</receiver>
608
<slot>setDisabled(bool)</slot>
610
<hint type="sourcelabel">
614
<hint type="destinationlabel">