1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>PartGui::SectionCut</class>
4
<widget class="QDialog" name="PartGui::SectionCut">
5
<property name="geometry">
13
<property name="maximumSize">
16
<height>16777215</height>
19
<property name="windowTitle">
20
<string>Persistent Section Cutting</string>
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">
27
<width>16777215</width>
28
<height>16777215</height>
31
<property name="title">
32
<string>Cutting X</string>
34
<property name="checkable">
37
<property name="checked">
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>
48
<item row="0" column="1">
49
<widget class="QDoubleSpinBox" name="cutX">
50
<property name="keyboardTracking">
55
<item row="0" column="2">
56
<spacer name="horizontalSpacer_2">
57
<property name="orientation">
58
<enum>Qt::Horizontal</enum>
60
<property name="sizeHint" stdset="0">
68
<item row="0" column="3">
69
<widget class="QPushButton" name="flipX">
70
<property name="text">
73
<property name="checkable">
76
<property name="flat">
81
<item row="1" column="0" colspan="4">
82
<widget class="QSlider" name="cutXHS">
83
<property name="maximum">
86
<property name="sliderPosition">
89
<property name="orientation">
90
<enum>Qt::Horizontal</enum>
97
<item row="1" column="0" colspan="3">
98
<widget class="QGroupBox" name="groupBoxY">
99
<property name="maximumSize">
101
<width>16777215</width>
102
<height>16777215</height>
105
<property name="title">
106
<string>Cutting Y</string>
108
<property name="checkable">
111
<property name="checked">
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>
122
<item row="0" column="1">
123
<widget class="QDoubleSpinBox" name="cutY">
124
<property name="keyboardTracking">
129
<item row="0" column="2">
130
<spacer name="horizontalSpacer_3">
131
<property name="orientation">
132
<enum>Qt::Horizontal</enum>
134
<property name="sizeHint" stdset="0">
142
<item row="0" column="3">
143
<widget class="QPushButton" name="flipY">
144
<property name="text">
145
<string>Flip</string>
147
<property name="checkable">
152
<item row="1" column="0" colspan="4">
153
<widget class="QSlider" name="cutYHS">
154
<property name="value">
157
<property name="orientation">
158
<enum>Qt::Horizontal</enum>
165
<item row="2" column="0" colspan="3">
166
<widget class="QGroupBox" name="groupBoxZ">
167
<property name="maximumSize">
169
<width>16777215</width>
170
<height>16777215</height>
173
<property name="title">
174
<string>Cutting Z</string>
176
<property name="checkable">
179
<property name="checked">
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>
190
<item row="0" column="1">
191
<widget class="QDoubleSpinBox" name="cutZ">
192
<property name="keyboardTracking">
197
<item row="0" column="2">
198
<spacer name="horizontalSpacer_4">
199
<property name="orientation">
200
<enum>Qt::Horizontal</enum>
202
<property name="sizeHint" stdset="0">
210
<item row="0" column="3">
211
<widget class="QPushButton" name="flipZ">
212
<property name="text">
213
<string>Flip</string>
215
<property name="checkable">
220
<item row="1" column="0" colspan="4">
221
<widget class="QSlider" name="cutZHS">
222
<property name="minimum">
225
<property name="maximum">
228
<property name="value">
231
<property name="orientation">
232
<enum>Qt::Horizontal</enum>
239
<item row="3" column="0" colspan="3">
240
<widget class="QGroupBox" name="CutfaceGB">
241
<property name="title">
242
<string>Cut face</string>
244
<layout class="QGridLayout" name="gridLayout_4">
245
<item row="0" column="0">
246
<widget class="QLabel" name="label_6">
247
<property name="minimumSize">
253
<property name="toolTip">
254
<string>Color of cut face</string>
256
<property name="text">
257
<string>Color</string>
261
<item row="0" column="1">
262
<widget class="Gui::PrefColorButton" name="CutColor">
263
<property name="enabled">
266
<property name="minimumSize">
272
<property name="maximumSize">
274
<width>16777215</width>
275
<height>16777215</height>
278
<property name="color">
285
<property name="prefEntry" stdset="0">
286
<cstring>DefaultShapeColor</cstring>
288
<property name="prefPath" stdset="0">
289
<cstring>View</cstring>
293
<item row="0" column="2">
294
<widget class="Gui::PrefCheckBox" name="autoCutfaceColorCB">
295
<property name="minimumSize">
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>
307
<property name="text">
308
<string>Auto</string>
310
<property name="checked">
313
<property name="prefEntry" stdset="0">
314
<cstring>TwoSideRendering</cstring>
316
<property name="prefPath" stdset="0">
317
<cstring>Mod/Part</cstring>
321
<item row="1" column="0">
322
<widget class="QLabel" name="label_7">
323
<property name="minimumSize">
329
<property name="toolTip">
330
<string>Transparency of cut face</string>
332
<property name="text">
333
<string>Transparency</string>
337
<item row="1" column="1" colspan="2">
338
<widget class="Gui::PrefSlider" name="CutTransparencyHS">
339
<property name="enabled">
342
<property name="toolTip">
343
<string notr="true">0 %</string>
345
<property name="maximum">
348
<property name="orientation">
349
<enum>Qt::Horizontal</enum>
351
<property name="prefEntry" stdset="0">
352
<cstring>DefaultShapeTransparency</cstring>
354
<property name="prefPath" stdset="0">
355
<cstring>View</cstring>
362
<item row="4" column="0" colspan="3">
363
<widget class="QGroupBox" name="groupBoxIntersecting">
364
<property name="maximumSize">
366
<width>16777215</width>
367
<height>16777215</height>
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>
375
<property name="title">
376
<string>Cut intersecting objects</string>
378
<property name="checkable">
381
<property name="checked">
384
<layout class="QGridLayout" name="gridLayout_5">
385
<item row="0" column="0">
386
<widget class="QLabel" name="label_9">
387
<property name="minimumSize">
393
<property name="toolTip">
394
<string>Color of cut face</string>
396
<property name="text">
397
<string>Color</string>
401
<item row="0" column="1">
402
<widget class="Gui::PrefColorButton" name="BFragColor">
403
<property name="enabled">
406
<property name="minimumSize">
412
<property name="maximumSize">
414
<width>16777215</width>
415
<height>16777215</height>
418
<property name="toolTip">
419
<string>Color for all objects</string>
421
<property name="color">
428
<property name="prefEntry" stdset="0">
429
<cstring>DefaultShapeColor</cstring>
431
<property name="prefPath" stdset="0">
432
<cstring>View</cstring>
436
<item row="0" column="2">
437
<widget class="Gui::PrefCheckBox" name="autoBFColorCB">
438
<property name="minimumSize">
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>
450
<property name="text">
451
<string>Auto</string>
453
<property name="checked">
456
<property name="prefEntry" stdset="0">
457
<cstring>TwoSideRendering</cstring>
459
<property name="prefPath" stdset="0">
460
<cstring>Mod/Part</cstring>
464
<item row="1" column="0">
465
<widget class="QLabel" name="label_8">
466
<property name="minimumSize">
472
<property name="toolTip">
473
<string>Transparency of cut face</string>
475
<property name="text">
476
<string>Transparency</string>
480
<item row="1" column="1" colspan="2">
481
<widget class="Gui::PrefSlider" name="BFragTransparencyHS">
482
<property name="enabled">
485
<property name="toolTip">
486
<string notr="true">0 %</string>
488
<property name="maximum">
491
<property name="orientation">
492
<enum>Qt::Horizontal</enum>
494
<property name="prefEntry" stdset="0">
495
<cstring>DefaultShapeTransparency</cstring>
497
<property name="prefPath" stdset="0">
498
<cstring>View</cstring>
505
<item row="5" column="0">
506
<widget class="QPushButton" name="RefreshCutPB">
507
<property name="enabled">
510
<property name="toolTip">
511
<string>Refreshes the list of visible objects</string>
513
<property name="text">
514
<string>Refresh view</string>
518
<item row="5" column="1">
519
<spacer name="horizontalSpacer_6">
520
<property name="orientation">
521
<enum>Qt::Horizontal</enum>
523
<property name="sizeHint" stdset="0">
531
<item row="5" column="2">
532
<widget class="QDialogButtonBox" name="buttonBox">
533
<property name="orientation">
534
<enum>Qt::Horizontal</enum>
536
<property name="standardButtons">
537
<set>QDialogButtonBox::Close</set>
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>
547
<property name="text">
548
<string>Keep only cuts visible when closing</string>
552
<item row="7" column="1">
553
<spacer name="verticalSpacer">
554
<property name="orientation">
555
<enum>Qt::Vertical</enum>
557
<property name="sizeHint" stdset="0">
569
<class>Gui::ColorButton</class>
570
<extends>QPushButton</extends>
571
<header>Gui/Widgets.h</header>
574
<class>Gui::PrefColorButton</class>
575
<extends>Gui::ColorButton</extends>
576
<header>Gui/PrefWidgets.h</header>
579
<class>Gui::PrefSlider</class>
580
<extends>QSlider</extends>
581
<header>Gui/PrefWidgets.h</header>
584
<class>Gui::PrefCheckBox</class>
585
<extends>QCheckBox</extends>
586
<header>Gui/PrefWidgets.h</header>
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>
603
<sender>buttonBox</sender>
604
<signal>rejected()</signal>
605
<receiver>PartGui::SectionCut</receiver>
606
<slot>reject()</slot>
608
<hint type="sourcelabel">
612
<hint type="destinationlabel">
619
<sender>autoCutfaceColorCB</sender>
620
<signal>toggled(bool)</signal>
621
<receiver>CutTransparencyHS</receiver>
622
<slot>setDisabled(bool)</slot>
624
<hint type="sourcelabel">
628
<hint type="destinationlabel">
635
<sender>autoCutfaceColorCB</sender>
636
<signal>toggled(bool)</signal>
637
<receiver>CutColor</receiver>
638
<slot>setDisabled(bool)</slot>
640
<hint type="sourcelabel">
644
<hint type="destinationlabel">
651
<sender>autoBFColorCB</sender>
652
<signal>toggled(bool)</signal>
653
<receiver>BFragColor</receiver>
654
<slot>setDisabled(bool)</slot>
656
<hint type="sourcelabel">
660
<hint type="destinationlabel">
667
<sender>autoBFColorCB</sender>
668
<signal>toggled(bool)</signal>
669
<receiver>BFragTransparencyHS</receiver>
670
<slot>setDisabled(bool)</slot>
672
<hint type="sourcelabel">
676
<hint type="destinationlabel">