-
Notifications
You must be signed in to change notification settings - Fork 0
/
polarizer_sweep_ui.py
1928 lines (1921 loc) · 115 KB
/
polarizer_sweep_ui.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'polarizer_sweep.ui'
#
# Created by: PyQt5 UI code generator 5.15.9
#
# 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_Form(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(2115, 1221)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
Form.setSizePolicy(sizePolicy)
Form.setStyleSheet("QWidget#Form{\n"
" border-radius:10px;\n"
"}\n"
"\n"
"QWidget#mainwidget{\n"
" background-color: rgba(239, 244, 249, 0);\n"
" border-radius:10px;\n"
"}\n"
"QFrame#mainframe{\n"
" background-color: rgba(239, 244, 249, 255);\n"
" border-radius:10px;\n"
"}\n"
"QGroupBox{\n"
" border-width: 2px;\n"
" \n"
" font: 25 9pt \"Microsoft YaHei UI Light\";\n"
"}\n"
"QPushButton{\n"
" background-color: rgba(255, 255, 255,255);\n"
" border-radius: 2px;\n"
" border: 1px groove gray;\n"
" font: 63 9pt \"Nunito Sans SemiBold\";\n"
"}\n"
"QTabWidget{\n"
" font: 63 9pt \"Nunito Sans SemiBold\";\n"
"}\n"
"QLabel{\n"
" font: 9pt \"Microsoft YaHei UI\";\n"
"}\n"
"QComboBox{\n"
" \n"
" font: 9pt \"Menlo for Powerline\";\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(160, 160, 160,100);\n"
"}\n"
"QPushButton:pressed { \n"
" background-color: transparent;\n"
"}\n"
"")
self.verticalLayout_19 = QtWidgets.QVBoxLayout(Form)
self.verticalLayout_19.setObjectName("verticalLayout_19")
self.mainwidget = QtWidgets.QWidget(Form)
self.mainwidget.setStyleSheet("")
self.mainwidget.setObjectName("mainwidget")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.mainwidget)
self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_5.setSpacing(0)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.mainframe = QtWidgets.QFrame(self.mainwidget)
self.mainframe.setStyleSheet("")
self.mainframe.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.mainframe.setFrameShadow(QtWidgets.QFrame.Raised)
self.mainframe.setObjectName("mainframe")
self.verticalLayout = QtWidgets.QVBoxLayout(self.mainframe)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setSpacing(0)
self.verticalLayout.setObjectName("verticalLayout")
self.frame = QtWidgets.QFrame(self.mainframe)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(1)
sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
self.frame.setSizePolicy(sizePolicy)
self.frame.setMinimumSize(QtCore.QSize(0, 40))
self.frame.setBaseSize(QtCore.QSize(0, 0))
self.frame.setStyleSheet("")
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.frame)
self.horizontalLayout_2.setContentsMargins(5, 1, 1, 1)
self.horizontalLayout_2.setSpacing(1)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_2 = QtWidgets.QLabel(self.frame)
self.label_2.setText("")
self.label_2.setPixmap(QtGui.QPixmap(":/my_icons/images/icons/window_title_icon.png"))
self.label_2.setObjectName("label_2")
self.horizontalLayout_2.addWidget(self.label_2)
self.label = QtWidgets.QLabel(self.frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei UI")
font.setPointSize(9)
font.setBold(False)
font.setItalic(False)
font.setWeight(50)
self.label.setFont(font)
self.label.setStyleSheet("")
self.label.setObjectName("label")
self.horizontalLayout_2.addWidget(self.label)
self.label_6 = QtWidgets.QLabel(self.frame)
self.label_6.setObjectName("label_6")
self.horizontalLayout_2.addWidget(self.label_6)
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem)
self.min_btn = QtWidgets.QPushButton(self.frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.min_btn.sizePolicy().hasHeightForWidth())
self.min_btn.setSizePolicy(sizePolicy)
self.min_btn.setMaximumSize(QtCore.QSize(60, 30))
self.min_btn.setStyleSheet("QPushButton { \n"
" border: none;\n"
" border-radius: 2px;\n"
" background-color: rgba(239, 244, 249, 0);\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(160, 160, 160,100);\n"
"}\n"
"QPushButton:pressed { \n"
" background-color: transparent;\n"
"}\n"
"")
self.min_btn.setText("")
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/min.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.min_btn.setIcon(icon)
self.min_btn.setObjectName("min_btn")
self.horizontalLayout_2.addWidget(self.min_btn)
self.max_btn = QtWidgets.QPushButton(self.frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.max_btn.sizePolicy().hasHeightForWidth())
self.max_btn.setSizePolicy(sizePolicy)
self.max_btn.setMaximumSize(QtCore.QSize(60, 30))
self.max_btn.setStyleSheet("QPushButton { \n"
" border: none;\n"
" border-radius: 2px;\n"
" background-color: rgba(239, 244, 249, 0);\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(160, 160, 160,100);\n"
"}\n"
"QPushButton:pressed { \n"
" background-color: transparent;\n"
"}")
self.max_btn.setText("")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/max.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.max_btn.setIcon(icon1)
self.max_btn.setIconSize(QtCore.QSize(20, 20))
self.max_btn.setObjectName("max_btn")
self.horizontalLayout_2.addWidget(self.max_btn)
self.close_btn = QtWidgets.QPushButton(self.frame)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.close_btn.sizePolicy().hasHeightForWidth())
self.close_btn.setSizePolicy(sizePolicy)
self.close_btn.setMaximumSize(QtCore.QSize(60, 30))
self.close_btn.setStyleSheet("QPushButton { \n"
" border: none;\n"
" border-radius: 2px;\n"
" background-color: rgba(239, 244, 249, 0);\n"
"}\n"
"QPushButton:hover {\n"
" background-color: rgba(196, 43, 28,200);\n"
"}\n"
"QPushButton:pressed { \n"
" background-color: transparent;\n"
"}")
self.close_btn.setText("")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/close_btn.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.close_btn.setIcon(icon2)
self.close_btn.setObjectName("close_btn")
self.horizontalLayout_2.addWidget(self.close_btn)
self.horizontalLayout_2.setStretch(4, 3)
self.horizontalLayout_2.setStretch(5, 3)
self.horizontalLayout_2.setStretch(6, 3)
self.verticalLayout.addWidget(self.frame)
self.frame_2 = QtWidgets.QFrame(self.mainframe)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(100)
sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
self.frame_2.setSizePolicy(sizePolicy)
self.frame_2.setStyleSheet("")
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame_2.setObjectName("frame_2")
self.layoutWidget = QtWidgets.QWidget(self.frame_2)
self.layoutWidget.setGeometry(QtCore.QRect(12, 12, 612, 639))
self.layoutWidget.setObjectName("layoutWidget")
self.verticalLayout_24 = QtWidgets.QVBoxLayout(self.layoutWidget)
self.verticalLayout_24.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_24.setObjectName("verticalLayout_24")
self.tabWidget = QtWidgets.QTabWidget(self.layoutWidget)
self.tabWidget.setStyleSheet("QTabWidget::pane {\n"
" border-top-right-radius: 10px;\n"
" border-bottom-right-radius: 10px;\n"
" border-bottom-left-radius:10px;\n"
" background-color: rgba(190, 190, 190,50);\n"
"}\n"
"\n"
"")
self.tabWidget.setTabShape(QtWidgets.QTabWidget.Triangular)
self.tabWidget.setIconSize(QtCore.QSize(20, 20))
self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
self.tabWidget.setUsesScrollButtons(False)
self.tabWidget.setDocumentMode(False)
self.tabWidget.setMovable(False)
self.tabWidget.setTabBarAutoHide(False)
self.tabWidget.setObjectName("tabWidget")
self.rot_a = QtWidgets.QWidget()
self.rot_a.setObjectName("rot_a")
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.rot_a)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label_3 = QtWidgets.QLabel(self.rot_a)
self.label_3.setObjectName("label_3")
self.horizontalLayout.addWidget(self.label_3)
self.rotator_a_serial_cbox = QtWidgets.QComboBox(self.rot_a)
self.rotator_a_serial_cbox.setObjectName("rotator_a_serial_cbox")
self.rotator_a_serial_cbox.addItem("")
self.rotator_a_serial_cbox.addItem("")
self.horizontalLayout.addWidget(self.rotator_a_serial_cbox)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)
self.rotator_a_connect_btn = QtWidgets.QPushButton(self.rot_a)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/connect.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_connect_btn.setIcon(icon3)
self.rotator_a_connect_btn.setObjectName("rotator_a_connect_btn")
self.horizontalLayout.addWidget(self.rotator_a_connect_btn)
self.disconnect_btn = QtWidgets.QPushButton(self.rot_a)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/disconnect.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.disconnect_btn.setIcon(icon4)
self.disconnect_btn.setObjectName("disconnect_btn")
self.horizontalLayout.addWidget(self.disconnect_btn)
self.verticalLayout_3.addLayout(self.horizontalLayout)
self.groupBox = QtWidgets.QGroupBox(self.rot_a)
self.groupBox.setObjectName("groupBox")
self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.groupBox)
self.horizontalLayout_4.setContentsMargins(5, 5, 5, 5)
self.horizontalLayout_4.setSpacing(5)
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.position_view = QtWidgets.QLCDNumber(self.groupBox)
self.position_view.setDigitCount(8)
self.position_view.setMode(QtWidgets.QLCDNumber.Dec)
self.position_view.setSegmentStyle(QtWidgets.QLCDNumber.Filled)
self.position_view.setObjectName("position_view")
self.verticalLayout_7.addWidget(self.position_view)
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
self.label_5 = QtWidgets.QLabel(self.groupBox)
self.label_5.setObjectName("label_5")
self.horizontalLayout_8.addWidget(self.label_5)
self.rotator_a_velocity_spbx = QtWidgets.QSpinBox(self.groupBox)
self.rotator_a_velocity_spbx.setProperty("value", 10)
self.rotator_a_velocity_spbx.setObjectName("rotator_a_velocity_spbx")
self.horizontalLayout_8.addWidget(self.rotator_a_velocity_spbx)
self.label_7 = QtWidgets.QLabel(self.groupBox)
self.label_7.setObjectName("label_7")
self.horizontalLayout_8.addWidget(self.label_7)
self.rotator_a_acceleration_spbx = QtWidgets.QSpinBox(self.groupBox)
self.rotator_a_acceleration_spbx.setProperty("value", 10)
self.rotator_a_acceleration_spbx.setObjectName("rotator_a_acceleration_spbx")
self.horizontalLayout_8.addWidget(self.rotator_a_acceleration_spbx)
self.label_8 = QtWidgets.QLabel(self.groupBox)
self.label_8.setObjectName("label_8")
self.horizontalLayout_8.addWidget(self.label_8)
self.rotator_a_step_spbx = QtWidgets.QDoubleSpinBox(self.groupBox)
self.rotator_a_step_spbx.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.rotator_a_step_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_a_step_spbx.setProperty("value", 5.0)
self.rotator_a_step_spbx.setObjectName("rotator_a_step_spbx")
self.horizontalLayout_8.addWidget(self.rotator_a_step_spbx)
self.rotator_a_set_btn = QtWidgets.QPushButton(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rotator_a_set_btn.sizePolicy().hasHeightForWidth())
self.rotator_a_set_btn.setSizePolicy(sizePolicy)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/enable.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_set_btn.setIcon(icon5)
self.rotator_a_set_btn.setObjectName("rotator_a_set_btn")
self.horizontalLayout_8.addWidget(self.rotator_a_set_btn)
self.verticalLayout_7.addLayout(self.horizontalLayout_8)
self.verticalLayout_7.setStretch(0, 3)
self.verticalLayout_7.setStretch(1, 1)
self.horizontalLayout_4.addLayout(self.verticalLayout_7)
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.rotator_a_cont_rdbtn = QtWidgets.QRadioButton(self.groupBox)
self.rotator_a_cont_rdbtn.setChecked(True)
self.rotator_a_cont_rdbtn.setObjectName("rotator_a_cont_rdbtn")
self.verticalLayout_2.addWidget(self.rotator_a_cont_rdbtn)
self.rotator_a_stp_rdbtn = QtWidgets.QRadioButton(self.groupBox)
self.rotator_a_stp_rdbtn.setObjectName("rotator_a_stp_rdbtn")
self.verticalLayout_2.addWidget(self.rotator_a_stp_rdbtn)
self.rotator_a_forward_btn = QtWidgets.QPushButton(self.groupBox)
self.rotator_a_forward_btn.setText("")
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/up_arrow.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_forward_btn.setIcon(icon6)
self.rotator_a_forward_btn.setIconSize(QtCore.QSize(50, 50))
self.rotator_a_forward_btn.setFlat(False)
self.rotator_a_forward_btn.setObjectName("rotator_a_forward_btn")
self.verticalLayout_2.addWidget(self.rotator_a_forward_btn)
self.rotator_a_backward_btn = QtWidgets.QPushButton(self.groupBox)
self.rotator_a_backward_btn.setText("")
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/down_arrow.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_backward_btn.setIcon(icon7)
self.rotator_a_backward_btn.setIconSize(QtCore.QSize(50, 50))
self.rotator_a_backward_btn.setFlat(False)
self.rotator_a_backward_btn.setObjectName("rotator_a_backward_btn")
self.verticalLayout_2.addWidget(self.rotator_a_backward_btn)
self.verticalLayout_2.setStretch(0, 1)
self.verticalLayout_2.setStretch(1, 1)
self.verticalLayout_2.setStretch(2, 2)
self.verticalLayout_2.setStretch(3, 2)
self.horizontalLayout_4.addLayout(self.verticalLayout_2)
self.verticalLayout_3.addWidget(self.groupBox)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
self.horizontalLayout_3.setContentsMargins(5, 5, 5, 5)
self.horizontalLayout_3.setSpacing(5)
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.rot_a_ledit = QtWidgets.QLineEdit(self.rot_a)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rot_a_ledit.sizePolicy().hasHeightForWidth())
self.rot_a_ledit.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(18)
self.rot_a_ledit.setFont(font)
self.rot_a_ledit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.rot_a_ledit.setObjectName("rot_a_ledit")
self.horizontalLayout_3.addWidget(self.rot_a_ledit)
self.move_tbtn = QtWidgets.QToolButton(self.rot_a)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/move.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.move_tbtn.setIcon(icon8)
self.move_tbtn.setIconSize(QtCore.QSize(40, 40))
self.move_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.move_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.move_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.move_tbtn.setObjectName("move_tbtn")
self.horizontalLayout_3.addWidget(self.move_tbtn)
self.home_tbtn = QtWidgets.QToolButton(self.rot_a)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/home.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.home_tbtn.setIcon(icon9)
self.home_tbtn.setIconSize(QtCore.QSize(40, 40))
self.home_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.home_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.home_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.home_tbtn.setObjectName("home_tbtn")
self.horizontalLayout_3.addWidget(self.home_tbtn)
self.stop_tbtn = QtWidgets.QToolButton(self.rot_a)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/stop_rotate.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.stop_tbtn.setIcon(icon10)
self.stop_tbtn.setIconSize(QtCore.QSize(40, 40))
self.stop_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.stop_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.stop_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.stop_tbtn.setObjectName("stop_tbtn")
self.horizontalLayout_3.addWidget(self.stop_tbtn)
self.horizontalLayout_3.setStretch(1, 1)
self.horizontalLayout_3.setStretch(2, 1)
self.horizontalLayout_3.setStretch(3, 1)
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
self.groupBox_2 = QtWidgets.QGroupBox(self.rot_a)
self.groupBox_2.setCheckable(True)
self.groupBox_2.setChecked(False)
self.groupBox_2.setObjectName("groupBox_2")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_2)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.gridLayout = QtWidgets.QGridLayout()
self.gridLayout.setObjectName("gridLayout")
self.label_4 = QtWidgets.QLabel(self.groupBox_2)
self.label_4.setObjectName("label_4")
self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
self.rotator_a_startpos_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_2)
self.rotator_a_startpos_spbx.setMaximum(360.0)
self.rotator_a_startpos_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_a_startpos_spbx.setObjectName("rotator_a_startpos_spbx")
self.gridLayout.addWidget(self.rotator_a_startpos_spbx, 0, 1, 1, 1)
self.label_9 = QtWidgets.QLabel(self.groupBox_2)
self.label_9.setObjectName("label_9")
self.gridLayout.addWidget(self.label_9, 0, 2, 1, 1)
self.rotator_a_stoppos_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_2)
self.rotator_a_stoppos_spbx.setMaximum(360.0)
self.rotator_a_stoppos_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_a_stoppos_spbx.setProperty("value", 180.0)
self.rotator_a_stoppos_spbx.setObjectName("rotator_a_stoppos_spbx")
self.gridLayout.addWidget(self.rotator_a_stoppos_spbx, 0, 3, 1, 1)
self.rotator_a_sweepstep_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_2)
self.rotator_a_sweepstep_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_a_sweepstep_spbx.setProperty("value", 1.0)
self.rotator_a_sweepstep_spbx.setObjectName("rotator_a_sweepstep_spbx")
self.gridLayout.addWidget(self.rotator_a_sweepstep_spbx, 0, 6, 1, 1)
self.rotator_a_frames_spbx_2 = QtWidgets.QLabel(self.groupBox_2)
self.rotator_a_frames_spbx_2.setObjectName("rotator_a_frames_spbx_2")
self.gridLayout.addWidget(self.rotator_a_frames_spbx_2, 1, 0, 1, 1)
self.rotator_a_stime_spbx = QtWidgets.QSpinBox(self.groupBox_2)
self.rotator_a_stime_spbx.setProperty("value", 1)
self.rotator_a_stime_spbx.setObjectName("rotator_a_stime_spbx")
self.gridLayout.addWidget(self.rotator_a_stime_spbx, 1, 1, 1, 1)
self.rotator_a_frames_spbx = QtWidgets.QLabel(self.groupBox_2)
self.rotator_a_frames_spbx.setObjectName("rotator_a_frames_spbx")
self.gridLayout.addWidget(self.rotator_a_frames_spbx, 1, 2, 1, 1)
self.rotator_a_frame_spbx = QtWidgets.QSpinBox(self.groupBox_2)
self.rotator_a_frame_spbx.setMaximum(999)
self.rotator_a_frame_spbx.setObjectName("rotator_a_frame_spbx")
self.gridLayout.addWidget(self.rotator_a_frame_spbx, 1, 3, 1, 1)
self.label_10 = QtWidgets.QLabel(self.groupBox_2)
self.label_10.setObjectName("label_10")
self.gridLayout.addWidget(self.label_10, 0, 4, 1, 1)
self.rotator_a_calc_btn = QtWidgets.QPushButton(self.groupBox_2)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/restore.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_calc_btn.setIcon(icon11)
self.rotator_a_calc_btn.setObjectName("rotator_a_calc_btn")
self.gridLayout.addWidget(self.rotator_a_calc_btn, 1, 6, 1, 1)
self.verticalLayout_4.addLayout(self.gridLayout)
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.rotator_a_sweep_start_btn = QtWidgets.QPushButton(self.groupBox_2)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/play.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_sweep_start_btn.setIcon(icon12)
self.rotator_a_sweep_start_btn.setIconSize(QtCore.QSize(20, 30))
self.rotator_a_sweep_start_btn.setObjectName("rotator_a_sweep_start_btn")
self.horizontalLayout_5.addWidget(self.rotator_a_sweep_start_btn)
self.rotator_a_interrupt_btn = QtWidgets.QPushButton(self.groupBox_2)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/interrupt.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rotator_a_interrupt_btn.setIcon(icon13)
self.rotator_a_interrupt_btn.setIconSize(QtCore.QSize(20, 30))
self.rotator_a_interrupt_btn.setObjectName("rotator_a_interrupt_btn")
self.horizontalLayout_5.addWidget(self.rotator_a_interrupt_btn)
self.rotato_a_progressbar = QtWidgets.QProgressBar(self.groupBox_2)
self.rotato_a_progressbar.setStyleSheet("QProgressBar {\n"
" border: 2px solid grey;\n"
" background-color: #f0f0f0;\n"
" padding: 1px;\n"
" height: 16px;\n"
"}\n"
"\n"
"QProgressBar::chunk {\n"
" background-color: #00bcd4;\n"
" width: 10px;\n"
"}")
self.rotato_a_progressbar.setProperty("value", 0)
self.rotato_a_progressbar.setAlignment(QtCore.Qt.AlignCenter)
self.rotato_a_progressbar.setTextDirection(QtWidgets.QProgressBar.TopToBottom)
self.rotato_a_progressbar.setObjectName("rotato_a_progressbar")
self.horizontalLayout_5.addWidget(self.rotato_a_progressbar)
self.verticalLayout_4.addLayout(self.horizontalLayout_5)
self.verticalLayout_3.addWidget(self.groupBox_2)
self.groupBox_7 = QtWidgets.QGroupBox(self.rot_a)
self.groupBox_7.setObjectName("groupBox_7")
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_7)
self.gridLayout_4.setContentsMargins(5, 5, 5, 5)
self.gridLayout_4.setObjectName("gridLayout_4")
self.rot_a_scroll = QtWidgets.QScrollArea(self.groupBox_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rot_a_scroll.sizePolicy().hasHeightForWidth())
self.rot_a_scroll.setSizePolicy(sizePolicy)
self.rot_a_scroll.setWidgetResizable(True)
self.rot_a_scroll.setObjectName("rot_a_scroll")
self.scrollAreaWidgetContents_3 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 574, 73))
self.scrollAreaWidgetContents_3.setObjectName("scrollAreaWidgetContents_3")
self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_3)
self.verticalLayout_20.setObjectName("verticalLayout_20")
self.rot_a_msg = QtWidgets.QLabel(self.scrollAreaWidgetContents_3)
self.rot_a_msg.setText("")
self.rot_a_msg.setObjectName("rot_a_msg")
self.verticalLayout_20.addWidget(self.rot_a_msg)
self.rot_a_scroll.setWidget(self.scrollAreaWidgetContents_3)
self.gridLayout_4.addWidget(self.rot_a_scroll, 0, 0, 1, 1)
self.verticalLayout_3.addWidget(self.groupBox_7)
self.tabWidget.addTab(self.rot_a, "")
self.rot_b = QtWidgets.QWidget()
self.rot_b.setObjectName("rot_b")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.rot_b)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
self.label_11 = QtWidgets.QLabel(self.rot_b)
self.label_11.setObjectName("label_11")
self.horizontalLayout_6.addWidget(self.label_11)
self.rotator_b_serial_cbox = QtWidgets.QComboBox(self.rot_b)
self.rotator_b_serial_cbox.setObjectName("rotator_b_serial_cbox")
self.rotator_b_serial_cbox.addItem("")
self.rotator_b_serial_cbox.addItem("")
self.horizontalLayout_6.addWidget(self.rotator_b_serial_cbox)
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_6.addItem(spacerItem2)
self.rotator_b_connect_btn = QtWidgets.QPushButton(self.rot_b)
self.rotator_b_connect_btn.setIcon(icon3)
self.rotator_b_connect_btn.setObjectName("rotator_b_connect_btn")
self.horizontalLayout_6.addWidget(self.rotator_b_connect_btn)
self.b_disconnect_btn = QtWidgets.QPushButton(self.rot_b)
self.b_disconnect_btn.setIcon(icon4)
self.b_disconnect_btn.setObjectName("b_disconnect_btn")
self.horizontalLayout_6.addWidget(self.b_disconnect_btn)
self.verticalLayout_6.addLayout(self.horizontalLayout_6)
self.groupBox_3 = QtWidgets.QGroupBox(self.rot_b)
self.groupBox_3.setObjectName("groupBox_3")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.groupBox_3)
self.horizontalLayout_7.setContentsMargins(5, 5, 5, 5)
self.horizontalLayout_7.setSpacing(5)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.verticalLayout_8 = QtWidgets.QVBoxLayout()
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.b_position_view = QtWidgets.QLCDNumber(self.groupBox_3)
self.b_position_view.setDigitCount(8)
self.b_position_view.setMode(QtWidgets.QLCDNumber.Dec)
self.b_position_view.setSegmentStyle(QtWidgets.QLCDNumber.Filled)
self.b_position_view.setObjectName("b_position_view")
self.verticalLayout_8.addWidget(self.b_position_view)
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
self.label_12 = QtWidgets.QLabel(self.groupBox_3)
self.label_12.setObjectName("label_12")
self.horizontalLayout_9.addWidget(self.label_12)
self.rotator_b_velocity_spbx = QtWidgets.QSpinBox(self.groupBox_3)
self.rotator_b_velocity_spbx.setProperty("value", 10)
self.rotator_b_velocity_spbx.setObjectName("rotator_b_velocity_spbx")
self.horizontalLayout_9.addWidget(self.rotator_b_velocity_spbx)
self.label_13 = QtWidgets.QLabel(self.groupBox_3)
self.label_13.setObjectName("label_13")
self.horizontalLayout_9.addWidget(self.label_13)
self.rotator_b_acceleration_spbx = QtWidgets.QSpinBox(self.groupBox_3)
self.rotator_b_acceleration_spbx.setProperty("value", 10)
self.rotator_b_acceleration_spbx.setObjectName("rotator_b_acceleration_spbx")
self.horizontalLayout_9.addWidget(self.rotator_b_acceleration_spbx)
self.label_14 = QtWidgets.QLabel(self.groupBox_3)
self.label_14.setObjectName("label_14")
self.horizontalLayout_9.addWidget(self.label_14)
self.rotator_b_step_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_3)
self.rotator_b_step_spbx.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.rotator_b_step_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_b_step_spbx.setProperty("value", 5.0)
self.rotator_b_step_spbx.setObjectName("rotator_b_step_spbx")
self.horizontalLayout_9.addWidget(self.rotator_b_step_spbx)
self.rotator_b_set_btn = QtWidgets.QPushButton(self.groupBox_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rotator_b_set_btn.sizePolicy().hasHeightForWidth())
self.rotator_b_set_btn.setSizePolicy(sizePolicy)
self.rotator_b_set_btn.setIcon(icon5)
self.rotator_b_set_btn.setObjectName("rotator_b_set_btn")
self.horizontalLayout_9.addWidget(self.rotator_b_set_btn)
self.verticalLayout_8.addLayout(self.horizontalLayout_9)
self.verticalLayout_8.setStretch(0, 3)
self.verticalLayout_8.setStretch(1, 1)
self.horizontalLayout_7.addLayout(self.verticalLayout_8)
self.verticalLayout_9 = QtWidgets.QVBoxLayout()
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.rotator_b_cont_rdbtn = QtWidgets.QRadioButton(self.groupBox_3)
self.rotator_b_cont_rdbtn.setChecked(True)
self.rotator_b_cont_rdbtn.setObjectName("rotator_b_cont_rdbtn")
self.verticalLayout_9.addWidget(self.rotator_b_cont_rdbtn)
self.rotator_b_stp_rdbtn = QtWidgets.QRadioButton(self.groupBox_3)
self.rotator_b_stp_rdbtn.setObjectName("rotator_b_stp_rdbtn")
self.verticalLayout_9.addWidget(self.rotator_b_stp_rdbtn)
self.rotator_b_forward_btn = QtWidgets.QPushButton(self.groupBox_3)
self.rotator_b_forward_btn.setText("")
self.rotator_b_forward_btn.setIcon(icon6)
self.rotator_b_forward_btn.setIconSize(QtCore.QSize(50, 50))
self.rotator_b_forward_btn.setFlat(False)
self.rotator_b_forward_btn.setObjectName("rotator_b_forward_btn")
self.verticalLayout_9.addWidget(self.rotator_b_forward_btn)
self.rotator_b_backward_btn = QtWidgets.QPushButton(self.groupBox_3)
self.rotator_b_backward_btn.setText("")
self.rotator_b_backward_btn.setIcon(icon7)
self.rotator_b_backward_btn.setIconSize(QtCore.QSize(50, 50))
self.rotator_b_backward_btn.setFlat(False)
self.rotator_b_backward_btn.setObjectName("rotator_b_backward_btn")
self.verticalLayout_9.addWidget(self.rotator_b_backward_btn)
self.verticalLayout_9.setStretch(0, 1)
self.verticalLayout_9.setStretch(1, 1)
self.verticalLayout_9.setStretch(2, 2)
self.verticalLayout_9.setStretch(3, 2)
self.horizontalLayout_7.addLayout(self.verticalLayout_9)
self.verticalLayout_6.addWidget(self.groupBox_3)
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
self.horizontalLayout_10.setSizeConstraint(QtWidgets.QLayout.SetNoConstraint)
self.horizontalLayout_10.setContentsMargins(5, 5, 5, 5)
self.horizontalLayout_10.setSpacing(5)
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
self.rot_b_ledit = QtWidgets.QLineEdit(self.rot_b)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rot_b_ledit.sizePolicy().hasHeightForWidth())
self.rot_b_ledit.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(18)
self.rot_b_ledit.setFont(font)
self.rot_b_ledit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.rot_b_ledit.setObjectName("rot_b_ledit")
self.horizontalLayout_10.addWidget(self.rot_b_ledit)
self.b_move_tbtn = QtWidgets.QToolButton(self.rot_b)
self.b_move_tbtn.setIcon(icon8)
self.b_move_tbtn.setIconSize(QtCore.QSize(40, 40))
self.b_move_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.b_move_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.b_move_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.b_move_tbtn.setObjectName("b_move_tbtn")
self.horizontalLayout_10.addWidget(self.b_move_tbtn)
self.b_home_tbtn = QtWidgets.QToolButton(self.rot_b)
self.b_home_tbtn.setIcon(icon9)
self.b_home_tbtn.setIconSize(QtCore.QSize(40, 40))
self.b_home_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.b_home_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.b_home_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.b_home_tbtn.setObjectName("b_home_tbtn")
self.horizontalLayout_10.addWidget(self.b_home_tbtn)
self.b_stop_tbtn = QtWidgets.QToolButton(self.rot_b)
self.b_stop_tbtn.setIcon(icon10)
self.b_stop_tbtn.setIconSize(QtCore.QSize(40, 40))
self.b_stop_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.b_stop_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.b_stop_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.b_stop_tbtn.setObjectName("b_stop_tbtn")
self.horizontalLayout_10.addWidget(self.b_stop_tbtn)
self.horizontalLayout_10.setStretch(1, 1)
self.horizontalLayout_10.setStretch(2, 1)
self.horizontalLayout_10.setStretch(3, 1)
self.verticalLayout_6.addLayout(self.horizontalLayout_10)
self.groupBox_4 = QtWidgets.QGroupBox(self.rot_b)
self.groupBox_4.setCheckable(True)
self.groupBox_4.setChecked(False)
self.groupBox_4.setObjectName("groupBox_4")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_4)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.gridLayout_2 = QtWidgets.QGridLayout()
self.gridLayout_2.setObjectName("gridLayout_2")
self.label_15 = QtWidgets.QLabel(self.groupBox_4)
self.label_15.setObjectName("label_15")
self.gridLayout_2.addWidget(self.label_15, 0, 0, 1, 1)
self.rotator_b_startpos_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_4)
self.rotator_b_startpos_spbx.setMaximum(360.0)
self.rotator_b_startpos_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_b_startpos_spbx.setObjectName("rotator_b_startpos_spbx")
self.gridLayout_2.addWidget(self.rotator_b_startpos_spbx, 0, 1, 1, 1)
self.label_16 = QtWidgets.QLabel(self.groupBox_4)
self.label_16.setObjectName("label_16")
self.gridLayout_2.addWidget(self.label_16, 0, 2, 1, 1)
self.rotator_b_stoppos_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_4)
self.rotator_b_stoppos_spbx.setMaximum(360.0)
self.rotator_b_stoppos_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_b_stoppos_spbx.setProperty("value", 180.0)
self.rotator_b_stoppos_spbx.setObjectName("rotator_b_stoppos_spbx")
self.gridLayout_2.addWidget(self.rotator_b_stoppos_spbx, 0, 3, 1, 1)
self.rotator_b_sweepstep_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_4)
self.rotator_b_sweepstep_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.rotator_b_sweepstep_spbx.setProperty("value", 1.0)
self.rotator_b_sweepstep_spbx.setObjectName("rotator_b_sweepstep_spbx")
self.gridLayout_2.addWidget(self.rotator_b_sweepstep_spbx, 0, 6, 1, 1)
self.rotator_a_frames_spbx_3 = QtWidgets.QLabel(self.groupBox_4)
self.rotator_a_frames_spbx_3.setObjectName("rotator_a_frames_spbx_3")
self.gridLayout_2.addWidget(self.rotator_a_frames_spbx_3, 1, 0, 1, 1)
self.rotator_b_stime_spbx = QtWidgets.QSpinBox(self.groupBox_4)
self.rotator_b_stime_spbx.setProperty("value", 1)
self.rotator_b_stime_spbx.setObjectName("rotator_b_stime_spbx")
self.gridLayout_2.addWidget(self.rotator_b_stime_spbx, 1, 1, 1, 1)
self.rotator_a_frames_spbx_4 = QtWidgets.QLabel(self.groupBox_4)
self.rotator_a_frames_spbx_4.setObjectName("rotator_a_frames_spbx_4")
self.gridLayout_2.addWidget(self.rotator_a_frames_spbx_4, 1, 2, 1, 1)
self.rotator_b_frame_spbx = QtWidgets.QSpinBox(self.groupBox_4)
self.rotator_b_frame_spbx.setMaximum(999)
self.rotator_b_frame_spbx.setObjectName("rotator_b_frame_spbx")
self.gridLayout_2.addWidget(self.rotator_b_frame_spbx, 1, 3, 1, 1)
self.label_17 = QtWidgets.QLabel(self.groupBox_4)
self.label_17.setObjectName("label_17")
self.gridLayout_2.addWidget(self.label_17, 0, 4, 1, 1)
self.rotator_b_calc_btn = QtWidgets.QPushButton(self.groupBox_4)
self.rotator_b_calc_btn.setIcon(icon11)
self.rotator_b_calc_btn.setObjectName("rotator_b_calc_btn")
self.gridLayout_2.addWidget(self.rotator_b_calc_btn, 1, 6, 1, 1)
self.verticalLayout_10.addLayout(self.gridLayout_2)
self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
self.rotator_b_sweep_start_btn = QtWidgets.QPushButton(self.groupBox_4)
self.rotator_b_sweep_start_btn.setIcon(icon12)
self.rotator_b_sweep_start_btn.setIconSize(QtCore.QSize(20, 30))
self.rotator_b_sweep_start_btn.setObjectName("rotator_b_sweep_start_btn")
self.horizontalLayout_11.addWidget(self.rotator_b_sweep_start_btn)
self.rotator_b_interrupt_btn = QtWidgets.QPushButton(self.groupBox_4)
self.rotator_b_interrupt_btn.setIcon(icon13)
self.rotator_b_interrupt_btn.setIconSize(QtCore.QSize(20, 30))
self.rotator_b_interrupt_btn.setObjectName("rotator_b_interrupt_btn")
self.horizontalLayout_11.addWidget(self.rotator_b_interrupt_btn)
self.rotator_b_progressbar = QtWidgets.QProgressBar(self.groupBox_4)
self.rotator_b_progressbar.setStyleSheet("QProgressBar {\n"
" border: 2px solid grey;\n"
" background-color: #f0f0f0;\n"
" padding: 1px;\n"
" height: 16px;\n"
"}\n"
"\n"
"QProgressBar::chunk {\n"
" background-color: #00bcd4;\n"
" width: 10px;\n"
"}")
self.rotator_b_progressbar.setProperty("value", 0)
self.rotator_b_progressbar.setAlignment(QtCore.Qt.AlignCenter)
self.rotator_b_progressbar.setTextDirection(QtWidgets.QProgressBar.TopToBottom)
self.rotator_b_progressbar.setObjectName("rotator_b_progressbar")
self.horizontalLayout_11.addWidget(self.rotator_b_progressbar)
self.verticalLayout_10.addLayout(self.horizontalLayout_11)
self.verticalLayout_6.addWidget(self.groupBox_4)
self.groupBox_8 = QtWidgets.QGroupBox(self.rot_b)
self.groupBox_8.setObjectName("groupBox_8")
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_8)
self.gridLayout_5.setContentsMargins(5, 5, 5, 5)
self.gridLayout_5.setObjectName("gridLayout_5")
self.rot_b_scroll = QtWidgets.QScrollArea(self.groupBox_8)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rot_b_scroll.sizePolicy().hasHeightForWidth())
self.rot_b_scroll.setSizePolicy(sizePolicy)
self.rot_b_scroll.setWidgetResizable(True)
self.rot_b_scroll.setObjectName("rot_b_scroll")
self.scrollAreaWidgetContents_4 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_4.setGeometry(QtCore.QRect(0, 0, 574, 73))
self.scrollAreaWidgetContents_4.setObjectName("scrollAreaWidgetContents_4")
self.verticalLayout_21 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_4)
self.verticalLayout_21.setObjectName("verticalLayout_21")
self.rot_b_msg = QtWidgets.QLabel(self.scrollAreaWidgetContents_4)
self.rot_b_msg.setText("")
self.rot_b_msg.setObjectName("rot_b_msg")
self.verticalLayout_21.addWidget(self.rot_b_msg)
self.rot_b_scroll.setWidget(self.scrollAreaWidgetContents_4)
self.gridLayout_5.addWidget(self.rot_b_scroll, 0, 0, 1, 1)
self.verticalLayout_6.addWidget(self.groupBox_8)
self.tabWidget.addTab(self.rot_b, "")
self.verticalLayout_24.addWidget(self.tabWidget)
self.groupBox_25 = QtWidgets.QGroupBox(self.frame_2)
self.groupBox_25.setGeometry(QtCore.QRect(1140, 10, 691, 261))
self.groupBox_25.setObjectName("groupBox_25")
self.verticalLayout_35 = QtWidgets.QVBoxLayout(self.groupBox_25)
self.verticalLayout_35.setObjectName("verticalLayout_35")
self.horizontalLayout_48 = QtWidgets.QHBoxLayout()
self.horizontalLayout_48.setObjectName("horizontalLayout_48")
self.label_58 = QtWidgets.QLabel(self.groupBox_25)
self.label_58.setObjectName("label_58")
self.horizontalLayout_48.addWidget(self.label_58)
self.pump_serial_cbox = QtWidgets.QComboBox(self.groupBox_25)
self.pump_serial_cbox.setObjectName("pump_serial_cbox")
self.pump_serial_cbox.addItem("")
self.horizontalLayout_48.addWidget(self.pump_serial_cbox)
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_48.addItem(spacerItem3)
self.pump_connect_btn = QtWidgets.QPushButton(self.groupBox_25)
self.pump_connect_btn.setIcon(icon3)
self.pump_connect_btn.setObjectName("pump_connect_btn")
self.horizontalLayout_48.addWidget(self.pump_connect_btn)
self.pump_disconnect_btn = QtWidgets.QPushButton(self.groupBox_25)
self.pump_disconnect_btn.setIcon(icon4)
self.pump_disconnect_btn.setObjectName("pump_disconnect_btn")
self.horizontalLayout_48.addWidget(self.pump_disconnect_btn)
self.verticalLayout_35.addLayout(self.horizontalLayout_48)
self.line_15 = QtWidgets.QFrame(self.groupBox_25)
self.line_15.setFrameShape(QtWidgets.QFrame.HLine)
self.line_15.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_15.setObjectName("line_15")
self.verticalLayout_35.addWidget(self.line_15)
self.horizontalLayout_51 = QtWidgets.QHBoxLayout()
self.horizontalLayout_51.setObjectName("horizontalLayout_51")
self.verticalLayout_32 = QtWidgets.QVBoxLayout()
self.verticalLayout_32.setObjectName("verticalLayout_32")
self.horizontalLayout_50 = QtWidgets.QHBoxLayout()
self.horizontalLayout_50.setObjectName("horizontalLayout_50")
self.pump_ch1_setzero_btn = QtWidgets.QPushButton(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_setzero_btn.sizePolicy().hasHeightForWidth())
self.pump_ch1_setzero_btn.setSizePolicy(sizePolicy)
self.pump_ch1_setzero_btn.setIcon(icon5)
self.pump_ch1_setzero_btn.setObjectName("pump_ch1_setzero_btn")
self.horizontalLayout_50.addWidget(self.pump_ch1_setzero_btn)
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_50.addItem(spacerItem4)
self.verticalLayout_32.addLayout(self.horizontalLayout_50)
self.pump_ch1_position_view = QtWidgets.QLCDNumber(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_position_view.sizePolicy().hasHeightForWidth())
self.pump_ch1_position_view.setSizePolicy(sizePolicy)
self.pump_ch1_position_view.setDigitCount(10)
self.pump_ch1_position_view.setMode(QtWidgets.QLCDNumber.Dec)
self.pump_ch1_position_view.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.pump_ch1_position_view.setObjectName("pump_ch1_position_view")
self.verticalLayout_32.addWidget(self.pump_ch1_position_view)
self.verticalLayout_32.setStretch(0, 1)
self.verticalLayout_32.setStretch(1, 4)
self.horizontalLayout_51.addLayout(self.verticalLayout_32)
self.line_9 = QtWidgets.QFrame(self.groupBox_25)
self.line_9.setFrameShape(QtWidgets.QFrame.VLine)
self.line_9.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_9.setObjectName("line_9")
self.horizontalLayout_51.addWidget(self.line_9)
self.gridLayout_21 = QtWidgets.QGridLayout()
self.gridLayout_21.setObjectName("gridLayout_21")
self.pump_ch1_acceleration_spbx = QtWidgets.QSpinBox(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_acceleration_spbx.sizePolicy().hasHeightForWidth())
self.pump_ch1_acceleration_spbx.setSizePolicy(sizePolicy)
self.pump_ch1_acceleration_spbx.setMaximum(100000)
self.pump_ch1_acceleration_spbx.setProperty("value", 100000)
self.pump_ch1_acceleration_spbx.setObjectName("pump_ch1_acceleration_spbx")
self.gridLayout_21.addWidget(self.pump_ch1_acceleration_spbx, 0, 0, 1, 2)
self.pump_ch1_step_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_step_spbx.sizePolicy().hasHeightForWidth())
self.pump_ch1_step_spbx.setSizePolicy(sizePolicy)
self.pump_ch1_step_spbx.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.pump_ch1_step_spbx.setDecimals(0)
self.pump_ch1_step_spbx.setMaximum(2500.0)
self.pump_ch1_step_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.pump_ch1_step_spbx.setProperty("value", 2000.0)
self.pump_ch1_step_spbx.setObjectName("pump_ch1_step_spbx")
self.gridLayout_21.addWidget(self.pump_ch1_step_spbx, 1, 0, 1, 1)
self.pump_ch1_set_btn = QtWidgets.QPushButton(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_set_btn.sizePolicy().hasHeightForWidth())
self.pump_ch1_set_btn.setSizePolicy(sizePolicy)
self.pump_ch1_set_btn.setIcon(icon5)
self.pump_ch1_set_btn.setObjectName("pump_ch1_set_btn")
self.gridLayout_21.addWidget(self.pump_ch1_set_btn, 1, 1, 1, 1)
self.horizontalLayout_51.addLayout(self.gridLayout_21)
self.line_12 = QtWidgets.QFrame(self.groupBox_25)
self.line_12.setFrameShape(QtWidgets.QFrame.VLine)
self.line_12.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_12.setObjectName("line_12")
self.horizontalLayout_51.addWidget(self.line_12)
self.horizontalLayout_49 = QtWidgets.QHBoxLayout()
self.horizontalLayout_49.setObjectName("horizontalLayout_49")
self.pump_ch1_ledit = QtWidgets.QLineEdit(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_ledit.sizePolicy().hasHeightForWidth())
self.pump_ch1_ledit.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(18)
self.pump_ch1_ledit.setFont(font)
self.pump_ch1_ledit.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.pump_ch1_ledit.setPlaceholderText("")
self.pump_ch1_ledit.setObjectName("pump_ch1_ledit")
self.horizontalLayout_49.addWidget(self.pump_ch1_ledit)
self.pump_ch1_move_tbtn = QtWidgets.QToolButton(self.groupBox_25)
self.pump_ch1_move_tbtn.setIcon(icon8)
self.pump_ch1_move_tbtn.setIconSize(QtCore.QSize(40, 40))
self.pump_ch1_move_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.pump_ch1_move_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.pump_ch1_move_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.pump_ch1_move_tbtn.setObjectName("pump_ch1_move_tbtn")
self.horizontalLayout_49.addWidget(self.pump_ch1_move_tbtn)
self.pump_ch1_stop_tbtn = QtWidgets.QToolButton(self.groupBox_25)
self.pump_ch1_stop_tbtn.setIcon(icon10)
self.pump_ch1_stop_tbtn.setIconSize(QtCore.QSize(40, 40))
self.pump_ch1_stop_tbtn.setPopupMode(QtWidgets.QToolButton.InstantPopup)
self.pump_ch1_stop_tbtn.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.pump_ch1_stop_tbtn.setArrowType(QtCore.Qt.NoArrow)
self.pump_ch1_stop_tbtn.setObjectName("pump_ch1_stop_tbtn")
self.horizontalLayout_49.addWidget(self.pump_ch1_stop_tbtn)
self.line_13 = QtWidgets.QFrame(self.groupBox_25)
self.line_13.setFrameShape(QtWidgets.QFrame.VLine)
self.line_13.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_13.setObjectName("line_13")
self.horizontalLayout_49.addWidget(self.line_13)
self.verticalLayout_39 = QtWidgets.QVBoxLayout()
self.verticalLayout_39.setObjectName("verticalLayout_39")
self.pump_ch1_step_move_spbx = QtWidgets.QDoubleSpinBox(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch1_step_move_spbx.sizePolicy().hasHeightForWidth())
self.pump_ch1_step_move_spbx.setSizePolicy(sizePolicy)
self.pump_ch1_step_move_spbx.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.pump_ch1_step_move_spbx.setDecimals(0)
self.pump_ch1_step_move_spbx.setMaximum(2500.0)
self.pump_ch1_step_move_spbx.setStepType(QtWidgets.QAbstractSpinBox.AdaptiveDecimalStepType)
self.pump_ch1_step_move_spbx.setProperty("value", 100.0)
self.pump_ch1_step_move_spbx.setObjectName("pump_ch1_step_move_spbx")
self.verticalLayout_39.addWidget(self.pump_ch1_step_move_spbx)
self.horizontalLayout_66 = QtWidgets.QHBoxLayout()
self.horizontalLayout_66.setObjectName("horizontalLayout_66")
self.pump_ch1_forward_btn = QtWidgets.QPushButton(self.groupBox_25)
self.pump_ch1_forward_btn.setText("")
icon14 = QtGui.QIcon()
icon14.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/clockwise.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pump_ch1_forward_btn.setIcon(icon14)
self.pump_ch1_forward_btn.setIconSize(QtCore.QSize(40, 40))
self.pump_ch1_forward_btn.setFlat(False)
self.pump_ch1_forward_btn.setObjectName("pump_ch1_forward_btn")
self.horizontalLayout_66.addWidget(self.pump_ch1_forward_btn)
self.pump_ch1_backward_btn = QtWidgets.QPushButton(self.groupBox_25)
self.pump_ch1_backward_btn.setText("")
icon15 = QtGui.QIcon()
icon15.addPixmap(QtGui.QPixmap(":/my_icons/images/icons/counterclockwise.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pump_ch1_backward_btn.setIcon(icon15)
self.pump_ch1_backward_btn.setIconSize(QtCore.QSize(40, 40))
self.pump_ch1_backward_btn.setFlat(False)
self.pump_ch1_backward_btn.setObjectName("pump_ch1_backward_btn")
self.horizontalLayout_66.addWidget(self.pump_ch1_backward_btn)
self.verticalLayout_39.addLayout(self.horizontalLayout_66)
self.verticalLayout_39.setStretch(0, 1)
self.verticalLayout_39.setStretch(1, 2)
self.horizontalLayout_49.addLayout(self.verticalLayout_39)
self.horizontalLayout_51.addLayout(self.horizontalLayout_49)
self.verticalLayout_35.addLayout(self.horizontalLayout_51)
self.line_8 = QtWidgets.QFrame(self.groupBox_25)
self.line_8.setFrameShape(QtWidgets.QFrame.HLine)
self.line_8.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_8.setObjectName("line_8")
self.verticalLayout_35.addWidget(self.line_8)
self.horizontalLayout_52 = QtWidgets.QHBoxLayout()
self.horizontalLayout_52.setObjectName("horizontalLayout_52")
self.verticalLayout_33 = QtWidgets.QVBoxLayout()
self.verticalLayout_33.setObjectName("verticalLayout_33")
self.horizontalLayout_53 = QtWidgets.QHBoxLayout()
self.horizontalLayout_53.setObjectName("horizontalLayout_53")
self.pump_ch2_setzero_btn = QtWidgets.QPushButton(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch2_setzero_btn.sizePolicy().hasHeightForWidth())
self.pump_ch2_setzero_btn.setSizePolicy(sizePolicy)
self.pump_ch2_setzero_btn.setIcon(icon5)
self.pump_ch2_setzero_btn.setObjectName("pump_ch2_setzero_btn")
self.horizontalLayout_53.addWidget(self.pump_ch2_setzero_btn)
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_53.addItem(spacerItem5)
self.verticalLayout_33.addLayout(self.horizontalLayout_53)
self.pump_ch2_position_view = QtWidgets.QLCDNumber(self.groupBox_25)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pump_ch2_position_view.sizePolicy().hasHeightForWidth())
self.pump_ch2_position_view.setSizePolicy(sizePolicy)
self.pump_ch2_position_view.setDigitCount(10)
self.pump_ch2_position_view.setMode(QtWidgets.QLCDNumber.Dec)
self.pump_ch2_position_view.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.pump_ch2_position_view.setObjectName("pump_ch2_position_view")
self.verticalLayout_33.addWidget(self.pump_ch2_position_view)
self.verticalLayout_33.setStretch(0, 1)
self.verticalLayout_33.setStretch(1, 4)
self.horizontalLayout_52.addLayout(self.verticalLayout_33)
self.line_10 = QtWidgets.QFrame(self.groupBox_25)
self.line_10.setFrameShape(QtWidgets.QFrame.VLine)
self.line_10.setFrameShadow(QtWidgets.QFrame.Sunken)