FreeCAD

Форк
0
/
SectionCutting.ui 
683 строки · 18.9 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>PartGui::SectionCut</class>
4
 <widget class="QDialog" name="PartGui::SectionCut">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>230</width>
10
    <height>514</height>
11
   </rect>
12
  </property>
13
  <property name="maximumSize">
14
   <size>
15
    <width>450</width>
16
    <height>16777215</height>
17
   </size>
18
  </property>
19
  <property name="windowTitle">
20
   <string>Persistent Section Cutting</string>
21
  </property>
22
  <layout class="QGridLayout" name="gridLayout_6">
23
   <item row="0" column="0" colspan="3">
24
    <widget class="QGroupBox" name="groupBoxX">
25
     <property name="maximumSize">
26
      <size>
27
       <width>16777215</width>
28
       <height>16777215</height>
29
      </size>
30
     </property>
31
     <property name="title">
32
      <string>Cutting X</string>
33
     </property>
34
     <property name="checkable">
35
      <bool>true</bool>
36
     </property>
37
     <property name="checked">
38
      <bool>false</bool>
39
     </property>
40
     <layout class="QGridLayout" name="gridLayout">
41
      <item row="0" column="0">
42
       <widget class="QLabel" name="label">
43
        <property name="text">
44
         <string>Offset</string>
45
        </property>
46
       </widget>
47
      </item>
48
      <item row="0" column="1">
49
       <widget class="QDoubleSpinBox" name="cutX">
50
        <property name="keyboardTracking">
51
         <bool>false</bool>
52
        </property>
53
       </widget>
54
      </item>
55
      <item row="0" column="2">
56
       <spacer name="horizontalSpacer_2">
57
        <property name="orientation">
58
         <enum>Qt::Horizontal</enum>
59
        </property>
60
        <property name="sizeHint" stdset="0">
61
         <size>
62
          <width>20</width>
63
          <height>20</height>
64
         </size>
65
        </property>
66
       </spacer>
67
      </item>
68
      <item row="0" column="3">
69
       <widget class="QPushButton" name="flipX">
70
        <property name="text">
71
         <string>Flip</string>
72
        </property>
73
        <property name="checkable">
74
         <bool>true</bool>
75
        </property>
76
        <property name="flat">
77
         <bool>false</bool>
78
        </property>
79
       </widget>
80
      </item>
81
      <item row="1" column="0" colspan="4">
82
       <widget class="QSlider" name="cutXHS">
83
        <property name="maximum">
84
         <number>100</number>
85
        </property>
86
        <property name="sliderPosition">
87
         <number>50</number>
88
        </property>
89
        <property name="orientation">
90
         <enum>Qt::Horizontal</enum>
91
        </property>
92
       </widget>
93
      </item>
94
     </layout>
95
    </widget>
96
   </item>
97
   <item row="1" column="0" colspan="3">
98
    <widget class="QGroupBox" name="groupBoxY">
99
     <property name="maximumSize">
100
      <size>
101
       <width>16777215</width>
102
       <height>16777215</height>
103
      </size>
104
     </property>
105
     <property name="title">
106
      <string>Cutting Y</string>
107
     </property>
108
     <property name="checkable">
109
      <bool>true</bool>
110
     </property>
111
     <property name="checked">
112
      <bool>false</bool>
113
     </property>
114
     <layout class="QGridLayout" name="gridLayout_2">
115
      <item row="0" column="0">
116
       <widget class="QLabel" name="label_2">
117
        <property name="text">
118
         <string>Offset</string>
119
        </property>
120
       </widget>
121
      </item>
122
      <item row="0" column="1">
123
       <widget class="QDoubleSpinBox" name="cutY">
124
        <property name="keyboardTracking">
125
         <bool>false</bool>
126
        </property>
127
       </widget>
128
      </item>
129
      <item row="0" column="2">
130
       <spacer name="horizontalSpacer_3">
131
        <property name="orientation">
132
         <enum>Qt::Horizontal</enum>
133
        </property>
134
        <property name="sizeHint" stdset="0">
135
         <size>
136
          <width>20</width>
137
          <height>20</height>
138
         </size>
139
        </property>
140
       </spacer>
141
      </item>
142
      <item row="0" column="3">
