-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui_pysubdiv_25.py
1713 lines (1564 loc) · 72.1 KB
/
gui_pysubdiv_25.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
from PyQt5.QtWidgets import QMessageBox, QInputDialog, QApplication, QWidget, QLineEdit, QFileDialog, QSizeGrip, QSlider
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QIcon
import files
import os
import control_cage
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def __init__(self, name_mesh=None, name_cage=None, path_mesh=[], path_cage=None,
status_data_cage=None, parts_array = [], flip_mesh = None, flip_cage = [], iter_subdiv = None, def_vol = []):
self.path_mesh = path_mesh
self.name_mesh = name_mesh
self.path_cage = path_cage
self.name_cage = name_cage
self.status_data_cage = status_data_cage
self.part = parts_array
self.flip_mesh = flip_mesh
self.flip_cage = flip_cage
self.iter_subdiv = iter_subdiv
self.def_vol = def_vol
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setEnabled(True)
MainWindow.setGeometry(1150, 612,751, 373)
MainWindow.setWindowIcon(QIcon("image/cgre.PNG"))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setMinimumSize(QtCore.QSize(751, 393))
MainWindow.setMaximumSize(QtCore.QSize(751, 393))
font = QtGui.QFont()
font.setPointSize(9)
MainWindow.setFont(font)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setMinimumSize(QtCore.QSize(751, 393))
self.centralwidget.setMaximumSize(QtCore.QSize(751, 393))
self.centralwidget.setStyleSheet("*{\n"
" color: #000;\n"
" border: none\n"
"}\n"
"\n"
"#leftMenu{\n"
" background-color: #2596be;\n"
"}\n"
"\n"
"#mainBody{\n"
" background-color: #eeeee4;\n"
"}\n"
"\n"
"QLineEdit{\n"
" background: transparent;\n"
" border: 2px solid #2596be;\n"
" color: #2596be;\n"
"}\n"
" \n"
"#searchFrame{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#searchFrame_2{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#searchFrame_3{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#searchFrame_4{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#appHeader{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#searchFile{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#searchFile_2{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#searchFile_3{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#searchFile_4{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#statusData{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#statusData_2{\n"
" color: #2596be;\n"
"}\n"
"\n"
"#butInspect{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butOptimizer{\n"
" background-color: #daffb7;\n"
" color: #00000;\n"
" border-radius: 3px;\n"
" border-color: #00000;\n"
"}\n"
"\n"
"#butSingCC{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butMeshStatus{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butGmesh{\n"
" background-color: #daffb7;\n"
" color: #00000;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butCageStatus{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"\n"
"\n"
"#butMulCC{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butInstructionCC{\n"
" background-color: #000000;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butInstructionIns{\n"
" background-color: #000000;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butInstructionInt{\n"
" background-color: #000000;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butdef_vol{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butVol_info{\n"
" background-color: #000000;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butIntVis{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butMesh{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butSubMulCC{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butSubSinCC{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butSubInt{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butExport{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butExport_2{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butPrevious{\n"
" background-color: #000000;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butPrevious_2{\n"
" background-color: #000000;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butReset{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#butStatus_3{\n"
" background-color: #2596be;\n"
" color: #fff;\n"
" border-radius: 3px;\n"
"}\n"
"\n"
"#frameCrease{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frameGeodesic{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frameVolume{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frameCrease{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frameMesh{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frameCrease{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frame_27{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frame_ins{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}\n"
"\n"
"#frame_MultCC{\n"
" border-radius: 10px;\n"
" border: 2px solid #2596be;\n"
"}")
self.centralwidget.setObjectName("centralwidget")
self.mainBody = QtWidgets.QWidget(self.centralwidget)
self.mainBody.setGeometry(QtCore.QRect(0, 0, 751, 373))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.mainBody.sizePolicy().hasHeightForWidth())
self.mainBody.setSizePolicy(sizePolicy)
self.mainBody.setMinimumSize(QtCore.QSize(751, 373))
self.mainBody.setMaximumSize(QtCore.QSize(751, 373))
self.mainBody.setStyleSheet("#mainBody{\n"
" background-color: #eeeee4;\n"
"}")
self.mainBody.setObjectName("mainBody")
self.verticalLayout = QtWidgets.QVBoxLayout(self.mainBody)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setSpacing(0)
self.verticalLayout.setObjectName("verticalLayout")
self.headerFrame = QtWidgets.QWidget(self.mainBody)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.headerFrame.sizePolicy().hasHeightForWidth())
self.headerFrame.setSizePolicy(sizePolicy)
self.headerFrame.setMinimumSize(QtCore.QSize(736, 65))
self.headerFrame.setMaximumSize(QtCore.QSize(736, 65))
self.headerFrame.setObjectName("headerFrame")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.headerFrame)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.widget = QtWidgets.QWidget(self.headerFrame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
self.widget.setSizePolicy(sizePolicy)
self.widget.setObjectName("widget")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.widget)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.menuBtn = QtWidgets.QPushButton(self.widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.menuBtn.sizePolicy().hasHeightForWidth())
self.menuBtn.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.menuBtn.setFont(font)
self.menuBtn.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("icons/blue_ocean/menu.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menuBtn.setIcon(icon)
self.menuBtn.setIconSize(QtCore.QSize(32, 32))
self.menuBtn.setObjectName("menuBtn")
self.horizontalLayout_5.addWidget(self.menuBtn)
self.appHeader = QtWidgets.QLabel(self.widget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.appHeader.sizePolicy().hasHeightForWidth())
self.appHeader.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
font.setWeight(75)
self.appHeader.setFont(font)
self.appHeader.setObjectName("appHeader")
self.horizontalLayout_5.addWidget(self.appHeader)
self.horizontalLayout.addWidget(self.widget, 0, QtCore.Qt.AlignLeft)
self.widget_17 = QtWidgets.QWidget(self.headerFrame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget_17.sizePolicy().hasHeightForWidth())
self.widget_17.setSizePolicy(sizePolicy)
self.widget_17.setObjectName("widget_17")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.widget_17)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.searchFrame_3 = QtWidgets.QFrame(self.widget_17)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.searchFrame_3.sizePolicy().hasHeightForWidth())
self.searchFrame_3.setSizePolicy(sizePolicy)
self.searchFrame_3.setMinimumSize(QtCore.QSize(170, 36))
self.searchFrame_3.setMaximumSize(QtCore.QSize(170, 36))
self.searchFrame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.searchFrame_3.setFrameShadow(QtWidgets.QFrame.Raised)
self.searchFrame_3.setObjectName("searchFrame_3")
self.horizontalLayout_9 = QtWidgets.QHBoxLayout(self.searchFrame_3)
self.horizontalLayout_9.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_9.setSpacing(0)
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.label_7 = QtWidgets.QLabel(self.searchFrame_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
self.label_7.setSizePolicy(sizePolicy)
self.label_7.setMinimumSize(QtCore.QSize(30, 30))
self.label_7.setMaximumSize(QtCore.QSize(30, 30))
self.label_7.setText("")
self.label_7.setPixmap(QtGui.QPixmap("icons/blue_ocean/search.svg"))
self.label_7.setScaledContents(True)
self.label_7.setObjectName("label_7")
self.horizontalLayout_9.addWidget(self.label_7)
self.searchFile_3 = QtWidgets.QPushButton(self.searchFrame_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.searchFile_3.sizePolicy().hasHeightForWidth())
self.searchFile_3.setSizePolicy(sizePolicy)
self.searchFile_3.setMinimumSize(QtCore.QSize(116, 0))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.searchFile_3.setFont(font)
self.searchFile_3.setObjectName("searchFile_3")
self.horizontalLayout_9.addWidget(self.searchFile_3)
self.horizontalLayout_7.addWidget(self.searchFrame_3)
self.searchFrame_4 = QtWidgets.QFrame(self.widget_17)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.searchFrame_4.sizePolicy().hasHeightForWidth())
self.searchFrame_4.setSizePolicy(sizePolicy)
self.searchFrame_4.setMinimumSize(QtCore.QSize(40, 36))
self.searchFrame_4.setMaximumSize(QtCore.QSize(168, 36))
self.searchFrame_4.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.searchFrame_4.setFrameShadow(QtWidgets.QFrame.Raised)
self.searchFrame_4.setObjectName("searchFrame_4")
self.horizontalLayout_10 = QtWidgets.QHBoxLayout(self.searchFrame_4)
self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_10.setSpacing(0)
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.label_11 = QtWidgets.QLabel(self.searchFrame_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
self.label_11.setSizePolicy(sizePolicy)
self.label_11.setMinimumSize(QtCore.QSize(30, 30))
self.label_11.setMaximumSize(QtCore.QSize(30, 30))
self.label_11.setText("")
self.label_11.setPixmap(QtGui.QPixmap("icons/blue_ocean/search.svg"))
self.label_11.setScaledContents(True)
self.label_11.setObjectName("label_11")
self.horizontalLayout_10.addWidget(self.label_11)
self.searchFile_4 = QtWidgets.QPushButton(self.searchFrame_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.searchFile_4.sizePolicy().hasHeightForWidth())
self.searchFile_4.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.searchFile_4.setFont(font)
self.searchFile_4.setObjectName("searchFile_4")
self.horizontalLayout_10.addWidget(self.searchFile_4, 0, QtCore.Qt.AlignLeft)
self.horizontalLayout_7.addWidget(self.searchFrame_4, 0, QtCore.Qt.AlignVCenter)
self.horizontalLayout.addWidget(self.widget_17)
self.widget_3 = QtWidgets.QWidget(self.headerFrame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.widget_3.sizePolicy().hasHeightForWidth())
self.widget_3.setSizePolicy(sizePolicy)
self.widget_3.setMinimumSize(QtCore.QSize(50, 0))
self.widget_3.setSizeIncrement(QtCore.QSize(50, 0))
self.widget_3.setBaseSize(QtCore.QSize(50, 0))
self.widget_3.setObjectName("widget_3")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget_3)
self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_4.setSpacing(0)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.label_9 = QtWidgets.QLabel(self.widget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
self.label_9.setSizePolicy(sizePolicy)
self.label_9.setMinimumSize(QtCore.QSize(30, 30))
self.label_9.setMaximumSize(QtCore.QSize(30, 30))
self.label_9.setSizeIncrement(QtCore.QSize(30, 30))
self.label_9.setText("")
self.label_9.setPixmap(QtGui.QPixmap("icons/blue_ocean/file-text.svg"))
self.label_9.setScaledContents(True)
self.label_9.setObjectName("label_9")
self.horizontalLayout_4.addWidget(self.label_9)
self.frame_6 = QtWidgets.QFrame(self.widget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame_6.sizePolicy().hasHeightForWidth())
self.frame_6.setSizePolicy(sizePolicy)
self.frame_6.setMinimumSize(QtCore.QSize(105, 0))
self.frame_6.setMaximumSize(QtCore.QSize(111, 16777215))
self.frame_6.setSizeIncrement(QtCore.QSize(80, 0))
self.frame_6.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_6.setObjectName("frame_6")
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.frame_6)
self.verticalLayout_9.setContentsMargins(-1, 1, -1, -1)
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.statusData = QtWidgets.QLabel(self.frame_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.statusData.sizePolicy().hasHeightForWidth())
self.statusData.setSizePolicy(sizePolicy)
self.statusData.setMinimumSize(QtCore.QSize(73, 14))
self.statusData.setMaximumSize(QtCore.QSize(75, 16777215))
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setItalic(False)
font.setUnderline(True)
font.setWeight(75)
self.statusData.setFont(font)
self.statusData.setObjectName("statusData")
self.verticalLayout_9.addWidget(self.statusData)
self.butMeshStatus = QtWidgets.QPushButton(self.frame_6)
self.butMeshStatus.setMinimumSize(QtCore.QSize(95, 16))
self.butMeshStatus.setMaximumSize(QtCore.QSize(95, 16))
font = QtGui.QFont()
font.setPointSize(8)
font.setBold(True)
font.setWeight(75)
self.butMeshStatus.setFont(font)
self.butMeshStatus.setObjectName("butMeshStatus")
self.verticalLayout_9.addWidget(self.butMeshStatus)
self.butCageStatus = QtWidgets.QPushButton(self.frame_6)
self.butCageStatus.setMinimumSize(QtCore.QSize(95, 16))
self.butCageStatus.setMaximumSize(QtCore.QSize(95, 16))
font = QtGui.QFont()
font.setPointSize(8)
font.setBold(True)
font.setWeight(75)
self.butCageStatus.setFont(font)
self.butCageStatus.setObjectName("butCageStatus")
self.verticalLayout_9.addWidget(self.butCageStatus)
self.horizontalLayout_4.addWidget(self.frame_6)
self.horizontalLayout.addWidget(self.widget_3, 0, QtCore.Qt.AlignRight)
self.verticalLayout.addWidget(self.headerFrame, 0, QtCore.Qt.AlignLeft)
self.cardsFrame = QtWidgets.QWidget(self.mainBody)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(250)
sizePolicy.setHeightForWidth(self.cardsFrame.sizePolicy().hasHeightForWidth())
self.cardsFrame.setSizePolicy(sizePolicy)
self.cardsFrame.setMinimumSize(QtCore.QSize(746, 240))
self.cardsFrame.setMaximumSize(QtCore.QSize(746, 240))
self.cardsFrame.setSizeIncrement(QtCore.QSize(0, 250))
self.cardsFrame.setBaseSize(QtCore.QSize(0, 250))
self.cardsFrame.setObjectName("cardsFrame")
self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.cardsFrame)
self.horizontalLayout_6.setSizeConstraint(QtWidgets.QLayout.SetMinAndMaxSize)
self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_6.setSpacing(0)
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.widget_6 = QtWidgets.QWidget(self.cardsFrame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(250)
sizePolicy.setHeightForWidth(self.widget_6.sizePolicy().hasHeightForWidth())
self.widget_6.setSizePolicy(sizePolicy)
self.widget_6.setMinimumSize(QtCore.QSize(267, 250))
self.widget_6.setMaximumSize(QtCore.QSize(267, 250))
self.widget_6.setSizeIncrement(QtCore.QSize(0, 250))
self.widget_6.setBaseSize(QtCore.QSize(0, 250))
self.widget_6.setObjectName("widget_6")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.widget_6)
self.verticalLayout_4.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.butSingCC = QtWidgets.QPushButton(self.widget_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.butSingCC.sizePolicy().hasHeightForWidth())
self.butSingCC.setSizePolicy(sizePolicy)
self.butSingCC.setMinimumSize(QtCore.QSize(240, 22))
self.butSingCC.setMaximumSize(QtCore.QSize(240, 22))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.butSingCC.setFont(font)
self.butSingCC.setAutoFillBackground(False)
self.butSingCC.setObjectName("butSingCC")
self.verticalLayout_4.addWidget(self.butSingCC, 0, QtCore.Qt.AlignHCenter)
self.frameCrease = QtWidgets.QFrame(self.widget_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frameCrease.sizePolicy().hasHeightForWidth())
self.frameCrease.setSizePolicy(sizePolicy)
self.frameCrease.setMinimumSize(QtCore.QSize(245, 210))
self.frameCrease.setMaximumSize(QtCore.QSize(245, 210))
self.frameCrease.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frameCrease.setFrameShadow(QtWidgets.QFrame.Raised)
self.frameCrease.setObjectName("frameCrease")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.frameCrease)
self.verticalLayout_5.setContentsMargins(0, 0, 0, 10)
self.verticalLayout_5.setSpacing(0)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.widget_14 = QtWidgets.QWidget(self.frameCrease)
self.widget_14.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.widget_14.setObjectName("widget_14")
self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.widget_14)
self.verticalLayout_13.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_13.setSpacing(0)
self.verticalLayout_13.setObjectName("verticalLayout_13")
self.widget_23 = QtWidgets.QWidget(self.widget_14)
self.widget_23.setMaximumSize(QtCore.QSize(16777215, 91))
self.widget_23.setObjectName("widget_23")
self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.widget_23)
self.verticalLayout_14.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_14.setSpacing(0)
self.verticalLayout_14.setObjectName("verticalLayout_14")
self.label_16 = QtWidgets.QLabel(self.widget_23)
self.label_16.setMinimumSize(QtCore.QSize(0, 45))
self.label_16.setMaximumSize(QtCore.QSize(200, 44))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.label_16.setFont(font)
self.label_16.setObjectName("label_16")
self.verticalLayout_14.addWidget(self.label_16)
self.widget_24 = QtWidgets.QWidget(self.widget_23)
self.widget_24.setObjectName("widget_24")
self.horizontalLayout_19 = QtWidgets.QHBoxLayout(self.widget_24)
self.horizontalLayout_19.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_19.setSpacing(5)
self.horizontalLayout_19.setObjectName("horizontalLayout_19")
self.lineEdit_14 = QtWidgets.QLineEdit(self.widget_24)
self.lineEdit_14.setMinimumSize(QtCore.QSize(45, 32))
self.lineEdit_14.setMaximumSize(QtCore.QSize(45, 35))
font = QtGui.QFont()
font.setPointSize(9)
self.lineEdit_14.setFont(font)
self.lineEdit_14.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit_14.setObjectName("lineEdit_14")
self.horizontalLayout_19.addWidget(self.lineEdit_14)
self.lineEdit_15 = QtWidgets.QLineEdit(self.widget_24)
self.lineEdit_15.setMinimumSize(QtCore.QSize(45, 35))
self.lineEdit_15.setMaximumSize(QtCore.QSize(45, 35))
font = QtGui.QFont()
font.setPointSize(9)
self.lineEdit_15.setFont(font)
self.lineEdit_15.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit_15.setObjectName("lineEdit_15")
self.horizontalLayout_19.addWidget(self.lineEdit_15)
self.lineEdit_16 = QtWidgets.QLineEdit(self.widget_24)
self.lineEdit_16.setMinimumSize(QtCore.QSize(45, 35))
self.lineEdit_16.setMaximumSize(QtCore.QSize(45, 35))
font = QtGui.QFont()
font.setPointSize(9)
self.lineEdit_16.setFont(font)
self.lineEdit_16.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit_16.setObjectName("lineEdit_16")
self.horizontalLayout_19.addWidget(self.lineEdit_16)
self.verticalLayout_14.addWidget(self.widget_24)
self.verticalLayout_13.addWidget(self.widget_23)
self.widget_26 = QtWidgets.QWidget(self.widget_14)
self.widget_26.setMaximumSize(QtCore.QSize(16777215, 61))
self.widget_26.setObjectName("widget_26")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget_26)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_20 = QtWidgets.QLabel(self.widget_26)
self.label_20.setMinimumSize(QtCore.QSize(148, 24))
self.label_20.setMaximumSize(QtCore.QSize(148, 24))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.label_20.setFont(font)
self.label_20.setObjectName("label_20")
self.horizontalLayout_2.addWidget(self.label_20)
self.lineEdit_18 = QtWidgets.QLineEdit(self.widget_26)
self.lineEdit_18.setMinimumSize(QtCore.QSize(45, 35))
self.lineEdit_18.setMaximumSize(QtCore.QSize(45, 35))
font = QtGui.QFont()
font.setPointSize(9)
self.lineEdit_18.setFont(font)
self.lineEdit_18.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit_18.setObjectName("lineEdit_18")
self.horizontalLayout_2.addWidget(self.lineEdit_18)
self.verticalLayout_13.addWidget(self.widget_26)
self.verticalLayout_5.addWidget(self.widget_14)
self.butInstructionCC = QtWidgets.QPushButton(self.frameCrease)
self.butInstructionCC.setMinimumSize(QtCore.QSize(110, 18))
self.butInstructionCC.setMaximumSize(QtCore.QSize(110, 18))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.butInstructionCC.setFont(font)
self.butInstructionCC.setObjectName("butInstructionCC")
self.verticalLayout_5.addWidget(self.butInstructionCC, 0, QtCore.Qt.AlignHCenter)
self.verticalLayout_4.addWidget(self.frameCrease)
self.horizontalLayout_6.addWidget(self.widget_6)
self.widget_8 = QtWidgets.QWidget(self.cardsFrame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(250)
sizePolicy.setHeightForWidth(self.widget_8.sizePolicy().hasHeightForWidth())
self.widget_8.setSizePolicy(sizePolicy)
self.widget_8.setMinimumSize(QtCore.QSize(267, 250))
self.widget_8.setMaximumSize(QtCore.QSize(267, 250))
self.widget_8.setSizeIncrement(QtCore.QSize(0, 250))
self.widget_8.setBaseSize(QtCore.QSize(0, 250))
self.widget_8.setObjectName("widget_8")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.widget_8)
self.verticalLayout_6.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.butIntVis = QtWidgets.QPushButton(self.widget_8)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.butIntVis.sizePolicy().hasHeightForWidth())
self.butIntVis.setSizePolicy(sizePolicy)
self.butIntVis.setMinimumSize(QtCore.QSize(240, 0))
self.butIntVis.setMaximumSize(QtCore.QSize(240, 22))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.butIntVis.setFont(font)
self.butIntVis.setObjectName("butIntVis")
self.verticalLayout_6.addWidget(self.butIntVis, 0, QtCore.Qt.AlignHCenter)
self.frameVolume = QtWidgets.QFrame(self.widget_8)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frameVolume.sizePolicy().hasHeightForWidth())
self.frameVolume.setSizePolicy(sizePolicy)
self.frameVolume.setMinimumSize(QtCore.QSize(245, 210))
self.frameVolume.setMaximumSize(QtCore.QSize(245, 210))
self.frameVolume.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frameVolume.setFrameShadow(QtWidgets.QFrame.Raised)
self.frameVolume.setObjectName("frameVolume")
self.horizontalLayout_21 = QtWidgets.QHBoxLayout(self.frameVolume)
self.horizontalLayout_21.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_21.setSpacing(0)
self.horizontalLayout_21.setObjectName("horizontalLayout_21")
self.widget_5 = QtWidgets.QWidget(self.frameVolume)
self.widget_5.setMinimumSize(QtCore.QSize(241, 195))
self.widget_5.setMaximumSize(QtCore.QSize(241, 195))
self.widget_5.setObjectName("widget_5")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.widget_5)
self.verticalLayout_7.setContentsMargins(-1, -1, -1, 6)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.widget_10 = QtWidgets.QWidget(self.widget_5)
self.widget_10.setObjectName("widget_10")
self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.widget_10)
self.verticalLayout_17.setObjectName("verticalLayout_17")
self.label_17 = QtWidgets.QLabel(self.widget_10)
self.label_17.setMaximumSize(QtCore.QSize(185, 16777215))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.label_17.setFont(font)
self.label_17.setObjectName("label_17")
self.verticalLayout_17.addWidget(self.label_17)
self.horizontalSlider = QtWidgets.QSlider(self.widget_10)
self.horizontalSlider.setMaximum(3)
self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider.setObjectName("horizontalSlider")
self.verticalLayout_17.addWidget(self.horizontalSlider)
self.verticalLayout_7.addWidget(self.widget_10)
self.widget_16 = QtWidgets.QWidget(self.widget_5)
self.widget_16.setObjectName("widget_16")
self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.widget_16)
self.verticalLayout_18.setObjectName("verticalLayout_18")
self.label_19 = QtWidgets.QLabel(self.widget_16)
self.label_19.setMaximumSize(QtCore.QSize(132, 16777215))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(False)
font.setWeight(50)
self.label_19.setFont(font)
self.label_19.setObjectName("label_19")
self.verticalLayout_18.addWidget(self.label_19)
self.horizontalSlider_2 = QtWidgets.QSlider(self.widget_16)
self.horizontalSlider_2.setMinimum(0)
self.horizontalSlider_2.setMaximum(10)
self.horizontalSlider_2.setSingleStep(1)
self.horizontalSlider_2.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_2.setObjectName("horizontalSlider_2")
self.verticalLayout_18.addWidget(self.horizontalSlider_2)
self.verticalLayout_7.addWidget(self.widget_16)
self.butInstructionInt = QtWidgets.QPushButton(self.widget_5)
self.butInstructionInt.setMinimumSize(QtCore.QSize(110, 18))
self.butInstructionInt.setMaximumSize(QtCore.QSize(110, 18))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.butInstructionInt.setFont(font)
self.butInstructionInt.setObjectName("butInstructionInt")
self.verticalLayout_7.addWidget(self.butInstructionInt, 0, QtCore.Qt.AlignHCenter)
self.horizontalLayout_21.addWidget(self.widget_5)
self.verticalLayout_6.addWidget(self.frameVolume)
self.horizontalLayout_6.addWidget(self.widget_8)
self.widget_2 = QtWidgets.QWidget(self.cardsFrame)
self.widget_2.setMinimumSize(QtCore.QSize(192, 240))
self.widget_2.setMaximumSize(QtCore.QSize(192, 240))
self.widget_2.setObjectName("widget_2")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget_2)
self.verticalLayout_3.setContentsMargins(-1, 0, -1, 0)
self.verticalLayout_3.setSpacing(6)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.butInspect = QtWidgets.QPushButton(self.widget_2)
self.butInspect.setMinimumSize(QtCore.QSize(140, 22))
self.butInspect.setMaximumSize(QtCore.QSize(140, 22))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.butInspect.setFont(font)
self.butInspect.setAutoFillBackground(False)
self.butInspect.setObjectName("butInspect")
self.verticalLayout_3.addWidget(self.butInspect, 0, QtCore.Qt.AlignHCenter)
self.frame_ins = QtWidgets.QFrame(self.widget_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame_ins.sizePolicy().hasHeightForWidth())
self.frame_ins.setSizePolicy(sizePolicy)
self.frame_ins.setMinimumSize(QtCore.QSize(170, 125))
self.frame_ins.setMaximumSize(QtCore.QSize(170, 135))
self.frame_ins.setSizeIncrement(QtCore.QSize(170, 0))
self.frame_ins.setBaseSize(QtCore.QSize(170, 0))
self.frame_ins.setObjectName("frame_ins")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame_ins)
self.verticalLayout_2.setContentsMargins(-1, 5, -1, 5)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.butFaces = QtWidgets.QPushButton(self.frame_ins)
font = QtGui.QFont()
font.setPointSize(10)
self.butFaces.setFont(font)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap("icons/blue_ocean/triangle.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.butFaces.setIcon(icon1)
self.butFaces.setObjectName("butFaces")
self.verticalLayout_2.addWidget(self.butFaces, 0, QtCore.Qt.AlignLeft)
self.butVertices = QtWidgets.QPushButton(self.frame_ins)
font = QtGui.QFont()
font.setPointSize(10)
self.butVertices.setFont(font)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap("icons/blue_ocean/stop-circle.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.butVertices.setIcon(icon2)
self.butVertices.setObjectName("butVertices")
self.verticalLayout_2.addWidget(self.butVertices, 0, QtCore.Qt.AlignLeft)
self.butStatus = QtWidgets.QPushButton(self.frame_ins)
font = QtGui.QFont()
font.setPointSize(10)
self.butStatus.setFont(font)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap("icons/blue_ocean/book-open.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.butStatus.setIcon(icon3)
self.butStatus.setObjectName("butStatus")
self.verticalLayout_2.addWidget(self.butStatus, 0, QtCore.Qt.AlignLeft)
self.butInstructionIns = QtWidgets.QPushButton(self.frame_ins)
self.butInstructionIns.setMinimumSize(QtCore.QSize(110, 18))
self.butInstructionIns.setMaximumSize(QtCore.QSize(110, 18))
font = QtGui.QFont()
font.setPointSize(9)
font.setBold(True)
font.setWeight(75)
self.butInstructionIns.setFont(font)
self.butInstructionIns.setObjectName("butInstructionIns")
self.verticalLayout_2.addWidget(self.butInstructionIns, 0, QtCore.Qt.AlignHCenter)
self.verticalLayout_3.addWidget(self.frame_ins, 0, QtCore.Qt.AlignHCenter)
self.widget_9 = QtWidgets.QWidget(self.widget_2)
self.widget_9.setMinimumSize(QtCore.QSize(170, 81))
self.widget_9.setMaximumSize(QtCore.QSize(170, 81))
self.widget_9.setObjectName("widget_9")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.widget_9)
self.verticalLayout_10.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_10.setSpacing(3)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.butdef_vol = QtWidgets.QPushButton(self.widget_9)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.butdef_vol.sizePolicy().hasHeightForWidth())
self.butdef_vol.setSizePolicy(sizePolicy)
self.butdef_vol.setMinimumSize(QtCore.QSize(170, 22))
self.butdef_vol.setMaximumSize(QtCore.QSize(170, 22))
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.butdef_vol.setFont(font)
self.butdef_vol.setObjectName("butdef_vol")
self.verticalLayout_10.addWidget(self.butdef_vol)
self.frame_27 = QtWidgets.QFrame(self.widget_9)
self.frame_27.setMaximumSize(QtCore.QSize(170, 41))
self.frame_27.setSizeIncrement(QtCore.QSize(170, 41))
self.frame_27.setObjectName("frame_27")
self.horizontalLayout_8 = QtWidgets.QHBoxLayout(self.frame_27)
self.horizontalLayout_8.setContentsMargins(2, 1, 2, 1)
self.horizontalLayout_8.setSpacing(0)
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.butVol_info = QtWidgets.QPushButton(self.frame_27)
self.butVol_info.setMinimumSize(QtCore.QSize(110, 18))
self.butVol_info.setMaximumSize(QtCore.QSize(110, 18))
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.butVol_info.setFont(font)
self.butVol_info.setObjectName("butVol_info")
self.horizontalLayout_8.addWidget(self.butVol_info)
self.lineEdit_20 = QtWidgets.QLineEdit(self.frame_27)
self.lineEdit_20.setMinimumSize(QtCore.QSize(41, 27))
self.lineEdit_20.setMaximumSize(QtCore.QSize(41, 27))
font = QtGui.QFont()
font.setPointSize(8)
self.lineEdit_20.setFont(font)
self.lineEdit_20.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit_20.setObjectName("lineEdit_20")
self.horizontalLayout_8.addWidget(self.lineEdit_20)
self.verticalLayout_10.addWidget(self.frame_27)
self.verticalLayout_3.addWidget(self.widget_9)
self.horizontalLayout_6.addWidget(self.widget_2)
self.verticalLayout.addWidget(self.cardsFrame, 0, QtCore.Qt.AlignLeft)
self.widget_4 = QtWidgets.QWidget(self.mainBody)
self.widget_4.setMinimumSize(QtCore.QSize(744, 30))
self.widget_4.setMaximumSize(QtCore.QSize(744, 30))
self.widget_4.setObjectName("widget_4")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget_4)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.butPrevious_2 = QtWidgets.QPushButton(self.widget_4)
self.butPrevious_2.setMinimumSize(QtCore.QSize(140, 18))
self.butPrevious_2.setMaximumSize(QtCore.QSize(140, 18))
font = QtGui.QFont()
font.setPointSize(8)
font.setBold(True)
font.setWeight(75)
self.butPrevious_2.setFont(font)
self.butPrevious_2.setMouseTracking(True)
self.butPrevious_2.setTabletTracking(True)
self.butPrevious_2.setObjectName("butPrevious_2")
self.horizontalLayout_3.addWidget(self.butPrevious_2)
self.butPrevious = QtWidgets.QPushButton(self.widget_4)
self.butPrevious.setMinimumSize(QtCore.QSize(140, 18))
self.butPrevious.setMaximumSize(QtCore.QSize(140, 18))
font = QtGui.QFont()
font.setPointSize(8)
font.setBold(True)
font.setWeight(75)
self.butPrevious.setFont(font)
self.butPrevious.setMouseTracking(True)
self.butPrevious.setTabletTracking(True)
self.butPrevious.setObjectName("butPrevious")
self.horizontalLayout_3.addWidget(self.butPrevious)
self.butExport_2 = QtWidgets.QPushButton(self.widget_4)
self.butExport_2.setMinimumSize(QtCore.QSize(140, 18))
self.butExport_2.setMaximumSize(QtCore.QSize(140, 18))
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.butExport_2.setFont(font)
self.butExport_2.setObjectName("butExport_2")
self.horizontalLayout_3.addWidget(self.butExport_2)
self.butExport = QtWidgets.QPushButton(self.widget_4)
self.butExport.setMinimumSize(QtCore.QSize(140, 18))
self.butExport.setMaximumSize(QtCore.QSize(140, 18))
font = QtGui.QFont()
font.setPointSize(7)
font.setBold(True)
font.setWeight(75)
self.butExport.setFont(font)
self.butExport.setObjectName("butExport")
self.horizontalLayout_3.addWidget(self.butExport)
self.lineEdit_19 = QtWidgets.QLineEdit(self.widget_4)
self.lineEdit_19.setMinimumSize(QtCore.QSize(126, 19))
self.lineEdit_19.setMaximumSize(QtCore.QSize(39, 19))
font = QtGui.QFont()
font.setPointSize(8)
self.lineEdit_19.setFont(font)
self.lineEdit_19.setAlignment(QtCore.Qt.AlignCenter)
self.lineEdit_19.setObjectName("lineEdit_19")
self.horizontalLayout_3.addWidget(self.lineEdit_19)
self.verticalLayout.addWidget(self.widget_4, 0, QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.widget_7 = QtWidgets.QWidget(self.mainBody)
self.widget_7.setMinimumSize(QtCore.QSize(670, 30))
self.widget_7.setMaximumSize(QtCore.QSize(738, 30))
self.widget_7.setObjectName("widget_7")
self.label_10 = QtWidgets.QLabel(self.widget_7)
self.label_10.setGeometry(QtCore.QRect(0, 2, 330, 26))
self.label_10.setMinimumSize(QtCore.QSize(330, 26))