FreeCAD

Форк
0
/
SketcherSettingsGrid.ui 
453 строки · 14.5 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>SketcherGui::SketcherSettingsGrid</class>
4
 <widget class="QWidget" name="SketcherGui::SketcherSettingsGrid">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>500</width>
10
    <height>664</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Grid</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <widget class="QGroupBox" name="groupBox_1">
19
     <property name="title">
20
      <string>Grid settings</string>
21
     </property>
22
     <property name="sizePolicy">
23
      <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
24
       <horstretch>0</horstretch>
25
       <verstretch>0</verstretch>
26
      </sizepolicy>
27
     </property>
28
     <layout class="QGridLayout" name="QGridLayout_1">
29
      <item row="0" column="0">
30
       <widget class="Gui::PrefCheckBox" name="checkBoxShowGrid">
31
        <property name="enabled">
32
         <bool>true</bool>
33
        </property>
34
        <property name="toolTip">
35
         <string>A grid will be shown</string>
36
        </property>
37
        <property name="text">
38
         <string>Grid</string>
39
        </property>
40
        <property name="checked">
41
         <bool>false</bool>
42
        </property>
43
        <property name="prefEntry" stdset="0">
44
         <cstring>ShowGrid</cstring>
45
        </property>
46
        <property name="prefPath" stdset="0">
47
         <cstring>Mod/Sketcher/General</cstring>
48
        </property>
49
       </widget>
50
      </item>
51
      <item row="1" column="0">
52
       <widget class="Gui::PrefCheckBox" name="checkBoxGridAuto">
53
        <property name="checked">
54
         <bool>true</bool>
55
        </property>
56
        <property name="toolTip">
57
         <string>Automatically adapt grid spacing based on the viewer dimensions.</string>
58
        </property>
59
        <property name="text">
60
         <string>Grid Auto Spacing</string>
61
        </property>
62
        <property name="prefEntry" stdset="0">
63
         <cstring>GridAuto</cstring>
64
        </property>
65
        <property name="prefPath" stdset="0">
66
         <cstring>Mod/Sketcher/General</cstring>
67
        </property>
68
       </widget>
69
      </item>
70
      <item row="2" column="0">
71
       <widget class="QLabel" name="label_gridSize">
72
        <property name="text">
73
         <string>Grid spacing</string>
74
        </property>
75
        <property name="buddy">
76
         <cstring>gridSize</cstring>
77
        </property>
78
       </widget>
79
      </item>
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>
85
        </property>
86
        <property name="unit" stdset="0">
87
         <string notr="true">mm</string>
88
        </property>
89
        <property name="minimum">
90
         <double>0.001000000000000</double>
91
        </property>
92
        <property name="maximum">
93
         <double>99999999.000000000000000</double>
94
        </property>
95
        <property name="singleStep">
96
         <double>1.000000000000000</double>
97
        </property>
98
        <property name="value">
99
         <double>10.000000000000000</double>
100
        </property>
101
        <property name="prefEntry" stdset="0">
102
         <cstring>GridSize</cstring>
103
        </property>
104
        <property name="prefPath" stdset="0">
105
         <cstring>Mod/Sketcher/General/GridSize</cstring>
106
        </property>
107
        <property name="decimals" stdset="0">
108
         <number>3</number>
109
        </property>
110
       </widget>
111
      </item>
112
      <item row="3" column="0">
113
       <widget class="QLabel" name="label_gridSizePixelThreshold">
114
        <property name="text">
115
         <string>Pixel size threshold</string>
116
        </property>
117
        <property name="buddy">
118
         <cstring>gridNumberSubdivision</cstring>
119
        </property>
120
       </widget>
121
      </item>
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>
127
        </property>
128
        <property name="minimum">
129
         <number>3</number>
130
        </property>
131
        <property name="maximum">
132
         <number>10000</number>
133
        </property>
134
        <property name="value">
135
         <number>15</number>
136
        </property>
137
        <property name="prefEntry" stdset="0">
138
         <cstring>GridSizePixelThreshold</cstring>
139
        </property>
140
        <property name="prefPath" stdset="0">
141
         <cstring>Mod/Sketcher/General</cstring>
