FreeCAD

Форк
0
/
DlgSettingsObjectColor.ui 
621 строка · 19.0 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>PartGui::DlgSettingsObjectColor</class>
4
 <widget class="QWidget" name="PartGui::DlgSettingsObjectColor">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>476</width>
10
    <height>378</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>Shape appearance</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <widget class="QGroupBox" name="groupBoxDefaultColors">
19
     <property name="title">
20
      <string>Default Shape view properties</string>
21
     </property>
22
     <layout class="QHBoxLayout" name="horizontalLayout">
23
      <item>
24
       <layout class="QGridLayout" name="gridLayout">
25
        <item row="0" column="0">
26
         <widget class="QLabel" name="label_6">
27
          <property name="minimumSize">
28
           <size>
29
            <width>182</width>
30
            <height>0</height>
31
           </size>
32
          </property>
33
          <property name="text">
34
           <string>Shape color</string>
35
          </property>
36
         </widget>
37
        </item>
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>
42
          </property>
43
          <property name="color">
44
           <color>
45
            <red>204</red>
46
            <green>204</green>
47
            <blue>230</blue>
48
           </color>
49
          </property>
50
          <property name="prefEntry" stdset="0">
51
           <cstring>DefaultShapeColor</cstring>
52
          </property>
53
          <property name="prefPath" stdset="0">
54
           <cstring>View</cstring>
55
          </property>
56
         </widget>
57
        </item>
58
        <item row="0" column="2">
59
         <widget class="Gui::PrefCheckBox" name="checkRandomColor">
60
          <property name="toolTip">
61
           <string>Use random color instead</string>
62
          </property>
63
          <property name="text">
64
           <string>Random</string>
65
          </property>
66
          <property name="prefEntry" stdset="0">
67
           <cstring>RandomColor</cstring>
68
          </property>
69
          <property name="prefPath" stdset="0">
70
           <cstring>View</cstring>
71
          </property>
72
         </widget>
73
        </item>
74
        <item row="1" column="0">
75
         <widget class="QLabel" name="label_ambient">
76
          <property name="minimumSize">
77
           <size>
78
            <width>182</width>
79
            <height>0</height>
80
           </size>
81
          </property>
82
          <property name="text">
83
           <string>Ambient shape color</string>
84
          </property>
85
         </widget>
86
        </item>
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>
91
          </property>
92
          <property name="color">
93
           <color>
94
            <red>85</red>
95
            <green>85</green>
96
            <blue>85</blue>
97
           </color>
98
          </property>
99
          <property name="prefEntry" stdset="0">
100
           <cstring>DefaultAmbientColor</cstring>
101
          </property>
102
          <property name="prefPath" stdset="0">
103
           <cstring>View</cstring>
104
          </property>
105
         </widget>
106
        </item>
107
        <item row="2" column="0">
108
         <widget class="QLabel" name="label_emissive">
109
          <property name="minimumSize">
110
           <size>
111
            <width>182</width>
112
            <height>0</height>
113
           </size>
114
          </property>
115
          <property name="text">
116
           <string>Emissive shape color</string>
117
          </property>
118
         </widget>
119
        </item>
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>
124
          </property>
125
          <property name="color">
126
           <color>
127
            <red>0</red>
128
            <green>0</green>
129
            <blue>0</blue>
130
           </color>
131
          </property>
132
          <property name="prefEntry" stdset="0">
133
           <cstring>DefaultEmissiveColor</cstring>
134
          </property>
135
          <property name="prefPath" stdset="0">
136
           <cstring>View</cstring>
137
          </property>
138
         </widget>
139
        </item>
140
        <item row="3" column="0">
141
         <widget class="QLabel" name="label_specular">
142
          <property name="minimumSize">
143
           <size>
144
            <width>182</width>
145
            <height>0</height>
146
           </size>
147
          </property>
148
          <property name="text">
149
           <string>Specular shape color</string>
150
          </property>
151
         </widget>
152
        </item>
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>
157
          </property>
158
          <property name="color">
159
           <color>
160
            <red>136</red>
161
            <green>136</green>
162
            <blue>136</blue>
163
           </color>
164
          </property>
165
          <property name="prefEntry" stdset="0">
