-
Notifications
You must be signed in to change notification settings - Fork 2
/
ui_mainwindow.py
1133 lines (864 loc) · 61.8 KB
/
ui_mainwindow.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'mainwindow.ui'
##
## Created by: Qt User Interface Compiler version 6.7.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QAction, QBrush, QColor, QConicalGradient,
QCursor, QFont, QFontDatabase, QGradient,
QIcon, QImage, QKeySequence, QLinearGradient,
QPainter, QPalette, QPixmap, QRadialGradient,
QTransform)
from PySide6.QtWidgets import (QApplication, QButtonGroup, QCheckBox, QComboBox,
QDoubleSpinBox, QFormLayout, QGridLayout, QHBoxLayout,
QLabel, QMainWindow, QMenu, QMenuBar,
QPushButton, QScrollArea, QSizePolicy, QSpacerItem,
QSpinBox, QSplitter, QStatusBar, QTabWidget,
QVBoxLayout, QWidget)
from operations_tableview import PyCutOperationsTableViewManager
from tabs_tableview import PyCutTabsTableViewManager
class Ui_mainwindow(object):
def setupUi(self, mainwindow):
if not mainwindow.objectName():
mainwindow.setObjectName(u"mainwindow")
mainwindow.resize(1226, 1049)
self.actionOpenSvg = QAction(mainwindow)
self.actionOpenSvg.setObjectName(u"actionOpenSvg")
self.actionNewProject = QAction(mainwindow)
self.actionNewProject.setObjectName(u"actionNewProject")
self.actionOpenProject = QAction(mainwindow)
self.actionOpenProject.setObjectName(u"actionOpenProject")
self.actionSaveProjectAs = QAction(mainwindow)
self.actionSaveProjectAs.setObjectName(u"actionSaveProjectAs")
self.actionSaveProject = QAction(mainwindow)
self.actionSaveProject.setObjectName(u"actionSaveProject")
self.actionTutorial = QAction(mainwindow)
self.actionTutorial.setObjectName(u"actionTutorial")
self.actionAboutQt = QAction(mainwindow)
self.actionAboutQt.setObjectName(u"actionAboutQt")
self.actionAboutPyCut = QAction(mainwindow)
self.actionAboutPyCut.setObjectName(u"actionAboutPyCut")
self.actionSettings = QAction(mainwindow)
self.actionSettings.setObjectName(u"actionSettings")
self.actionOpenGCode = QAction(mainwindow)
self.actionOpenGCode.setObjectName(u"actionOpenGCode")
self.centralwidget = QWidget(mainwindow)
self.centralwidget.setObjectName(u"centralwidget")
self.horizontalLayout_2 = QHBoxLayout(self.centralwidget)
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
self.scrollArea_left = QScrollArea(self.centralwidget)
self.scrollArea_left.setObjectName(u"scrollArea_left")
self.scrollArea_left.setMinimumSize(QSize(320, 0))
self.scrollArea_left.setWidgetResizable(True)
self.scrollAreaWidgetContents = QWidget()
self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 304, 993))
self.verticalLayout_2 = QVBoxLayout(self.scrollAreaWidgetContents)
self.verticalLayout_2.setSpacing(22)
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.verticalLayout_2.setContentsMargins(9, -1, 9, -1)
self.verticalLayoutSettingsContent = QVBoxLayout()
self.verticalLayoutSettingsContent.setSpacing(6)
self.verticalLayoutSettingsContent.setObjectName(u"verticalLayoutSettingsContent")
self.label_SvgSettings = QLabel(self.scrollAreaWidgetContents)
self.label_SvgSettings.setObjectName(u"label_SvgSettings")
font = QFont()
font.setPointSize(14)
font.setBold(True)
self.label_SvgSettings.setFont(font)
self.label_SvgSettings.setStyleSheet(u"background-color: rgb(198, 198, 198);")
self.verticalLayoutSettingsContent.addWidget(self.label_SvgSettings)
self.gridLayout = QGridLayout()
self.gridLayout.setObjectName(u"gridLayout")
self.gridLayout.setContentsMargins(2, -1, 1, -1)
self.SvgModelWidth = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.SvgModelWidth.setObjectName(u"SvgModelWidth")
self.SvgModelWidth.setEnabled(False)
self.SvgModelWidth.setMaximum(999.990000000000009)
self.gridLayout.addWidget(self.SvgModelWidth, 3, 1, 1, 2)
self.PxPerInch = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.PxPerInch.setObjectName(u"PxPerInch")
self.PxPerInch.setEnabled(False)
self.PxPerInch.setMaximum(999.990000000000009)
self.PxPerInch.setValue(1.000000000000000)
self.gridLayout.addWidget(self.PxPerInch, 2, 1, 1, 2)
self.label_title = QLabel(self.scrollAreaWidgetContents)
self.label_title.setObjectName(u"label_title")
font1 = QFont()
font1.setBold(True)
self.label_title.setFont(font1)
self.gridLayout.addWidget(self.label_title, 1, 0, 1, 1)
self.label_SvgModelHeight = QLabel(self.scrollAreaWidgetContents)
self.label_SvgModelHeight.setObjectName(u"label_SvgModelHeight")
self.label_SvgModelHeight.setFont(font1)
self.gridLayout.addWidget(self.label_SvgModelHeight, 4, 0, 1, 1)
self.label_SvgModelWidth = QLabel(self.scrollAreaWidgetContents)
self.label_SvgModelWidth.setObjectName(u"label_SvgModelWidth")
self.label_SvgModelWidth.setFont(font1)
self.gridLayout.addWidget(self.label_SvgModelWidth, 3, 0, 1, 1)
self.label_PxPerInch = QLabel(self.scrollAreaWidgetContents)
self.label_PxPerInch.setObjectName(u"label_PxPerInch")
self.label_PxPerInch.setFont(font1)
self.gridLayout.addWidget(self.label_PxPerInch, 2, 0, 1, 1)
self.SvgModelHeight = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.SvgModelHeight.setObjectName(u"SvgModelHeight")
self.SvgModelHeight.setEnabled(False)
self.SvgModelHeight.setMaximum(999.990000000000009)
self.gridLayout.addWidget(self.SvgModelHeight, 4, 1, 1, 2)
self.SvgTitle = QLabel(self.scrollAreaWidgetContents)
self.SvgTitle.setObjectName(u"SvgTitle")
self.SvgTitle.setIndent(2)
self.gridLayout.addWidget(self.SvgTitle, 1, 1, 1, 2)
self.verticalLayoutSettingsContent.addLayout(self.gridLayout)
self.verticalLayout_2.addLayout(self.verticalLayoutSettingsContent)
self.verticalLayoutToolContent = QVBoxLayout()
self.verticalLayoutToolContent.setSpacing(6)
self.verticalLayoutToolContent.setObjectName(u"verticalLayoutToolContent")
self.label_Tool = QLabel(self.scrollAreaWidgetContents)
self.label_Tool.setObjectName(u"label_Tool")
self.label_Tool.setFont(font)
self.label_Tool.setStyleSheet(u"background-color: rgb(198, 198, 198);")
self.verticalLayoutToolContent.addWidget(self.label_Tool)
self.gridLayout_Tool = QGridLayout()
self.gridLayout_Tool.setObjectName(u"gridLayout_Tool")
self.gridLayout_Tool.setContentsMargins(2, -1, 1, -1)
self.label_Tool_Diameter_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Diameter_UnitsDescr.setObjectName(u"label_Tool_Diameter_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_Diameter_UnitsDescr, 1, 1, 1, 1)
self.label_Tool_Cut_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Cut_UnitsDescr.setObjectName(u"label_Tool_Cut_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_Cut_UnitsDescr, 7, 1, 1, 1)
self.Tool_Plunge = QSpinBox(self.scrollAreaWidgetContents)
self.Tool_Plunge.setObjectName(u"Tool_Plunge")
self.Tool_Plunge.setMaximum(1000)
self.Tool_Plunge.setValue(100)
self.gridLayout_Tool.addWidget(self.Tool_Plunge, 6, 2, 1, 1)
self.Tool_Cut = QSpinBox(self.scrollAreaWidgetContents)
self.Tool_Cut.setObjectName(u"Tool_Cut")
self.Tool_Cut.setMaximum(1000)
self.Tool_Cut.setValue(200)
self.gridLayout_Tool.addWidget(self.Tool_Cut, 7, 2, 1, 1)
self.label_Tool_Cut = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Cut.setObjectName(u"label_Tool_Cut")
self.label_Tool_Cut.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Cut, 7, 0, 1, 1)
self.label_Tool_PassDepth_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_PassDepth_UnitsDescr.setObjectName(u"label_Tool_PassDepth_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_PassDepth_UnitsDescr, 3, 1, 1, 1)
self.label_Tool_PassDepth = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_PassDepth.setObjectName(u"label_Tool_PassDepth")
self.label_Tool_PassDepth.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_PassDepth, 3, 0, 1, 1)
self.label_Tool_Angle = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Angle.setObjectName(u"label_Tool_Angle")
self.label_Tool_Angle.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Angle, 2, 0, 1, 1)
self.label_Tool_Diameter = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Diameter.setObjectName(u"label_Tool_Diameter")
self.label_Tool_Diameter.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Diameter, 1, 0, 1, 1)
self.label_Tool_Plunge = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Plunge.setObjectName(u"label_Tool_Plunge")
self.label_Tool_Plunge.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Plunge, 6, 0, 1, 1)
self.label_Tool_Angle_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Angle_UnitsDescr.setObjectName(u"label_Tool_Angle_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_Angle_UnitsDescr, 2, 1, 1, 1)
self.label_Tool_Plunge_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Plunge_UnitsDescr.setObjectName(u"label_Tool_Plunge_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_Plunge_UnitsDescr, 6, 1, 1, 1)
self.Tool_PassDepth = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.Tool_PassDepth.setObjectName(u"Tool_PassDepth")
self.Tool_PassDepth.setDecimals(3)
self.Tool_PassDepth.setMaximum(30.000000000000000)
self.Tool_PassDepth.setSingleStep(0.500000000000000)
self.Tool_PassDepth.setValue(0.200000000000000)
self.gridLayout_Tool.addWidget(self.Tool_PassDepth, 3, 2, 1, 1)
self.Tool_Rapid = QSpinBox(self.scrollAreaWidgetContents)
self.Tool_Rapid.setObjectName(u"Tool_Rapid")
self.Tool_Rapid.setMaximum(1000)
self.Tool_Rapid.setValue(500)
self.gridLayout_Tool.addWidget(self.Tool_Rapid, 5, 2, 1, 1)
self.Tool_Overlap = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.Tool_Overlap.setObjectName(u"Tool_Overlap")
self.Tool_Overlap.setDecimals(3)
self.Tool_Overlap.setMaximum(1.000000000000000)
self.Tool_Overlap.setSingleStep(0.010000000000000)
self.Tool_Overlap.setValue(0.400000000000000)
self.gridLayout_Tool.addWidget(self.Tool_Overlap, 4, 2, 1, 1)
self.Tool_Units = QComboBox(self.scrollAreaWidgetContents)
self.Tool_Units.addItem("")
self.Tool_Units.addItem("")
self.Tool_Units.setObjectName(u"Tool_Units")
self.gridLayout_Tool.addWidget(self.Tool_Units, 0, 1, 1, 1)
self.label_Tool_Units = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Units.setObjectName(u"label_Tool_Units")
self.label_Tool_Units.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Units, 0, 0, 1, 1)
self.label_Tool_Rapid_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Rapid_UnitsDescr.setObjectName(u"label_Tool_Rapid_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_Rapid_UnitsDescr, 5, 1, 1, 1)
self.label_Tool_Overlap_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Overlap_UnitsDescr.setObjectName(u"label_Tool_Overlap_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_Overlap_UnitsDescr, 4, 1, 1, 1)
self.label_Tool_Rapid = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Rapid.setObjectName(u"label_Tool_Rapid")
self.label_Tool_Rapid.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Rapid, 5, 0, 1, 1)
self.Tool_Angle = QSpinBox(self.scrollAreaWidgetContents)
self.Tool_Angle.setObjectName(u"Tool_Angle")
self.Tool_Angle.setMaximum(180)
self.Tool_Angle.setValue(180)
self.gridLayout_Tool.addWidget(self.Tool_Angle, 2, 2, 1, 1)
self.label_Tool_Overlap = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_Overlap.setObjectName(u"label_Tool_Overlap")
self.label_Tool_Overlap.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_Overlap, 4, 0, 1, 1)
self.Tool_Diameter = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.Tool_Diameter.setObjectName(u"Tool_Diameter")
self.Tool_Diameter.setDecimals(3)
self.Tool_Diameter.setMaximum(32.000000000000000)
self.Tool_Diameter.setSingleStep(0.100000000000000)
self.Tool_Diameter.setValue(1.000000000000000)
self.gridLayout_Tool.addWidget(self.Tool_Diameter, 1, 2, 1, 1)
self.label_Tool_HelixPitch = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_HelixPitch.setObjectName(u"label_Tool_HelixPitch")
self.label_Tool_HelixPitch.setFont(font1)
self.gridLayout_Tool.addWidget(self.label_Tool_HelixPitch, 8, 0, 1, 1)
self.label_Tool_HelixPitch_UnitsDescr = QLabel(self.scrollAreaWidgetContents)
self.label_Tool_HelixPitch_UnitsDescr.setObjectName(u"label_Tool_HelixPitch_UnitsDescr")
self.gridLayout_Tool.addWidget(self.label_Tool_HelixPitch_UnitsDescr, 8, 1, 1, 1)
self.Tool_HelixPitch = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.Tool_HelixPitch.setObjectName(u"Tool_HelixPitch")
self.Tool_HelixPitch.setSingleStep(0.100000000000000)
self.Tool_HelixPitch.setValue(1.000000000000000)
self.gridLayout_Tool.addWidget(self.Tool_HelixPitch, 8, 2, 1, 1)
self.verticalLayoutToolContent.addLayout(self.gridLayout_Tool)
self.verticalLayout_2.addLayout(self.verticalLayoutToolContent)
self.verticalLayoutCurveToLineConversion = QVBoxLayout()
self.verticalLayoutCurveToLineConversion.setSpacing(6)
self.verticalLayoutCurveToLineConversion.setObjectName(u"verticalLayoutCurveToLineConversion")
self.labelCurveToLineConversion = QLabel(self.scrollAreaWidgetContents)
self.labelCurveToLineConversion.setObjectName(u"labelCurveToLineConversion")
self.labelCurveToLineConversion.setFont(font)
self.labelCurveToLineConversion.setStyleSheet(u"background-color: rgb(196, 196, 196);")
self.verticalLayoutCurveToLineConversion.addWidget(self.labelCurveToLineConversion)
self.formLayoutCurveToLineConversion = QFormLayout()
self.formLayoutCurveToLineConversion.setObjectName(u"formLayoutCurveToLineConversion")
self.formLayoutCurveToLineConversion.setLabelAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
self.formLayoutCurveToLineConversion.setFormAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
self.formLayoutCurveToLineConversion.setVerticalSpacing(6)
self.formLayoutCurveToLineConversion.setContentsMargins(2, 0, 1, -1)
self.label_CurveToLineConversion_MinimumNbSegments = QLabel(self.scrollAreaWidgetContents)
self.label_CurveToLineConversion_MinimumNbSegments.setObjectName(u"label_CurveToLineConversion_MinimumNbSegments")
self.label_CurveToLineConversion_MinimumNbSegments.setMinimumSize(QSize(189, 0))
self.label_CurveToLineConversion_MinimumNbSegments.setFont(font1)
self.formLayoutCurveToLineConversion.setWidget(0, QFormLayout.LabelRole, self.label_CurveToLineConversion_MinimumNbSegments)
self.CurveToLineConversion_MinimumNbSegments = QSpinBox(self.scrollAreaWidgetContents)
self.CurveToLineConversion_MinimumNbSegments.setObjectName(u"CurveToLineConversion_MinimumNbSegments")
self.CurveToLineConversion_MinimumNbSegments.setEnabled(True)
self.CurveToLineConversion_MinimumNbSegments.setMinimum(1)
self.CurveToLineConversion_MinimumNbSegments.setValue(5)
self.formLayoutCurveToLineConversion.setWidget(0, QFormLayout.FieldRole, self.CurveToLineConversion_MinimumNbSegments)
self.label_CurveToLineConversion_MinimumSegmentsLength = QLabel(self.scrollAreaWidgetContents)
self.label_CurveToLineConversion_MinimumSegmentsLength.setObjectName(u"label_CurveToLineConversion_MinimumSegmentsLength")
self.label_CurveToLineConversion_MinimumSegmentsLength.setFont(font1)
self.formLayoutCurveToLineConversion.setWidget(1, QFormLayout.LabelRole, self.label_CurveToLineConversion_MinimumSegmentsLength)
self.CurveToLineConversion_MinimumSegmentsLength = QDoubleSpinBox(self.scrollAreaWidgetContents)
self.CurveToLineConversion_MinimumSegmentsLength.setObjectName(u"CurveToLineConversion_MinimumSegmentsLength")
self.CurveToLineConversion_MinimumSegmentsLength.setMaximum(1.000000000000000)
self.CurveToLineConversion_MinimumSegmentsLength.setSingleStep(0.010000000000000)
self.CurveToLineConversion_MinimumSegmentsLength.setValue(0.010000000000000)
self.formLayoutCurveToLineConversion.setWidget(1, QFormLayout.FieldRole, self.CurveToLineConversion_MinimumSegmentsLength)
self.verticalLayoutCurveToLineConversion.addLayout(self.formLayoutCurveToLineConversion)
self.verticalLayout_2.addLayout(self.verticalLayoutCurveToLineConversion)
self.verticalLayoutTabsContent = QVBoxLayout()
self.verticalLayoutTabsContent.setSpacing(6)
self.verticalLayoutTabsContent.setObjectName(u"verticalLayoutTabsContent")
self.verticalLayoutTabsContent.setContentsMargins(-1, -1, -1, 0)
self.label_Tabs = QLabel(self.scrollAreaWidgetContents)
self.label_Tabs.setObjectName(u"label_Tabs")
self.label_Tabs.setEnabled(True)
self.label_Tabs.setFont(font)
self.label_Tabs.setStyleSheet(u"background-color: rgb(198, 198, 198);")
self.verticalLayoutTabsContent.addWidget(self.label_Tabs)
self.tabsGlobals = QWidget(self.scrollAreaWidgetContents)
self.tabsGlobals.setObjectName(u"tabsGlobals")
self.tabsGlobals.setMinimumSize(QSize(0, 0))
self.verticalLayout_4 = QVBoxLayout(self.tabsGlobals)
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
self.verticalLayout_4.setContentsMargins(2, 0, 1, 9)
self.formLayout_Tabs = QFormLayout()
self.formLayout_Tabs.setObjectName(u"formLayout_Tabs")
self.formLayout_Tabs.setLabelAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
self.formLayout_Tabs.setFormAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignTop)
self.label_TabsUnits = QLabel(self.tabsGlobals)
self.label_TabsUnits.setObjectName(u"label_TabsUnits")
self.label_TabsUnits.setFont(font1)
self.formLayout_Tabs.setWidget(0, QFormLayout.LabelRole, self.label_TabsUnits)
self.Tabs_Units = QComboBox(self.tabsGlobals)
self.Tabs_Units.addItem("")
self.Tabs_Units.addItem("")
self.Tabs_Units.setObjectName(u"Tabs_Units")
self.Tabs_Units.setEnabled(True)
self.formLayout_Tabs.setWidget(0, QFormLayout.FieldRole, self.Tabs_Units)
self.label_Tabs_Height = QLabel(self.tabsGlobals)
self.label_Tabs_Height.setObjectName(u"label_Tabs_Height")
self.label_Tabs_Height.setFont(font1)
self.formLayout_Tabs.setWidget(1, QFormLayout.LabelRole, self.label_Tabs_Height)
self.Tabs_Height = QDoubleSpinBox(self.tabsGlobals)
self.Tabs_Height.setObjectName(u"Tabs_Height")
self.Tabs_Height.setEnabled(True)
self.Tabs_Height.setDecimals(3)
self.formLayout_Tabs.setWidget(1, QFormLayout.FieldRole, self.Tabs_Height)
self.label = QLabel(self.tabsGlobals)
self.label.setObjectName(u"label")
self.formLayout_Tabs.setWidget(2, QFormLayout.LabelRole, self.label)
self.Tabs_hideAllTabs = QCheckBox(self.tabsGlobals)
self.Tabs_hideAllTabs.setObjectName(u"Tabs_hideAllTabs")
self.Tabs_hideAllTabs.setFont(font1)
self.formLayout_Tabs.setWidget(2, QFormLayout.FieldRole, self.Tabs_hideAllTabs)
self.Tabs_hideDisabledTabs = QCheckBox(self.tabsGlobals)
self.Tabs_hideDisabledTabs.setObjectName(u"Tabs_hideDisabledTabs")
self.Tabs_hideDisabledTabs.setFont(font1)
self.formLayout_Tabs.setWidget(3, QFormLayout.FieldRole, self.Tabs_hideDisabledTabs)
self.verticalLayout_4.addLayout(self.formLayout_Tabs)
self.verticalLayoutTabsContent.addWidget(self.tabsGlobals)
self.tabsview_manager = PyCutTabsTableViewManager(self.scrollAreaWidgetContents)
self.tabsview_manager.setObjectName(u"tabsview_manager")
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tabsview_manager.sizePolicy().hasHeightForWidth())
self.tabsview_manager.setSizePolicy(sizePolicy)
self.tabsview_manager.setMinimumSize(QSize(0, 180))
self.verticalLayoutTabsContent.addWidget(self.tabsview_manager)
self.verticalLayoutTabsContent.setStretch(2, 1)
self.verticalLayout_2.addLayout(self.verticalLayoutTabsContent)
self.verticalSpacer = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
self.verticalLayout_2.addItem(self.verticalSpacer)
self.verticalLayout_2.setStretch(4, 1)
self.scrollArea_left.setWidget(self.scrollAreaWidgetContents)
self.horizontalLayout_2.addWidget(self.scrollArea_left)
self.centralArea = QWidget(self.centralwidget)
self.centralArea.setObjectName(u"centralArea")
self.centralArea.setMinimumSize(QSize(400, 0))
self.centralArea.setMaximumSize(QSize(16777215, 16777215))
self.verticalLayout = QVBoxLayout(self.centralArea)
self.verticalLayout.setSpacing(6)
self.verticalLayout.setObjectName(u"verticalLayout")
self.verticalLayout.setContentsMargins(4, 0, 4, 0)
self.splitter = QSplitter(self.centralArea)
self.splitter.setObjectName(u"splitter")
self.splitter.setOrientation(Qt.Vertical)
self.splitter.setHandleWidth(6)
self.tabWidget = QTabWidget(self.splitter)
self.tabWidget.setObjectName(u"tabWidget")
self.svg = QWidget()
self.svg.setObjectName(u"svg")
self.verticalLayout_3 = QVBoxLayout(self.svg)
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
self.tabWidget.addTab(self.svg, "")
self.viewer = QWidget()
self.viewer.setObjectName(u"viewer")
self.verticalLayout_9 = QVBoxLayout(self.viewer)
self.verticalLayout_9.setSpacing(4)
self.verticalLayout_9.setObjectName(u"verticalLayout_9")
self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
self.tabWidget.addTab(self.viewer, "")
self.simulator_webgl = QWidget()
self.simulator_webgl.setObjectName(u"simulator_webgl")
self.horizontalLayout_5 = QHBoxLayout(self.simulator_webgl)
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
self.tabWidget.addTab(self.simulator_webgl, "")
self.simulator_python = QWidget()
self.simulator_python.setObjectName(u"simulator_python")
self.horizontalLayout_5b = QHBoxLayout(self.simulator_python)
self.horizontalLayout_5b.setObjectName(u"horizontalLayout_5b")
self.tabWidget.addTab(self.simulator_python, "")
self.splitter.addWidget(self.tabWidget)
self.operationsview_manager = PyCutOperationsTableViewManager(self.splitter)
self.operationsview_manager.setObjectName(u"operationsview_manager")
self.operationsview_manager.setMinimumSize(QSize(0, 200))
self.operationsview_manager.setMaximumSize(QSize(16777215, 400))
self.splitter.addWidget(self.operationsview_manager)
self.verticalLayout.addWidget(self.splitter)
self.SaveGcode = QPushButton(self.centralArea)
self.SaveGcode.setObjectName(u"SaveGcode")
self.verticalLayout.addWidget(self.SaveGcode)
self.horizontalLayout_2.addWidget(self.centralArea)
self.scrollArea_right = QScrollArea(self.centralwidget)
self.scrollArea_right.setObjectName(u"scrollArea_right")
self.scrollArea_right.setMinimumSize(QSize(200, 0))
self.scrollArea_right.setWidgetResizable(True)
self.scrollAreaWidgetContents_2 = QWidget()
self.scrollAreaWidgetContents_2.setObjectName(u"scrollAreaWidgetContents_2")
self.scrollAreaWidgetContents_2.setGeometry(QRect(0, 0, 300, 998))
self.verticalLayout_5 = QVBoxLayout(self.scrollAreaWidgetContents_2)
self.verticalLayout_5.setSpacing(22)
self.verticalLayout_5.setObjectName(u"verticalLayout_5")
self.verticalLayoutMaterial = QVBoxLayout()
self.verticalLayoutMaterial.setSpacing(6)
self.verticalLayoutMaterial.setObjectName(u"verticalLayoutMaterial")
self.labelMaterial = QLabel(self.scrollAreaWidgetContents_2)
self.labelMaterial.setObjectName(u"labelMaterial")
self.labelMaterial.setFont(font)
self.labelMaterial.setStyleSheet(u"background-color: rgb(200, 200, 200);")
self.verticalLayoutMaterial.addWidget(self.labelMaterial)
self.horizontalLayout_6 = QHBoxLayout()
self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
self.horizontalSpacer_3 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_6.addItem(self.horizontalSpacer_3)
self.widget_display_material = QWidget(self.scrollAreaWidgetContents_2)
self.widget_display_material.setObjectName(u"widget_display_material")
self.widget_display_material.setMinimumSize(QSize(200, 150))
self.widget_display_material.setMaximumSize(QSize(200, 150))
self.horizontalLayout_6.addWidget(self.widget_display_material)
self.horizontalSpacer_4 = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
self.horizontalLayout_6.addItem(self.horizontalSpacer_4)
self.verticalLayoutMaterial.addLayout(self.horizontalLayout_6)
self.formLayout_Material = QFormLayout()
self.formLayout_Material.setObjectName(u"formLayout_Material")
self.formLayout_Material.setLabelAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
self.formLayout_Material.setFormAlignment(Qt.AlignRight|Qt.AlignTop|Qt.AlignTrailing)
self.formLayout_Material.setContentsMargins(2, -1, 1, -1)
self.label_Material_Units = QLabel(self.scrollAreaWidgetContents_2)
self.label_Material_Units.setObjectName(u"label_Material_Units")
self.label_Material_Units.setFont(font1)
self.formLayout_Material.setWidget(0, QFormLayout.LabelRole, self.label_Material_Units)
self.Material_Units = QComboBox(self.scrollAreaWidgetContents_2)
self.Material_Units.addItem("")
self.Material_Units.addItem("")
self.Material_Units.setObjectName(u"Material_Units")
self.formLayout_Material.setWidget(0, QFormLayout.FieldRole, self.Material_Units)
self.label_Material_Thickness = QLabel(self.scrollAreaWidgetContents_2)
self.label_Material_Thickness.setObjectName(u"label_Material_Thickness")
self.label_Material_Thickness.setFont(font1)
self.formLayout_Material.setWidget(1, QFormLayout.LabelRole, self.label_Material_Thickness)
self.Material_Thickness = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.Material_Thickness.setObjectName(u"Material_Thickness")
self.Material_Thickness.setMaximum(100.000000000000000)
self.Material_Thickness.setValue(50.000000000000000)
self.formLayout_Material.setWidget(1, QFormLayout.FieldRole, self.Material_Thickness)
self.label_Material_ZOrigin = QLabel(self.scrollAreaWidgetContents_2)
self.label_Material_ZOrigin.setObjectName(u"label_Material_ZOrigin")
self.label_Material_ZOrigin.setFont(font1)
self.formLayout_Material.setWidget(2, QFormLayout.LabelRole, self.label_Material_ZOrigin)
self.Material_ZOrigin = QComboBox(self.scrollAreaWidgetContents_2)
self.Material_ZOrigin.addItem("")
self.Material_ZOrigin.addItem("")
self.Material_ZOrigin.setObjectName(u"Material_ZOrigin")
sizePolicy.setHeightForWidth(self.Material_ZOrigin.sizePolicy().hasHeightForWidth())
self.Material_ZOrigin.setSizePolicy(sizePolicy)
self.formLayout_Material.setWidget(2, QFormLayout.FieldRole, self.Material_ZOrigin)
self.label_Material_Clearance = QLabel(self.scrollAreaWidgetContents_2)
self.label_Material_Clearance.setObjectName(u"label_Material_Clearance")
self.label_Material_Clearance.setFont(font1)
self.label_Material_Clearance.setAlignment(Qt.AlignRight|Qt.AlignTrailing|Qt.AlignVCenter)
self.formLayout_Material.setWidget(3, QFormLayout.LabelRole, self.label_Material_Clearance)
self.Material_Clearance = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.Material_Clearance.setObjectName(u"Material_Clearance")
self.Material_Clearance.setMaximum(100.000000000000000)
self.Material_Clearance.setValue(20.000000000000000)
self.formLayout_Material.setWidget(3, QFormLayout.FieldRole, self.Material_Clearance)
self.verticalLayoutMaterial.addLayout(self.formLayout_Material)
self.verticalLayout_5.addLayout(self.verticalLayoutMaterial)
self.verticalLayoutGCodeConversion = QVBoxLayout()
self.verticalLayoutGCodeConversion.setSpacing(3)
self.verticalLayoutGCodeConversion.setObjectName(u"verticalLayoutGCodeConversion")
self.label_GCcodeConversion = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCcodeConversion.setObjectName(u"label_GCcodeConversion")
self.label_GCcodeConversion.setFont(font)
self.label_GCcodeConversion.setStyleSheet(u"background-color: rgb(198, 198, 198);")
self.verticalLayoutGCodeConversion.addWidget(self.label_GCcodeConversion)
self.gridLayout_GCodeConversion = QGridLayout()
self.gridLayout_GCodeConversion.setObjectName(u"gridLayout_GCodeConversion")
self.gridLayout_GCodeConversion.setContentsMargins(2, -1, 1, -1)
self.label_GCodeConversion_YOffset_UnitsDescr = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_YOffset_UnitsDescr.setObjectName(u"label_GCodeConversion_YOffset_UnitsDescr")
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_YOffset_UnitsDescr, 7, 1, 1, 1)
self.label_GCodeConversion_YOffset = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_YOffset.setObjectName(u"label_GCodeConversion_YOffset")
self.label_GCodeConversion_YOffset.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_YOffset, 7, 0, 1, 1)
self.GCodeConversion_MinY = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_MinY.setObjectName(u"GCodeConversion_MinY")
self.GCodeConversion_MinY.setEnabled(False)
self.GCodeConversion_MinY.setMinimum(-1000.000000000000000)
self.GCodeConversion_MinY.setMaximum(1000.000000000000000)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_MinY, 10, 2, 1, 1)
self.label_GCodeConversion_GCodeUnits = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_GCodeUnits.setObjectName(u"label_GCodeConversion_GCodeUnits")
self.label_GCodeConversion_GCodeUnits.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_GCodeUnits, 0, 0, 1, 1)
self.GCodeConversion_MaxX = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_MaxX.setObjectName(u"GCodeConversion_MaxX")
self.GCodeConversion_MaxX.setEnabled(False)
self.GCodeConversion_MaxX.setMinimum(-1000.000000000000000)
self.GCodeConversion_MaxX.setMaximum(1000.000000000000000)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_MaxX, 9, 2, 1, 1)
self.label_GCodeConversion_MaxY = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MaxY.setObjectName(u"label_GCodeConversion_MaxY")
self.label_GCodeConversion_MaxY.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MaxY, 11, 0, 1, 1)
self.label_GCodeConversion_MinX_UnitsDescr = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MinX_UnitsDescr.setObjectName(u"label_GCodeConversion_MinX_UnitsDescr")
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MinX_UnitsDescr, 8, 1, 1, 1)
self.GCodeConversion_FlipXY = QCheckBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_FlipXY.setObjectName(u"GCodeConversion_FlipXY")
self.GCodeConversion_FlipXY.setEnabled(True)
font2 = QFont()
font2.setBold(True)
font2.setKerning(False)
self.GCodeConversion_FlipXY.setFont(font2)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_FlipXY, 5, 0, 1, 2)
self.GCodeConversion_MinX = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_MinX.setObjectName(u"GCodeConversion_MinX")
self.GCodeConversion_MinX.setEnabled(False)
self.GCodeConversion_MinX.setMinimum(-1000.000000000000000)
self.GCodeConversion_MinX.setMaximum(1000.000000000000000)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_MinX, 8, 2, 1, 1)
self.GCodeConversion_MaxY = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_MaxY.setObjectName(u"GCodeConversion_MaxY")
self.GCodeConversion_MaxY.setEnabled(False)
self.GCodeConversion_MaxY.setMinimum(-1000.000000000000000)
self.GCodeConversion_MaxY.setMaximum(1000.000000000000000)
self.GCodeConversion_MaxY.setValue(0.000000000000000)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_MaxY, 11, 2, 1, 1)
self.label_GCodeConversion_MinX = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MinX.setObjectName(u"label_GCodeConversion_MinX")
self.label_GCodeConversion_MinX.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MinX, 8, 0, 1, 1)
self.label_GCodeConversion_MaxX = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MaxX.setObjectName(u"label_GCodeConversion_MaxX")
self.label_GCodeConversion_MaxX.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MaxX, 9, 0, 1, 1)
self.label_GCodeConversion_XOffset_UnitsDescr = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_XOffset_UnitsDescr.setObjectName(u"label_GCodeConversion_XOffset_UnitsDescr")
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_XOffset_UnitsDescr, 6, 1, 1, 1)
self.label_GCodeConversion_MaxY_UnitsDescr = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MaxY_UnitsDescr.setObjectName(u"label_GCodeConversion_MaxY_UnitsDescr")
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MaxY_UnitsDescr, 11, 1, 1, 1)
self.label_GCodeConversion_MaxX_UnitsDescr = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MaxX_UnitsDescr.setObjectName(u"label_GCodeConversion_MaxX_UnitsDescr")
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MaxX_UnitsDescr, 9, 1, 1, 1)
self.GCodeConversion_YOffset = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_YOffset.setObjectName(u"GCodeConversion_YOffset")
self.GCodeConversion_YOffset.setKeyboardTracking(False)
self.GCodeConversion_YOffset.setMinimum(-200.000000000000000)
self.GCodeConversion_YOffset.setMaximum(200.000000000000000)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_YOffset, 7, 2, 1, 1)
self.label_GCodeConversion_MinY_UnitsDescr = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MinY_UnitsDescr.setObjectName(u"label_GCodeConversion_MinY_UnitsDescr")
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MinY_UnitsDescr, 10, 1, 1, 1)
self.GCodeConversion_XOffset = QDoubleSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_XOffset.setObjectName(u"GCodeConversion_XOffset")
self.GCodeConversion_XOffset.setKeyboardTracking(False)
self.GCodeConversion_XOffset.setDecimals(1)
self.GCodeConversion_XOffset.setMinimum(-200.000000000000000)
self.GCodeConversion_XOffset.setMaximum(200.000000000000000)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_XOffset, 6, 2, 1, 1)
self.label_GCodeConversion_MinY = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_MinY.setObjectName(u"label_GCodeConversion_MinY")
self.label_GCodeConversion_MinY.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_MinY, 10, 0, 1, 1)
self.label_GCodeConversion_XOffset = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeConversion_XOffset.setObjectName(u"label_GCodeConversion_XOffset")
self.label_GCodeConversion_XOffset.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.label_GCodeConversion_XOffset, 6, 0, 1, 1)
self.GCodeConversion_Units = QComboBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_Units.addItem("")
self.GCodeConversion_Units.addItem("")
self.GCodeConversion_Units.setObjectName(u"GCodeConversion_Units")
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_Units, 0, 1, 1, 1)
self.GCodeConversion_ZeroTopLeftOfMaterial = QPushButton(self.scrollAreaWidgetContents_2)
self.buttonGroup_GCodeConversion = QButtonGroup(mainwindow)
self.buttonGroup_GCodeConversion.setObjectName(u"buttonGroup_GCodeConversion")
self.buttonGroup_GCodeConversion.addButton(self.GCodeConversion_ZeroTopLeftOfMaterial)
self.GCodeConversion_ZeroTopLeftOfMaterial.setObjectName(u"GCodeConversion_ZeroTopLeftOfMaterial")
self.GCodeConversion_ZeroTopLeftOfMaterial.setFont(font1)
icon = QIcon()
iconThemeName = u":/images/tango/22x22/actions/view-refresh.png"
if QIcon.hasThemeIcon(iconThemeName):
icon = QIcon.fromTheme(iconThemeName)
else:
icon.addFile(u".", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
self.GCodeConversion_ZeroTopLeftOfMaterial.setIcon(icon)
self.GCodeConversion_ZeroTopLeftOfMaterial.setCheckable(True)
self.GCodeConversion_ZeroTopLeftOfMaterial.setChecked(True)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_ZeroTopLeftOfMaterial, 1, 0, 1, 3)
self.GCodeConversion_ZeroLowerLeftOfMaterial = QPushButton(self.scrollAreaWidgetContents_2)
self.buttonGroup_GCodeConversion.addButton(self.GCodeConversion_ZeroLowerLeftOfMaterial)
self.GCodeConversion_ZeroLowerLeftOfMaterial.setObjectName(u"GCodeConversion_ZeroLowerLeftOfMaterial")
self.GCodeConversion_ZeroLowerLeftOfMaterial.setFont(font1)
self.GCodeConversion_ZeroLowerLeftOfMaterial.setIcon(icon)
self.GCodeConversion_ZeroLowerLeftOfMaterial.setCheckable(True)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_ZeroLowerLeftOfMaterial, 2, 0, 1, 3)
self.GCodeConversion_ZeroLowerLeftOfOp = QPushButton(self.scrollAreaWidgetContents_2)
self.buttonGroup_GCodeConversion.addButton(self.GCodeConversion_ZeroLowerLeftOfOp)
self.GCodeConversion_ZeroLowerLeftOfOp.setObjectName(u"GCodeConversion_ZeroLowerLeftOfOp")
self.GCodeConversion_ZeroLowerLeftOfOp.setFont(font1)
self.GCodeConversion_ZeroLowerLeftOfOp.setIcon(icon)
self.GCodeConversion_ZeroLowerLeftOfOp.setCheckable(True)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_ZeroLowerLeftOfOp, 3, 0, 1, 3)
self.GCodeConversion_ZeroCenterOfOp = QPushButton(self.scrollAreaWidgetContents_2)
self.buttonGroup_GCodeConversion.addButton(self.GCodeConversion_ZeroCenterOfOp)
self.GCodeConversion_ZeroCenterOfOp.setObjectName(u"GCodeConversion_ZeroCenterOfOp")
self.GCodeConversion_ZeroCenterOfOp.setFont(font1)
self.GCodeConversion_ZeroCenterOfOp.setIcon(icon)
self.GCodeConversion_ZeroCenterOfOp.setCheckable(True)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_ZeroCenterOfOp, 4, 0, 1, 3)
self.GCodeConversion_UseOffset = QCheckBox(self.scrollAreaWidgetContents_2)
self.GCodeConversion_UseOffset.setObjectName(u"GCodeConversion_UseOffset")
self.GCodeConversion_UseOffset.setFont(font1)
self.gridLayout_GCodeConversion.addWidget(self.GCodeConversion_UseOffset, 5, 2, 1, 1)
self.verticalLayoutGCodeConversion.addLayout(self.gridLayout_GCodeConversion)
self.verticalLayout_5.addLayout(self.verticalLayoutGCodeConversion)
self.verticalLayoutGCodeGeneration = QVBoxLayout()
self.verticalLayoutGCodeGeneration.setSpacing(6)
self.verticalLayoutGCodeGeneration.setObjectName(u"verticalLayoutGCodeGeneration")
self.labelGCodeGeneration = QLabel(self.scrollAreaWidgetContents_2)
self.labelGCodeGeneration.setObjectName(u"labelGCodeGeneration")
self.labelGCodeGeneration.setFont(font)
self.labelGCodeGeneration.setStyleSheet(u"background-color: rgb(188, 188, 188);")
self.verticalLayoutGCodeGeneration.addWidget(self.labelGCodeGeneration)
self.formLayout_GCodeGeneration = QFormLayout()
self.formLayout_GCodeGeneration.setObjectName(u"formLayout_GCodeGeneration")
self.formLayout_GCodeGeneration.setFormAlignment(Qt.AlignCenter)
self.formLayout_GCodeGeneration.setContentsMargins(2, -1, 2, -1)
self.label_GCodeGeneration_ReturnToZeroAtEnd = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeGeneration_ReturnToZeroAtEnd.setObjectName(u"label_GCodeGeneration_ReturnToZeroAtEnd")
self.label_GCodeGeneration_ReturnToZeroAtEnd.setFont(font1)
self.label_GCodeGeneration_ReturnToZeroAtEnd.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
self.formLayout_GCodeGeneration.setWidget(0, QFormLayout.LabelRole, self.label_GCodeGeneration_ReturnToZeroAtEnd)
self.GCodeGeneration_ReturnToZeroAtEnd = QCheckBox(self.scrollAreaWidgetContents_2)
self.GCodeGeneration_ReturnToZeroAtEnd.setObjectName(u"GCodeGeneration_ReturnToZeroAtEnd")
self.formLayout_GCodeGeneration.setWidget(0, QFormLayout.FieldRole, self.GCodeGeneration_ReturnToZeroAtEnd)
self.label_GCodeGeneration_SpindleControl = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeGeneration_SpindleControl.setObjectName(u"label_GCodeGeneration_SpindleControl")
self.label_GCodeGeneration_SpindleControl.setFont(font1)
self.formLayout_GCodeGeneration.setWidget(1, QFormLayout.LabelRole, self.label_GCodeGeneration_SpindleControl)
self.GCodeGeneration_SpindleControl = QCheckBox(self.scrollAreaWidgetContents_2)
self.GCodeGeneration_SpindleControl.setObjectName(u"GCodeGeneration_SpindleControl")
self.GCodeGeneration_SpindleControl.setFont(font1)
self.formLayout_GCodeGeneration.setWidget(1, QFormLayout.FieldRole, self.GCodeGeneration_SpindleControl)
self.label_GCodeGeneration_SpindleSpeed = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeGeneration_SpindleSpeed.setObjectName(u"label_GCodeGeneration_SpindleSpeed")
self.label_GCodeGeneration_SpindleSpeed.setFont(font1)
self.formLayout_GCodeGeneration.setWidget(2, QFormLayout.LabelRole, self.label_GCodeGeneration_SpindleSpeed)
self.GCodeGeneration_SpindleSpeed = QSpinBox(self.scrollAreaWidgetContents_2)
self.GCodeGeneration_SpindleSpeed.setObjectName(u"GCodeGeneration_SpindleSpeed")
self.GCodeGeneration_SpindleSpeed.setMaximum(25000)
self.GCodeGeneration_SpindleSpeed.setSingleStep(50)
self.formLayout_GCodeGeneration.setWidget(2, QFormLayout.FieldRole, self.GCodeGeneration_SpindleSpeed)
self.label_GCodeGeneration_ProgramEnd = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeGeneration_ProgramEnd.setObjectName(u"label_GCodeGeneration_ProgramEnd")
self.label_GCodeGeneration_ProgramEnd.setFont(font1)
self.formLayout_GCodeGeneration.setWidget(3, QFormLayout.LabelRole, self.label_GCodeGeneration_ProgramEnd)
self.GCodeGeneration_ProgramEnd = QCheckBox(self.scrollAreaWidgetContents_2)
self.GCodeGeneration_ProgramEnd.setObjectName(u"GCodeGeneration_ProgramEnd")
self.GCodeGeneration_ProgramEnd.setFont(font1)
self.formLayout_GCodeGeneration.setWidget(3, QFormLayout.FieldRole, self.GCodeGeneration_ProgramEnd)
self.verticalLayoutGCodeGeneration.addLayout(self.formLayout_GCodeGeneration)
self.verticalLayout_5.addLayout(self.verticalLayoutGCodeGeneration)
self.verticalLayoutGCodeStatistics = QVBoxLayout()
self.verticalLayoutGCodeStatistics.setSpacing(6)
self.verticalLayoutGCodeStatistics.setObjectName(u"verticalLayoutGCodeStatistics")
self.labelGCodeStatistics = QLabel(self.scrollAreaWidgetContents_2)
self.labelGCodeStatistics.setObjectName(u"labelGCodeStatistics")
self.labelGCodeStatistics.setFont(font)
self.labelGCodeStatistics.setStyleSheet(u"background-color: rgb(188, 188, 188);")
self.verticalLayoutGCodeStatistics.addWidget(self.labelGCodeStatistics)
self.formLayout_GCodeStatistics = QFormLayout()
self.formLayout_GCodeStatistics.setObjectName(u"formLayout_GCodeStatistics")
self.formLayout_GCodeStatistics.setFormAlignment(Qt.AlignCenter)
self.formLayout_GCodeStatistics.setContentsMargins(2, -1, 1, -1)
self.label_GCodeStatistics_RunTime = QLabel(self.scrollAreaWidgetContents_2)
self.label_GCodeStatistics_RunTime.setObjectName(u"label_GCodeStatistics_RunTime")
self.label_GCodeStatistics_RunTime.setMinimumSize(QSize(120, 0))
self.label_GCodeStatistics_RunTime.setFont(font1)
self.label_GCodeStatistics_RunTime.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
self.formLayout_GCodeStatistics.setWidget(0, QFormLayout.LabelRole, self.label_GCodeStatistics_RunTime)
self.GCodeStatistics_RunTime = QLabel(self.scrollAreaWidgetContents_2)
self.GCodeStatistics_RunTime.setObjectName(u"GCodeStatistics_RunTime")
self.formLayout_GCodeStatistics.setWidget(0, QFormLayout.FieldRole, self.GCodeStatistics_RunTime)
self.verticalLayoutGCodeStatistics.addLayout(self.formLayout_GCodeStatistics)
self.verticalLayout_5.addLayout(self.verticalLayoutGCodeStatistics)
self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
self.verticalLayout_5.addItem(self.verticalSpacer_2)
self.verticalLayout_5.setStretch(4, 1)
self.scrollArea_right.setWidget(self.scrollAreaWidgetContents_2)
self.horizontalLayout_2.addWidget(self.scrollArea_right)
self.horizontalLayout_2.setStretch(1, 1)
mainwindow.setCentralWidget(self.centralwidget)
self.statusbar = QStatusBar(mainwindow)
self.statusbar.setObjectName(u"statusbar")
mainwindow.setStatusBar(self.statusbar)
self.menubar = QMenuBar(mainwindow)
self.menubar.setObjectName(u"menubar")
self.menubar.setGeometry(QRect(0, 0, 1226, 21))
self.menuSvg = QMenu(self.menubar)
self.menuSvg.setObjectName(u"menuSvg")
self.menuFile = QMenu(self.menubar)
self.menuFile.setObjectName(u"menuFile")
self.menuOpen_Recent_Jobs = QMenu(self.menuFile)
self.menuOpen_Recent_Jobs.setObjectName(u"menuOpen_Recent_Jobs")
self.menuHelp = QMenu(self.menubar)
self.menuHelp.setObjectName(u"menuHelp")
self.menuSettings = QMenu(self.menubar)
self.menuSettings.setObjectName(u"menuSettings")
self.menuGCode = QMenu(self.menubar)
self.menuGCode.setObjectName(u"menuGCode")
mainwindow.setMenuBar(self.menubar)
self.menubar.addAction(self.menuFile.menuAction())
self.menubar.addAction(self.menuSvg.menuAction())
self.menubar.addAction(self.menuSettings.menuAction())
self.menubar.addAction(self.menuGCode.menuAction())
self.menubar.addAction(self.menuHelp.menuAction())
self.menuSvg.addAction(self.actionOpenSvg)
self.menuSvg.addSeparator()
self.menuFile.addAction(self.actionNewProject)
self.menuFile.addAction(self.menuOpen_Recent_Jobs.menuAction())
self.menuFile.addAction(self.actionOpenProject)
self.menuFile.addAction(self.actionSaveProjectAs)
self.menuFile.addAction(self.actionSaveProject)
self.menuHelp.addAction(self.actionTutorial)
self.menuHelp.addAction(self.actionAboutQt)
self.menuHelp.addAction(self.actionAboutPyCut)
self.menuSettings.addAction(self.actionSettings)
self.menuGCode.addAction(self.actionOpenGCode)
self.retranslateUi(mainwindow)
self.tabWidget.setCurrentIndex(0)
QMetaObject.connectSlotsByName(mainwindow)
# setupUi