1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>SketcherGui::SketcherSettingsGrid</class>
4
<widget class="QWidget" name="SketcherGui::SketcherSettingsGrid">
5
<property name="geometry">
13
<property name="windowTitle">
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<widget class="QGroupBox" name="groupBox_1">
19
<property name="title">
20
<string>Grid settings</string>
22
<property name="sizePolicy">
23
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
24
<horstretch>0</horstretch>
25
<verstretch>0</verstretch>
28
<layout class="QGridLayout" name="QGridLayout_1">
29
<item row="0" column="0">
30
<widget class="Gui::PrefCheckBox" name="checkBoxShowGrid">
31
<property name="enabled">
34
<property name="toolTip">
35
<string>A grid will be shown</string>
37
<property name="text">
40
<property name="checked">
43
<property name="prefEntry" stdset="0">
44
<cstring>ShowGrid</cstring>
46
<property name="prefPath" stdset="0">
47
<cstring>Mod/Sketcher/General</cstring>
51
<item row="1" column="0">
52
<widget class="Gui::PrefCheckBox" name="checkBoxGridAuto">
53
<property name="checked">
56
<property name="toolTip">
57
<string>Automatically adapt grid spacing based on the viewer dimensions.</string>
59
<property name="text">
60
<string>Grid Auto Spacing</string>
62
<property name="prefEntry" stdset="0">
63
<cstring>GridAuto</cstring>
65
<property name="prefPath" stdset="0">
66
<cstring>Mod/Sketcher/General</cstring>
70
<item row="2" column="0">
71
<widget class="QLabel" name="label_gridSize">
72
<property name="text">
73
<string>Grid spacing</string>
75
<property name="buddy">
76
<cstring>gridSize</cstring>
80
<item row="2" column="1">
81
<widget class="Gui::PrefQuantitySpinBox" name="gridSize">
82
<property name="toolTip">
83
<string>Distance between two subsequent grid lines.
84
If 'Grid Auto Spacing' is enabled, will be used as base value.</string>
86
<property name="unit" stdset="0">
87
<string notr="true">mm</string>
89
<property name="minimum">
90
<double>0.001000000000000</double>
92
<property name="maximum">
93
<double>99999999.000000000000000</double>
95
<property name="singleStep">
96
<double>1.000000000000000</double>
98
<property name="value">
99
<double>10.000000000000000</double>
101
<property name="prefEntry" stdset="0">
102
<cstring>GridSize</cstring>
104
<property name="prefPath" stdset="0">
105
<cstring>Mod/Sketcher/General/GridSize</cstring>
107
<property name="decimals" stdset="0">
112
<item row="3" column="0">
113
<widget class="QLabel" name="label_gridSizePixelThreshold">
114
<property name="text">
115
<string>Pixel size threshold</string>
117
<property name="buddy">
118
<cstring>gridNumberSubdivision</cstring>
122
<item row="3" column="1">
123
<widget class="Gui::PrefSpinBox" name="gridSizePixelThreshold">
124
<property name="toolTip">
125
<string>While using 'Grid Auto Spacing' this sets a threshold in pixel to the grid spacing.
126
The grid spacing change if it becomes smaller than this number of pixel.</string>
128
<property name="minimum">
131
<property name="maximum">
132
<number>10000</number>
134
<property name="value">
137
<property name="prefEntry" stdset="0">
138
<cstring>GridSizePixelThreshold</cstring>
140
<property name="prefPath" stdset="0">
141
<cstring>Mod/Sketcher/General</cstring>
149
<widget class="QGroupBox" name="groupBox_2">
150
<property name="title">
151
<string>Grid display</string>
153
<property name="sizePolicy">
154
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
155
<horstretch>0</horstretch>
156
<verstretch>0</verstretch>
159
<layout class="QVBoxLayout" name="vLayout">
161
<widget class="QGroupBox" name="groupBox_3">
162
<property name="title">
163
<string>Minor grid lines</string>
165
<property name="sizePolicy">
166
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
167
<horstretch>0</horstretch>
168
<verstretch>0</verstretch>
171
<layout class="QGridLayout" name="QGridLayout_2">
172
<item row="0" column="0">
173
<widget class="QLabel" name="label_2">
174
<property name="text">
175
<string>Line pattern</string>
177
<property name="buddy">
178
<cstring>gridLinePattern</cstring>
182
<item row="0" column="1">
183
<widget class="QComboBox" name="gridLinePattern">
184
<property name="toolTip">
185
<string>Line pattern used for grid lines.</string>
187
<property name="currentIndex">
192
<item row="1" column="0">
193
<widget class="QLabel" name="label_gridLineWidth">
194
<property name="text">
195
<string>Line width</string>
197
<property name="buddy">
198
<cstring>gridLineWidth</cstring>
202
<item row="1" column="1">
203
<widget class="Gui::PrefSpinBox" name="gridLineWidth">
204
<property name="toolTip">
205
<string>Distance between two subsequent grid lines</string>
207
<property name="unit" stdset="0">
208
<string notr="true">mm</string>
210
<property name="minimum">
213
<property name="maximum">
216
<property name="value">
219
<property name="prefEntry" stdset="0">
220
<cstring>GridLineWidth</cstring>
222
<property name="prefPath" stdset="0">
223
<cstring>Mod/Sketcher/General</cstring>
227
<item row="2" column="0">
228
<widget class="QLabel" name="label_gridLineColor">
229
<property name="text">
230
<string>Line color</string>
232
<property name="buddy">
233
<cstring>gridLineColor</cstring>
237
<item row="2" column="1">
238
<widget class="Gui::PrefColorButton" name="gridLineColor">
239
<property name="sizePolicy">
240
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
241
<horstretch>0</horstretch>
242
<verstretch>0</verstretch>
245
<property name="text">
248
<property name="color">
255
<property name="prefEntry" stdset="0">
256
<cstring>GridLineColor</cstring>
258
<property name="prefPath" stdset="0">
259
<cstring>Mod/Sketcher/General</cstring>
267
<widget class="QGroupBox" name="groupBox_4">
268
<property name="title">
269
<string>Major grid lines</string>
271
<property name="sizePolicy">
272
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
273
<horstretch>0</horstretch>
274
<verstretch>0</verstretch>
277
<layout class="QGridLayout" name="QGridLayout_3">
278
<item row="0" column="0">
279
<widget class="QLabel" name="label_gridNumberSubdivision">
280
<property name="text">
281
<string>Major grid line every:</string>
283
<property name="buddy">
284
<cstring>gridNumberSubdivision</cstring>
288
<item row="0" column="1">
289
<widget class="Gui::PrefSpinBox" name="gridNumberSubdivision">
290
<property name="toolTip">
291
<string>Every N lines there will be a major line. Set to 1 to disable major lines.</string>
293
<property name="minimum">
296
<property name="maximum">
297
<number>10000</number>
299
<property name="value">
302
<property name="prefEntry" stdset="0">
303
<cstring>GridNumberSubdivision</cstring>
305
<property name="prefPath" stdset="0">
306
<cstring>Mod/Sketcher/General</cstring>
310
<item row="1" column="0">
311
<widget class="QLabel" name="label_22">
312
<property name="text">
313
<string>Line pattern</string>
315
<property name="buddy">
316
<cstring>gridDivLinePattern</cstring>
320
<item row="1" column="1">
321
<widget class="QComboBox" name="gridDivLinePattern">
322
<property name="toolTip">
323
<string>Line pattern used for grid division.</string>
325
<property name="currentIndex">
330
<item row="2" column="0">
331
<widget class="QLabel" name="label_gridDivLineWidth">
332
<property name="text">
333
<string>Line width</string>
335
<property name="buddy">
336
<cstring>gridDivLineWidth</cstring>
340
<item row="2" column="1">
341
<widget class="Gui::PrefSpinBox" name="gridDivLineWidth">
342
<property name="toolTip">
343
<string>Distance between two subsequent division lines</string>
345
<property name="minimum">
348
<property name="maximum">
351
<property name="value">
354
<property name="prefEntry" stdset="0">
355
<cstring>GridDivLineWidth</cstring>
357
<property name="prefPath" stdset="0">
358
<cstring>Mod/Sketcher/General</cstring>
362
<item row="3" column="0">
363
<widget class="QLabel" name="label_gridDivLineColor">
364
<property name="text">
365
<string>Line color</string>
367
<property name="buddy">
368
<cstring>gridDivLineColor</cstring>
372
<item row="3" column="1">
373
<widget class="Gui::PrefColorButton" name="gridDivLineColor">
374
<property name="sizePolicy">
375
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
376
<horstretch>0</horstretch>
377
<verstretch>0</verstretch>
380
<property name="text">
383
<property name="color">
390
<property name="prefEntry" stdset="0">
391
<cstring>GridDivLineColor</cstring>
393
<property name="prefPath" stdset="0">
394
<cstring>Mod/Sketcher/General</cstring>
405
<spacer name="verticalSpacer">
406
<property name="orientation">
407
<enum>Qt::Vertical</enum>
409
<property name="sizeHint" stdset="0">
421
<class>Gui::PrefSpinBox</class>
422
<extends>QSpinBox</extends>
423
<header>Gui/PrefWidgets.h</header>
426
<class>Gui::PrefCheckBox</class>
427
<extends>QCheckBox</extends>
428
<header>Gui/PrefWidgets.h</header>
431
<class>Gui::PrefQuantitySpinBox</class>
432
<extends>Gui::QuantitySpinBox</extends>
433
<header>Gui/PrefWidgets.h</header>
436
<class>Gui::QuantitySpinBox</class>
437
<extends>QAbstractSpinBox</extends>
438
<header>Gui/QuantitySpinBox.h</header>
441
<class>Gui::PrefColorButton</class>
442
<extends>Gui::ColorButton</extends>
443
<header>Gui/PrefWidgets.h</header>
446
<class>Gui::ColorButton</class>
447
<extends>QPushButton</extends>
448
<header>Gui/Widgets.h</header>