166
           <cstring>DefaultSpecularColor</cstring>
167
          </property>
168
          <property name="prefPath" stdset="0">
169
           <cstring>View</cstring>
170
          </property>
171
         </widget>
172
        </item>
173
        <item row="4" column="0">
174
         <widget class="QLabel" name="label_transparency">
175
          <property name="minimumSize">
176
           <size>
177
            <width>182</width>
178
            <height>0</height>
179
           </size>
180
          </property>
181
          <property name="text">
182
           <string>Shape transparency</string>
183
          </property>
184
         </widget>
185
        </item>
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>
190
          </property>
191
          <property name="suffix">
192
           <string notr="true">%</string>
193
          </property>
194
          <property name="maximum">
195
           <number>100</number>
196
          </property>
197
          <property name="singleStep">
198
           <number>5</number>
199
          </property>
200
          <property name="prefEntry" stdset="0">
201
           <cstring>DefaultShapeTransparency</cstring>
202
          </property>
203
          <property name="prefPath" stdset="0">
204
           <cstring>View</cstring>
205
          </property>
206
         </widget>
207
        </item>
208
        <item row="5" column="0">
209
         <widget class="QLabel" name="label_shininess">
210
          <property name="minimumSize">
211
           <size>
212
            <width>182</width>
213
            <height>0</height>
214
           </size>
215
          </property>
216
          <property name="text">
217
           <string>Shape shininess</string>
218
          </property>
219
         </widget>
220
        </item>
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>
225
          </property>
226
          <property name="suffix">
227
           <string notr="true">%</string>
228
          </property>
229
          <property name="maximum">
230
           <number>100</number>
231
          </property>
232
          <property name="value">
233
           <number>90</number>
234
          </property>
235
          <property name="singleStep">
236
           <number>5</number>
237
          </property>
238
          <property name="prefEntry" stdset="0">
239
           <cstring>DefaultShapeShininess</cstring>
240
          </property>
241
          <property name="prefPath" stdset="0">
242
           <cstring>View</cstring>
243
          </property>
244
         </widget>
245
        </item>
246
        <item row="6" column="0">
247
         <widget class="QLabel" name="label_7">
248
          <property name="minimumSize">
249
           <size>
250
            <width>182</width>
251
            <height>0</height>
252
           </size>
253
          </property>
254
          <property name="text">
255
           <string>Line color</string>
256
          </property>
257
         </widget>
258
        </item>
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>
263
          </property>
264
          <property name="color">
265
           <color>
266
            <red>25</red>
267
            <green>25</green>
268
            <blue>25</blue>
269
           </color>
270
          </property>
271
          <property name="prefEntry" stdset="0">
272
           <cstring>DefaultShapeLineColor</cstring>
273
          </property>
274
          <property name="prefPath" stdset="0">
275
           <cstring>View</cstring>
276
          </property>
277
         </widget>
278
        </item>
279
        <item row="7" column="0">
280
         <widget class="QLabel" name="label_9">
281
          <property name="minimumSize">
282
           <size>
283
            <width>182</width>
284
            <height>0</height>
285
           </size>
286
          </property>
287
          <property name="text">
288
           <string>Line width</string>
289
          </property>
290
         </widget>
291
        </item>
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>
296
          </property>
297
          <property name="suffix">
298
           <string>px</string>
299
          </property>
300
          <property name="maximum">
301
           <number>9</number>
302
          </property>
303
          <property name="value">
304
           <number>2</number>
305
          </property>
306
          <property name="prefEntry" stdset="0">
307
           <cstring>DefaultShapeLineWidth</cstring>
308
          </property>
309
          <property name="prefPath" stdset="0">
310
           <cstring>View</cstring>
311
          </property>
312
         </widget>
313
        </item>
314
        <item row="8" column="0">
315
         <widget class="QLabel" name="label_10">
316
          <property name="minimumSize">
317
           <size>
318
            <width>182</width>
319
            <height>0</height>
320
           </size>
321
          </property>
322
          <property name="text">
323
           <string>Vertex color</string>
324
          </property>
325
         </widget>
326
        </item>
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>
331
          </property>
332
          <property name="color">
333
           <color>
