forked from amchagas/Flypi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GUI_2.2
1997 lines (1988 loc) · 119 KB
/
GUI_2.2
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 'stream3.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# 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
import pyqtgraph as pg
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(665, 548)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setBaseSize(QtCore.QSize(0, 20))
self.centralWidget = QtWidgets.QWidget(MainWindow)
self.centralWidget.setAutoFillBackground(False)
self.centralWidget.setObjectName("centralWidget")
self.gridLayout = QtWidgets.QGridLayout(self.centralWidget)
self.gridLayout.setContentsMargins(11, 11, 11, 11)
self.gridLayout.setSpacing(6)
self.gridLayout.setObjectName("gridLayout")
self.tabs = QtWidgets.QTabWidget(self.centralWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tabs.sizePolicy().hasHeightForWidth())
self.tabs.setSizePolicy(sizePolicy)
self.tabs.setMinimumSize(QtCore.QSize(0, 0))
self.tabs.setAutoFillBackground(False)
self.tabs.setTabPosition(QtWidgets.QTabWidget.North)
self.tabs.setTabShape(QtWidgets.QTabWidget.Rounded)
self.tabs.setElideMode(QtCore.Qt.ElideLeft)
self.tabs.setObjectName("tabs")
self.camera = QtWidgets.QWidget()
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.camera.sizePolicy().hasHeightForWidth())
self.camera.setSizePolicy(sizePolicy)
self.camera.setMinimumSize(QtCore.QSize(0, 0))
self.camera.setAutoFillBackground(False)
self.camera.setStyleSheet("")
self.camera.setObjectName("camera")
self.gridLayout_5 = QtWidgets.QGridLayout(self.camera)
self.gridLayout_5.setContentsMargins(11, 11, 11, 11)
self.gridLayout_5.setSpacing(6)
self.gridLayout_5.setObjectName("gridLayout_5")
self.scrollArea = QtWidgets.QScrollArea(self.camera)
self.scrollArea.setAutoFillBackground(False)
self.scrollArea.setStyleSheet("QScrollArea { background: transparent; }\n"
"QScrollArea > QWidget > QWidget { background: transparent; }\n"
"QScrollArea > QWidget > QScrollBar { background: 0; }")
self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
self.scrollArea.setWidgetResizable(True)
self.scrollArea.setObjectName("scrollArea")
self.scrollAreaWidgetContents = QtWidgets.QWidget()
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 706, 477))
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
self.gridLayout_11 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
self.gridLayout_11.setContentsMargins(11, 11, 11, 11)
self.gridLayout_11.setSpacing(6)
self.gridLayout_11.setObjectName("gridLayout_11")
self.cameralabellayout = QtWidgets.QVBoxLayout()
self.cameralabellayout.setContentsMargins(-1, -1, -1, 2)
self.cameralabellayout.setSpacing(6)
self.cameralabellayout.setObjectName("cameralabellayout")
self.cameralabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.cameralabel.setMaximumSize(QtCore.QSize(16777215, 20))
self.cameralabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.cameralabel.setObjectName("cameralabel")
self.cameralabellayout.addWidget(self.cameralabel)
self.gridLayout_11.addLayout(self.cameralabellayout, 0, 0, 1, 1)
self.windowsizelayout = QtWidgets.QVBoxLayout()
self.windowsizelayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.windowsizelayout.setContentsMargins(-1, -1, -1, 2)
self.windowsizelayout.setSpacing(6)
self.windowsizelayout.setObjectName("windowsizelayout")
self.windowlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.windowlabel.sizePolicy().hasHeightForWidth())
self.windowlabel.setSizePolicy(sizePolicy)
self.windowlabel.setObjectName("windowlabel")
self.windowsizelayout.addWidget(self.windowlabel)
self.windowlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.windowlcd.sizePolicy().hasHeightForWidth())
self.windowlcd.setSizePolicy(sizePolicy)
self.windowlcd.setDigitCount(3)
self.windowlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.windowlcd.setProperty("intValue", 240)
self.windowlcd.setObjectName("windowlcd")
self.windowsizelayout.addWidget(self.windowlcd)
self.windowbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.windowbar.setEnabled(True)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.windowbar.sizePolicy().hasHeightForWidth())
self.windowbar.setSizePolicy(sizePolicy)
self.windowbar.setAcceptDrops(False)
self.windowbar.setAutoFillBackground(False)
self.windowbar.setMinimum(240)
self.windowbar.setMaximum(800)
self.windowbar.setSingleStep(5)
self.windowbar.setOrientation(QtCore.Qt.Horizontal)
self.windowbar.setInvertedAppearance(False)
self.windowbar.setObjectName("windowbar")
self.windowsizelayout.addWidget(self.windowbar)
self.gridLayout_11.addLayout(self.windowsizelayout, 0, 1, 1, 1)
self.zoomverticallayout = QtWidgets.QVBoxLayout()
self.zoomverticallayout.setContentsMargins(-1, -1, -1, 2)
self.zoomverticallayout.setSpacing(6)
self.zoomverticallayout.setObjectName("zoomverticallayout")
self.zoomlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.zoomlabel.setObjectName("zoomlabel")
self.zoomverticallayout.addWidget(self.zoomlabel)
self.zoomlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.zoomlcd.sizePolicy().hasHeightForWidth())
self.zoomlcd.setSizePolicy(sizePolicy)
self.zoomlcd.setDigitCount(2)
self.zoomlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.zoomlcd.setProperty("intValue", 0)
self.zoomlcd.setObjectName("zoomlcd")
self.zoomverticallayout.addWidget(self.zoomlcd)
self.zoombar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.zoombar.setAcceptDrops(False)
self.zoombar.setMinimum(0)
self.zoombar.setMaximum(10)
self.zoombar.setSingleStep(1)
self.zoombar.setPageStep(1)
self.zoombar.setSliderPosition(0)
self.zoombar.setOrientation(QtCore.Qt.Horizontal)
self.zoombar.setObjectName("zoombar")
self.zoomverticallayout.addWidget(self.zoombar)
self.gridLayout_11.addLayout(self.zoomverticallayout, 0, 2, 1, 1)
self.horizontallayout = QtWidgets.QVBoxLayout()
self.horizontallayout.setContentsMargins(-1, -1, -1, 2)
self.horizontallayout.setSpacing(6)
self.horizontallayout.setObjectName("horizontallayout")
self.horizontallabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.horizontallabel.setObjectName("horizontallabel")
self.horizontallayout.addWidget(self.horizontallabel)
self.horizontallcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontallcd.sizePolicy().hasHeightForWidth())
self.horizontallcd.setSizePolicy(sizePolicy)
self.horizontallcd.setDigitCount(3)
self.horizontallcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.horizontallcd.setProperty("intValue", 0)
self.horizontallcd.setObjectName("horizontallcd")
self.horizontallayout.addWidget(self.horizontallcd)
self.horizontalbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.horizontalbar.setAcceptDrops(False)
self.horizontalbar.setMinimum(-100)
self.horizontalbar.setMaximum(100)
self.horizontalbar.setSingleStep(1)
self.horizontalbar.setProperty("value", 0)
self.horizontalbar.setOrientation(QtCore.Qt.Horizontal)
self.horizontalbar.setObjectName("horizontalbar")
self.horizontallayout.addWidget(self.horizontalbar)
self.gridLayout_11.addLayout(self.horizontallayout, 0, 3, 1, 1)
self.flipexposurelayout = QtWidgets.QVBoxLayout()
self.flipexposurelayout.setContentsMargins(-1, -1, -1, 2)
self.flipexposurelayout.setSpacing(6)
self.flipexposurelayout.setObjectName("flipexposurelayout")
self.camonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
self.camonbutton.setCheckable(True)
self.camonbutton.setObjectName("camonbutton")
self.flipexposurelayout.addWidget(self.camonbutton)
self.to_avibutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
self.to_avibutton.setObjectName("to_avibutton")
self.flipexposurelayout.addWidget(self.to_avibutton)
self.gridLayout_11.addLayout(self.flipexposurelayout, 1, 0, 1, 1)
self.brightnesslayout = QtWidgets.QVBoxLayout()
self.brightnesslayout.setContentsMargins(-1, -1, -1, 2)
self.brightnesslayout.setSpacing(6)
self.brightnesslayout.setObjectName("brightnesslayout")
self.brightnesslabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.brightnesslabel.setObjectName("brightnesslabel")
self.brightnesslayout.addWidget(self.brightnesslabel)
self.brightnesslcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
self.brightnesslcd.setDigitCount(3)
self.brightnesslcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.brightnesslcd.setProperty("value", 50.0)
self.brightnesslcd.setProperty("intValue", 50)
self.brightnesslcd.setObjectName("brightnesslcd")
self.brightnesslayout.addWidget(self.brightnesslcd)
self.brightnessbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.brightnessbar.setAcceptDrops(False)
self.brightnessbar.setMinimum(0)
self.brightnessbar.setMaximum(100)
self.brightnessbar.setSingleStep(1)
self.brightnessbar.setPageStep(1)
self.brightnessbar.setProperty("value", 50)
self.brightnessbar.setOrientation(QtCore.Qt.Horizontal)
self.brightnessbar.setObjectName("brightnessbar")
self.brightnesslayout.addWidget(self.brightnessbar)
self.gridLayout_11.addLayout(self.brightnesslayout, 1, 1, 1, 1)
self.binlayout = QtWidgets.QVBoxLayout()
self.binlayout.setContentsMargins(-1, -1, -1, 2)
self.binlayout.setSpacing(6)
self.binlayout.setObjectName("binlayout")
self.binlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.binlabel.setObjectName("binlabel")
self.binlayout.addWidget(self.binlabel)
self.binlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
self.binlcd.setDigitCount(2)
self.binlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.binlcd.setProperty("value", 1.0)
self.binlcd.setProperty("intValue", 1)
self.binlcd.setObjectName("binlcd")
self.binlayout.addWidget(self.binlcd)
self.binbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.binbar.setAcceptDrops(False)
self.binbar.setMinimum(1)
self.binbar.setMaximum(4)
self.binbar.setSingleStep(1)
self.binbar.setProperty("value", 1)
self.binbar.setOrientation(QtCore.Qt.Horizontal)
self.binbar.setObjectName("binbar")
self.binlayout.addWidget(self.binbar)
self.gridLayout_11.addLayout(self.binlayout, 1, 5, 1, 1)
self.fpslayout = QtWidgets.QVBoxLayout()
self.fpslayout.setContentsMargins(-1, -1, -1, 2)
self.fpslayout.setSpacing(6)
self.fpslayout.setObjectName("fpslayout")
self.fpslabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.fpslabel.setObjectName("fpslabel")
self.fpslayout.addWidget(self.fpslabel)
self.fpslcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
self.fpslcd.setDigitCount(2)
self.fpslcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.fpslcd.setProperty("intValue", 5)
self.fpslcd.setObjectName("fpslcd")
self.fpslayout.addWidget(self.fpslcd)
self.fpsbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.fpsbar.setAcceptDrops(False)
self.fpsbar.setMinimum(5)
self.fpsbar.setMaximum(90)
self.fpsbar.setSingleStep(5)
self.fpsbar.setPageStep(5)
self.fpsbar.setProperty("value", 5)
self.fpsbar.setOrientation(QtCore.Qt.Horizontal)
self.fpsbar.setObjectName("fpsbar")
self.fpslayout.addWidget(self.fpsbar)
self.gridLayout_11.addLayout(self.fpslayout, 1, 4, 1, 1)
self.exposurelayout = QtWidgets.QVBoxLayout()
self.exposurelayout.setContentsMargins(-1, -1, -1, 2)
self.exposurelayout.setSpacing(6)
self.exposurelayout.setObjectName("exposurelayout")
self.exposurelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.exposurelabel.setObjectName("exposurelabel")
self.exposurelayout.addWidget(self.exposurelabel)
self.exposurelcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
self.exposurelcd.setBaseSize(QtCore.QSize(20, 20))
self.exposurelcd.setDigitCount(3)
self.exposurelcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.exposurelcd.setProperty("value", 0.0)
self.exposurelcd.setProperty("intValue", 0)
self.exposurelcd.setObjectName("exposurelcd")
self.exposurelayout.addWidget(self.exposurelcd)
self.exposurebar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.exposurebar.setAcceptDrops(False)
self.exposurebar.setMinimum(-25)
self.exposurebar.setMaximum(25)
self.exposurebar.setSingleStep(1)
self.exposurebar.setPageStep(1)
self.exposurebar.setProperty("value", 0)
self.exposurebar.setSliderPosition(0)
self.exposurebar.setOrientation(QtCore.Qt.Horizontal)
self.exposurebar.setObjectName("exposurebar")
self.exposurelayout.addWidget(self.exposurebar)
self.gridLayout_11.addLayout(self.exposurelayout, 1, 3, 1, 1)
self.rotationlayout = QtWidgets.QVBoxLayout()
self.rotationlayout.setContentsMargins(-1, -1, -1, 2)
self.rotationlayout.setSpacing(6)
self.rotationlayout.setObjectName("rotationlayout")
self.rotationlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.rotationlabel.setObjectName("rotationlabel")
self.rotationlayout.addWidget(self.rotationlabel)
self.rotationlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.rotationlcd.sizePolicy().hasHeightForWidth())
self.rotationlcd.setSizePolicy(sizePolicy)
self.rotationlcd.setDigitCount(3)
self.rotationlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.rotationlcd.setProperty("value", 0.0)
self.rotationlcd.setProperty("intValue", 0)
self.rotationlcd.setObjectName("rotationlcd")
self.rotationlayout.addWidget(self.rotationlcd)
self.rotationbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.rotationbar.setAcceptDrops(False)
self.rotationbar.setMinimum(0)
self.rotationbar.setMaximum(270)
self.rotationbar.setSingleStep(90)
self.rotationbar.setPageStep(90)
self.rotationbar.setProperty("value", 0)
self.rotationbar.setOrientation(QtCore.Qt.Horizontal)
self.rotationbar.setObjectName("rotationbar")
self.rotationlayout.addWidget(self.rotationbar)
self.gridLayout_11.addLayout(self.rotationlayout, 0, 5, 1, 1)
self.verticallayout = QtWidgets.QVBoxLayout()
self.verticallayout.setContentsMargins(-1, -1, -1, 2)
self.verticallayout.setSpacing(6)
self.verticallayout.setObjectName("verticallayout")
self.verticallabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.verticallabel.setObjectName("verticallabel")
self.verticallayout.addWidget(self.verticallabel)
self.verticallcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.verticallcd.sizePolicy().hasHeightForWidth())
self.verticallcd.setSizePolicy(sizePolicy)
self.verticallcd.setDigitCount(3)
self.verticallcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.verticallcd.setProperty("value", 0.0)
self.verticallcd.setProperty("intValue", 0)
self.verticallcd.setObjectName("verticallcd")
self.verticallayout.addWidget(self.verticallcd)
self.verticalbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.verticalbar.setAcceptDrops(False)
self.verticalbar.setMinimum(-100)
self.verticalbar.setMaximum(100)
self.verticalbar.setSingleStep(1)
self.verticalbar.setProperty("value", 0)
self.verticalbar.setOrientation(QtCore.Qt.Horizontal)
self.verticalbar.setObjectName("verticalbar")
self.verticallayout.addWidget(self.verticalbar)
self.gridLayout_11.addLayout(self.verticallayout, 0, 4, 1, 1)
self.contrastlayout = QtWidgets.QVBoxLayout()
self.contrastlayout.setContentsMargins(-1, -1, -1, 2)
self.contrastlayout.setSpacing(6)
self.contrastlayout.setObjectName("contrastlayout")
self.contrastlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.contrastlabel.setObjectName("contrastlabel")
self.contrastlayout.addWidget(self.contrastlabel)
self.contrastlcd = QtWidgets.QLCDNumber(self.scrollAreaWidgetContents)
self.contrastlcd.setDigitCount(3)
self.contrastlcd.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
self.contrastlcd.setProperty("value", 50.0)
self.contrastlcd.setProperty("intValue", 50)
self.contrastlcd.setObjectName("contrastlcd")
self.contrastlayout.addWidget(self.contrastlcd)
self.contrastbar = QtWidgets.QScrollBar(self.scrollAreaWidgetContents)
self.contrastbar.setAcceptDrops(False)
self.contrastbar.setMinimum(0)
self.contrastbar.setMaximum(100)
self.contrastbar.setSingleStep(1)
self.contrastbar.setPageStep(1)
self.contrastbar.setProperty("value", 50)
self.contrastbar.setOrientation(QtCore.Qt.Horizontal)
self.contrastbar.setObjectName("contrastbar")
self.contrastlayout.addWidget(self.contrastbar)
self.gridLayout_11.addLayout(self.contrastlayout, 1, 2, 1, 1)
self.photolayout = QtWidgets.QVBoxLayout()
self.photolayout.setContentsMargins(-1, -1, -1, 2)
self.photolayout.setSpacing(6)
self.photolayout.setObjectName("photolayout")
self.serverlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.serverlabel.setObjectName("serverlabel")
self.photolayout.addWidget(self.serverlabel)
self.ipinput = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ipinput.sizePolicy().hasHeightForWidth())
self.ipinput.setSizePolicy(sizePolicy)
self.ipinput.setInputMask("")
self.ipinput.setObjectName("ipinput")
self.photolayout.addWidget(self.ipinput)
self.portlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.portlabel.setObjectName("portlabel")
self.photolayout.addWidget(self.portlabel)
self.portinput = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.portinput.sizePolicy().hasHeightForWidth())
self.portinput.setSizePolicy(sizePolicy)
self.portinput.setObjectName("portinput")
self.photolayout.addWidget(self.portinput)
self.streambutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
self.streambutton.setCheckable(True)
self.streambutton.setObjectName("streambutton")
self.photolayout.addWidget(self.streambutton)
self.gridLayout_11.addLayout(self.photolayout, 2, 0, 1, 1)
self.intervallayout = QtWidgets.QVBoxLayout()
self.intervallayout.setContentsMargins(-1, -1, -1, 2)
self.intervallayout.setSpacing(6)
self.intervallayout.setObjectName("intervallayout")
self.autoexposurebox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
self.autoexposurebox.setObjectName("autoexposurebox")
self.intervallayout.addWidget(self.autoexposurebox)
self.flipimagebox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
self.flipimagebox.setObjectName("flipimagebox")
self.intervallayout.addWidget(self.flipimagebox)
self.gridLayout_11.addLayout(self.intervallayout, 2, 1, 1, 1)
self.resolutionlayout = QtWidgets.QVBoxLayout()
self.resolutionlayout.setContentsMargins(-1, -1, -1, 2)
self.resolutionlayout.setSpacing(6)
self.resolutionlayout.setObjectName("resolutionlayout")
self.resolutionlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.resolutionlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.resolutionlabel.setObjectName("resolutionlabel")
self.resolutionlayout.addWidget(self.resolutionlabel)
self.resolutionbox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
self.resolutionbox.setObjectName("resolutionbox")
self.resolutionbox.addItem("")
self.resolutionbox.addItem("")
self.resolutionbox.addItem("")
self.resolutionbox.addItem("")
self.resolutionbox.addItem("")
self.resolutionlayout.addWidget(self.resolutionbox)
self.whitebalancelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.whitebalancelabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.whitebalancelabel.setObjectName("whitebalancelabel")
self.resolutionlayout.addWidget(self.whitebalancelabel)
self.whitebalancebox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
self.whitebalancebox.setObjectName("whitebalancebox")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.whitebalancebox.addItem("")
self.resolutionlayout.addWidget(self.whitebalancebox)
self.gridLayout_11.addLayout(self.resolutionlayout, 2, 2, 1, 1)
self.whitebalancelayout = QtWidgets.QVBoxLayout()
self.whitebalancelayout.setContentsMargins(-1, -1, -1, 2)
self.whitebalancelayout.setSpacing(6)
self.whitebalancelayout.setObjectName("whitebalancelayout")
self.modelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.modelabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.modelabel.setObjectName("modelabel")
self.whitebalancelayout.addWidget(self.modelabel)
self.modebox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
self.modebox.setMaxVisibleItems(25)
self.modebox.setObjectName("modebox")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.modebox.addItem("")
self.whitebalancelayout.addWidget(self.modebox)
self.colourlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.colourlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.colourlabel.setObjectName("colourlabel")
self.whitebalancelayout.addWidget(self.colourlabel)
self.colourbox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
self.colourbox.setEditable(False)
self.colourbox.setObjectName("colourbox")
self.colourbox.addItem("")
self.colourbox.addItem("")
self.colourbox.addItem("")
self.colourbox.addItem("")
self.colourbox.addItem("")
self.whitebalancelayout.addWidget(self.colourbox)
self.gridLayout_11.addLayout(self.whitebalancelayout, 2, 3, 1, 1)
self.modelayout = QtWidgets.QVBoxLayout()
self.modelayout.setContentsMargins(-1, -1, -1, 2)
self.modelayout.setSpacing(6)
self.modelayout.setObjectName("modelayout")
self.photobutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.photobutton.sizePolicy().hasHeightForWidth())
self.photobutton.setSizePolicy(sizePolicy)
self.photobutton.setMinimumSize(QtCore.QSize(100, 0))
self.photobutton.setObjectName("photobutton")
self.modelayout.addWidget(self.photobutton)
self.timelapsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
self.timelapsebutton.setObjectName("timelapsebutton")
self.modelayout.addWidget(self.timelapsebutton)
self.videobutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
self.videobutton.setObjectName("videobutton")
self.modelayout.addWidget(self.videobutton)
self.recordbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
self.recordbutton.setCheckable(True)
self.recordbutton.setObjectName("recordbutton")
self.modelayout.addWidget(self.recordbutton)
self.gridLayout_11.addLayout(self.modelayout, 2, 4, 1, 1)
self.colourlayout = QtWidgets.QVBoxLayout()
self.colourlayout.setContentsMargins(-1, -1, -1, 2)
self.colourlayout.setSpacing(6)
self.colourlayout.setObjectName("colourlayout")
self.intervallabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.intervallabel.setMaximumSize(QtCore.QSize(250, 16777215))
self.intervallabel.setObjectName("intervallabel")
self.colourlayout.addWidget(self.intervallabel)
self.intervalbox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
self.intervalbox.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
self.intervalbox.setMaximum(1000000)
self.intervalbox.setProperty("value", 5)
self.intervalbox.setObjectName("intervalbox")
self.colourlayout.addWidget(self.intervalbox)
self.durationlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
self.durationlabel.setMaximumSize(QtCore.QSize(250, 16777215))
self.durationlabel.setObjectName("durationlabel")
self.colourlayout.addWidget(self.durationlabel)
self.durationbox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
self.durationbox.setButtonSymbols(QtWidgets.QAbstractSpinBox.PlusMinus)
self.durationbox.setMaximum(1000000)
self.durationbox.setProperty("value", 5)
self.durationbox.setObjectName("durationbox")
self.colourlayout.addWidget(self.durationbox)
self.gridLayout_11.addLayout(self.colourlayout, 2, 5, 1, 1)
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
self.gridLayout_5.addWidget(self.scrollArea, 6, 3, 1, 2)
self.tabs.addTab(self.camera, "")
self.lightdevices = QtWidgets.QWidget()
self.lightdevices.setObjectName("lightdevices")
self.gridLayout_7 = QtWidgets.QGridLayout(self.lightdevices)
self.gridLayout_7.setContentsMargins(11, 11, 11, 11)
self.gridLayout_7.setSpacing(6)
self.gridLayout_7.setObjectName("gridLayout_7")
self.ringframe = QtWidgets.QFrame(self.lightdevices)
self.ringframe.setFrameShape(QtWidgets.QFrame.NoFrame)
self.ringframe.setFrameShadow(QtWidgets.QFrame.Sunken)
self.ringframe.setLineWidth(0)
self.ringframe.setObjectName("ringframe")
self.gridLayout_6 = QtWidgets.QGridLayout(self.ringframe)
self.gridLayout_6.setContentsMargins(0, 0, 0, 0)
self.gridLayout_6.setSpacing(6)
self.gridLayout_6.setObjectName("gridLayout_6")
self.scrollArea_2 = QtWidgets.QScrollArea(self.ringframe)
self.scrollArea_2.setAutoFillBackground(False)
self.scrollArea_2.setStyleSheet("QScrollArea { background: transparent; }\n"
"QScrollArea > QWidget > QWidget { background: transparent; }\n"
"QScrollArea > QWidget > QScrollBar { background: 0; }")
self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
self.scrollArea_2.setLineWidth(0)
self.scrollArea_2.setWidgetResizable(True)
self.scrollArea_2.setObjectName("scrollArea_2")
self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 606, 679))
self.scrollAreaWidgetContents_2.setAutoFillBackground(False)
self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
self.gridLayout_12 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_2)
self.gridLayout_12.setContentsMargins(11, 11, 11, 11)
self.gridLayout_12.setSpacing(6)
self.gridLayout_12.setObjectName("gridLayout_12")
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
self.verticalLayout_6.setSpacing(6)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.led1label = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1label.sizePolicy().hasHeightForWidth())
self.led1label.setSizePolicy(sizePolicy)
self.led1label.setObjectName("led1label")
self.verticalLayout_6.addWidget(self.led1label)
self.led1onbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
self.led1onbutton.setCheckable(True)
self.led1onbutton.setObjectName("led1onbutton")
self.verticalLayout_6.addWidget(self.led1onbutton)
self.led1brightlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1brightlabel.sizePolicy().hasHeightForWidth())
self.led1brightlabel.setSizePolicy(sizePolicy)
self.led1brightlabel.setMinimumSize(QtCore.QSize(0, 20))
self.led1brightlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
self.led1brightlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.led1brightlabel.setObjectName("led1brightlabel")
self.verticalLayout_6.addWidget(self.led1brightlabel)
self.led1slider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1slider.sizePolicy().hasHeightForWidth())
self.led1slider.setSizePolicy(sizePolicy)
self.led1slider.setLayoutDirection(QtCore.Qt.LeftToRight)
self.led1slider.setMaximum(100)
self.led1slider.setOrientation(QtCore.Qt.Horizontal)
self.led1slider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.led1slider.setTickInterval(5)
self.led1slider.setObjectName("led1slider")
self.verticalLayout_6.addWidget(self.led1slider)
self.led1brightindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1brightindicator.sizePolicy().hasHeightForWidth())
self.led1brightindicator.setSizePolicy(sizePolicy)
self.led1brightindicator.setMinimumSize(QtCore.QSize(150, 0))
self.led1brightindicator.setProperty("value", 10)
self.led1brightindicator.setInvertedAppearance(False)
self.led1brightindicator.setObjectName("led1brightindicator")
self.verticalLayout_6.addWidget(self.led1brightindicator)
self.pulsedurationlabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pulsedurationlabel_2.sizePolicy().hasHeightForWidth())
self.pulsedurationlabel_2.setSizePolicy(sizePolicy)
self.pulsedurationlabel_2.setMinimumSize(QtCore.QSize(100, 0))
self.pulsedurationlabel_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.pulsedurationlabel_2.setObjectName("pulsedurationlabel_2")
self.verticalLayout_6.addWidget(self.pulsedurationlabel_2)
self.led1pulsebrightness = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1pulsebrightness.sizePolicy().hasHeightForWidth())
self.led1pulsebrightness.setSizePolicy(sizePolicy)
self.led1pulsebrightness.setMinimumSize(QtCore.QSize(100, 0))
self.led1pulsebrightness.setObjectName("led1pulsebrightness")
self.verticalLayout_6.addWidget(self.led1pulsebrightness)
self.pulsedurationlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pulsedurationlabel.sizePolicy().hasHeightForWidth())
self.pulsedurationlabel.setSizePolicy(sizePolicy)
self.pulsedurationlabel.setMinimumSize(QtCore.QSize(100, 0))
self.pulsedurationlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.pulsedurationlabel.setObjectName("pulsedurationlabel")
self.verticalLayout_6.addWidget(self.pulsedurationlabel)
self.led1pulseduration = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1pulseduration.sizePolicy().hasHeightForWidth())
self.led1pulseduration.setSizePolicy(sizePolicy)
self.led1pulseduration.setMinimumSize(QtCore.QSize(100, 0))
self.led1pulseduration.setObjectName("led1pulseduration")
self.verticalLayout_6.addWidget(self.led1pulseduration)
self.led1pulsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led1pulsebutton.sizePolicy().hasHeightForWidth())
self.led1pulsebutton.setSizePolicy(sizePolicy)
self.led1pulsebutton.setMinimumSize(QtCore.QSize(125, 0))
self.led1pulsebutton.setObjectName("led1pulsebutton")
self.verticalLayout_6.addWidget(self.led1pulsebutton)
self.gridLayout_12.addLayout(self.verticalLayout_6, 0, 0, 1, 1)
self.verticalLayout_10 = QtWidgets.QVBoxLayout()
self.verticalLayout_10.setSpacing(6)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.led2label = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2label.sizePolicy().hasHeightForWidth())
self.led2label.setSizePolicy(sizePolicy)
self.led2label.setObjectName("led2label")
self.verticalLayout_10.addWidget(self.led2label)
self.led2onbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2onbutton.sizePolicy().hasHeightForWidth())
self.led2onbutton.setSizePolicy(sizePolicy)
self.led2onbutton.setCheckable(True)
self.led2onbutton.setObjectName("led2onbutton")
self.verticalLayout_10.addWidget(self.led2onbutton)
self.led2brightlabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2brightlabel_2.sizePolicy().hasHeightForWidth())
self.led2brightlabel_2.setSizePolicy(sizePolicy)
self.led2brightlabel_2.setMinimumSize(QtCore.QSize(0, 20))
self.led2brightlabel_2.setFrameShape(QtWidgets.QFrame.NoFrame)
self.led2brightlabel_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.led2brightlabel_2.setObjectName("led2brightlabel_2")
self.verticalLayout_10.addWidget(self.led2brightlabel_2)
self.led2slider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2slider.sizePolicy().hasHeightForWidth())
self.led2slider.setSizePolicy(sizePolicy)
self.led2slider.setLayoutDirection(QtCore.Qt.LeftToRight)
self.led2slider.setMaximum(100)
self.led2slider.setOrientation(QtCore.Qt.Horizontal)
self.led2slider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.led2slider.setTickInterval(5)
self.led2slider.setObjectName("led2slider")
self.verticalLayout_10.addWidget(self.led2slider)
self.led2brightindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2brightindicator.sizePolicy().hasHeightForWidth())
self.led2brightindicator.setSizePolicy(sizePolicy)
self.led2brightindicator.setMinimumSize(QtCore.QSize(150, 0))
self.led2brightindicator.setProperty("value", 10)
self.led2brightindicator.setInvertedAppearance(False)
self.led2brightindicator.setObjectName("led2brightindicator")
self.verticalLayout_10.addWidget(self.led2brightindicator)
self.led2pulsebrightlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2pulsebrightlabel.sizePolicy().hasHeightForWidth())
self.led2pulsebrightlabel.setSizePolicy(sizePolicy)
self.led2pulsebrightlabel.setMinimumSize(QtCore.QSize(100, 0))
self.led2pulsebrightlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.led2pulsebrightlabel.setObjectName("led2pulsebrightlabel")
self.verticalLayout_10.addWidget(self.led2pulsebrightlabel)
self.led2pulsebrightness = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2pulsebrightness.sizePolicy().hasHeightForWidth())
self.led2pulsebrightness.setSizePolicy(sizePolicy)
self.led2pulsebrightness.setMinimumSize(QtCore.QSize(100, 0))
self.led2pulsebrightness.setObjectName("led2pulsebrightness")
self.verticalLayout_10.addWidget(self.led2pulsebrightness)
self.led2pulsedurlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2pulsedurlabel.sizePolicy().hasHeightForWidth())
self.led2pulsedurlabel.setSizePolicy(sizePolicy)
self.led2pulsedurlabel.setMinimumSize(QtCore.QSize(100, 0))
self.led2pulsedurlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.led2pulsedurlabel.setObjectName("led2pulsedurlabel")
self.verticalLayout_10.addWidget(self.led2pulsedurlabel)
self.led2pulseduration = QtWidgets.QLineEdit(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2pulseduration.sizePolicy().hasHeightForWidth())
self.led2pulseduration.setSizePolicy(sizePolicy)
self.led2pulseduration.setMinimumSize(QtCore.QSize(100, 0))
self.led2pulseduration.setObjectName("led2pulseduration")
self.verticalLayout_10.addWidget(self.led2pulseduration)
self.led2pulsebutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.led2pulsebutton.sizePolicy().hasHeightForWidth())
self.led2pulsebutton.setSizePolicy(sizePolicy)
self.led2pulsebutton.setMinimumSize(QtCore.QSize(125, 0))
self.led2pulsebutton.setObjectName("led2pulsebutton")
self.verticalLayout_10.addWidget(self.led2pulsebutton)
self.gridLayout_12.addLayout(self.verticalLayout_10, 0, 1, 1, 1)
self.verticalLayout_8 = QtWidgets.QVBoxLayout()
self.verticalLayout_8.setSpacing(6)
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.matrixlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.matrixlabel.sizePolicy().hasHeightForWidth())
self.matrixlabel.setSizePolicy(sizePolicy)
self.matrixlabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.matrixlabel.setObjectName("matrixlabel")
self.verticalLayout_8.addWidget(self.matrixlabel)
self.matrixonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
self.matrixonbutton.setCheckable(True)
self.matrixonbutton.setObjectName("matrixonbutton")
self.verticalLayout_8.addWidget(self.matrixonbutton)
self.matbrightlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.matbrightlabel.sizePolicy().hasHeightForWidth())
self.matbrightlabel.setSizePolicy(sizePolicy)
self.matbrightlabel.setMinimumSize(QtCore.QSize(0, 20))
self.matbrightlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
self.matbrightlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.matbrightlabel.setObjectName("matbrightlabel")
self.verticalLayout_8.addWidget(self.matbrightlabel)
self.matrixslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.matrixslider.sizePolicy().hasHeightForWidth())
self.matrixslider.setSizePolicy(sizePolicy)
self.matrixslider.setLayoutDirection(QtCore.Qt.LeftToRight)
self.matrixslider.setMaximum(10)
self.matrixslider.setOrientation(QtCore.Qt.Horizontal)
self.matrixslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.matrixslider.setTickInterval(5)
self.matrixslider.setObjectName("matrixslider")
self.verticalLayout_8.addWidget(self.matrixslider)
self.matbrightindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.matbrightindicator.sizePolicy().hasHeightForWidth())
self.matbrightindicator.setSizePolicy(sizePolicy)
self.matbrightindicator.setMinimumSize(QtCore.QSize(150, 0))
self.matbrightindicator.setMaximum(10)
self.matbrightindicator.setProperty("value", 0)
self.matbrightindicator.setInvertedAppearance(False)
self.matbrightindicator.setObjectName("matbrightindicator")
self.verticalLayout_8.addWidget(self.matbrightindicator)
self.matrixpat1 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
self.matrixpat1.setObjectName("matrixpat1")
self.verticalLayout_8.addWidget(self.matrixpat1)
self.matrixpat2 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
self.matrixpat2.setObjectName("matrixpat2")
self.verticalLayout_8.addWidget(self.matrixpat2)
self.matrixpat3 = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
self.matrixpat3.setObjectName("matrixpat3")
self.verticalLayout_8.addWidget(self.matrixpat3)
spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_8.addItem(spacerItem)
self.gridLayout_12.addLayout(self.verticalLayout_8, 0, 2, 1, 1)
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
self.verticalLayout_2.setSpacing(6)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setObjectName("label")
self.verticalLayout_2.addWidget(self.label)
self.ringonbutton = QtWidgets.QPushButton(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ringonbutton.sizePolicy().hasHeightForWidth())
self.ringonbutton.setSizePolicy(sizePolicy)
self.ringonbutton.setMinimumSize(QtCore.QSize(100, 0))
self.ringonbutton.setCheckable(True)
self.ringonbutton.setObjectName("ringonbutton")
self.verticalLayout_2.addWidget(self.ringonbutton)
self.redlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.redlabel.sizePolicy().hasHeightForWidth())
self.redlabel.setSizePolicy(sizePolicy)
self.redlabel.setMinimumSize(QtCore.QSize(0, 20))
self.redlabel.setFrameShape(QtWidgets.QFrame.NoFrame)
self.redlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.redlabel.setObjectName("redlabel")
self.verticalLayout_2.addWidget(self.redlabel)
self.redslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.redslider.sizePolicy().hasHeightForWidth())
self.redslider.setSizePolicy(sizePolicy)
self.redslider.setLayoutDirection(QtCore.Qt.LeftToRight)
self.redslider.setMaximum(100)
self.redslider.setProperty("value", 10)
self.redslider.setOrientation(QtCore.Qt.Horizontal)
self.redslider.setInvertedControls(False)
self.redslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.redslider.setTickInterval(5)
self.redslider.setObjectName("redslider")
self.verticalLayout_2.addWidget(self.redslider)
self.redindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.redindicator.sizePolicy().hasHeightForWidth())
self.redindicator.setSizePolicy(sizePolicy)
self.redindicator.setMinimumSize(QtCore.QSize(150, 0))
self.redindicator.setProperty("value", 10)
self.redindicator.setInvertedAppearance(False)
self.redindicator.setObjectName("redindicator")
self.verticalLayout_2.addWidget(self.redindicator)
self.greenlabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.greenlabel.sizePolicy().hasHeightForWidth())
self.greenlabel.setSizePolicy(sizePolicy)
self.greenlabel.setMaximumSize(QtCore.QSize(16777215, 20))
self.greenlabel.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
self.greenlabel.setObjectName("greenlabel")
self.verticalLayout_2.addWidget(self.greenlabel)
self.greenslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.greenslider.sizePolicy().hasHeightForWidth())
self.greenslider.setSizePolicy(sizePolicy)
self.greenslider.setBaseSize(QtCore.QSize(0, 0))
self.greenslider.setMaximum(100)
self.greenslider.setProperty("value", 10)
self.greenslider.setOrientation(QtCore.Qt.Horizontal)
self.greenslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.greenslider.setTickInterval(5)
self.greenslider.setObjectName("greenslider")
self.verticalLayout_2.addWidget(self.greenslider)
self.greenindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.greenindicator.sizePolicy().hasHeightForWidth())
self.greenindicator.setSizePolicy(sizePolicy)
self.greenindicator.setMinimumSize(QtCore.QSize(150, 0))
self.greenindicator.setProperty("value", 10)
self.greenindicator.setObjectName("greenindicator")
self.verticalLayout_2.addWidget(self.greenindicator)
self.bluelabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.bluelabel.sizePolicy().hasHeightForWidth())
self.bluelabel.setSizePolicy(sizePolicy)
self.bluelabel.setMinimumSize(QtCore.QSize(0, 20))
self.bluelabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.bluelabel.setObjectName("bluelabel")
self.verticalLayout_2.addWidget(self.bluelabel)
self.blueslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.blueslider.sizePolicy().hasHeightForWidth())
self.blueslider.setSizePolicy(sizePolicy)
self.blueslider.setMaximum(100)
self.blueslider.setProperty("value", 10)
self.blueslider.setOrientation(QtCore.Qt.Horizontal)
self.blueslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)
self.blueslider.setTickInterval(5)
self.blueslider.setObjectName("blueslider")
self.verticalLayout_2.addWidget(self.blueslider)
self.blueindicator = QtWidgets.QProgressBar(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.blueindicator.sizePolicy().hasHeightForWidth())
self.blueindicator.setSizePolicy(sizePolicy)
self.blueindicator.setMinimumSize(QtCore.QSize(150, 0))
self.blueindicator.setProperty("value", 10)
self.blueindicator.setInvertedAppearance(False)
self.blueindicator.setObjectName("blueindicator")
self.verticalLayout_2.addWidget(self.blueindicator)
self.bluelabel_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.bluelabel_2.sizePolicy().hasHeightForWidth())
self.bluelabel_2.setSizePolicy(sizePolicy)
self.bluelabel_2.setMinimumSize(QtCore.QSize(0, 20))
self.bluelabel_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.bluelabel_2.setObjectName("bluelabel_2")
self.verticalLayout_2.addWidget(self.bluelabel_2)
self.allslider = QtWidgets.QSlider(self.scrollAreaWidgetContents_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.allslider.sizePolicy().hasHeightForWidth())
self.allslider.setSizePolicy(sizePolicy)
self.allslider.setInputMethodHints(QtCore.Qt.ImhDigitsOnly)
self.allslider.setMaximum(100)
self.allslider.setProperty("value", 10)
self.allslider.setOrientation(QtCore.Qt.Horizontal)
self.allslider.setTickPosition(QtWidgets.QSlider.TicksBothSides)