143
       <widget class="QPushButton" name="flipY">
144
        <property name="text">
145
         <string>Flip</string>
146
        </property>
147
        <property name="checkable">
148
         <bool>true</bool>
149
        </property>
150
       </widget>
151
      </item>
152
      <item row="1" column="0" colspan="4">
153
       <widget class="QSlider" name="cutYHS">
154
        <property name="value">
155
         <number>50</number>
156
        </property>
157
        <property name="orientation">
158
         <enum>Qt::Horizontal</enum>
159
        </property>
160
       </widget>
161
      </item>
162
     </layout>
163
    </widget>
164
   </item>
165
   <item row="2" column="0" colspan="3">
166
    <widget class="QGroupBox" name="groupBoxZ">
167
     <property name="maximumSize">
168
      <size>
169
       <width>16777215</width>
170
       <height>16777215</height>
171
      </size>
172
     </property>
173
     <property name="title">
174
      <string>Cutting Z</string>
175
     </property>
176
     <property name="checkable">
177
      <bool>true</bool>
178
     </property>
179
     <property name="checked">
180
      <bool>false</bool>
181
     </property>
182
     <layout class="QGridLayout" name="gridLayout_3">
183
      <item row="0" column="0">
184
       <widget class="QLabel" name="label_3">
185
        <property name="text">
186
         <string>Offset</string>
187
        </property>
188
       </widget>
189
      </item>
190
      <item row="0" column="1">
191
       <widget class="QDoubleSpinBox" name="cutZ">
192
        <property name="keyboardTracking">
193
         <bool>false</bool>
194
        </property>
195
       </widget>
196
      </item>
197
      <item row="0" column="2">
198
       <spacer name="horizontalSpacer_4">
199
        <property name="orientation">
200
         <enum>Qt::Horizontal</enum>
201
        </property>
202
        <property name="sizeHint" stdset="0">
203
         <size>
204
          <width>20</width>
205
          <height>20</height>
206
         </size>
207
        </property>
208
       </spacer>
209
      </item>
210
      <item row="0" column="3">
211
       <widget class="QPushButton" name="flipZ">
212
        <property name="text">
213
         <string>Flip</string>
214
        </property>
215
        <property name="checkable">
216
         <bool>true</bool>
217
        </property>
218
       </widget>
219
      </item>
220
      <item row="1" column="0" colspan="4">
221
       <widget class="QSlider" name="cutZHS">
222
        <property name="minimum">
223
         <number>0</number>
224
        </property>
225
        <property name="maximum">
226
         <number>100</number>
227
        </property>
228
        <property name="value">
229
         <number>50</number>
230
        </property>
231
        <property name="orientation">
232
         <enum>Qt::Horizontal</enum>
233
        </property>
234
       </widget>
235
      </item>
236
     </layout>
237
    </widget>
238
   </item>
239
   <item row="3" column="0" colspan="3">
240
    <widget class="QGroupBox" name="CutfaceGB">
241
     <property name="title">
242
      <string>Cut face</string>
243
     </property>
244
     <layout class="QGridLayout" name="gridLayout_4">
245
      <item row="0" column="0">
246
       <widget class="QLabel" name="label_6">
247
        <property name="minimumSize">
248
         <size>
249
          <width>0</width>
250
          <height>0</height>
251
         </size>
252
        </property>
253
        <property name="toolTip">
254
         <string>Color of cut face</string>
255
        </property>
256
        <property name="text">
257
         <string>Color</string>
258
        </property>
259
       </widget>
260
      </item>
261
      <item row="0" column="1">
262
       <widget class="Gui::PrefColorButton" name="CutColor">
263
        <property name="enabled">
264
         <bool>false</bool>
265
        </property>
266
        <property name="minimumSize">
267
         <size>
268
          <width>50</width>
269
          <height>20</height>
270
         </size>
271
        </property>
272
        <property name="maximumSize">
273
         <size>
274
          <width>16777215</width>
275
          <height>16777215</height>
276
         </size>
277
        </property>
278
        <property name="color">
279
         <color>
280
          <red>203</red>
281
          <green>203</green>
282
          <blue>203</blue>
283
         </color>
284
        </property>
285
        <property name="prefEntry" stdset="0">