334
            <red>25</red>
335
            <green>25</green>
336
            <blue>25</blue>
337
           </color>
338
          </property>
339
          <property name="prefEntry" stdset="0">
340
           <cstring>DefaultShapeVertexColor</cstring>
341
          </property>
342
          <property name="prefPath" stdset="0">
343
           <cstring>View</cstring>
344
          </property>
345
         </widget>
346
        </item>
347
        <item row="9" column="0">
348
         <widget class="QLabel" name="label_11">
349
          <property name="minimumSize">
350
           <size>
351
            <width>182</width>
352
            <height>0</height>
353
           </size>
354
          </property>
355
          <property name="text">
356
           <string>Vertex size</string>
357
          </property>
358
         </widget>
359
        </item>
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>
364
          </property>
365
          <property name="suffix">
366
           <string>px</string>
367
          </property>
368
          <property name="maximum">
369
           <number>9</number>
370
          </property>
371
          <property name="value">
372
           <number>2</number>
373
          </property>
374
          <property name="prefEntry" stdset="0">
375
           <cstring>DefaultShapePointSize</cstring>
376
          </property>
377
          <property name="prefPath" stdset="0">
378
           <cstring>View</cstring>
379
          </property>
380
         </widget>
381
        </item>
382
        <item row="10" column="0">
383
         <widget class="QLabel" name="label_8">
384
          <property name="minimumSize">
385
           <size>
386
            <width>182</width>
387
            <height>0</height>
388
           </size>
389
          </property>
390
          <property name="text">
391
           <string>Bounding box color</string>
392
          </property>
393
         </widget>
394
        </item>
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>
399
          </property>
400
          <property name="color">
401
           <color>
402
            <red>255</red>
403
            <green>255</green>
404
            <blue>255</blue>
405
           </color>
406
          </property>
407
          <property name="prefEntry" stdset="0">
408
           <cstring>BoundingBoxColor</cstring>
409
          </property>
410
          <property name="prefPath" stdset="0">
411
           <cstring>View</cstring>
412
          </property>
413
         </widget>
414
        </item>
415
        <item row="11" column="0">
416
         <widget class="QLabel" name="label_fontsize">
417
          <property name="minimumSize">
418
           <size>
419
            <width>182</width>
420
            <height>0</height>
421
           </size>
422
          </property>
423
          <property name="text">
424
           <string>Bounding box font size</string>
425
          </property>
426
         </widget>
427
        </item>
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>
432
          </property>
433
          <property name="suffix">
434
           <string notr="true">pt</string>
435
          </property>
436
          <property name="decimals">
437
           <number>1</number>
438
          </property>
439
          <property name="minimum">
440
           <double>2.000000000000000</double>
441
          </property>
442
          <property name="maximum">
443
           <double>64.000000000000000</double>
444
          </property>
445
          <property name="value">
446
           <double>10.000000000000000</double>
447
          </property>
448
          <property name="prefEntry" stdset="0">
449
           <cstring>BoundingBoxFontSize</cstring>
450
          </property>
451
          <property name="prefPath" stdset="0">
452
           <cstring>View</cstring>
453
          </property>
454
         </widget>
455
        </item>
456
        <item row="12" column="0">
457
         <widget class="Gui::PrefCheckBox" name="twosideRendering">
458
          <property name="minimumSize">
459
           <size>
460
            <width>182</width>
461
            <height>0</height>
462
           </size>
463
          </property>
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 &quot;Backlight color&quot;
467
(preferences section Display -&gt; 3D View); either the backlight color
468
will be used or black.</string>
469
          </property>
470
          <property name="text">
471
           <string>Two-side rendering</string>
472
          </property>
473
          <property name="checked">
474
           <bool>true</bool>
475
          </property>
476
          <property name="prefEntry" stdset="0">
477
           <cstring>TwoSideRendering</cstring>
478
          </property>
479
          <property name="prefPath" stdset="0">
480
           <cstring>Mod/Part</cstring>
481
          </property>
482
         </widget>
483
        </item>
484
       </layout>
485
      </item>
486
      <item>
487
       <spacer name="horizontalSpacer">
488
        <property name="orientation">