142
        </property>
143
       </widget>
144
      </item>
145
     </layout>
146
    </widget>
147
   </item>
148
   <item>
149
    <widget class="QGroupBox" name="groupBox_2">
150
     <property name="title">
151
      <string>Grid display</string>
152
     </property>
153
     <property name="sizePolicy">
154
      <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
155
       <horstretch>0</horstretch>
156
       <verstretch>0</verstretch>
157
      </sizepolicy>
158
     </property>
159
     <layout class="QVBoxLayout" name="vLayout">
160
      <item>
161
       <widget class="QGroupBox" name="groupBox_3">
162
        <property name="title">
163
         <string>Minor grid lines</string>
164
        </property>
165
        <property name="sizePolicy">
166
         <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
167
          <horstretch>0</horstretch>
168
          <verstretch>0</verstretch>
169
         </sizepolicy>
170
        </property>
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>
176
           </property>
177
           <property name="buddy">
178
            <cstring>gridLinePattern</cstring>
179
           </property>
180
          </widget>
181
         </item>
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>
186
           </property>
187
           <property name="currentIndex">
188
            <number>-1</number>
189
           </property>
190
          </widget>
191
         </item>
192
         <item row="1" column="0">
193
          <widget class="QLabel" name="label_gridLineWidth">
194
           <property name="text">
195
            <string>Line width</string>
196
           </property>
197
           <property name="buddy">
198
            <cstring>gridLineWidth</cstring>
199
           </property>
200
          </widget>
201
         </item>
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>
206
           </property>
207
           <property name="unit" stdset="0">
208
            <string notr="true">mm</string>
209
           </property>
210
           <property name="minimum">
211
            <number>1</number>
212
           </property>
213
           <property name="maximum">
214
            <number>99</number>
215
           </property>
216
           <property name="value">
217
            <number>1</number>
218
           </property>
219
           <property name="prefEntry" stdset="0">
220
            <cstring>GridLineWidth</cstring>
221
           </property>
222
           <property name="prefPath" stdset="0">
223
            <cstring>Mod/Sketcher/General</cstring>
224
           </property>
225
          </widget>
226
         </item>
227
         <item row="2" column="0">
228
          <widget class="QLabel" name="label_gridLineColor">
229
           <property name="text">
230
            <string>Line color</string>
231
           </property>
232
           <property name="buddy">
233
            <cstring>gridLineColor</cstring>
234
           </property>
235
          </widget>
236
         </item>
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>
243
            </sizepolicy>
244
           </property>
245
           <property name="text">
246
            <string/>
247
           </property>
248
           <property name="color">
249
            <color>
250
             <red>178</red>
251
             <green>178</green>
252
             <blue>178</blue>
253
            </color>
254
           </property>
255
           <property name="prefEntry" stdset="0">
256
            <cstring>GridLineColor</cstring>
257
           </property>
258
           <property name="prefPath" stdset="0">
259
            <cstring>Mod/Sketcher/General</cstring>
260
           </property>
261
          </widget>
262
         </item>
263
        </layout>
264
       </widget>
265
      </item>
266
      <item>
267
       <widget class="QGroupBox" name="groupBox_4">
268
        <property name="title">
269
         <string>Major grid lines</string>
270
        </property>
271
        <property name="sizePolicy">
272
         <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
273
          <horstretch>0</horstretch>
274
          <verstretch>0</verstretch>
275
         </sizepolicy>
276
        </property>
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>
282
           </property>
283
           <property name="buddy">
284
            <cstring>gridNumberSubdivision</cstring>
285
           </property>
286
          </widget>
287
         </item>
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>
292
           </property>
293
           <property name="minimum">
294
            <number>1</number>
295
           </property>
296
           <property name="maximum">
297
            <number>10000</number>
298
           </property>
299
           <property name="value">
300
            <number>10</number>
301
           </property>
302
           <property name="prefEntry" stdset="0">
303
            <cstring>GridNumberSubdivision</cstring>
304
           </property>
305
           <property name="prefPath" stdset="0">
306
            <cstring>Mod/Sketcher/General</cstring>
307
           </property>
308
          </widget>
309
         </item>