286
         <cstring>DefaultShapeColor</cstring>
287
        </property>
288
        <property name="prefPath" stdset="0">
289
         <cstring>View</cstring>
290
        </property>
291
       </widget>
292
      </item>
293
      <item row="0" column="2">
294
       <widget class="Gui::PrefCheckBox" name="autoCutfaceColorCB">
295
        <property name="minimumSize">
296
         <size>
297
          <width>0</width>
298
          <height>0</height>
299
         </size>
300
        </property>
301
        <property name="toolTip">
302
         <string>If checked, the color and transparency
303
will be taken from the cut objects.
304
Works only properly if all objects
305
have the same values.</string>
306
        </property>
307
        <property name="text">
308
         <string>Auto</string>
309
        </property>
310
        <property name="checked">
311
         <bool>true</bool>
312
        </property>
313
        <property name="prefEntry" stdset="0">
314
         <cstring>TwoSideRendering</cstring>
315
        </property>
316
        <property name="prefPath" stdset="0">
317
         <cstring>Mod/Part</cstring>
318
        </property>
319
       </widget>
320
      </item>
321
      <item row="1" column="0">
322
       <widget class="QLabel" name="label_7">
323
        <property name="minimumSize">
324
         <size>
325
          <width>0</width>
326
          <height>0</height>
327
         </size>
328
        </property>
329
        <property name="toolTip">
330
         <string>Transparency of cut face</string>
331
        </property>
332
        <property name="text">
333
         <string>Transparency</string>
334
        </property>
335
       </widget>
336
      </item>
337
      <item row="1" column="1" colspan="2">
338
       <widget class="Gui::PrefSlider" name="CutTransparencyHS">
339
        <property name="enabled">
340
         <bool>false</bool>
341
        </property>
342
        <property name="toolTip">
343
         <string notr="true">0 %</string>
344
        </property>
345
        <property name="maximum">
346
         <number>100</number>
347
        </property>
348
        <property name="orientation">
349
         <enum>Qt::Horizontal</enum>
350
        </property>
351
        <property name="prefEntry" stdset="0">
352
         <cstring>DefaultShapeTransparency</cstring>
353
        </property>
354
        <property name="prefPath" stdset="0">
355
         <cstring>View</cstring>
356
        </property>
357
       </widget>
358
      </item>
359
     </layout>
360
    </widget>
361
   </item>
362
   <item row="4" column="0" colspan="3">
363
    <widget class="QGroupBox" name="groupBoxIntersecting">
364
     <property name="maximumSize">
365
      <size>
366
       <width>16777215</width>
367
       <height>16777215</height>
368
      </size>
369
     </property>
370
     <property name="toolTip">
371
      <string>Allows to cut objects intersecting each other
372
for the price that all cut objects
373
will get the same color</string>
374
     </property>
375
     <property name="title">
376
      <string>Cut intersecting objects</string>
377
     </property>
378
     <property name="checkable">
379
      <bool>true</bool>
380
     </property>
381
     <property name="checked">
382
      <bool>false</bool>
383
     </property>
384
     <layout class="QGridLayout" name="gridLayout_5">
385
      <item row="0" column="0">
386
       <widget class="QLabel" name="label_9">
387
        <property name="minimumSize">
388
         <size>
389
          <width>0</width>
390
          <height>0</height>
391
         </size>
392
        </property>
393
        <property name="toolTip">
394
         <string>Color of cut face</string>
395
        </property>
396
        <property name="text">
397
         <string>Color</string>
398
        </property>
399
       </widget>
400
      </item>
401
      <item row="0" column="1">
402
       <widget class="Gui::PrefColorButton" name="BFragColor">
403
        <property name="enabled">
404
         <bool>false</bool>
405
        </property>
406
        <property name="minimumSize">
407
         <size>
408
          <width>50</width>
409
          <height>20</height>
410
         </size>
411
        </property>
412
        <property name="maximumSize">
413
         <size>
414
          <width>16777215</width>
415
          <height>16777215</height>
416
         </size>
417
        </property>
418
        <property name="toolTip">
419
         <string>Color for all objects</string>
420
        </property>
421
        <property name="color">
422
         <color>
423
          <red>203</red>
424
          <green>203</green>
425
          <blue>203</blue>