489
         <enum>Qt::Horizontal</enum>
490
        </property>
491
        <property name="sizeHint" stdset="0">
492
         <size>
493
          <width>28</width>
494
          <height>20</height>
495
         </size>
496
        </property>
497
       </spacer>
498
      </item>
499
     </layout>
500
    </widget>
501
   </item>
502
   <item>
503
    <widget class="QGroupBox" name="groupBox">
504
     <property name="title">
505
      <string>Default Annotation color</string>
506
     </property>
507
     <layout class="QHBoxLayout" name="horizontalLayout_2">
508
      <item>
509
       <layout class="QGridLayout" name="gridLayout_2">
510
        <item row="0" column="0">
511
         <widget class="QLabel" name="label">
512
          <property name="minimumSize">
513
           <size>
514
            <width>182</width>
515
            <height>0</height>
516
           </size>
517
          </property>
518
          <property name="text">
519
           <string>Text color</string>
520
          </property>
521
         </widget>
522
        </item>
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>
527
          </property>
528
          <property name="prefEntry" stdset="0">
529
           <cstring>AnnotationTextColor</cstring>
530
          </property>
531
          <property name="prefPath" stdset="0">
532
           <cstring>View</cstring>
533
          </property>
534
         </widget>
535
        </item>
536
       </layout>
537
      </item>
538
      <item>
539
       <spacer name="horizontalSpacer_2">
540
        <property name="orientation">
541
         <enum>Qt::Horizontal</enum>
542
        </property>
543
        <property name="sizeHint" stdset="0">
544
         <size>
545
          <width>28</width>
546
          <height>20</height>
547
         </size>
548
        </property>
549
       </spacer>
550
      </item>
551
     </layout>
552
    </widget>
553
   </item>
554
   <item>
555
    <spacer name="verticalSpacer">
556
     <property name="orientation">
557
      <enum>Qt::Vertical</enum>
558
     </property>
559
     <property name="sizeHint" stdset="0">
560
      <size>
561
       <width>20</width>
562
       <height>217</height>
563
      </size>
564
     </property>
565
    </spacer>
566
   </item>
567
  </layout>
568
 </widget>
569
 <customwidgets>
570
  <customwidget>
571
   <class>Gui::ColorButton</class>
572
   <extends>QPushButton</extends>
573
   <header>Gui/Widgets.h</header>
574
  </customwidget>
575
  <customwidget>
576
   <class>Gui::PrefSpinBox</class>
577
   <extends>QSpinBox</extends>
578
   <header>Gui/PrefWidgets.h</header>
579
  </customwidget>
580
  <customwidget>
581
   <class>Gui::PrefColorButton</class>
582
   <extends>Gui::ColorButton</extends>
583
   <header>Gui/PrefWidgets.h</header>
584
  </customwidget>
585
  <customwidget>
586
   <class>Gui::PrefCheckBox</class>
587
   <extends>QCheckBox</extends>
588
   <header>Gui/PrefWidgets.h</header>
589
  </customwidget>
590
  <customwidget>
591
   <class>Gui::PrefDoubleSpinBox</class>
592
   <extends>QDoubleSpinBox</extends>
593
   <header>Gui/PrefWidgets.h</header>
594
  </customwidget>
595
 </customwidgets>
596
 <tabstops>
597
  <tabstop>DefaultShapeColor</tabstop>
598
  <tabstop>DefaultShapeLineWidth</tabstop>
599
  <tabstop>DefaultShapeLineColor</tabstop>
600
  <tabstop>BoundingBoxColor</tabstop>
601
 </tabstops>
602
 <resources/>
603
 <connections>
604
  <connection>
605
   <sender>checkRandomColor</sender>
606
   <signal>toggled(bool)</signal>
607
   <receiver>DefaultShapeColor</receiver>
608
   <slot>setDisabled(bool)</slot>
609
   <hints>
610
    <hint type="sourcelabel">
611
     <x>20</x>
612
     <y>20</y>
613
    </hint>
614
    <hint type="destinationlabel">
615
     <x>20</x>
616
     <y>20</y>
617
    </hint>
618
   </hints>
619
  </connection>
620
 </connections>
621
</ui>
622

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

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

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

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