1
<?xml version="1.0" encoding="UTF-8"?>
2
3
<class>PathFinderBase</class>
3
<widget class="QDialog" name="PathFinderBase" >
4
<property name="geometry" >
4
<widget class="QDialog" name="PathFinderBase">
5
<property name="geometry">
12
<property name="windowTitle" >
13
<property name="windowTitle">
13
14
<string>Boolean Path Operations</string>
15
<layout class="QVBoxLayout" name="verticalLayout_2" >
16
<layout class="QVBoxLayout" name="verticalLayout_4">
17
<layout class="QHBoxLayout" >
18
<property name="spacing" >
18
<layout class="QHBoxLayout">
19
<property name="spacing">
22
<layout class="QVBoxLayout" >
23
<property name="spacing" >
23
<layout class="QVBoxLayout">
24
<property name="spacing">
27
<widget class="QLabel" name="sourceShape" >
28
<property name="minimumSize" >
34
<property name="maximumSize" >
40
<property name="toolTip" >
28
<widget class="QLabel" name="sourceShape">
29
<property name="minimumSize">
35
<property name="maximumSize">
41
<property name="toolTip">
41
42
<string>First source shape.</string>
43
<property name="autoFillBackground" >
44
<property name="autoFillBackground">
46
<property name="frameShape" >
47
<property name="frameShape">
47
48
<enum>QFrame::Panel</enum>
49
<property name="frameShadow" >
50
<property name="frameShadow">
50
51
<enum>QFrame::Sunken</enum>
52
<property name="text" >
53
<property name="text">
58
<widget class="QCheckBox" name="keepSource1" >
59
<property name="toolTip" >
59
<widget class="QCheckBox" name="keepSource1">
60
<property name="toolTip">
60
61
<string>Keep a copy of the original item after applying the operation</string>
62
<property name="text" >
63
<property name="text">
63
64
<string>Keep</string>
69
<spacer name="verticalSpacer_4">
70
<property name="orientation">
71
<enum>Qt::Vertical</enum>
73
<property name="sizeHint" stdset="0">
70
<layout class="QVBoxLayout" >
71
<property name="spacing" >
84
<layout class="QVBoxLayout">
85
<property name="spacing">
76
<property name="orientation" >
90
<property name="orientation">
77
91
<enum>Qt::Vertical</enum>
79
<property name="sizeHint" stdset="0" >
93
<property name="sizeHint" stdset="0">
120
<layout class="QVBoxLayout" >
121
<property name="spacing" >
134
<layout class="QVBoxLayout">
135
<property name="spacing">
122
136
<number>5</number>
125
<widget class="QLabel" name="sourceShape2" >
126
<property name="minimumSize" >
132
<property name="maximumSize" >
138
<property name="toolTip" >
139
<widget class="QLabel" name="sourceShape2">
140
<property name="minimumSize">
146
<property name="maximumSize">
152
<property name="toolTip">
139
153
<string>Second source shape.</string>
141
<property name="autoFillBackground" >
155
<property name="autoFillBackground">
142
156
<bool>true</bool>
144
<property name="frameShape" >
158
<property name="frameShape">
145
159
<enum>QFrame::Panel</enum>
147
<property name="frameShadow" >
161
<property name="frameShadow">
148
162
<enum>QFrame::Sunken</enum>
150
<property name="text" >
164
<property name="text">
156
<widget class="QCheckBox" name="keepSource2" >
157
<property name="toolTip" >
170
<widget class="QCheckBox" name="keepSource2">
171
<property name="toolTip">
158
172
<string>Keep a copy of the original item after applying the operation</string>
160
<property name="text" >
174
<property name="text">
161
175
<string>Keep</string>
180
<spacer name="verticalSpacer_5">
181
<property name="orientation">
182
<enum>Qt::Vertical</enum>
184
<property name="sizeHint" stdset="0">
168
<layout class="QVBoxLayout" >
169
<property name="spacing" >
195
<layout class="QVBoxLayout">
196
<property name="spacing">
170
197
<number>0</number>
174
<property name="orientation" >
201
<property name="orientation">
175
202
<enum>Qt::Vertical</enum>
177
<property name="sizeHint" stdset="0" >
204
<property name="sizeHint" stdset="0">
180
207
<height>2</height>
218
<layout class="QVBoxLayout" >
245
<layout class="QVBoxLayout">
220
<widget class="QLabel" name="resultShape" >
221
<property name="minimumSize" >
227
<property name="maximumSize" >
233
<property name="toolTip" >
247
<widget class="QLabel" name="resultShape">
248
<property name="minimumSize">
254
<property name="maximumSize">
260
<property name="toolTip">
234
261
<string>The resulting shape.</string>
236
<property name="autoFillBackground" >
263
<property name="autoFillBackground">
237
264
<bool>true</bool>
239
<property name="frameShape" >
266
<property name="frameShape">
240
267
<enum>QFrame::Panel</enum>
242
<property name="frameShadow" >
269
<property name="frameShadow">
243
270
<enum>QFrame::Sunken</enum>
245
<property name="text" >
272
<property name="text">
252
<property name="orientation" >
278
<spacer name="verticalSpacer_3">
279
<property name="orientation">
253
280
<enum>Qt::Vertical</enum>
255
<property name="sizeHint" stdset="0" >
282
<property name="sizeType">
283
<enum>QSizePolicy::Expanding</enum>
285
<property name="sizeHint" stdset="0">
257
287
<width>20</width>
268
<layout class="QHBoxLayout" name="horizontalLayout" >
298
<layout class="QHBoxLayout" name="horizontalLayout">
270
<layout class="QVBoxLayout" name="verticalLayout" >
300
<layout class="QVBoxLayout" name="verticalLayout">
272
<widget class="QGroupBox" name="groupBox" >
273
<property name="title" >
302
<widget class="QGroupBox" name="groupBox">
303
<property name="title">
274
304
<string>Operation</string>
276
<layout class="QHBoxLayout" >
277
<property name="spacing" >
306
<layout class="QHBoxLayout">
307
<property name="spacing">
278
308
<number>5</number>
280
<property name="margin" >
310
<property name="margin">
281
311
<number>10</number>
284
<widget class="QToolButton" name="opCombine" >
285
<property name="toolTip" >
314
<widget class="QToolButton" name="opCombine">
315
<property name="toolTip">
286
316
<string>Unites the shapes</string>
288
<property name="text" >
318
<property name="text">
289
319
<string>...</string>
291
<property name="checkable" >
294
<property name="checked" >
297
<property name="autoExclusive" >
321
<property name="checkable">
324
<property name="checked">
327
<property name="autoExclusive">
298
328
<bool>true</bool>
303
<widget class="QToolButton" name="opSubtraction" >
304
<property name="toolTip" >
333
<widget class="QToolButton" name="opSubtraction">
334
<property name="toolTip">
305
335
<string>Subtracts the second shape from the first shape</string>
307
<property name="text" >
337
<property name="text">
308
338
<string>...</string>
310
<property name="checkable" >
340
<property name="checkable">
311
341
<bool>true</bool>
313
<property name="autoExclusive" >
343
<property name="autoExclusive">
314
344
<bool>true</bool>
319
<widget class="QToolButton" name="opIntersection" >
320
<property name="toolTip" >
349
<widget class="QToolButton" name="opIntersection">
350
<property name="toolTip">
321
351
<string>Intersection of the shapes</string>
323
<property name="text" >
353
<property name="text">
324
354
<string>...</string>
326
<property name="checkable" >
356
<property name="checkable">
327
357
<bool>true</bool>
329
<property name="autoExclusive" >
359
<property name="autoExclusive">
330
360
<bool>true</bool>
335
<widget class="QToolButton" name="opExclusion" >
336
<property name="toolTip" >
365
<widget class="QToolButton" name="opExclusion">
366
<property name="toolTip">
337
367
<string>Result is the area where the two shapes do not intersect</string>
339
<property name="text" >
369
<property name="text">
340
370
<string>...</string>
342
<property name="checkable" >
372
<property name="checkable">
343
373
<bool>true</bool>
345
<property name="autoExclusive" >
375
<property name="autoExclusive">
346
376
<bool>true</bool>
351
<widget class="QToolButton" name="opParts" >
352
<property name="toolTip" >
381
<widget class="QToolButton" name="opParts">
382
<property name="toolTip">
353
383
<string>Break apart,
354
The result is a combination of "Intersection" and "Exclusion"</string>
384
The result is a combination of "Intersection" and "Exclusion"</string>
356
<property name="text" >
386
<property name="text">
357
387
<string>...</string>
359
<property name="checkable" >
389
<property name="checkable">
360
390
<bool>true</bool>
362
<property name="autoExclusive" >
392
<property name="autoExclusive">
363
393
<bool>true</bool>
416
<widget class="QGroupBox" name="optionGroup" >
417
<property name="title" >
418
<string>Result Takes Color from:</string>
420
<layout class="QGridLayout" name="gridLayout_2" >
421
<item row="0" column="0" >
422
<widget class="QRadioButton" name="targetGetsSource1Color" >
423
<property name="toolTip" >
424
<string>The resulting shape uses the color of the first source shape</string>
426
<property name="text" >
427
<string>First Shape</string>
429
<property name="checked" >
434
<item row="1" column="0" >
435
<widget class="QRadioButton" name="targetGetsSource2Color" >
436
<property name="toolTip" >
437
<string>The resulting shape uses the color of the second source shape</string>
439
<property name="text" >
440
<string>Second Shape</string>
444
<item row="2" column="0" >
445
<widget class="QRadioButton" name="targetGetsOtherColor" >
446
<property name="toolTip" >
447
<string>The resulting shape uses the colors listed below</string>
449
<property name="text" >
450
<string>Custom Colors</string>
454
<item row="3" column="0" >
455
<layout class="QGridLayout" name="gridLayout" >
456
<item row="0" column="0" >
457
<widget class="QLabel" name="label_3" >
458
<property name="enabled" >
461
<property name="text" >
462
<string>Stroke:</string>
466
<item row="0" column="1" >
467
<widget class="ColorCombo" name="otherColorComboLine" >
468
<property name="enabled" >
471
<property name="sizePolicy" >
472
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
473
<horstretch>0</horstretch>
474
<verstretch>0</verstretch>
477
<property name="toolTip" >
478
<string>Stroke Color</string>
482
<item row="1" column="0" >
483
<widget class="QLabel" name="label_4" >
484
<property name="enabled" >
487
<property name="text" >
488
<string>Fill:</string>
492
<item row="1" column="1" >
493
<widget class="ColorCombo" name="otherColorComboFill" >
494
<property name="enabled" >
497
<property name="toolTip" >
498
<string>Fill Color</string>
446
<layout class="QVBoxLayout" name="verticalLayout_3">
448
<widget class="QGroupBox" name="optionGroup">
449
<property name="title">
450
<string>Result Takes Color from:</string>
452
<layout class="QVBoxLayout" name="verticalLayout_2">
454
<widget class="QRadioButton" name="targetGetsSource1Color">
455
<property name="toolTip">
456
<string>The resulting shape uses the color of the first source shape</string>
458
<property name="text">
459
<string>First Shape</string>
461
<property name="checked">
467
<widget class="QRadioButton" name="targetGetsSource2Color">
468
<property name="toolTip">
469
<string>The resulting shape uses the color of the second source shape</string>
471
<property name="text">
472
<string>Second Shape</string>
477
<widget class="QRadioButton" name="targetGetsOtherColor">
478
<property name="toolTip">
479
<string>The resulting shape uses the colors listed below</string>
481
<property name="text">
482
<string>Custom Colors</string>
487
<layout class="QGridLayout" name="gridLayout">
488
<item row="0" column="0">
489
<widget class="QLabel" name="label_3">
490
<property name="enabled">
493
<property name="text">
494
<string>Stroke:</string>
498
<item row="0" column="1">
499
<widget class="ColorCombo" name="otherColorComboLine">
500
<property name="enabled">
503
<property name="sizePolicy">
504
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
505
<horstretch>0</horstretch>
506
<verstretch>0</verstretch>
509
<property name="toolTip">
510
<string>Stroke Color</string>
514
<item row="1" column="0">
515
<widget class="QLabel" name="label_4">
516
<property name="enabled">
519
<property name="text">
520
<string>Fill:</string>
524
<item row="1" column="1">
525
<widget class="ColorCombo" name="otherColorComboFill">
526
<property name="enabled">
529
<property name="toolTip">
530
<string>Fill Color</string>
540
<spacer name="verticalSpacer_2">
541
<property name="orientation">
542
<enum>Qt::Vertical</enum>
544
<property name="sizeType">
545
<enum>QSizePolicy::Minimum</enum>
547
<property name="sizeHint" stdset="0">
510
<widget class="QDialogButtonBox" name="buttonBox" >
511
<property name="orientation" >
560
<widget class="QDialogButtonBox" name="buttonBox">
561
<property name="orientation">
512
562
<enum>Qt::Horizontal</enum>
514
<property name="standardButtons" >
564
<property name="standardButtons">
515
565
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
521
<layoutdefault spacing="5" margin="10" />
571
<layoutdefault spacing="5" margin="10"/>
524
574
<class>ColorCombo</class>
582
632
<receiver>otherColorComboFill</receiver>
583
633
<slot>setDisabled(bool)</slot>
585
<hint type="sourcelabel" >
635
<hint type="sourcelabel">
589
<hint type="destinationlabel" >
596
<sender>targetGetsSource2Color</sender>
597
<signal>clicked(bool)</signal>
598
<receiver>otherColorComboLine</receiver>
599
<slot>setDisabled(bool)</slot>
601
<hint type="sourcelabel" >
605
<hint type="destinationlabel" >
612
<sender>targetGetsSource2Color</sender>
613
<signal>clicked(bool)</signal>
614
<receiver>otherColorComboFill</receiver>
615
<slot>setDisabled(bool)</slot>
617
<hint type="sourcelabel" >
621
<hint type="destinationlabel" >
628
<sender>targetGetsOtherColor</sender>
629
<signal>clicked(bool)</signal>
630
<receiver>otherColorComboLine</receiver>
631
<slot>setEnabled(bool)</slot>
633
<hint type="sourcelabel" >
637
<hint type="destinationlabel" >
644
<sender>targetGetsOtherColor</sender>
645
<signal>clicked(bool)</signal>
646
<receiver>otherColorComboFill</receiver>
647
<slot>setEnabled(bool)</slot>
649
<hint type="sourcelabel" >
653
<hint type="destinationlabel" >
639
<hint type="destinationlabel">
646
<sender>targetGetsSource2Color</sender>
647
<signal>clicked(bool)</signal>
648
<receiver>otherColorComboLine</receiver>
649
<slot>setDisabled(bool)</slot>
651
<hint type="sourcelabel">
655
<hint type="destinationlabel">
662
<sender>targetGetsSource2Color</sender>
663
<signal>clicked(bool)</signal>
664
<receiver>otherColorComboFill</receiver>
665
<slot>setDisabled(bool)</slot>
667
<hint type="sourcelabel">
671
<hint type="destinationlabel">
678
<sender>targetGetsOtherColor</sender>
679
<signal>clicked(bool)</signal>
680
<receiver>otherColorComboLine</receiver>
681
<slot>setEnabled(bool)</slot>
683
<hint type="sourcelabel">
687
<hint type="destinationlabel">
694
<sender>targetGetsOtherColor</sender>
695
<signal>clicked(bool)</signal>
696
<receiver>otherColorComboFill</receiver>
697
<slot>setEnabled(bool)</slot>
699
<hint type="sourcelabel">
703
<hint type="destinationlabel">