426
         </color>
427
        </property>
428
        <property name="prefEntry" stdset="0">
429
         <cstring>DefaultShapeColor</cstring>
430
        </property>
431
        <property name="prefPath" stdset="0">
432
         <cstring>View</cstring>
433
        </property>
434
       </widget>
435
      </item>
436
      <item row="0" column="2">
437
       <widget class="Gui::PrefCheckBox" name="autoBFColorCB">
438
        <property name="minimumSize">
439
         <size>
440
          <width>0</width>
441
          <height>0</height>
442
         </size>
443
        </property>
444
        <property name="toolTip">
445
         <string>If checked, the color and transparency
446
will be taken from the cut objects.
447
Works only properly if all objects
448
have the same values.</string>
449
        </property>
450
        <property name="text">
451
         <string>Auto</string>
452
        </property>
453
        <property name="checked">
454
         <bool>true</bool>
455
        </property>
456
        <property name="prefEntry" stdset="0">
457
         <cstring>TwoSideRendering</cstring>
458
        </property>
459
        <property name="prefPath" stdset="0">
460
         <cstring>Mod/Part</cstring>
461
        </property>
462
       </widget>
463
      </item>
464
      <item row="1" column="0">
465
       <widget class="QLabel" name="label_8">
466
        <property name="minimumSize">
467
         <size>
468
          <width>0</width>
469
          <height>0</height>
470
         </size>
471
        </property>
472
        <property name="toolTip">
473
         <string>Transparency of cut face</string>
474
        </property>
475
        <property name="text">
476
         <string>Transparency</string>
477
        </property>
478
       </widget>
479
      </item>
480
      <item row="1" column="1" colspan="2">
481
       <widget class="Gui::PrefSlider" name="BFragTransparencyHS">
482
        <property name="enabled">
483
         <bool>false</bool>
484
        </property>
485
        <property name="toolTip">
486
         <string notr="true">0 %</string>
487
        </property>
488
        <property name="maximum">
489
         <number>100</number>
490
        </property>
491
        <property name="orientation">
492
         <enum>Qt::Horizontal</enum>
493
        </property>
494
        <property name="prefEntry" stdset="0">
495
         <cstring>DefaultShapeTransparency</cstring>
496
        </property>
497
        <property name="prefPath" stdset="0">
498
         <cstring>View</cstring>
499
        </property>
500
       </widget>
501
      </item>
502
     </layout>
503
    </widget>
504
   </item>
505
   <item row="5" column="0">
506
    <widget class="QPushButton" name="RefreshCutPB">
507
     <property name="enabled">
508
      <bool>true</bool>
509
     </property>
510
     <property name="toolTip">
511
      <string>Refreshes the list of visible objects</string>
512
     </property>
513
     <property name="text">
514
      <string>Refresh view</string>
515
     </property>
516
    </widget>
517
   </item>
518
   <item row="5" column="1">
519
    <spacer name="horizontalSpacer_6">
520
     <property name="orientation">
521
      <enum>Qt::Horizontal</enum>
522
     </property>
523
     <property name="sizeHint" stdset="0">
524
      <size>
525
       <width>20</width>
526
       <height>20</height>
527
      </size>
528
     </property>
529
    </spacer>
530
   </item>
531
   <item row="5" column="2">
532
    <widget class="QDialogButtonBox" name="buttonBox">
533
     <property name="orientation">
534
      <enum>Qt::Horizontal</enum>
535
     </property>
536
     <property name="standardButtons">
537
      <set>QDialogButtonBox::Close</set>
538
     </property>
539
    </widget>
540
   </item>
541
   <item row="6" column="0" colspan="3">
542
    <widget class="QCheckBox" name="keepOnlyCutCB">
543
     <property name="toolTip">
544
      <string>When the dialog is closed,
545
only created cuts will be visible</string>
546
     </property>
547
     <property name="text">
548
      <string>Keep only cuts visible when closing</string>
549
     </property>
550
    </widget>
551
   </item>
552
   <item row="7" column="1">
553
    <spacer name="verticalSpacer">
554
     <property name="orientation">
555
      <enum>Qt::Vertical</enum>
556
     </property>
557
     <property name="sizeHint" stdset="0">
558
      <size>