310
         <item row="1" column="0">
311
          <widget class="QLabel" name="label_22">
312
           <property name="text">
313
            <string>Line pattern</string>
314
           </property>
315
           <property name="buddy">
316
            <cstring>gridDivLinePattern</cstring>
317
           </property>
318
          </widget>
319
         </item>
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>
324
           </property>
325
           <property name="currentIndex">
326
            <number>-1</number>
327
           </property>
328
          </widget>
329
         </item>
330
         <item row="2" column="0">
331
          <widget class="QLabel" name="label_gridDivLineWidth">
332
           <property name="text">
333
            <string>Line width</string>
334
           </property>
335
           <property name="buddy">
336
            <cstring>gridDivLineWidth</cstring>
337
           </property>
338
          </widget>
339
         </item>
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>
344
           </property>
345
           <property name="minimum">
346
            <number>1</number>
347
           </property>
348
           <property name="maximum">
349
            <number>99</number>
350
           </property>
351
           <property name="value">
352
            <number>2</number>
353
           </property>
354
           <property name="prefEntry" stdset="0">
355
            <cstring>GridDivLineWidth</cstring>
356
           </property>
357
           <property name="prefPath" stdset="0">
358
            <cstring>Mod/Sketcher/General</cstring>
359
           </property>
360
          </widget>
361
         </item>
362
         <item row="3" column="0">
363
          <widget class="QLabel" name="label_gridDivLineColor">
364
           <property name="text">
365
            <string>Line color</string>
366
           </property>
367
           <property name="buddy">
368
            <cstring>gridDivLineColor</cstring>
369
           </property>
370
          </widget>
371
         </item>
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>
378
            </sizepolicy>
379
           </property>
380
           <property name="text">
381
            <string/>
382
           </property>
383
           <property name="color">
384
            <color>
385
             <red>178</red>
386
             <green>178</green>
387
             <blue>178</blue>
388
            </color>
389
           </property>
390
           <property name="prefEntry" stdset="0">
391
            <cstring>GridDivLineColor</cstring>
392
           </property>
393
           <property name="prefPath" stdset="0">
394
            <cstring>Mod/Sketcher/General</cstring>
395
           </property>
396
          </widget>
397
         </item>
398
         </layout>
399
       </widget>
400
      </item>
401
     </layout>
402
    </widget>
403
   </item>
404
   <item>
405
    <spacer name="verticalSpacer">
406
     <property name="orientation">
407
      <enum>Qt::Vertical</enum>
408
     </property>
409
     <property name="sizeHint" stdset="0">
410
      <size>
411
       <width>20</width>
412
       <height>40</height>
413
      </size>
414
     </property>
415
    </spacer>
416
   </item>
417
  </layout>
418
 </widget>
419
 <customwidgets>
420
  <customwidget>
421
   <class>Gui::PrefSpinBox</class>
422
   <extends>QSpinBox</extends>
423
   <header>Gui/PrefWidgets.h</header>
424
  </customwidget>
425
  <customwidget>
426
   <class>Gui::PrefCheckBox</class>
427
   <extends>QCheckBox</extends>
428
   <header>Gui/PrefWidgets.h</header>
429
  </customwidget>
430
  <customwidget>
431
   <class>Gui::PrefQuantitySpinBox</class>
432
   <extends>Gui::QuantitySpinBox</extends>
433
   <header>Gui/PrefWidgets.h</header>
434
  </customwidget>
435
  <customwidget>
436
   <class>Gui::QuantitySpinBox</class>
437
   <extends>QAbstractSpinBox</extends>
438
   <header>Gui/QuantitySpinBox.h</header>
439
  </customwidget>
440
  <customwidget>
441
   <class>Gui::PrefColorButton</class>
442
   <extends>Gui::ColorButton</extends>
443
   <header>Gui/PrefWidgets.h</header>
444
  </customwidget>
445
  <customwidget>
446
   <class>Gui::ColorButton</class>
447
   <extends>QPushButton</extends>
448
   <header>Gui/Widgets.h</header>
449
  </customwidget>
450
 </customwidgets>
451
 <resources/>
452
 <connections/>
453
</ui>
454

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.