-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui_main.py
901 lines (892 loc) · 44.4 KB
/
ui_main.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui_main.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(934, 673)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setStyleSheet(" *{\n"
" color: #000;\n"
"}\n"
"\n"
"#MainMenu{\n"
" background-color: #252C33;\n"
"}\n"
"#centralwidget{\n"
" background-color: #EEEEEE;\n"
"}\n"
"\n"
"#frame_10, #frame_20{\n"
" background-color: #fefeff;\n"
" border-radius: 10px;\n"
"} ")
self.centralwidget.setObjectName("centralwidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setSpacing(0)
self.verticalLayout.setObjectName("verticalLayout")
self.main_header = QtWidgets.QFrame(self.centralwidget)
self.main_header.setMaximumSize(QtCore.QSize(16777215, 50))
self.main_header.setStyleSheet("QFrame{\n"
" border-bottom: 1px solid #000;\n"
" \n"
" background-color: #252C33 ;\n"
"\n"
"}\n"
"QPushButton{\n"
" padding: 20px 10px;\n"
" border: none;\n"
" border-radius: 10px;\n"
"\n"
" color: #fff;\n"
"}")
self.main_header.setFrameShape(QtWidgets.QFrame.WinPanel)
self.main_header.setFrameShadow(QtWidgets.QFrame.Raised)
self.main_header.setObjectName("main_header")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.main_header)
self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_2.setSpacing(0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.tittle_bar_container = QtWidgets.QFrame(self.main_header)
self.tittle_bar_container.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.tittle_bar_container.setFrameShadow(QtWidgets.QFrame.Raised)
self.tittle_bar_container.setObjectName("tittle_bar_container")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.tittle_bar_container)
self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_5.setSpacing(0)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.tittle_bar = QtWidgets.QFrame(self.tittle_bar_container)
self.tittle_bar.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.tittle_bar.setFrameShadow(QtWidgets.QFrame.Raised)
self.tittle_bar.setObjectName("tittle_bar")
self.horizontalLayout_11 = QtWidgets.QHBoxLayout(self.tittle_bar)
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
self.message = QtWidgets.QLabel(self.tittle_bar)
self.message.setStyleSheet("color: rgb(255, 255, 255);")
self.message.setObjectName("message")
self.horizontalLayout_11.addWidget(self.message)
self.horizontalLayout_5.addWidget(self.tittle_bar)
self.horizontalLayout_2.addWidget(self.tittle_bar_container)
self.top_right_btns = QtWidgets.QFrame(self.main_header)
self.top_right_btns.setMaximumSize(QtCore.QSize(100, 16777215))
self.top_right_btns.setStyleSheet("QPushButton{\n"
" border-radius: 5px;\n"
"}\n"
"\n"
"QPushButton:hover{\n"
" background-color: rgb(0, 92, 157);\n"
"}\n"
"")
self.top_right_btns.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.top_right_btns.setFrameShadow(QtWidgets.QFrame.Raised)
self.top_right_btns.setObjectName("top_right_btns")
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.top_right_btns)
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_3.setSpacing(0)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.minimizeButton = QtWidgets.QPushButton(self.top_right_btns)
self.minimizeButton.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.minimizeButton.setStyleSheet("")
self.minimizeButton.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/1/icons/cil-minus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.minimizeButton.setIcon(icon)
self.minimizeButton.setIconSize(QtCore.QSize(24, 24))
self.minimizeButton.setObjectName("minimizeButton")
self.horizontalLayout_3.addWidget(self.minimizeButton)
self.restoreButton = QtWidgets.QPushButton(self.top_right_btns)
self.restoreButton.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.restoreButton.setStyleSheet("")
self.restoreButton.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/1/icons/cil-window-restore.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.restoreButton.setIcon(icon1)
self.restoreButton.setIconSize(QtCore.QSize(24, 24))
self.restoreButton.setObjectName("restoreButton")
self.horizontalLayout_3.addWidget(self.restoreButton)
self.closeButton = QtWidgets.QPushButton(self.top_right_btns)
self.closeButton.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.closeButton.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/1/icons/cil-x.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.closeButton.setIcon(icon2)
self.closeButton.setIconSize(QtCore.QSize(24, 24))
self.closeButton.setObjectName("closeButton")
self.horizontalLayout_3.addWidget(self.closeButton)
self.horizontalLayout_2.addWidget(self.top_right_btns)
self.verticalLayout.addWidget(self.main_header)
self.main_body = QtWidgets.QFrame(self.centralwidget)
self.main_body.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.main_body.setFrameShadow(QtWidgets.QFrame.Raised)
self.main_body.setObjectName("main_body")
self.horizontalLayout = QtWidgets.QHBoxLayout(self.main_body)
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setObjectName("horizontalLayout")
self.left_side_menu = QtWidgets.QFrame(self.main_body)
self.left_side_menu.setMinimumSize(QtCore.QSize(150, 0))
self.left_side_menu.setMaximumSize(QtCore.QSize(51, 16777215))
self.left_side_menu.setSizeIncrement(QtCore.QSize(0, 0))
self.left_side_menu.setStyleSheet("QFrame{\n"
" background-color: #252C33 ;\n"
"\n"
"}\n"
"QPushButton{\n"
" padding: 20px 10px;\n"
" border: none;\n"
" border-radius: 5px;\n"
" color: #fff;\n"
"}\n"
"QPushButton:hover{\n"
" background-color: rgb(1, 13, 44 );\n"
"}")
self.left_side_menu.setFrameShape(QtWidgets.QFrame.NoFrame)
self.left_side_menu.setFrameShadow(QtWidgets.QFrame.Raised)
self.left_side_menu.setObjectName("left_side_menu")
self.gridLayout = QtWidgets.QGridLayout(self.left_side_menu)
self.gridLayout.setObjectName("gridLayout")
self.frame_2 = QtWidgets.QFrame(self.left_side_menu)
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_2.setObjectName("frame_2")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.frame_2)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.DataHeaderBtn = QtWidgets.QPushButton(self.frame_2)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/1/icons/cil-notes.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.DataHeaderBtn.setIcon(icon3)
self.DataHeaderBtn.setIconSize(QtCore.QSize(40, 40))
self.DataHeaderBtn.setObjectName("DataHeaderBtn")
self.verticalLayout_7.addWidget(self.DataHeaderBtn)
self.calculateHeaderBtn = QtWidgets.QPushButton(self.frame_2)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/1/icons/cil-3d.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.calculateHeaderBtn.setIcon(icon4)
self.calculateHeaderBtn.setIconSize(QtCore.QSize(40, 40))
self.calculateHeaderBtn.setObjectName("calculateHeaderBtn")
self.verticalLayout_7.addWidget(self.calculateHeaderBtn)
self.gridLayout.addWidget(self.frame_2, 0, 0, 1, 1, QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.horizontalLayout.addWidget(self.left_side_menu, 0, QtCore.Qt.AlignLeft)
self.center_main_items = QtWidgets.QFrame(self.main_body)
self.center_main_items.setStyleSheet("")
self.center_main_items.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.center_main_items.setFrameShadow(QtWidgets.QFrame.Raised)
self.center_main_items.setObjectName("center_main_items")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.center_main_items)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.stackedWidget = QtWidgets.QStackedWidget(self.center_main_items)
self.stackedWidget.setObjectName("stackedWidget")
self.controlOption = QtWidgets.QWidget()
self.controlOption.setStyleSheet("\n"
"QLineEdit{border:1px solid rgb(43, 31, 91);}\n"
"\n"
"")
self.controlOption.setObjectName("controlOption")
self.gridLayout_4 = QtWidgets.QGridLayout(self.controlOption)
self.gridLayout_4.setObjectName("gridLayout_4")
self.frame_13 = QtWidgets.QFrame(self.controlOption)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame_13.sizePolicy().hasHeightForWidth())
self.frame_13.setSizePolicy(sizePolicy)
self.frame_13.setStyleSheet("background-color: rgb(220, 220, 220);")
self.frame_13.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_13.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_13.setObjectName("frame_13")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.frame_13)
self.verticalLayout_4.setContentsMargins(-1, 9, -1, -1)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.frame_10 = QtWidgets.QFrame(self.frame_13)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame_10.sizePolicy().hasHeightForWidth())
self.frame_10.setSizePolicy(sizePolicy)
self.frame_10.setStyleSheet("\n"
"QPushButton{\n"
" \n"
"\n"
" background-color: #34495E;\n"
" color: #fff;\n"
"}\n"
"QPushButton:hover{\n"
" background-color: rgb(1, 13, 44 );\n"
"}\n"
"QPushButton:pressed { \n"
" background-color:rgb(14, 76, 147)\n"
"}\n"
"\n"
"border-color: rgb(20, 0, 127);\n"
"background-color: rgb(255, 255, 255);\n"
"")
self.frame_10.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_10.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_10.setObjectName("frame_10")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame_10)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.frame_5 = QtWidgets.QFrame(self.frame_10)
self.frame_5.setStyleSheet("font: 700 12pt \"Arial\";\n"
"color: #252C33;")
self.frame_5.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_5.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_5.setObjectName("frame_5")
self.horizontalLayout_17 = QtWidgets.QHBoxLayout(self.frame_5)
self.horizontalLayout_17.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_17.setSpacing(0)
self.horizontalLayout_17.setObjectName("horizontalLayout_17")
self.label_10 = QtWidgets.QLabel(self.frame_5)
self.label_10.setMinimumSize(QtCore.QSize(100, 30))
self.label_10.setMaximumSize(QtCore.QSize(100, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_10.setFont(font)
self.label_10.setStyleSheet("")
self.label_10.setAlignment(QtCore.Qt.AlignCenter)
self.label_10.setObjectName("label_10")
self.horizontalLayout_17.addWidget(self.label_10)
self.label_31 = QtWidgets.QLabel(self.frame_5)
self.label_31.setMinimumSize(QtCore.QSize(145, 30))
self.label_31.setMaximumSize(QtCore.QSize(16777215, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_31.setFont(font)
self.label_31.setStyleSheet("")
self.label_31.setAlignment(QtCore.Qt.AlignCenter)
self.label_31.setObjectName("label_31")
self.horizontalLayout_17.addWidget(self.label_31)
self.label_32 = QtWidgets.QLabel(self.frame_5)
self.label_32.setMinimumSize(QtCore.QSize(145, 30))
self.label_32.setMaximumSize(QtCore.QSize(16777215, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_32.setFont(font)
self.label_32.setStyleSheet("")
self.label_32.setAlignment(QtCore.Qt.AlignCenter)
self.label_32.setObjectName("label_32")
self.horizontalLayout_17.addWidget(self.label_32)
self.label_34 = QtWidgets.QLabel(self.frame_5)
self.label_34.setMinimumSize(QtCore.QSize(145, 30))
self.label_34.setMaximumSize(QtCore.QSize(16777215, 30))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_34.setFont(font)
self.label_34.setStyleSheet("")
self.label_34.setAlignment(QtCore.Qt.AlignCenter)
self.label_34.setObjectName("label_34")
self.horizontalLayout_17.addWidget(self.label_34)
self.label_3 = QtWidgets.QLabel(self.frame_5)
self.label_3.setMinimumSize(QtCore.QSize(145, 30))
self.label_3.setMaximumSize(QtCore.QSize(16777215, 30))
self.label_3.setAlignment(QtCore.Qt.AlignCenter)
self.label_3.setObjectName("label_3")
self.horizontalLayout_17.addWidget(self.label_3)
self.verticalLayout_3.addWidget(self.frame_5)
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
self.comboBox = QtWidgets.QComboBox(self.frame_10)
self.comboBox.setMinimumSize(QtCore.QSize(100, 20))
self.comboBox.setMaximumSize(QtCore.QSize(100, 16777215))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.comboBox.setFont(font)
self.comboBox.setObjectName("comboBox")
self.comboBox.addItem("")
self.comboBox.addItem("")
self.horizontalLayout_14.addWidget(self.comboBox)
self.supplyTempLE = QtWidgets.QLineEdit(self.frame_10)
self.supplyTempLE.setMinimumSize(QtCore.QSize(145, 20))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.supplyTempLE.setFont(font)
self.supplyTempLE.setLayoutDirection(QtCore.Qt.LeftToRight)
self.supplyTempLE.setInputMethodHints(QtCore.Qt.ImhDigitsOnly|QtCore.Qt.ImhFormattedNumbersOnly)
self.supplyTempLE.setMaxLength(10)
self.supplyTempLE.setAlignment(QtCore.Qt.AlignCenter)
self.supplyTempLE.setObjectName("supplyTempLE")
self.horizontalLayout_14.addWidget(self.supplyTempLE)
self.targetTempLE = QtWidgets.QLineEdit(self.frame_10)
self.targetTempLE.setMinimumSize(QtCore.QSize(145, 20))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.targetTempLE.setFont(font)
self.targetTempLE.setInputMethodHints(QtCore.Qt.ImhDigitsOnly|QtCore.Qt.ImhFormattedNumbersOnly)
self.targetTempLE.setMaxLength(10)
self.targetTempLE.setAlignment(QtCore.Qt.AlignCenter)
self.targetTempLE.setObjectName("targetTempLE")
self.horizontalLayout_14.addWidget(self.targetTempLE)
self.cpLE = QtWidgets.QLineEdit(self.frame_10)
self.cpLE.setMinimumSize(QtCore.QSize(145, 20))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.cpLE.setFont(font)
self.cpLE.setInputMethodHints(QtCore.Qt.ImhDigitsOnly|QtCore.Qt.ImhFormattedNumbersOnly)
self.cpLE.setMaxLength(10)
self.cpLE.setAlignment(QtCore.Qt.AlignCenter)
self.cpLE.setObjectName("cpLE")
self.horizontalLayout_14.addWidget(self.cpLE)
self.hLE = QtWidgets.QLineEdit(self.frame_10)
self.hLE.setMinimumSize(QtCore.QSize(145, 20))
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.hLE.setFont(font)
self.hLE.setAlignment(QtCore.Qt.AlignCenter)
self.hLE.setObjectName("hLE")
self.horizontalLayout_14.addWidget(self.hLE)
self.verticalLayout_3.addLayout(self.horizontalLayout_14)
self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
self.horizontalLayout_15.setContentsMargins(0, 0, -1, -1)
self.horizontalLayout_15.setObjectName("horizontalLayout_15")
self.addBtn = QtWidgets.QPushButton(self.frame_10)
self.addBtn.setMinimumSize(QtCore.QSize(150, 0))
self.addBtn.setMaximumSize(QtCore.QSize(150, 16777215))
self.addBtn.setObjectName("addBtn")
self.horizontalLayout_15.addWidget(self.addBtn)
self.verticalLayout_3.addLayout(self.horizontalLayout_15)
self.verticalLayout_4.addWidget(self.frame_10)
self.frame_6 = QtWidgets.QFrame(self.frame_13)
self.frame_6.setStyleSheet("#frame_6{\n"
" background-color: #fefeff;\n"
" border-radius: 10px;\n"
"} ")
self.frame_6.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_6.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_6.setObjectName("frame_6")
self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.frame_6)
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.frame_4 = QtWidgets.QFrame(self.frame_6)
self.frame_4.setStyleSheet("font: 700 11pt \"Arial\";\n"
"background-color: rgb(255, 255, 255);\n"
"color: #252C33;\n"
"\n"
"")
self.frame_4.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_4.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_4.setObjectName("frame_4")
self.horizontalLayout_16 = QtWidgets.QHBoxLayout(self.frame_4)
self.horizontalLayout_16.setContentsMargins(15, -1, -1, -1)
self.horizontalLayout_16.setSpacing(0)
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
self.label_5 = QtWidgets.QLabel(self.frame_4)
self.label_5.setMinimumSize(QtCore.QSize(110, 0))
self.label_5.setMaximumSize(QtCore.QSize(110, 16777215))
self.label_5.setAlignment(QtCore.Qt.AlignCenter)
self.label_5.setObjectName("label_5")
self.horizontalLayout_16.addWidget(self.label_5)
self.label_6 = QtWidgets.QLabel(self.frame_4)
self.label_6.setMinimumSize(QtCore.QSize(110, 0))
self.label_6.setMaximumSize(QtCore.QSize(110, 16777215))
self.label_6.setAlignment(QtCore.Qt.AlignCenter)
self.label_6.setObjectName("label_6")
self.horizontalLayout_16.addWidget(self.label_6)
self.label_7 = QtWidgets.QLabel(self.frame_4)
self.label_7.setMinimumSize(QtCore.QSize(110, 0))
self.label_7.setMaximumSize(QtCore.QSize(110, 16777215))
self.label_7.setAlignment(QtCore.Qt.AlignCenter)
self.label_7.setObjectName("label_7")
self.horizontalLayout_16.addWidget(self.label_7)
self.label_13 = QtWidgets.QLabel(self.frame_4)
self.label_13.setMinimumSize(QtCore.QSize(110, 0))
self.label_13.setMaximumSize(QtCore.QSize(110, 16777215))
self.label_13.setAlignment(QtCore.Qt.AlignCenter)
self.label_13.setObjectName("label_13")
self.horizontalLayout_16.addWidget(self.label_13)
self.label_8 = QtWidgets.QLabel(self.frame_4)
self.label_8.setMinimumSize(QtCore.QSize(110, 0))
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
self.label_8.setObjectName("label_8")
self.horizontalLayout_16.addWidget(self.label_8)
self.verticalLayout_8.addWidget(self.frame_4)
self.inputList = QtWidgets.QTableWidget(self.frame_6)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.inputList.setFont(font)
self.inputList.setFrameShape(QtWidgets.QFrame.Box)
self.inputList.setFrameShadow(QtWidgets.QFrame.Sunken)
self.inputList.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.inputList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
self.inputList.setTabKeyNavigation(False)
self.inputList.setProperty("showDropIndicator", False)
self.inputList.setDragDropOverwriteMode(False)
self.inputList.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
self.inputList.setIconSize(QtCore.QSize(0, 0))
self.inputList.setTextElideMode(QtCore.Qt.ElideMiddle)
self.inputList.setGridStyle(QtCore.Qt.SolidLine)
self.inputList.setRowCount(0)
self.inputList.setColumnCount(5)
self.inputList.setObjectName("inputList")
item = QtWidgets.QTableWidgetItem()
self.inputList.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.inputList.setHorizontalHeaderItem(1, item)
self.inputList.horizontalHeader().setVisible(False)
self.inputList.horizontalHeader().setCascadingSectionResizes(False)
self.inputList.horizontalHeader().setDefaultSectionSize(110)
self.inputList.horizontalHeader().setHighlightSections(True)
self.inputList.horizontalHeader().setMinimumSectionSize(110)
self.inputList.horizontalHeader().setSortIndicatorShown(False)
self.inputList.horizontalHeader().setStretchLastSection(True)
self.inputList.verticalHeader().setCascadingSectionResizes(False)
self.inputList.verticalHeader().setDefaultSectionSize(30)
self.inputList.verticalHeader().setMinimumSectionSize(30)
self.inputList.verticalHeader().setStretchLastSection(False)
self.verticalLayout_8.addWidget(self.inputList)
self.verticalLayout_4.addWidget(self.frame_6)
self.frame_3 = QtWidgets.QFrame(self.frame_13)
self.frame_3.setMaximumSize(QtCore.QSize(16777215, 50))
self.frame_3.setStyleSheet("#frame_3{ background-color: #fefeff;\n"
" border-radius: 10px;\n"
"} ")
self.frame_3.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_3.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_3.setObjectName("frame_3")
self.gridLayout_5 = QtWidgets.QGridLayout(self.frame_3)
self.gridLayout_5.setObjectName("gridLayout_5")
self.label_4 = QtWidgets.QLabel(self.frame_3)
self.label_4.setSizeIncrement(QtCore.QSize(0, 0))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(True)
self.label_4.setFont(font)
self.label_4.setStyleSheet("background-color: rgb(255, 255, 255);")
self.label_4.setObjectName("label_4")
self.gridLayout_5.addWidget(self.label_4, 0, 0, 1, 1)
self.lineEdit_deltaT = QtWidgets.QLineEdit(self.frame_3)
self.lineEdit_deltaT.setMinimumSize(QtCore.QSize(0, 20))
self.lineEdit_deltaT.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(True)
self.lineEdit_deltaT.setFont(font)
self.lineEdit_deltaT.setStyleSheet("background-color: rgb(255, 255, 255);")
self.lineEdit_deltaT.setInputMethodHints(QtCore.Qt.ImhDigitsOnly|QtCore.Qt.ImhFormattedNumbersOnly)
self.lineEdit_deltaT.setObjectName("lineEdit_deltaT")
self.gridLayout_5.addWidget(self.lineEdit_deltaT, 0, 1, 1, 1)
self.verticalLayout_4.addWidget(self.frame_3)
self.frame_12 = QtWidgets.QFrame(self.frame_13)
self.frame_12.setStyleSheet("#frame_12{ background-color: #fefeff;\n"
"\n"
" border-radius: 10px;\n"
"}\n"
"\n"
"QPushButton{\n"
" \n"
"\n"
" background-color: #34495E;\n"
" color: #fff;\n"
"}\n"
"QPushButton:hover{\n"
" background-color: rgb(1, 13, 44 );\n"
"}\n"
"QPushButton:pressed { \n"
" background-color:rgb(14, 76, 147)\n"
"}")
self.frame_12.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_12.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_12.setObjectName("frame_12")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.frame_12)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.calculateBtn = QtWidgets.QPushButton(self.frame_12)
self.calculateBtn.setMinimumSize(QtCore.QSize(0, 30))
self.calculateBtn.setMaximumSize(QtCore.QSize(150, 16777215))
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icons/icons/cil-check-alt.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.calculateBtn.setIcon(icon5)
self.calculateBtn.setObjectName("calculateBtn")
self.horizontalLayout_7.addWidget(self.calculateBtn)
self.clearBtn = QtWidgets.QPushButton(self.frame_12)
self.clearBtn.setMinimumSize(QtCore.QSize(0, 30))
self.clearBtn.setMaximumSize(QtCore.QSize(150, 16777215))
self.clearBtn.setIcon(icon5)
self.clearBtn.setObjectName("clearBtn")
self.horizontalLayout_7.addWidget(self.clearBtn)
self.verticalLayout_4.addWidget(self.frame_12, 0, QtCore.Qt.AlignTop)
self.gridLayout_4.addWidget(self.frame_13, 1, 0, 1, 1)
self.frame_11 = QtWidgets.QFrame(self.controlOption)
font = QtGui.QFont()
font.setBold(False)
self.frame_11.setFont(font)
self.frame_11.setStyleSheet("#frame_11{ background-color: #fefeff;}")
self.frame_11.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_11.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_11.setObjectName("frame_11")
self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.frame_11)
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.label_33 = QtWidgets.QLabel(self.frame_11)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
self.label_33.setFont(font)
self.label_33.setObjectName("label_33")
self.horizontalLayout_6.addWidget(self.label_33)
self.gridLayout_4.addWidget(self.frame_11, 0, 0, 1, 1, QtCore.Qt.AlignTop)
self.stackedWidget.addWidget(self.controlOption)
self.ringMeasurement = QtWidgets.QWidget()
self.ringMeasurement.setStyleSheet("")
self.ringMeasurement.setObjectName("ringMeasurement")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.ringMeasurement)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.frameMembers = QtWidgets.QFrame(self.ringMeasurement)
self.frameMembers.setStyleSheet("#frameMembers{ background-color: #fefeff;}")
self.frameMembers.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frameMembers.setFrameShadow(QtWidgets.QFrame.Raised)
self.frameMembers.setObjectName("frameMembers")
self.horizontalLayout_12 = QtWidgets.QHBoxLayout(self.frameMembers)
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
self.label_2 = QtWidgets.QLabel(self.frameMembers)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
self.label_2.setFont(font)
self.label_2.setStyleSheet("")
self.label_2.setObjectName("label_2")
self.horizontalLayout_12.addWidget(self.label_2, 0, QtCore.Qt.AlignLeft)
self.verticalLayout_6.addWidget(self.frameMembers)
self.frame = QtWidgets.QFrame(self.ringMeasurement)
self.frame.setStyleSheet("")
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.horizontalLayout_21 = QtWidgets.QHBoxLayout(self.frame)
self.horizontalLayout_21.setContentsMargins(0, 0, 0, 0)
self.horizontalLayout_21.setSpacing(0)
self.horizontalLayout_21.setObjectName("horizontalLayout_21")
self.frame_14 = QtWidgets.QFrame(self.frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.frame_14.sizePolicy().hasHeightForWidth())
self.frame_14.setSizePolicy(sizePolicy)
self.frame_14.setStyleSheet("background-color: rgb(220, 220, 220);")
self.frame_14.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_14.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_14.setObjectName("frame_14")
self.gridLayout_6 = QtWidgets.QGridLayout(self.frame_14)
self.gridLayout_6.setObjectName("gridLayout_6")
self.frame_20 = QtWidgets.QFrame(self.frame_14)
self.frame_20.setMinimumSize(QtCore.QSize(0, 0))
font = QtGui.QFont()
font.setPointSize(10)
font.setBold(True)
self.frame_20.setFont(font)
self.frame_20.setStyleSheet("border-color: rgb(20, 0, 127);\n"
"background-color: rgb(0, 0, 255);\n"
"background-color: rgb(255, 255, 255);")
self.frame_20.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_20.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_20.setObjectName("frame_20")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.frame_20)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.frame_7 = QtWidgets.QFrame(self.frame_20)
self.frame_7.setStyleSheet("font: 700 12pt \"Arial\";\n"
"background-color: rgb(255, 255, 255);\n"
"color: #252C33; \n"
"")
self.frame_7.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_7.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_7.setObjectName("frame_7")
self.horizontalLayout_18 = QtWidgets.QHBoxLayout(self.frame_7)
self.horizontalLayout_18.setContentsMargins(15, -1, -1, -1)
self.horizontalLayout_18.setObjectName("horizontalLayout_18")
self.label_9 = QtWidgets.QLabel(self.frame_7)
self.label_9.setMinimumSize(QtCore.QSize(180, 0))
self.label_9.setMaximumSize(QtCore.QSize(180, 16777215))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_9.setFont(font)
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
self.label_9.setObjectName("label_9")
self.horizontalLayout_18.addWidget(self.label_9)
self.label_11 = QtWidgets.QLabel(self.frame_7)
self.label_11.setMinimumSize(QtCore.QSize(180, 0))
self.label_11.setMaximumSize(QtCore.QSize(180, 16777215))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_11.setFont(font)
self.label_11.setAlignment(QtCore.Qt.AlignCenter)
self.label_11.setObjectName("label_11")
self.horizontalLayout_18.addWidget(self.label_11)
self.label_12 = QtWidgets.QLabel(self.frame_7)
self.label_12.setMinimumSize(QtCore.QSize(180, 0))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
self.label_12.setFont(font)
self.label_12.setAlignment(QtCore.Qt.AlignCenter)
self.label_12.setObjectName("label_12")
self.horizontalLayout_18.addWidget(self.label_12)
self.verticalLayout_10.addWidget(self.frame_7)
self.outputList = QtWidgets.QTableWidget(self.frame_20)
font = QtGui.QFont()
font.setPointSize(12)
font.setBold(True)
self.outputList.setFont(font)
self.outputList.setFrameShape(QtWidgets.QFrame.Box)
self.outputList.setFrameShadow(QtWidgets.QFrame.Sunken)
self.outputList.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
self.outputList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
self.outputList.setTabKeyNavigation(False)
self.outputList.setProperty("showDropIndicator", False)
self.outputList.setDragDropOverwriteMode(False)
self.outputList.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
self.outputList.setIconSize(QtCore.QSize(0, 0))
self.outputList.setTextElideMode(QtCore.Qt.ElideMiddle)
self.outputList.setGridStyle(QtCore.Qt.SolidLine)
self.outputList.setRowCount(0)
self.outputList.setColumnCount(3)
self.outputList.setObjectName("outputList")
item = QtWidgets.QTableWidgetItem()
self.outputList.setHorizontalHeaderItem(0, item)
item = QtWidgets.QTableWidgetItem()
self.outputList.setHorizontalHeaderItem(1, item)
self.outputList.horizontalHeader().setVisible(False)
self.outputList.horizontalHeader().setCascadingSectionResizes(False)
self.outputList.horizontalHeader().setDefaultSectionSize(180)
self.outputList.horizontalHeader().setHighlightSections(True)
self.outputList.horizontalHeader().setMinimumSectionSize(180)
self.outputList.horizontalHeader().setSortIndicatorShown(False)
self.outputList.horizontalHeader().setStretchLastSection(True)
self.outputList.verticalHeader().setCascadingSectionResizes(False)
self.outputList.verticalHeader().setDefaultSectionSize(30)
self.outputList.verticalHeader().setMinimumSectionSize(30)
self.outputList.verticalHeader().setStretchLastSection(False)
self.verticalLayout_10.addWidget(self.outputList)
self.gridLayout_6.addWidget(self.frame_20, 0, 0, 1, 1)
self.frame_18 = QtWidgets.QFrame(self.frame_14)
font = QtGui.QFont()
font.setPointSize(11)
self.frame_18.setFont(font)
self.frame_18.setStyleSheet("#frame_18{ background-color: #fefeff;\n"
"\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton{\n"
" \n"
"\n"
" background-color: #34495E;\n"
" color: #fff;\n"
"}\n"
"QPushButton:hover{\n"
" background-color: rgb(1, 13, 44 );\n"
"}\n"
"QPushButton:pressed { \n"
" background-color:rgb(14, 76, 147)\n"
"}")
self.frame_18.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_18.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_18.setObjectName("frame_18")
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.frame_18)
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.label_35 = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.label_35.setFont(font)
self.label_35.setStyleSheet("color: rgb(255, 0, 0);")
self.label_35.setObjectName("label_35")
self.horizontalLayout_4.addWidget(self.label_35)
self.qhLabel = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.qhLabel.setFont(font)
self.qhLabel.setText("")
self.qhLabel.setObjectName("qhLabel")
self.horizontalLayout_4.addWidget(self.qhLabel)
self.verticalLayout_9.addLayout(self.horizontalLayout_4)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.label_23 = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.label_23.setFont(font)
self.label_23.setStyleSheet("color: rgb(0, 0, 255);")
self.label_23.setObjectName("label_23")
self.horizontalLayout_8.addWidget(self.label_23)
self.qcLabel = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.qcLabel.setFont(font)
self.qcLabel.setText("")
self.qcLabel.setObjectName("qcLabel")
self.horizontalLayout_8.addWidget(self.qcLabel)
self.verticalLayout_9.addLayout(self.horizontalLayout_8)
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
self.label_24 = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.label_24.setFont(font)
self.label_24.setStyleSheet("color: rgb(0, 0, 255);")
self.label_24.setObjectName("label_24")
self.horizontalLayout_13.addWidget(self.label_24)
self.AminLabel = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.AminLabel.setFont(font)
self.AminLabel.setText("")
self.AminLabel.setObjectName("AminLabel")
self.horizontalLayout_13.addWidget(self.AminLabel)
self.verticalLayout_9.addLayout(self.horizontalLayout_13)
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.label_22 = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.label_22.setFont(font)
self.label_22.setStyleSheet("color: rgb(255, 0, 255);")
self.label_22.setObjectName("label_22")
self.horizontalLayout_10.addWidget(self.label_22)
self.pinchLabel = QtWidgets.QLabel(self.frame_18)
font = QtGui.QFont()
font.setPointSize(10)
self.pinchLabel.setFont(font)
self.pinchLabel.setText("")
self.pinchLabel.setObjectName("pinchLabel")
self.horizontalLayout_10.addWidget(self.pinchLabel)
self.verticalLayout_9.addLayout(self.horizontalLayout_10)
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.gccPlotBtn = QtWidgets.QPushButton(self.frame_18)
self.gccPlotBtn.setMinimumSize(QtCore.QSize(0, 30))
self.gccPlotBtn.setMaximumSize(QtCore.QSize(150, 16777215))
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/icons/icons/cil-options-horizontal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.gccPlotBtn.setIcon(icon6)
self.gccPlotBtn.setObjectName("gccPlotBtn")
self.horizontalLayout_9.addWidget(self.gccPlotBtn)
self.ccPlotBtn = QtWidgets.QPushButton(self.frame_18)
self.ccPlotBtn.setMinimumSize(QtCore.QSize(0, 30))
self.ccPlotBtn.setMaximumSize(QtCore.QSize(150, 16777215))
self.ccPlotBtn.setObjectName("ccPlotBtn")
self.horizontalLayout_9.addWidget(self.ccPlotBtn)
self.ClearPlotBtn = QtWidgets.QPushButton(self.frame_18)
self.ClearPlotBtn.setMinimumSize(QtCore.QSize(0, 30))
self.ClearPlotBtn.setMaximumSize(QtCore.QSize(150, 16777215))
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/icons/icons/cil-media-play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.ClearPlotBtn.setIcon(icon7)
self.ClearPlotBtn.setObjectName("ClearPlotBtn")
self.horizontalLayout_9.addWidget(self.ClearPlotBtn)
self.verticalLayout_9.addLayout(self.horizontalLayout_9)
self.gridLayout_6.addWidget(self.frame_18, 1, 0, 1, 1)
self.horizontalLayout_21.addWidget(self.frame_14)
self.verticalLayout_6.addWidget(self.frame)
self.stackedWidget.addWidget(self.ringMeasurement)
self.verticalLayout_2.addWidget(self.stackedWidget)
self.horizontalLayout.addWidget(self.center_main_items)
self.verticalLayout.addWidget(self.main_body)
self.main_footer = QtWidgets.QFrame(self.centralwidget)
self.main_footer.setMaximumSize(QtCore.QSize(16777215, 10))
self.main_footer.setStyleSheet("QFrame{\n"
" border-bottom: 1px solid #000;\n"
" \n"
" background-color: #19222C ;}\n"
"")
self.main_footer.setFrameShape(QtWidgets.QFrame.WinPanel)
self.main_footer.setFrameShadow(QtWidgets.QFrame.Raised)
self.main_footer.setObjectName("main_footer")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.main_footer)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.label = QtWidgets.QLabel(self.main_footer)
self.label.setObjectName("label")
self.verticalLayout_5.addWidget(self.label)
self.verticalLayout.addWidget(self.main_footer)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
self.stackedWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.comboBox, self.supplyTempLE)
MainWindow.setTabOrder(self.supplyTempLE, self.targetTempLE)
MainWindow.setTabOrder(self.targetTempLE, self.cpLE)
MainWindow.setTabOrder(self.cpLE, self.hLE)
MainWindow.setTabOrder(self.hLE, self.addBtn)
MainWindow.setTabOrder(self.addBtn, self.lineEdit_deltaT)
MainWindow.setTabOrder(self.lineEdit_deltaT, self.calculateBtn)
MainWindow.setTabOrder(self.calculateBtn, self.clearBtn)
MainWindow.setTabOrder(self.clearBtn, self.DataHeaderBtn)
MainWindow.setTabOrder(self.DataHeaderBtn, self.calculateHeaderBtn)
MainWindow.setTabOrder(self.calculateHeaderBtn, self.minimizeButton)
MainWindow.setTabOrder(self.minimizeButton, self.restoreButton)
MainWindow.setTabOrder(self.restoreButton, self.closeButton)
MainWindow.setTabOrder(self.closeButton, self.gccPlotBtn)
MainWindow.setTabOrder(self.gccPlotBtn, self.ccPlotBtn)
MainWindow.setTabOrder(self.ccPlotBtn, self.ClearPlotBtn)
MainWindow.setTabOrder(self.ClearPlotBtn, self.outputList)
MainWindow.setTabOrder(self.outputList, self.inputList)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.message.setText(_translate("MainWindow", "Data Software"))
self.DataHeaderBtn.setText(_translate("MainWindow", "Data"))
self.calculateHeaderBtn.setText(_translate("MainWindow", "Calculate"))
self.label_10.setText(_translate("MainWindow", "Type"))
self.label_31.setText(_translate("MainWindow", "Supply Temp"))
self.label_32.setText(_translate("MainWindow", "Target Temp"))
self.label_34.setText(_translate("MainWindow", "FCP"))
self.label_3.setText(_translate("MainWindow", "h"))
self.comboBox.setItemText(0, _translate("MainWindow", "Hot"))
self.comboBox.setItemText(1, _translate("MainWindow", "Cold"))
self.addBtn.setText(_translate("MainWindow", "Add"))
self.label_5.setText(_translate("MainWindow", "Type"))
self.label_6.setText(_translate("MainWindow", "Supply Temp"))
self.label_7.setText(_translate("MainWindow", "Target Temp"))
self.label_13.setText(_translate("MainWindow", "FCP"))
self.label_8.setText(_translate("MainWindow", "h"))
self.label_4.setText(_translate("MainWindow", "ΔT min ="))
self.calculateBtn.setText(_translate("MainWindow", "Save and Calculate"))
self.clearBtn.setText(_translate("MainWindow", "Clear"))
self.label_33.setText(_translate("MainWindow", "Data"))
self.label_2.setText(_translate("MainWindow", "Plot"))
self.label_9.setText(_translate("MainWindow", "Hot Scale"))
self.label_11.setText(_translate("MainWindow", "Factors"))
self.label_12.setText(_translate("MainWindow", "Cold Scale"))
self.label_35.setText(_translate("MainWindow", "QHmin = "))
self.label_23.setText(_translate("MainWindow", "Qcmin ="))
self.label_24.setText(_translate("MainWindow", "Amin ="))
self.label_22.setText(_translate("MainWindow", "Pinch Point ="))
self.gccPlotBtn.setText(_translate("MainWindow", "GCC Plot"))
self.ccPlotBtn.setText(_translate("MainWindow", "CC Plot"))
self.ClearPlotBtn.setText(_translate("MainWindow", "Clear"))
self.label.setText(_translate("MainWindow", "TextLabel"))
import iconnew_rc
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())