559
       <width>20</width>
560
       <height>40</height>
561
      </size>
562
     </property>
563
    </spacer>
564
   </item>
565
  </layout>
566
 </widget>
567
 <customwidgets>
568
  <customwidget>
569
   <class>Gui::ColorButton</class>
570
   <extends>QPushButton</extends>
571
   <header>Gui/Widgets.h</header>
572
  </customwidget>
573
  <customwidget>
574
   <class>Gui::PrefColorButton</class>
575
   <extends>Gui::ColorButton</extends>
576
   <header>Gui/PrefWidgets.h</header>
577
  </customwidget>
578
  <customwidget>
579
   <class>Gui::PrefSlider</class>
580
   <extends>QSlider</extends>
581
   <header>Gui/PrefWidgets.h</header>
582
  </customwidget>
583
  <customwidget>
584
   <class>Gui::PrefCheckBox</class>
585
   <extends>QCheckBox</extends>
586
   <header>Gui/PrefWidgets.h</header>
587
  </customwidget>
588
 </customwidgets>
589
 <tabstops>
590
  <tabstop>groupBoxX</tabstop>
591
  <tabstop>cutX</tabstop>
592
  <tabstop>flipX</tabstop>
593
  <tabstop>groupBoxY</tabstop>
594
  <tabstop>cutY</tabstop>
595
  <tabstop>flipY</tabstop>
596
  <tabstop>groupBoxZ</tabstop>
597
  <tabstop>cutZ</tabstop>
598
  <tabstop>flipZ</tabstop>
599
 </tabstops>
600
 <resources/>
601
 <connections>
602
  <connection>
603
   <sender>buttonBox</sender>
604
   <signal>rejected()</signal>
605
   <receiver>PartGui::SectionCut</receiver>
606
   <slot>reject()</slot>
607
   <hints>
608
    <hint type="sourcelabel">
609
     <x>316</x>
610
     <y>260</y>
611
    </hint>
612
    <hint type="destinationlabel">
613
     <x>286</x>
614
     <y>274</y>
615
    </hint>
616
   </hints>
617
  </connection>
618
  <connection>
619
   <sender>autoCutfaceColorCB</sender>
620
   <signal>toggled(bool)</signal>
621
   <receiver>CutTransparencyHS</receiver>
622
   <slot>setDisabled(bool)</slot>
623
   <hints>
624
    <hint type="sourcelabel">
625
     <x>182</x>
626
     <y>311</y>
627
    </hint>
628
    <hint type="destinationlabel">
629
     <x>150</x>
630
     <y>338</y>
631
    </hint>
632
   </hints>
633
  </connection>
634
  <connection>
635
   <sender>autoCutfaceColorCB</sender>
636
   <signal>toggled(bool)</signal>
637
   <receiver>CutColor</receiver>
638
   <slot>setDisabled(bool)</slot>
639
   <hints>
640
    <hint type="sourcelabel">
641
     <x>182</x>
642
     <y>311</y>
643
    </hint>
644
    <hint type="destinationlabel">
645
     <x>119</x>
646
     <y>311</y>
647
    </hint>
648
   </hints>
649
  </connection>
650
  <connection>
651
   <sender>autoBFColorCB</sender>
652
   <signal>toggled(bool)</signal>
653
   <receiver>BFragColor</receiver>
654
   <slot>setDisabled(bool)</slot>
655
   <hints>
656
    <hint type="sourcelabel">
657
     <x>182</x>
658
     <y>427</y>
659
    </hint>
660
    <hint type="destinationlabel">
661
     <x>119</x>
662
     <y>427</y>
663
    </hint>
664
   </hints>
665
  </connection>
666
  <connection>
667
   <sender>autoBFColorCB</sender>
668
   <signal>toggled(bool)</signal>
669
   <receiver>BFragTransparencyHS</receiver>
670
   <slot>setDisabled(bool)</slot>
671
   <hints>
672
    <hint type="sourcelabel">
673
     <x>182</x>
674
     <y>427</y>
675
    </hint>
676
    <hint type="destinationlabel">
677
     <x>150</x>
678
     <y>454</y>
679
    </hint>
680
   </hints>
681
  </connection>
682
 </connections>
683
</ui>
684

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

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

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

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