-
Notifications
You must be signed in to change notification settings - Fork 0
/
RemoteControl_main_BackUp.py
1207 lines (1201 loc) · 66.6 KB
/
RemoteControl_main_BackUp.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
# Form implementation generated from reading ui file 'RemoteControl_main_BackUp.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setEnabled(True)
MainWindow.resize(885, 814)
MainWindow.setStyleSheet("/*Default style for QApplication*/\n"
"[subQGroupBoxFont=\"regular\"] {\n"
" font: \"Open Sans\";\n"
" font-size: 9pt;\n"
" color: black;\n"
"}\n"
"[mainQGroupBoxFont=\"bold\"] {\n"
" font: \"Open Sans SemiBold\";\n"
" font-size: 9pt;\n"
" font-weight: 63;\n"
"}\n"
"\n"
"[QLabelFont=\"regular\"] {\n"
" font: \"Open Sans\";\n"
" font-size: 9pt;\n"
" color: black;\n"
"}\n"
"\n"
"[QRadiobuttonFont=\"regular\"] {\n"
" font: \"Open Sans\";\n"
" font-size: 9pt;\n"
" color: black;\n"
"}\n"
"\n"
"[QTextEditSet=\"Courier New\"] {\n"
" border: 1px solid gray;\n"
" border-radius: 3px;\n"
" font-family:Courier New;\n"
" font-size: 10pt;\n"
"}\n"
"\n"
"\n"
"QMainWindow {\n"
" font: 10pt \"Open Sans\";\n"
" font-color: black;\n"
" background-color: rgb(235, 235, 235);\n"
"}\n"
"\n"
"QMainWindow > QWidget#left_frame QGroupBox {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#groupBox_5 {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#RadioButtonGroup {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#ComboxBoxGroup {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#groupBox_param_enter {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#UserDefinedSetupGroup {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#GraphicsViewGroup {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#ReceivedDataGroup {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#SentDataGroup {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#groupBox_5 {\n"
" font: 63 9pt \"Open Sans SemiBold\";\n"
"}\n"
"\n"
"#SerialPortGroup {\n"
" font: 9pt \"Open Sans Medium\";\n"
"}\n"
"\n"
"#AddressGroup {\n"
" font: 9pt \"Open Sans Medium\";\n"
"}\n"
"\n"
"#QuickMoveGroup {\n"
" font: 9pt \"Open Sans Medium\";\n"
"}\n"
"\n"
"#CatalogGroup {\n"
" font: 9pt \"Open Sans Medium\";\n"
"}\n"
"\n"
"#BackgroundLightGroup {\n"
" font: 9pt \"Open Sans Medium\";\n"
"}\n"
"\n"
"\n"
"*#QLabel {\n"
" font: 9pt \"Open Sans Medium\";\n"
"}\n"
"\n"
"*#QRadioButton {\n"
" font: 9pt \"Open Sans\";\n"
"}\n"
"\n"
"*#QFrame {\n"
" border: none;\n"
"}\n"
"\n"
"*#QGroupBox {\n"
" border: none;\n"
"}\n"
"\n"
"\n"
"QTextEdit {\n"
" border: 1px solid gray;\n"
" border-radius: 3px;\n"
" font-family:Courier New;\n"
" font-size: 10pt;\n"
"}\n"
"\n"
"\n"
"QMenu::item:selected{\n"
" background-color:rgb(0,100,200);\n"
"}\n"
"\n"
"QMenuBar {\n"
"}\n"
"\n"
"QStatusBar {\n"
" color: black;\n"
"}\n"
"\n"
"QStatusBar QLabel {\n"
" color: black;\n"
"}\n"
"")
self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
self.centralwidget.setStyleSheet("QWidget {\n"
" \n"
" font: 57 9pt \"Open Sans Medium\";\n"
"}")
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_9 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_9.setObjectName("gridLayout_9")
spacerItem = QtWidgets.QSpacerItem(0, 0, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum)
self.gridLayout_9.addItem(spacerItem, 0, 0, 1, 1)
spacerItem1 = QtWidgets.QSpacerItem(500, 0, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
self.gridLayout_9.addItem(spacerItem1, 1, 1, 1, 1)
self.main_layout = QtWidgets.QGridLayout()
self.main_layout.setSpacing(6)
self.main_layout.setObjectName("main_layout")
self.right_frame = QtWidgets.QFrame(parent=self.centralwidget)
self.right_frame.setMaximumSize(QtCore.QSize(1000, 16777215))
self.right_frame.setStyleSheet("QGroupBox {\n"
" \n"
" font: 57 9pt \"Open Sans Medium\";\n"
"}")
self.right_frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.right_frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.right_frame.setObjectName("right_frame")
self.gridLayout_3 = QtWidgets.QGridLayout(self.right_frame)
self.gridLayout_3.setContentsMargins(-1, 5, -1, 0)
self.gridLayout_3.setVerticalSpacing(6)
self.gridLayout_3.setObjectName("gridLayout_3")
self.groupBox_5 = QtWidgets.QGroupBox(parent=self.right_frame)
self.groupBox_5.setMinimumSize(QtCore.QSize(560, 0))
self.groupBox_5.setMaximumSize(QtCore.QSize(16777215, 150))
self.groupBox_5.setStyleSheet("")
self.groupBox_5.setObjectName("groupBox_5")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox_5)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.SerialPortGroup = QtWidgets.QGroupBox(parent=self.groupBox_5)
self.SerialPortGroup.setMinimumSize(QtCore.QSize(100, 120))
self.SerialPortGroup.setMaximumSize(QtCore.QSize(0, 120))
self.SerialPortGroup.setObjectName("SerialPortGroup")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.SerialPortGroup)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.port_button = QtWidgets.QPushButton(parent=self.SerialPortGroup)
self.port_button.setObjectName("port_button")
self.verticalLayout_3.addWidget(self.port_button)
self.port_button_stop = QtWidgets.QPushButton(parent=self.SerialPortGroup)
self.port_button_stop.setObjectName("port_button_stop")
self.verticalLayout_3.addWidget(self.port_button_stop)
self.horizontalLayout_4.addWidget(self.SerialPortGroup)
self.AddressGroup = QtWidgets.QGroupBox(parent=self.groupBox_5)
self.AddressGroup.setMinimumSize(QtCore.QSize(100, 0))
self.AddressGroup.setMaximumSize(QtCore.QSize(100, 120))
self.AddressGroup.setObjectName("AddressGroup")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.AddressGroup)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.address_input = QtWidgets.QLineEdit(parent=self.AddressGroup)
self.address_input.setMinimumSize(QtCore.QSize(50, 0))
self.address_input.setMaximumSize(QtCore.QSize(120, 16777215))
self.address_input.setObjectName("address_input")
self.verticalLayout_4.addWidget(self.address_input)
self.address_button = QtWidgets.QPushButton(parent=self.AddressGroup)
self.address_button.setObjectName("address_button")
self.verticalLayout_4.addWidget(self.address_button)
self.horizontalLayout_4.addWidget(self.AddressGroup)
self.QuickMoveGroup = QtWidgets.QGroupBox(parent=self.groupBox_5)
self.QuickMoveGroup.setMinimumSize(QtCore.QSize(100, 0))
self.QuickMoveGroup.setMaximumSize(QtCore.QSize(100, 120))
self.QuickMoveGroup.setObjectName("QuickMoveGroup")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.QuickMoveGroup)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.fast_forward_btn = QtWidgets.QPushButton(parent=self.QuickMoveGroup)
self.fast_forward_btn.setMinimumSize(QtCore.QSize(50, 0))
self.fast_forward_btn.setMaximumSize(QtCore.QSize(120, 16777215))
self.fast_forward_btn.setObjectName("fast_forward_btn")
self.verticalLayout_2.addWidget(self.fast_forward_btn)
self.rewinde_btn = QtWidgets.QPushButton(parent=self.QuickMoveGroup)
self.rewinde_btn.setMinimumSize(QtCore.QSize(50, 0))
self.rewinde_btn.setMaximumSize(QtCore.QSize(120, 16777215))
self.rewinde_btn.setObjectName("rewinde_btn")
self.verticalLayout_2.addWidget(self.rewinde_btn)
self.horizontalLayout_4.addWidget(self.QuickMoveGroup)
self.CatalogGroup = QtWidgets.QGroupBox(parent=self.groupBox_5)
self.CatalogGroup.setMinimumSize(QtCore.QSize(100, 0))
self.CatalogGroup.setMaximumSize(QtCore.QSize(100, 120))
self.CatalogGroup.setStyleSheet("QGroupBox {\n"
" \n"
" font: 40 9pt \"Open Sans Medium\";\n"
"}")
self.CatalogGroup.setObjectName("CatalogGroup")
self.gridLayout = QtWidgets.QGridLayout(self.CatalogGroup)
self.gridLayout.setObjectName("gridLayout")
self.tilt_sensor_cali_button = QtWidgets.QPushButton(parent=self.CatalogGroup)
self.tilt_sensor_cali_button.setMinimumSize(QtCore.QSize(50, 0))
self.tilt_sensor_cali_button.setMaximumSize(QtCore.QSize(120, 16777215))
self.tilt_sensor_cali_button.setObjectName("tilt_sensor_cali_button")
self.gridLayout.addWidget(self.tilt_sensor_cali_button, 1, 0, 1, 1)
self.catalog_display_button = QtWidgets.QPushButton(parent=self.CatalogGroup)
self.catalog_display_button.setMinimumSize(QtCore.QSize(50, 0))
self.catalog_display_button.setMaximumSize(QtCore.QSize(120, 16777215))
self.catalog_display_button.setObjectName("catalog_display_button")
self.gridLayout.addWidget(self.catalog_display_button, 0, 0, 1, 1)
self.horizontalLayout_4.addWidget(self.CatalogGroup)
self.BackgroundLightGroup = QtWidgets.QGroupBox(parent=self.groupBox_5)
self.BackgroundLightGroup.setMinimumSize(QtCore.QSize(0, 0))
self.BackgroundLightGroup.setMaximumSize(QtCore.QSize(200, 120))
self.BackgroundLightGroup.setStyleSheet("QGroupBox {\n"
" \n"
" font: 40 9pt \"Open Sans Medium\";\n"
"}")
self.BackgroundLightGroup.setObjectName("BackgroundLightGroup")
self.gridLayout_18 = QtWidgets.QGridLayout(self.BackgroundLightGroup)
self.gridLayout_18.setContentsMargins(11, -1, 11, -1)
self.gridLayout_18.setVerticalSpacing(7)
self.gridLayout_18.setObjectName("gridLayout_18")
self.bgLight_Label = QtWidgets.QLabel(parent=self.BackgroundLightGroup)
self.bgLight_Label.setMinimumSize(QtCore.QSize(0, 20))
self.bgLight_Label.setMaximumSize(QtCore.QSize(16777215, 25))
self.bgLight_Label.setObjectName("bgLight_Label")
self.gridLayout_18.addWidget(self.bgLight_Label, 0, 1, 1, 1)
self.forceLimit_Label = QtWidgets.QLabel(parent=self.BackgroundLightGroup)
self.forceLimit_Label.setMinimumSize(QtCore.QSize(0, 20))
self.forceLimit_Label.setMaximumSize(QtCore.QSize(16777215, 25))
self.forceLimit_Label.setStyleSheet("QLabel {\n"
" \n"
" font: 10pt \"Open Sans\";\n"
"}")
self.forceLimit_Label.setObjectName("forceLimit_Label")
self.gridLayout_18.addWidget(self.forceLimit_Label, 3, 1, 1, 1)
self.forceLimit_Slider = QtWidgets.QSlider(parent=self.BackgroundLightGroup)
self.forceLimit_Slider.setMinimumSize(QtCore.QSize(50, 0))
self.forceLimit_Slider.setMaximumSize(QtCore.QSize(120, 16777215))
self.forceLimit_Slider.setMinimum(1)
self.forceLimit_Slider.setMaximum(100)
self.forceLimit_Slider.setProperty("value", 50)
self.forceLimit_Slider.setSliderPosition(50)
self.forceLimit_Slider.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.forceLimit_Slider.setInvertedAppearance(False)
self.forceLimit_Slider.setTickPosition(QtWidgets.QSlider.TickPosition.NoTicks)
self.forceLimit_Slider.setObjectName("forceLimit_Slider")
self.gridLayout_18.addWidget(self.forceLimit_Slider, 4, 1, 1, 1)
self.bgLight_Slider = QtWidgets.QSlider(parent=self.BackgroundLightGroup)
self.bgLight_Slider.setMinimumSize(QtCore.QSize(50, 0))
self.bgLight_Slider.setMaximumSize(QtCore.QSize(120, 16777215))
self.bgLight_Slider.setMinimum(1)
self.bgLight_Slider.setMaximum(100)
self.bgLight_Slider.setProperty("value", 80)
self.bgLight_Slider.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.bgLight_Slider.setTickPosition(QtWidgets.QSlider.TickPosition.NoTicks)
self.bgLight_Slider.setObjectName("bgLight_Slider")
self.gridLayout_18.addWidget(self.bgLight_Slider, 2, 1, 1, 1)
self.horizontalLayout_4.addWidget(self.BackgroundLightGroup)
self.gridLayout_3.addWidget(self.groupBox_5, 3, 0, 1, 1)
self.GraphicsViewGroup = QtWidgets.QGroupBox(parent=self.right_frame)
self.GraphicsViewGroup.setMinimumSize(QtCore.QSize(560, 250))
self.GraphicsViewGroup.setMaximumSize(QtCore.QSize(1000, 400))
self.GraphicsViewGroup.setSizeIncrement(QtCore.QSize(0, 0))
self.GraphicsViewGroup.setStyleSheet("QGroupBox {\n"
" \n"
" font: 57 9pt \"Open Sans Medium\";\n"
"}")
self.GraphicsViewGroup.setObjectName("GraphicsViewGroup")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.GraphicsViewGroup)
self.horizontalLayout_2.setContentsMargins(-1, -1, -1, 9)
self.horizontalLayout_2.setSpacing(9)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.frame_graphical_display = QtWidgets.QFrame(parent=self.GraphicsViewGroup)
self.frame_graphical_display.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_graphical_display.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_graphical_display.setObjectName("frame_graphical_display")
self.horizontalLayout_2.addWidget(self.frame_graphical_display)
self.GraphicButtonGroup = QtWidgets.QFrame(parent=self.GraphicsViewGroup)
self.GraphicButtonGroup.setMinimumSize(QtCore.QSize(100, 0))
self.GraphicButtonGroup.setMaximumSize(QtCore.QSize(100, 16777215))
self.GraphicButtonGroup.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.GraphicButtonGroup.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.GraphicButtonGroup.setObjectName("GraphicButtonGroup")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.GraphicButtonGroup)
self.verticalLayout_5.setContentsMargins(9, -1, 9, -1)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.Pause_button = QtWidgets.QPushButton(parent=self.GraphicButtonGroup)
self.Pause_button.setStyleSheet("")
self.Pause_button.setObjectName("Pause_button")
self.verticalLayout_5.addWidget(self.Pause_button)
self.Stop_button = QtWidgets.QPushButton(parent=self.GraphicButtonGroup)
self.Stop_button.setObjectName("Stop_button")
self.verticalLayout_5.addWidget(self.Stop_button)
self.Reset_button = QtWidgets.QPushButton(parent=self.GraphicButtonGroup)
self.Reset_button.setObjectName("Reset_button")
self.verticalLayout_5.addWidget(self.Reset_button)
self.Export_button = QtWidgets.QPushButton(parent=self.GraphicButtonGroup)
self.Export_button.setObjectName("Export_button")
self.verticalLayout_5.addWidget(self.Export_button)
self.horizontalLayout_2.addWidget(self.GraphicButtonGroup)
self.gridLayout_3.addWidget(self.GraphicsViewGroup, 0, 0, 1, 1)
self.frame_3 = QtWidgets.QFrame(parent=self.right_frame)
self.frame_3.setMinimumSize(QtCore.QSize(575, 150))
self.frame_3.setMaximumSize(QtCore.QSize(16777215, 270))
self.frame_3.setStyleSheet("QGroupBox {\n"
" \n"
" font: 10pt \"Open Sans\";\n"
"}")
self.frame_3.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_3.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_3.setObjectName("frame_3")
self.gridLayout_11 = QtWidgets.QGridLayout(self.frame_3)
self.gridLayout_11.setContentsMargins(0, 0, 0, 0)
self.gridLayout_11.setObjectName("gridLayout_11")
self.ReceivedDataGroup = QtWidgets.QGroupBox(parent=self.frame_3)
self.ReceivedDataGroup.setMinimumSize(QtCore.QSize(280, 150))
self.ReceivedDataGroup.setMaximumSize(QtCore.QSize(500, 300))
self.ReceivedDataGroup.setSizeIncrement(QtCore.QSize(0, 0))
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.ReceivedDataGroup.setFont(font)
self.ReceivedDataGroup.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.ReceivedDataGroup.setStyleSheet("QGroupBox {\n"
" \n"
" font: 57 9pt \"Open Sans Medium\";\n"
"}")
self.ReceivedDataGroup.setObjectName("ReceivedDataGroup")
self.gridLayout_14 = QtWidgets.QGridLayout(self.ReceivedDataGroup)
self.gridLayout_14.setContentsMargins(6, 9, 6, 5)
self.gridLayout_14.setHorizontalSpacing(0)
self.gridLayout_14.setObjectName("gridLayout_14")
self.Response_from_pump = QtWidgets.QTextEdit(parent=self.ReceivedDataGroup)
self.Response_from_pump.setMinimumSize(QtCore.QSize(260, 70))
self.Response_from_pump.setMaximumSize(QtCore.QSize(500, 1000))
font = QtGui.QFont()
font.setFamily("Courier New")
font.setPointSize(10)
font.setBold(False)
font.setItalic(False)
font.setWeight(50)
self.Response_from_pump.setFont(font)
self.Response_from_pump.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.Response_from_pump.setStyleSheet("QTextEdit {\n"
" \n"
" font: 10pt \"Courier New\";\n"
"}")
self.Response_from_pump.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.Response_from_pump.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.Response_from_pump.setReadOnly(True)
self.Response_from_pump.setAcceptRichText(True)
self.Response_from_pump.setTextInteractionFlags(QtCore.Qt.TextInteractionFlag.LinksAccessibleByKeyboard|QtCore.Qt.TextInteractionFlag.LinksAccessibleByMouse|QtCore.Qt.TextInteractionFlag.TextBrowserInteraction|QtCore.Qt.TextInteractionFlag.TextSelectableByKeyboard|QtCore.Qt.TextInteractionFlag.TextSelectableByMouse)
self.Response_from_pump.setObjectName("Response_from_pump")
self.gridLayout_14.addWidget(self.Response_from_pump, 0, 0, 1, 1)
self.gridLayout_11.addWidget(self.ReceivedDataGroup, 0, 0, 1, 1)
self.SentDataGroup = QtWidgets.QGroupBox(parent=self.frame_3)
self.SentDataGroup.setMinimumSize(QtCore.QSize(280, 160))
self.SentDataGroup.setMaximumSize(QtCore.QSize(500, 300))
self.SentDataGroup.setSizeIncrement(QtCore.QSize(0, 0))
self.SentDataGroup.setStyleSheet("QGroupBox {\n"
" \n"
" font: 57 9pt \"Open Sans Medium\";\n"
"}")
self.SentDataGroup.setObjectName("SentDataGroup")
self.gridLayout_15 = QtWidgets.QGridLayout(self.SentDataGroup)
self.gridLayout_15.setContentsMargins(6, 9, 6, 5)
self.gridLayout_15.setVerticalSpacing(5)
self.gridLayout_15.setObjectName("gridLayout_15")
self.commands_sent = QtWidgets.QTextEdit(parent=self.SentDataGroup)
self.commands_sent.setEnabled(True)
self.commands_sent.setMinimumSize(QtCore.QSize(260, 70))
self.commands_sent.setMaximumSize(QtCore.QSize(500, 1000))
self.commands_sent.setMouseTracking(False)
self.commands_sent.setAcceptDrops(False)
self.commands_sent.setStyleSheet("QTextEdit {\n"
" \n"
" font: 10pt \"Courier New\";\n"
"}")
self.commands_sent.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.commands_sent.setReadOnly(True)
self.commands_sent.setTextInteractionFlags(QtCore.Qt.TextInteractionFlag.LinksAccessibleByKeyboard|QtCore.Qt.TextInteractionFlag.LinksAccessibleByMouse|QtCore.Qt.TextInteractionFlag.TextBrowserInteraction|QtCore.Qt.TextInteractionFlag.TextSelectableByKeyboard|QtCore.Qt.TextInteractionFlag.TextSelectableByMouse)
self.commands_sent.setObjectName("commands_sent")
self.gridLayout_15.addWidget(self.commands_sent, 0, 0, 1, 1)
self.gridLayout_11.addWidget(self.SentDataGroup, 0, 1, 1, 1)
self.gridLayout_3.addWidget(self.frame_3, 1, 0, 1, 1)
self.frame_13 = QtWidgets.QFrame(parent=self.right_frame)
self.frame_13.setMinimumSize(QtCore.QSize(570, 30))
self.frame_13.setMaximumSize(QtCore.QSize(1000, 30))
self.frame_13.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_13.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_13.setObjectName("frame_13")
self.gridLayout_12 = QtWidgets.QGridLayout(self.frame_13)
self.gridLayout_12.setContentsMargins(11, 0, 6, 3)
self.gridLayout_12.setHorizontalSpacing(6)
self.gridLayout_12.setObjectName("gridLayout_12")
self.data_sent_send_button = QtWidgets.QPushButton(parent=self.frame_13)
self.data_sent_send_button.setMinimumSize(QtCore.QSize(0, 25))
self.data_sent_send_button.setMaximumSize(QtCore.QSize(80, 25))
self.data_sent_send_button.setSizeIncrement(QtCore.QSize(0, 0))
self.data_sent_send_button.setBaseSize(QtCore.QSize(0, 0))
self.data_sent_send_button.setObjectName("data_sent_send_button")
self.gridLayout_12.addWidget(self.data_sent_send_button, 0, 1, 1, 1)
self.lineEdit_send_toPump = QtWidgets.QComboBox(parent=self.frame_13)
self.lineEdit_send_toPump.setMinimumSize(QtCore.QSize(460, 25))
self.lineEdit_send_toPump.setMaximumSize(QtCore.QSize(920, 25))
self.lineEdit_send_toPump.setEditable(True)
self.lineEdit_send_toPump.setObjectName("lineEdit_send_toPump")
self.gridLayout_12.addWidget(self.lineEdit_send_toPump, 0, 0, 1, 1)
self.gridLayout_3.addWidget(self.frame_13, 2, 0, 1, 1)
self.main_layout.addWidget(self.right_frame, 0, 1, 1, 1)
self.left_frame = QtWidgets.QFrame(parent=self.centralwidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.left_frame.sizePolicy().hasHeightForWidth())
self.left_frame.setSizePolicy(sizePolicy)
self.left_frame.setMaximumSize(QtCore.QSize(300, 16777215))
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.left_frame.setFont(font)
self.left_frame.setAutoFillBackground(False)
self.left_frame.setStyleSheet("")
self.left_frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.left_frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.left_frame.setObjectName("left_frame")
self.gridLayout_2 = QtWidgets.QGridLayout(self.left_frame)
self.gridLayout_2.setContentsMargins(6, 5, 0, 0)
self.gridLayout_2.setVerticalSpacing(7)
self.gridLayout_2.setObjectName("gridLayout_2")
self.RadioButtonGroup = QtWidgets.QGroupBox(parent=self.left_frame)
self.RadioButtonGroup.setMinimumSize(QtCore.QSize(0, 160))
self.RadioButtonGroup.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.RadioButtonGroup.setFont(font)
self.RadioButtonGroup.setStyleSheet("")
self.RadioButtonGroup.setFlat(False)
self.RadioButtonGroup.setObjectName("RadioButtonGroup")
self.gridLayout_4 = QtWidgets.QGridLayout(self.RadioButtonGroup)
self.gridLayout_4.setContentsMargins(-1, 6, -1, 6)
self.gridLayout_4.setHorizontalSpacing(3)
self.gridLayout_4.setVerticalSpacing(1)
self.gridLayout_4.setObjectName("gridLayout_4")
self.radioButton_3 = QtWidgets.QRadioButton(parent=self.RadioButtonGroup)
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.radioButton_3.setFont(font)
self.radioButton_3.setObjectName("radioButton_3")
self.gridLayout_4.addWidget(self.radioButton_3, 2, 0, 1, 1)
self.radioButton_4 = QtWidgets.QRadioButton(parent=self.RadioButtonGroup)
self.radioButton_4.setObjectName("radioButton_4")
self.gridLayout_4.addWidget(self.radioButton_4, 3, 0, 1, 1)
self.radioButton_2 = QtWidgets.QRadioButton(parent=self.RadioButtonGroup)
self.radioButton_2.setObjectName("radioButton_2")
self.gridLayout_4.addWidget(self.radioButton_2, 1, 0, 1, 1)
self.radioButton_5 = QtWidgets.QRadioButton(parent=self.RadioButtonGroup)
self.radioButton_5.setObjectName("radioButton_5")
self.gridLayout_4.addWidget(self.radioButton_5, 4, 0, 1, 1)
self.radioButton_1 = QtWidgets.QRadioButton(parent=self.RadioButtonGroup)
self.radioButton_1.setEnabled(True)
self.radioButton_1.setCheckable(True)
self.radioButton_1.setChecked(False)
self.radioButton_1.setAutoExclusive(True)
self.radioButton_1.setObjectName("radioButton_1")
self.gridLayout_4.addWidget(self.radioButton_1, 0, 0, 1, 1)
self.gridLayout_2.addWidget(self.RadioButtonGroup, 0, 0, 1, 1)
self.ComboxBoxGroup = QtWidgets.QGroupBox(parent=self.left_frame)
self.ComboxBoxGroup.setMinimumSize(QtCore.QSize(0, 180))
self.ComboxBoxGroup.setMaximumSize(QtCore.QSize(450, 16777215))
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.ComboxBoxGroup.setFont(font)
self.ComboxBoxGroup.setObjectName("ComboxBoxGroup")
self.gridLayout_8 = QtWidgets.QGridLayout(self.ComboxBoxGroup)
self.gridLayout_8.setContentsMargins(-1, 9, -1, 11)
self.gridLayout_8.setVerticalSpacing(6)
self.gridLayout_8.setObjectName("gridLayout_8")
self.label = QtWidgets.QLabel(parent=self.ComboxBoxGroup)
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.label.setFont(font)
self.label.setStyleSheet("")
self.label.setObjectName("label")
self.gridLayout_8.addWidget(self.label, 0, 0, 1, 1)
self.comboBox_syrManu = QtWidgets.QComboBox(parent=self.ComboxBoxGroup)
self.comboBox_syrManu.setMinimumSize(QtCore.QSize(0, 25))
self.comboBox_syrManu.setMaximumSize(QtCore.QSize(230, 25))
self.comboBox_syrManu.setObjectName("comboBox_syrManu")
self.gridLayout_8.addWidget(self.comboBox_syrManu, 1, 0, 1, 1)
self.label_7 = QtWidgets.QLabel(parent=self.ComboxBoxGroup)
self.label_7.setMaximumSize(QtCore.QSize(230, 16777215))
self.label_7.setSizeIncrement(QtCore.QSize(230, 0))
self.label_7.setObjectName("label_7")
self.gridLayout_8.addWidget(self.label_7, 4, 0, 1, 1)
self.comboBox_syrSize = QtWidgets.QComboBox(parent=self.ComboxBoxGroup)
self.comboBox_syrSize.setMinimumSize(QtCore.QSize(0, 25))
self.comboBox_syrSize.setMaximumSize(QtCore.QSize(230, 25))
self.comboBox_syrSize.setMouseTracking(False)
self.comboBox_syrSize.setToolTipDuration(-1)
self.comboBox_syrSize.setObjectName("comboBox_syrSize")
self.gridLayout_8.addWidget(self.comboBox_syrSize, 3, 0, 1, 1)
self.label_2 = QtWidgets.QLabel(parent=self.ComboxBoxGroup)
self.label_2.setObjectName("label_2")
self.gridLayout_8.addWidget(self.label_2, 2, 0, 1, 1)
self.syr_param_enter = QtWidgets.QLineEdit(parent=self.ComboxBoxGroup)
self.syr_param_enter.setMinimumSize(QtCore.QSize(230, 25))
self.syr_param_enter.setMaximumSize(QtCore.QSize(230, 16777215))
self.syr_param_enter.setObjectName("syr_param_enter")
self.gridLayout_8.addWidget(self.syr_param_enter, 5, 0, 1, 1)
self.gridLayout_2.addWidget(self.ComboxBoxGroup, 1, 0, 1, 1)
self.groupBox_param_enter = QtWidgets.QGroupBox(parent=self.left_frame)
self.groupBox_param_enter.setMinimumSize(QtCore.QSize(0, 180))
self.groupBox_param_enter.setMaximumSize(QtCore.QSize(16777215, 180))
self.groupBox_param_enter.setObjectName("groupBox_param_enter")
self.gridLayout_20 = QtWidgets.QGridLayout(self.groupBox_param_enter)
self.gridLayout_20.setContentsMargins(5, 6, 5, 5)
self.gridLayout_20.setObjectName("gridLayout_20")
self.flow_param_tab = QtWidgets.QTabWidget(parent=self.groupBox_param_enter)
self.flow_param_tab.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhNone)
self.flow_param_tab.setTabShape(QtWidgets.QTabWidget.TabShape.Rounded)
self.flow_param_tab.setElideMode(QtCore.Qt.TextElideMode.ElideNone)
self.flow_param_tab.setObjectName("flow_param_tab")
self.Param1 = QtWidgets.QWidget()
self.Param1.setObjectName("Param1")
self.frame_10 = QtWidgets.QFrame(parent=self.Param1)
self.frame_10.setGeometry(QtCore.QRect(208, 25, 25, 30))
self.frame_10.setMinimumSize(QtCore.QSize(20, 30))
self.frame_10.setMaximumSize(QtCore.QSize(25, 30))
self.frame_10.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_10.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_10.setObjectName("frame_10")
self.gridLayout_19 = QtWidgets.QGridLayout(self.frame_10)
self.gridLayout_19.setContentsMargins(0, 0, 0, 0)
self.gridLayout_19.setVerticalSpacing(0)
self.gridLayout_19.setObjectName("gridLayout_19")
self.flow_upper_button_1 = QtWidgets.QPushButton(parent=self.frame_10)
self.flow_upper_button_1.setMinimumSize(QtCore.QSize(0, 13))
self.flow_upper_button_1.setMaximumSize(QtCore.QSize(30, 13))
self.flow_upper_button_1.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/limit_button/upper_limit_icon.png"), QtGui.QIcon.Mode.Active, QtGui.QIcon.State.On)
self.flow_upper_button_1.setIcon(icon)
self.flow_upper_button_1.setIconSize(QtCore.QSize(12, 20))
self.flow_upper_button_1.setAutoDefault(False)
self.flow_upper_button_1.setFlat(False)
self.flow_upper_button_1.setObjectName("flow_upper_button_1")
self.gridLayout_19.addWidget(self.flow_upper_button_1, 0, 0, 1, 1)
self.flow_lower_button_1 = QtWidgets.QPushButton(parent=self.frame_10)
self.flow_lower_button_1.setMinimumSize(QtCore.QSize(0, 13))
self.flow_lower_button_1.setMaximumSize(QtCore.QSize(30, 13))
self.flow_lower_button_1.setSizeIncrement(QtCore.QSize(0, 0))
self.flow_lower_button_1.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/limit_button/lower_limit_icon.png"), QtGui.QIcon.Mode.Active, QtGui.QIcon.State.On)
self.flow_lower_button_1.setIcon(icon1)
self.flow_lower_button_1.setIconSize(QtCore.QSize(12, 20))
self.flow_lower_button_1.setObjectName("flow_lower_button_1")
self.gridLayout_19.addWidget(self.flow_lower_button_1, 1, 0, 1, 1)
self.frame_11 = QtWidgets.QFrame(parent=self.Param1)
self.frame_11.setGeometry(QtCore.QRect(8, 0, 115, 120))
self.frame_11.setMinimumSize(QtCore.QSize(115, 120))
self.frame_11.setMaximumSize(QtCore.QSize(115, 120))
self.frame_11.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_11.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_11.setObjectName("frame_11")
self.label_12 = QtWidgets.QLabel(parent=self.frame_11)
self.label_12.setGeometry(QtCore.QRect(5, 53, 83, 23))
self.label_12.setMinimumSize(QtCore.QSize(0, 23))
self.label_12.setMaximumSize(QtCore.QSize(16777215, 23))
self.label_12.setObjectName("label_12")
self.label_13 = QtWidgets.QLabel(parent=self.frame_11)
self.label_13.setGeometry(QtCore.QRect(5, 5, 91, 20))
self.label_13.setMinimumSize(QtCore.QSize(0, 20))
self.label_13.setMaximumSize(QtCore.QSize(16777215, 20))
self.label_13.setObjectName("label_13")
self.param_target_1 = QtWidgets.QLineEdit(parent=self.frame_11)
self.param_target_1.setGeometry(QtCore.QRect(5, 80, 100, 25))
self.param_target_1.setMinimumSize(QtCore.QSize(100, 25))
self.param_target_1.setMaximumSize(QtCore.QSize(110, 25))
self.param_target_1.setObjectName("param_target_1")
self.param_flowRate_1 = QtWidgets.QLineEdit(parent=self.frame_11)
self.param_flowRate_1.setGeometry(QtCore.QRect(5, 27, 100, 25))
self.param_flowRate_1.setMinimumSize(QtCore.QSize(100, 25))
self.param_flowRate_1.setMaximumSize(QtCore.QSize(110, 25))
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.param_flowRate_1.setFont(font)
self.param_flowRate_1.setObjectName("param_flowRate_1")
self.frame_12 = QtWidgets.QFrame(parent=self.Param1)
self.frame_12.setGeometry(QtCore.QRect(120, 0, 90, 120))
self.frame_12.setMinimumSize(QtCore.QSize(90, 120))
self.frame_12.setMaximumSize(QtCore.QSize(90, 120))
self.frame_12.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_12.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_12.setObjectName("frame_12")
self.label_14 = QtWidgets.QLabel(parent=self.frame_12)
self.label_14.setGeometry(QtCore.QRect(5, 5, 20, 20))
self.label_14.setMinimumSize(QtCore.QSize(0, 20))
self.label_14.setMaximumSize(QtCore.QSize(20, 20))
self.label_14.setText("")
self.label_14.setObjectName("label_14")
self.comboBox_unit_frate_1 = QtWidgets.QComboBox(parent=self.frame_12)
self.comboBox_unit_frate_1.setGeometry(QtCore.QRect(5, 27, 80, 25))
self.comboBox_unit_frate_1.setMinimumSize(QtCore.QSize(80, 25))
self.comboBox_unit_frate_1.setMaximumSize(QtCore.QSize(80, 25))
self.comboBox_unit_frate_1.setToolTip("")
self.comboBox_unit_frate_1.setToolTipDuration(-1)
self.comboBox_unit_frate_1.setWhatsThis("")
self.comboBox_unit_frate_1.setObjectName("comboBox_unit_frate_1")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_frate_1.addItem("")
self.comboBox_unit_target_1 = QtWidgets.QComboBox(parent=self.frame_12)
self.comboBox_unit_target_1.setGeometry(QtCore.QRect(5, 80, 80, 25))
self.comboBox_unit_target_1.setMinimumSize(QtCore.QSize(80, 25))
self.comboBox_unit_target_1.setMaximumSize(QtCore.QSize(80, 25))
self.comboBox_unit_target_1.setObjectName("comboBox_unit_target_1")
self.comboBox_unit_target_1.addItem("")
self.comboBox_unit_target_1.addItem("")
self.comboBox_unit_target_1.addItem("")
self.comboBox_unit_target_1.addItem("")
self.comboBox_unit_target_1.addItem("")
self.comboBox_unit_target_1.addItem("")
self.label_15 = QtWidgets.QLabel(parent=self.frame_12)
self.label_15.setGeometry(QtCore.QRect(5, 53, 20, 23))
self.label_15.setMinimumSize(QtCore.QSize(0, 23))
self.label_15.setMaximumSize(QtCore.QSize(20, 23))
self.label_15.setText("")
self.label_15.setObjectName("label_15")
self.flow_param_tab.addTab(self.Param1, "")
self.Param2 = QtWidgets.QWidget()
self.Param2.setObjectName("Param2")
self.frame_9 = QtWidgets.QFrame(parent=self.Param2)
self.frame_9.setGeometry(QtCore.QRect(8, 0, 115, 120))
self.frame_9.setMinimumSize(QtCore.QSize(115, 120))
self.frame_9.setMaximumSize(QtCore.QSize(115, 120))
self.frame_9.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_9.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_9.setObjectName("frame_9")
self.label_11 = QtWidgets.QLabel(parent=self.frame_9)
self.label_11.setGeometry(QtCore.QRect(5, 53, 83, 23))
self.label_11.setMinimumSize(QtCore.QSize(0, 23))
self.label_11.setMaximumSize(QtCore.QSize(16777215, 23))
self.label_11.setObjectName("label_11")
self.label_10 = QtWidgets.QLabel(parent=self.frame_9)
self.label_10.setGeometry(QtCore.QRect(5, 5, 91, 20))
self.label_10.setMinimumSize(QtCore.QSize(0, 20))
self.label_10.setMaximumSize(QtCore.QSize(16777215, 20))
self.label_10.setObjectName("label_10")
self.param_target_2 = QtWidgets.QLineEdit(parent=self.frame_9)
self.param_target_2.setGeometry(QtCore.QRect(5, 80, 100, 25))
self.param_target_2.setMinimumSize(QtCore.QSize(100, 25))
self.param_target_2.setMaximumSize(QtCore.QSize(110, 25))
self.param_target_2.setObjectName("param_target_2")
self.param_flowRate_2 = QtWidgets.QLineEdit(parent=self.frame_9)
self.param_flowRate_2.setGeometry(QtCore.QRect(5, 27, 100, 25))
self.param_flowRate_2.setMinimumSize(QtCore.QSize(100, 25))
self.param_flowRate_2.setMaximumSize(QtCore.QSize(100, 25))
self.param_flowRate_2.setObjectName("param_flowRate_2")
self.frame_4 = QtWidgets.QFrame(parent=self.Param2)
self.frame_4.setGeometry(QtCore.QRect(208, 25, 25, 30))
self.frame_4.setMinimumSize(QtCore.QSize(20, 30))
self.frame_4.setMaximumSize(QtCore.QSize(25, 30))
self.frame_4.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_4.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_4.setObjectName("frame_4")
self.gridLayout_16 = QtWidgets.QGridLayout(self.frame_4)
self.gridLayout_16.setContentsMargins(0, 0, 0, 0)
self.gridLayout_16.setVerticalSpacing(0)
self.gridLayout_16.setObjectName("gridLayout_16")
self.flow_upper_button_2 = QtWidgets.QPushButton(parent=self.frame_4)
self.flow_upper_button_2.setMinimumSize(QtCore.QSize(0, 13))
self.flow_upper_button_2.setMaximumSize(QtCore.QSize(30, 13))
self.flow_upper_button_2.setText("")
self.flow_upper_button_2.setIcon(icon)
self.flow_upper_button_2.setIconSize(QtCore.QSize(12, 20))
self.flow_upper_button_2.setObjectName("flow_upper_button_2")
self.gridLayout_16.addWidget(self.flow_upper_button_2, 0, 0, 1, 1)
self.flow_lower_button_2 = QtWidgets.QPushButton(parent=self.frame_4)
self.flow_lower_button_2.setMinimumSize(QtCore.QSize(0, 13))
self.flow_lower_button_2.setMaximumSize(QtCore.QSize(30, 13))
self.flow_lower_button_2.setSizeIncrement(QtCore.QSize(0, 0))
self.flow_lower_button_2.setText("")
self.flow_lower_button_2.setIcon(icon1)
self.flow_lower_button_2.setIconSize(QtCore.QSize(12, 20))
self.flow_lower_button_2.setObjectName("flow_lower_button_2")
self.gridLayout_16.addWidget(self.flow_lower_button_2, 1, 0, 1, 1)
self.frame_8 = QtWidgets.QFrame(parent=self.Param2)
self.frame_8.setGeometry(QtCore.QRect(120, 0, 90, 120))
self.frame_8.setMinimumSize(QtCore.QSize(90, 120))
self.frame_8.setMaximumSize(QtCore.QSize(90, 120))
self.frame_8.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_8.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_8.setObjectName("frame_8")
self.label_8 = QtWidgets.QLabel(parent=self.frame_8)
self.label_8.setGeometry(QtCore.QRect(5, 5, 20, 20))
self.label_8.setMinimumSize(QtCore.QSize(0, 20))
self.label_8.setMaximumSize(QtCore.QSize(20, 20))
self.label_8.setText("")
self.label_8.setObjectName("label_8")
self.comboBox_unit_frate_2 = QtWidgets.QComboBox(parent=self.frame_8)
self.comboBox_unit_frate_2.setGeometry(QtCore.QRect(5, 27, 80, 25))
self.comboBox_unit_frate_2.setMinimumSize(QtCore.QSize(80, 25))
self.comboBox_unit_frate_2.setMaximumSize(QtCore.QSize(80, 25))
self.comboBox_unit_frate_2.setObjectName("comboBox_unit_frate_2")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_frate_2.addItem("")
self.comboBox_unit_target_2 = QtWidgets.QComboBox(parent=self.frame_8)
self.comboBox_unit_target_2.setGeometry(QtCore.QRect(5, 80, 80, 25))
self.comboBox_unit_target_2.setMinimumSize(QtCore.QSize(80, 25))
self.comboBox_unit_target_2.setMaximumSize(QtCore.QSize(80, 25))
self.comboBox_unit_target_2.setObjectName("comboBox_unit_target_2")
self.comboBox_unit_target_2.addItem("")
self.comboBox_unit_target_2.addItem("")
self.comboBox_unit_target_2.addItem("")
self.comboBox_unit_target_2.addItem("")
self.comboBox_unit_target_2.addItem("")
self.comboBox_unit_target_2.addItem("")
self.label_9 = QtWidgets.QLabel(parent=self.frame_8)
self.label_9.setGeometry(QtCore.QRect(5, 56, 20, 23))
self.label_9.setMinimumSize(QtCore.QSize(0, 23))
self.label_9.setMaximumSize(QtCore.QSize(20, 23))
self.label_9.setText("")
self.label_9.setObjectName("label_9")
self.flow_param_tab.addTab(self.Param2, "")
self.gridLayout_20.addWidget(self.flow_param_tab, 0, 0, 1, 1)
self.gridLayout_2.addWidget(self.groupBox_param_enter, 2, 0, 1, 1)
self.RunButtonFrame = QtWidgets.QFrame(parent=self.left_frame)
self.RunButtonFrame.setMinimumSize(QtCore.QSize(0, 30))
self.RunButtonFrame.setMaximumSize(QtCore.QSize(16777215, 30))
self.RunButtonFrame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.RunButtonFrame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.RunButtonFrame.setObjectName("RunButtonFrame")
self.gridLayout_5 = QtWidgets.QGridLayout(self.RunButtonFrame)
self.gridLayout_5.setContentsMargins(30, 0, 30, 0)
self.gridLayout_5.setSpacing(0)
self.gridLayout_5.setObjectName("gridLayout_5")
self.Run_button_quick = QtWidgets.QPushButton(parent=self.RunButtonFrame)
self.Run_button_quick.setObjectName("Run_button_quick")
self.gridLayout_5.addWidget(self.Run_button_quick, 0, 0, 1, 1)
self.gridLayout_2.addWidget(self.RunButtonFrame, 3, 0, 1, 1)
self.UserDefinedSetupGroup = QtWidgets.QGroupBox(parent=self.left_frame)
self.UserDefinedSetupGroup.setEnabled(True)
self.UserDefinedSetupGroup.setMinimumSize(QtCore.QSize(0, 160))
self.UserDefinedSetupGroup.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Open Sans Medium")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(7)
self.UserDefinedSetupGroup.setFont(font)
self.UserDefinedSetupGroup.setAcceptDrops(True)
self.UserDefinedSetupGroup.setLayoutDirection(QtCore.Qt.LayoutDirection.LeftToRight)
self.UserDefinedSetupGroup.setStyleSheet("")
self.UserDefinedSetupGroup.setFlat(False)
self.UserDefinedSetupGroup.setObjectName("UserDefinedSetupGroup")
self.gridLayout_10 = QtWidgets.QGridLayout(self.UserDefinedSetupGroup)
self.gridLayout_10.setContentsMargins(-1, 9, -1, 9)
self.gridLayout_10.setVerticalSpacing(11)
self.gridLayout_10.setObjectName("gridLayout_10")
self.frame_2 = QtWidgets.QFrame(parent=self.UserDefinedSetupGroup)
self.frame_2.setMinimumSize(QtCore.QSize(0, 120))
self.frame_2.setMaximumSize(QtCore.QSize(50, 300))
self.frame_2.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.DefaultContextMenu)
self.frame_2.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_2.setObjectName("frame_2")
self.gridLayout_6 = QtWidgets.QGridLayout(self.frame_2)
self.gridLayout_6.setContentsMargins(0, 3, 0, 3)
self.gridLayout_6.setVerticalSpacing(6)
self.gridLayout_6.setObjectName("gridLayout_6")
self.userDefined_Add = QtWidgets.QPushButton(parent=self.frame_2)
self.userDefined_Add.setMinimumSize(QtCore.QSize(0, 25))
self.userDefined_Add.setMaximumSize(QtCore.QSize(16777215, 25))
self.userDefined_Add.setObjectName("userDefined_Add")
self.gridLayout_6.addWidget(self.userDefined_Add, 0, 0, 1, 1)
self.userDefined_Del = QtWidgets.QPushButton(parent=self.frame_2)
self.userDefined_Del.setMinimumSize(QtCore.QSize(0, 25))
self.userDefined_Del.setMaximumSize(QtCore.QSize(16777215, 25))
self.userDefined_Del.setObjectName("userDefined_Del")
self.gridLayout_6.addWidget(self.userDefined_Del, 1, 0, 1, 1)
self.userDefined_OK = QtWidgets.QPushButton(parent=self.frame_2)
self.userDefined_OK.setMinimumSize(QtCore.QSize(0, 25))
self.userDefined_OK.setMaximumSize(QtCore.QSize(16777215, 25))
self.userDefined_OK.setObjectName("userDefined_OK")
self.gridLayout_6.addWidget(self.userDefined_OK, 2, 0, 1, 1)
self.userDefined_Export = QtWidgets.QPushButton(parent=self.frame_2)
self.userDefined_Export.setMinimumSize(QtCore.QSize(0, 25))
self.userDefined_Export.setMaximumSize(QtCore.QSize(16777215, 25))
self.userDefined_Export.setObjectName("userDefined_Export")
self.gridLayout_6.addWidget(self.userDefined_Export, 3, 0, 1, 1)
self.userDefined_Import = QtWidgets.QPushButton(parent=self.frame_2)
self.userDefined_Import.setMinimumSize(QtCore.QSize(0, 25))
self.userDefined_Import.setMaximumSize(QtCore.QSize(16777215, 25))
self.userDefined_Import.setObjectName("userDefined_Import")
self.gridLayout_6.addWidget(self.userDefined_Import, 4, 0, 1, 1)
self.gridLayout_10.addWidget(self.frame_2, 0, 1, 1, 1)
self.frame = QtWidgets.QFrame(parent=self.UserDefinedSetupGroup)
self.frame.setMinimumSize(QtCore.QSize(0, 100))
self.frame.setMaximumSize(QtCore.QSize(300, 16777215))
self.frame.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame.setObjectName("frame")
self.gridLayout_7 = QtWidgets.QGridLayout(self.frame)
self.gridLayout_7.setContentsMargins(0, 3, 0, 3)
self.gridLayout_7.setHorizontalSpacing(6)
self.gridLayout_7.setVerticalSpacing(0)
self.gridLayout_7.setObjectName("gridLayout_7")
self.listWidget_userDefined_method = QtWidgets.QListWidget(parent=self.frame)
self.listWidget_userDefined_method.setMinimumSize(QtCore.QSize(0, 90))
self.listWidget_userDefined_method.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.listWidget_userDefined_method.setObjectName("listWidget_userDefined_method")
self.gridLayout_7.addWidget(self.listWidget_userDefined_method, 0, 0, 1, 1)
self.gridLayout_10.addWidget(self.frame, 0, 0, 1, 1)
self.gridLayout_2.addWidget(self.UserDefinedSetupGroup, 4, 0, 1, 1)
self.main_layout.addWidget(self.left_frame, 0, 0, 1, 1)
self.gridLayout_9.addLayout(self.main_layout, 0, 1, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 885, 23))
self.menubar.setMouseTracking(True)
self.menubar.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
self.menubar.setAcceptDrops(False)
self.menubar.setObjectName("menubar")
self.menuTheme = QtWidgets.QMenu(parent=self.menubar)
self.menuTheme.setObjectName("menuTheme")
self.menuQT_Material = QtWidgets.QMenu(parent=self.menuTheme)
self.menuQT_Material.setObjectName("menuQT_Material")
self.menuDark = QtWidgets.QMenu(parent=self.menuQT_Material)
self.menuDark.setObjectName("menuDark")
self.menuLight = QtWidgets.QMenu(parent=self.menuQT_Material)
self.menuLight.setObjectName("menuLight")
self.menuMenu = QtWidgets.QMenu(parent=self.menubar)
self.menuMenu.setObjectName("menuMenu")
self.menuEn_Decoding = QtWidgets.QMenu(parent=self.menuMenu)
self.menuEn_Decoding.setObjectName("menuEn_Decoding")
self.menuLine_Feed = QtWidgets.QMenu(parent=self.menuMenu)
self.menuLine_Feed.setObjectName("menuLine_Feed")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(parent=MainWindow)
self.statusbar.setEnabled(True)
self.statusbar.setMinimumSize(QtCore.QSize(0, 20))
self.statusbar.setMouseTracking(True)
self.statusbar.setStyleSheet("")
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.actionLight = QtGui.QAction(parent=MainWindow)
self.actionLight.setCheckable(True)
self.actionLight.setObjectName("actionLight")
self.actionDark = QtGui.QAction(parent=MainWindow)
self.actionDark.setCheckable(True)
self.actionDark.setObjectName("actionDark")
self.actionDark_amber = QtGui.QAction(parent=MainWindow)
self.actionDark_amber.setCheckable(True)
self.actionDark_amber.setObjectName("actionDark_amber")
self.actionDark_blue = QtGui.QAction(parent=MainWindow)
self.actionDark_blue.setCheckable(True)
self.actionDark_blue.setObjectName("actionDark_blue")
self.actionDark_cyan = QtGui.QAction(parent=MainWindow)
self.actionDark_cyan.setCheckable(True)
self.actionDark_cyan.setEnabled(True)
self.actionDark_cyan.setObjectName("actionDark_cyan")
self.actionAmber_D = QtGui.QAction(parent=MainWindow)
self.actionAmber_D.setObjectName("actionAmber_D")
self.actionBlue_D = QtGui.QAction(parent=MainWindow)
self.actionBlue_D.setCheckable(True)
self.actionBlue_D.setObjectName("actionBlue_D")
self.actionCyan_D = QtGui.QAction(parent=MainWindow)
self.actionCyan_D.setCheckable(True)
self.actionCyan_D.setObjectName("actionCyan_D")
self.actionLightgreen_D = QtGui.QAction(parent=MainWindow)
self.actionLightgreen_D.setCheckable(True)
self.actionLightgreen_D.setObjectName("actionLightgreen_D")
self.actionPink_D = QtGui.QAction(parent=MainWindow)
self.actionPink_D.setCheckable(True)
self.actionPink_D.setObjectName("actionPink_D")
self.actionPurple_D = QtGui.QAction(parent=MainWindow)
self.actionPurple_D.setCheckable(True)
self.actionPurple_D.setObjectName("actionPurple_D")
self.actionRed_D = QtGui.QAction(parent=MainWindow)
self.actionRed_D.setCheckable(True)
self.actionRed_D.setObjectName("actionRed_D")
self.actionTeal = QtGui.QAction(parent=MainWindow)
self.actionTeal.setCheckable(True)
self.actionTeal.setObjectName("actionTeal")
self.actionYellow = QtGui.QAction(parent=MainWindow)
self.actionYellow.setCheckable(True)
self.actionYellow.setObjectName("actionYellow")
self.actionAmber_L = QtGui.QAction(parent=MainWindow)
self.actionAmber_L.setCheckable(True)
self.actionAmber_L.setObjectName("actionAmber_L")
self.actionBlue_L = QtGui.QAction(parent=MainWindow)
self.actionBlue_L.setCheckable(True)
self.actionBlue_L.setObjectName("actionBlue_L")
self.actionCyan_L = QtGui.QAction(parent=MainWindow)
self.actionCyan_L.setCheckable(True)
self.actionCyan_L.setObjectName("actionCyan_L")
self.actionLightgreen_L = QtGui.QAction(parent=MainWindow)
self.actionLightgreen_L.setCheckable(True)
self.actionLightgreen_L.setObjectName("actionLightgreen_L")
self.actionPink_L = QtGui.QAction(parent=MainWindow)
self.actionPink_L.setCheckable(True)
self.actionPink_L.setObjectName("actionPink_L")
self.actionPurple_L = QtGui.QAction(parent=MainWindow)
self.actionPurple_L.setCheckable(True)
self.actionPurple_L.setObjectName("actionPurple_L")