-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain_Window.py
1438 lines (1432 loc) · 85.5 KB
/
Main_Window.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# Form implementation generated from reading ui file 'Main_Window.ui'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 470)
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
MainWindow.setPalette(palette)
MainWindow.setAutoFillBackground(False)
self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.label_pix = QtWidgets.QLabel(parent=self.centralwidget)
self.label_pix.setGeometry(QtCore.QRect(20, 5, 750, 440))
self.label_pix.setFrameShape(QtWidgets.QFrame.Shape.Box)
self.label_pix.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.label_pix.setLineWidth(3)
self.label_pix.setMidLineWidth(2)
self.label_pix.setText("")
self.label_pix.setObjectName("label_pix")
self.pushButton_settings_params = QtWidgets.QPushButton(parent=self.centralwidget)
self.pushButton_settings_params.setGeometry(QtCore.QRect(25, 20, 110, 60))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.pushButton_settings_params.setFont(font)
self.pushButton_settings_params.setObjectName("pushButton_settings_params")
self.pushButton_settings_images = QtWidgets.QPushButton(parent=self.centralwidget)
self.pushButton_settings_images.setGeometry(QtCore.QRect(25, 105, 110, 60))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.pushButton_settings_images.setFont(font)
self.pushButton_settings_images.setObjectName("pushButton_settings_images")
self.pushButton_settings_interfaces = QtWidgets.QPushButton(parent=self.centralwidget)
self.pushButton_settings_interfaces.setGeometry(QtCore.QRect(25, 200, 110, 60))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.pushButton_settings_interfaces.setFont(font)
self.pushButton_settings_interfaces.setObjectName("pushButton_settings_interfaces")
self.pushButton_settings_hw = QtWidgets.QPushButton(parent=self.centralwidget)
self.pushButton_settings_hw.setGeometry(QtCore.QRect(25, 285, 110, 60))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.pushButton_settings_hw.setFont(font)
self.pushButton_settings_hw.setObjectName("pushButton_settings_hw")
self.pushButton_back = QtWidgets.QPushButton(parent=self.centralwidget)
self.pushButton_back.setGeometry(QtCore.QRect(25, 370, 110, 60))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.pushButton_back.setFont(font)
self.pushButton_back.setObjectName("pushButton_back")
self.widget_images = QtWidgets.QWidget(parent=self.centralwidget)
self.widget_images.setGeometry(QtCore.QRect(140, 10, 630, 420))
self.widget_images.setObjectName("widget_images")
self.label_settings_2 = QtWidgets.QLabel(parent=self.widget_images)
self.label_settings_2.setGeometry(QtCore.QRect(20, 10, 220, 40))
font = QtGui.QFont()
font.setPointSize(20)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_settings_2.setFont(font)
self.label_settings_2.setObjectName("label_settings_2")
self.frame_w2 = QtWidgets.QFrame(parent=self.widget_images)
self.frame_w2.setGeometry(QtCore.QRect(0, 0, 630, 420))
self.frame_w2.setFrameShape(QtWidgets.QFrame.Shape.Box)
self.frame_w2.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_w2.setLineWidth(3)
self.frame_w2.setMidLineWidth(1)
self.frame_w2.setObjectName("frame_w2")
self.widget_interfaces = QtWidgets.QWidget(parent=self.centralwidget)
self.widget_interfaces.setGeometry(QtCore.QRect(140, 10, 630, 420))
self.widget_interfaces.setObjectName("widget_interfaces")
self.frame_w3 = QtWidgets.QFrame(parent=self.widget_interfaces)
self.frame_w3.setGeometry(QtCore.QRect(0, 0, 630, 420))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.frame_w3.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(18)
font.setBold(True)
font.setWeight(75)
self.frame_w3.setFont(font)
self.frame_w3.setFrameShape(QtWidgets.QFrame.Shape.Box)
self.frame_w3.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_w3.setLineWidth(3)
self.frame_w3.setMidLineWidth(1)
self.frame_w3.setObjectName("frame_w3")
self.comboBox_web_server = QtWidgets.QComboBox(parent=self.frame_w3)
self.comboBox_web_server.setGeometry(QtCore.QRect(240, 160, 300, 41))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_web_server.setFont(font)
self.comboBox_web_server.setObjectName("comboBox_web_server")
self.textEdit_wifi_ip = QtWidgets.QTextEdit(parent=self.widget_interfaces)
self.textEdit_wifi_ip.setGeometry(QtCore.QRect(240, 115, 300, 36))
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.textEdit_wifi_ip.setFont(font)
self.textEdit_wifi_ip.setReadOnly(True)
self.textEdit_wifi_ip.setObjectName("textEdit_wifi_ip")
self.textEdit_wifi_net = QtWidgets.QTextEdit(parent=self.widget_interfaces)
self.textEdit_wifi_net.setGeometry(QtCore.QRect(240, 65, 300, 36))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.textEdit_wifi_net.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setWeight(75)
self.textEdit_wifi_net.setFont(font)
self.textEdit_wifi_net.setReadOnly(True)
self.textEdit_wifi_net.setObjectName("textEdit_wifi_net")
self.label_wifi_net_ip_address = QtWidgets.QLabel(parent=self.widget_interfaces)
self.label_wifi_net_ip_address.setGeometry(QtCore.QRect(20, 115, 220, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_wifi_net_ip_address.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(18)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_wifi_net_ip_address.setFont(font)
self.label_wifi_net_ip_address.setObjectName("label_wifi_net_ip_address")
self.label_wifi_net = QtWidgets.QLabel(parent=self.widget_interfaces)
self.label_wifi_net.setGeometry(QtCore.QRect(20, 65, 220, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_wifi_net.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(18)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_wifi_net.setFont(font)
self.label_wifi_net.setObjectName("label_wifi_net")
self.label_wifi_net_web_server_active = QtWidgets.QLabel(parent=self.widget_interfaces)
self.label_wifi_net_web_server_active.setGeometry(QtCore.QRect(20, 170, 220, 31))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_wifi_net_web_server_active.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(18)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_wifi_net_web_server_active.setFont(font)
self.label_wifi_net_web_server_active.setObjectName("label_wifi_net_web_server_active")
self.widget_hw = QtWidgets.QWidget(parent=self.centralwidget)
self.widget_hw.setGeometry(QtCore.QRect(140, 10, 630, 420))
self.widget_hw.setObjectName("widget_hw")
self.label_hw_bat_cap = QtWidgets.QLabel(parent=self.widget_hw)
self.label_hw_bat_cap.setGeometry(QtCore.QRect(20, 200, 320, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_hw_bat_cap.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_hw_bat_cap.setFont(font)
self.label_hw_bat_cap.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.label_hw_bat_cap.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.label_hw_bat_cap.setLineWidth(3)
self.label_hw_bat_cap.setMidLineWidth(1)
self.label_hw_bat_cap.setObjectName("label_hw_bat_cap")
self.frame_hw = QtWidgets.QFrame(parent=self.widget_hw)
self.frame_hw.setGeometry(QtCore.QRect(0, 0, 630, 420))
self.frame_hw.setFrameShape(QtWidgets.QFrame.Shape.Box)
self.frame_hw.setFrameShadow(QtWidgets.QFrame.Shadow.Raised)
self.frame_hw.setLineWidth(3)
self.frame_hw.setMidLineWidth(1)
self.frame_hw.setObjectName("frame_hw")
self.label_hw_bat_vlt = QtWidgets.QLabel(parent=self.widget_hw)
self.label_hw_bat_vlt.setGeometry(QtCore.QRect(20, 240, 320, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_hw_bat_vlt.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_hw_bat_vlt.setFont(font)
self.label_hw_bat_vlt.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.label_hw_bat_vlt.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.label_hw_bat_vlt.setLineWidth(3)
self.label_hw_bat_vlt.setMidLineWidth(1)
self.label_hw_bat_vlt.setObjectName("label_hw_bat_vlt")
self.label_hw_bat_time_on = QtWidgets.QLabel(parent=self.widget_hw)
self.label_hw_bat_time_on.setGeometry(QtCore.QRect(20, 280, 320, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_hw_bat_time_on.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_hw_bat_time_on.setFont(font)
self.label_hw_bat_time_on.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.label_hw_bat_time_on.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.label_hw_bat_time_on.setLineWidth(3)
self.label_hw_bat_time_on.setMidLineWidth(1)
self.label_hw_bat_time_on.setObjectName("label_hw_bat_time_on")
self.label_hw_cpu_temp = QtWidgets.QLabel(parent=self.widget_hw)
self.label_hw_cpu_temp.setGeometry(QtCore.QRect(20, 320, 320, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_hw_cpu_temp.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_hw_cpu_temp.setFont(font)
self.label_hw_cpu_temp.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.label_hw_cpu_temp.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.label_hw_cpu_temp.setLineWidth(3)
self.label_hw_cpu_temp.setMidLineWidth(1)
self.label_hw_cpu_temp.setObjectName("label_hw_cpu_temp")
self.label_hw_cpu_usage = QtWidgets.QLabel(parent=self.widget_hw)
self.label_hw_cpu_usage.setGeometry(QtCore.QRect(20, 360, 320, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_hw_cpu_usage.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_hw_cpu_usage.setFont(font)
self.label_hw_cpu_usage.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.label_hw_cpu_usage.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.label_hw_cpu_usage.setLineWidth(3)
self.label_hw_cpu_usage.setMidLineWidth(1)
self.label_hw_cpu_usage.setObjectName("label_hw_cpu_usage")
self.label_hw_charging_on = QtWidgets.QLabel(parent=self.widget_hw)
self.label_hw_charging_on.setGeometry(QtCore.QRect(20, 160, 320, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.label_hw_charging_on.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_hw_charging_on.setFont(font)
self.label_hw_charging_on.setFrameShape(QtWidgets.QFrame.Shape.StyledPanel)
self.label_hw_charging_on.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
self.label_hw_charging_on.setLineWidth(3)
self.label_hw_charging_on.setMidLineWidth(1)
self.label_hw_charging_on.setObjectName("label_hw_charging_on")
self.pushButton_label_pix = QtWidgets.QPushButton(parent=self.centralwidget)
self.pushButton_label_pix.setGeometry(QtCore.QRect(140, 19, 631, 381))
self.pushButton_label_pix.setText("")
self.pushButton_label_pix.setFlat(True)
self.pushButton_label_pix.setObjectName("pushButton_label_pix")
self.tab_widget_params = QtWidgets.QTabWidget(parent=self.centralwidget)
self.tab_widget_params.setGeometry(QtCore.QRect(140, 15, 620, 420))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.WindowText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.WindowText, brush)
self.tab_widget_params.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(14)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.tab_widget_params.setFont(font)
self.tab_widget_params.setTabShape(QtWidgets.QTabWidget.TabShape.Triangular)
self.tab_widget_params.setObjectName("tab_widget_params")
self.tab_exposure = QtWidgets.QWidget()
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.tab_exposure.setFont(font)
self.tab_exposure.setObjectName("tab_exposure")
self.label_parms1_aec_agc_constraint_mode = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_parms1_aec_agc_constraint_mode.setGeometry(QtCore.QRect(10, 70, 220, 40))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms1_aec_agc_constraint_mode.setFont(font)
self.label_parms1_aec_agc_constraint_mode.setObjectName("label_parms1_aec_agc_constraint_mode")
self.comboBox_params1_aec_agc_constraint_mode = QtWidgets.QComboBox(parent=self.tab_exposure)
self.comboBox_params1_aec_agc_constraint_mode.setGeometry(QtCore.QRect(240, 70, 220, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params1_aec_agc_constraint_mode.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params1_aec_agc_constraint_mode.setFont(font)
self.comboBox_params1_aec_agc_constraint_mode.setObjectName("comboBox_params1_aec_agc_constraint_mode")
self.label_parms1_aec_agc_enable = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_parms1_aec_agc_enable.setGeometry(QtCore.QRect(10, 20, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms1_aec_agc_enable.setFont(font)
self.label_parms1_aec_agc_enable.setObjectName("label_parms1_aec_agc_enable")
self.comboBox_params1_aec_agc_enable = QtWidgets.QComboBox(parent=self.tab_exposure)
self.comboBox_params1_aec_agc_enable.setGeometry(QtCore.QRect(240, 20, 220, 36))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params1_aec_agc_enable.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params1_aec_agc_enable.setFont(font)
self.comboBox_params1_aec_agc_enable.setObjectName("comboBox_params1_aec_agc_enable")
self.label_parms1_aec_agc_exposure_mode = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_parms1_aec_agc_exposure_mode.setGeometry(QtCore.QRect(10, 120, 220, 40))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms1_aec_agc_exposure_mode.setFont(font)
self.label_parms1_aec_agc_exposure_mode.setObjectName("label_parms1_aec_agc_exposure_mode")
self.comboBox_params1_aec_agc_exposure_mode = QtWidgets.QComboBox(parent=self.tab_exposure)
self.comboBox_params1_aec_agc_exposure_mode.setGeometry(QtCore.QRect(240, 120, 220, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params1_aec_agc_exposure_mode.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params1_aec_agc_exposure_mode.setFont(font)
self.comboBox_params1_aec_agc_exposure_mode.setObjectName("comboBox_params1_aec_agc_exposure_mode")
self.label_parms1_aec_agc_metering_mode = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_parms1_aec_agc_metering_mode.setGeometry(QtCore.QRect(10, 220, 220, 40))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms1_aec_agc_metering_mode.setFont(font)
self.label_parms1_aec_agc_metering_mode.setObjectName("label_parms1_aec_agc_metering_mode")
self.comboBox_params1_aec_agc_metering_mode = QtWidgets.QComboBox(parent=self.tab_exposure)
self.comboBox_params1_aec_agc_metering_mode.setGeometry(QtCore.QRect(240, 220, 220, 40))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params1_aec_agc_metering_mode.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params1_aec_agc_metering_mode.setFont(font)
self.comboBox_params1_aec_agc_metering_mode.setObjectName("comboBox_params1_aec_agc_metering_mode")
self.horizontalSlider_params1_exposure_time = QtWidgets.QSlider(parent=self.tab_exposure)
self.horizontalSlider_params1_exposure_time.setGeometry(QtCore.QRect(250, 270, 220, 36))
self.horizontalSlider_params1_exposure_time.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params1_exposure_time.setMaximum(54)
self.horizontalSlider_params1_exposure_time.setProperty("value", 10)
self.horizontalSlider_params1_exposure_time.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params1_exposure_time.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params1_exposure_time.setTickInterval(10)
self.horizontalSlider_params1_exposure_time.setObjectName("horizontalSlider_params1_exposure_time")
self.label_parms1_exposure_time = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_parms1_exposure_time.setGeometry(QtCore.QRect(10, 270, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms1_exposure_time.setFont(font)
self.label_parms1_exposure_time.setObjectName("label_parms1_exposure_time")
self.lineEdit_params1_exposure_time = QtWidgets.QLineEdit(parent=self.tab_exposure)
self.lineEdit_params1_exposure_time.setGeometry(QtCore.QRect(490, 270, 110, 36))
self.lineEdit_params1_exposure_time.setText("")
self.lineEdit_params1_exposure_time.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params1_exposure_time.setReadOnly(True)
self.lineEdit_params1_exposure_time.setObjectName("lineEdit_params1_exposure_time")
self.label_parms1_exposure_compensation = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_parms1_exposure_compensation.setGeometry(QtCore.QRect(10, 170, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms1_exposure_compensation.setFont(font)
self.label_parms1_exposure_compensation.setObjectName("label_parms1_exposure_compensation")
self.lineEdit_params1_exposure_compensation = QtWidgets.QLineEdit(parent=self.tab_exposure)
self.lineEdit_params1_exposure_compensation.setGeometry(QtCore.QRect(490, 170, 110, 36))
self.lineEdit_params1_exposure_compensation.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params1_exposure_compensation.setReadOnly(True)
self.lineEdit_params1_exposure_compensation.setObjectName("lineEdit_params1_exposure_compensation")
self.horizontalSlider_params1_exposure_compensation = QtWidgets.QSlider(parent=self.tab_exposure)
self.horizontalSlider_params1_exposure_compensation.setGeometry(QtCore.QRect(250, 170, 220, 36))
self.horizontalSlider_params1_exposure_compensation.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params1_exposure_compensation.setMinimum(-8)
self.horizontalSlider_params1_exposure_compensation.setMaximum(8)
self.horizontalSlider_params1_exposure_compensation.setPageStep(2)
self.horizontalSlider_params1_exposure_compensation.setProperty("value", 0)
self.horizontalSlider_params1_exposure_compensation.setSliderPosition(0)
self.horizontalSlider_params1_exposure_compensation.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params1_exposure_compensation.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params1_exposure_compensation.setTickInterval(2)
self.horizontalSlider_params1_exposure_compensation.setObjectName("horizontalSlider_params1_exposure_compensation")
self.label_params1_analog_gain = QtWidgets.QLabel(parent=self.tab_exposure)
self.label_params1_analog_gain.setGeometry(QtCore.QRect(10, 320, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_params1_analog_gain.setFont(font)
self.label_params1_analog_gain.setObjectName("label_params1_analog_gain")
self.horizontalSlider_params1_analog_gain = QtWidgets.QSlider(parent=self.tab_exposure)
self.horizontalSlider_params1_analog_gain.setGeometry(QtCore.QRect(250, 320, 220, 36))
self.horizontalSlider_params1_analog_gain.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params1_analog_gain.setMinimum(10)
self.horizontalSlider_params1_analog_gain.setMaximum(80)
self.horizontalSlider_params1_analog_gain.setPageStep(10)
self.horizontalSlider_params1_analog_gain.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params1_analog_gain.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params1_analog_gain.setTickInterval(10)
self.horizontalSlider_params1_analog_gain.setObjectName("horizontalSlider_params1_analog_gain")
self.lineEdit_params1_analog_gain = QtWidgets.QLineEdit(parent=self.tab_exposure)
self.lineEdit_params1_analog_gain.setGeometry(QtCore.QRect(490, 320, 110, 36))
self.lineEdit_params1_analog_gain.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params1_analog_gain.setReadOnly(True)
self.lineEdit_params1_analog_gain.setObjectName("lineEdit_params1_analog_gain")
self.tab_widget_params.addTab(self.tab_exposure, "")
self.tab_picture = QtWidgets.QWidget()
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.tab_picture.setFont(font)
self.tab_picture.setObjectName("tab_picture")
self.comboBox_params2_awb_enable = QtWidgets.QComboBox(parent=self.tab_picture)
self.comboBox_params2_awb_enable.setGeometry(QtCore.QRect(250, 5, 220, 36))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params2_awb_enable.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params2_awb_enable.setFont(font)
self.comboBox_params2_awb_enable.setObjectName("comboBox_params2_awb_enable")
self.label_parms2_awb_enable = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_awb_enable.setGeometry(QtCore.QRect(10, 5, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_awb_enable.setFont(font)
self.label_parms2_awb_enable.setObjectName("label_parms2_awb_enable")
self.comboBox_params2_white_balance_mode = QtWidgets.QComboBox(parent=self.tab_picture)
self.comboBox_params2_white_balance_mode.setGeometry(QtCore.QRect(250, 51, 220, 36))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params2_white_balance_mode.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params2_white_balance_mode.setFont(font)
self.comboBox_params2_white_balance_mode.setObjectName("comboBox_params2_white_balance_mode")
self.label_parms2_white_balance_mode = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_white_balance_mode.setGeometry(QtCore.QRect(10, 51, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_white_balance_mode.setFont(font)
self.label_parms2_white_balance_mode.setObjectName("label_parms2_white_balance_mode")
self.label_parms2_saturation_level = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_saturation_level.setGeometry(QtCore.QRect(10, 99, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_saturation_level.setFont(font)
self.label_parms2_saturation_level.setObjectName("label_parms2_saturation_level")
self.horizontalSlider_params2_saturation = QtWidgets.QSlider(parent=self.tab_picture)
self.horizontalSlider_params2_saturation.setGeometry(QtCore.QRect(250, 99, 220, 36))
self.horizontalSlider_params2_saturation.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params2_saturation.setMaximum(40)
self.horizontalSlider_params2_saturation.setProperty("value", 10)
self.horizontalSlider_params2_saturation.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params2_saturation.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params2_saturation.setTickInterval(4)
self.horizontalSlider_params2_saturation.setObjectName("horizontalSlider_params2_saturation")
self.lineEdit_params2_saturation = QtWidgets.QLineEdit(parent=self.tab_picture)
self.lineEdit_params2_saturation.setGeometry(QtCore.QRect(490, 99, 110, 36))
self.lineEdit_params2_saturation.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params2_saturation.setReadOnly(True)
self.lineEdit_params2_saturation.setObjectName("lineEdit_params2_saturation")
self.lineEdit_params2_sharpness = QtWidgets.QLineEdit(parent=self.tab_picture)
self.lineEdit_params2_sharpness.setGeometry(QtCore.QRect(490, 147, 110, 36))
self.lineEdit_params2_sharpness.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params2_sharpness.setReadOnly(True)
self.lineEdit_params2_sharpness.setObjectName("lineEdit_params2_sharpness")
self.horizontalSlider_params2_sharpness = QtWidgets.QSlider(parent=self.tab_picture)
self.horizontalSlider_params2_sharpness.setGeometry(QtCore.QRect(250, 147, 220, 36))
self.horizontalSlider_params2_sharpness.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params2_sharpness.setMaximum(160)
self.horizontalSlider_params2_sharpness.setProperty("value", 10)
self.horizontalSlider_params2_sharpness.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params2_sharpness.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params2_sharpness.setTickInterval(16)
self.horizontalSlider_params2_sharpness.setObjectName("horizontalSlider_params2_sharpness")
self.label_parms2_sharpness = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_sharpness.setGeometry(QtCore.QRect(10, 147, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_sharpness.setFont(font)
self.label_parms2_sharpness.setObjectName("label_parms2_sharpness")
self.label_parms2_noise_reduction_mode = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_noise_reduction_mode.setGeometry(QtCore.QRect(10, 195, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_noise_reduction_mode.setFont(font)
self.label_parms2_noise_reduction_mode.setObjectName("label_parms2_noise_reduction_mode")
self.comboBox_params2_noise_reduction_mode = QtWidgets.QComboBox(parent=self.tab_picture)
self.comboBox_params2_noise_reduction_mode.setGeometry(QtCore.QRect(250, 195, 220, 36))
palette = QtGui.QPalette()
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Active, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 255))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Inactive, QtGui.QPalette.ColorRole.PlaceholderText, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.Text, brush)
brush = QtGui.QBrush(QtGui.QColor(190, 190, 190))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.ButtonText, brush)
brush = QtGui.QBrush(QtGui.QColor(0, 0, 0, 128))
brush.setStyle(QtCore.Qt.BrushStyle.SolidPattern)
palette.setBrush(QtGui.QPalette.ColorGroup.Disabled, QtGui.QPalette.ColorRole.PlaceholderText, brush)
self.comboBox_params2_noise_reduction_mode.setPalette(palette)
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.comboBox_params2_noise_reduction_mode.setFont(font)
self.comboBox_params2_noise_reduction_mode.setObjectName("comboBox_params2_noise_reduction_mode")
self.horizontalSlider_params2_contrast = QtWidgets.QSlider(parent=self.tab_picture)
self.horizontalSlider_params2_contrast.setGeometry(QtCore.QRect(250, 243, 220, 36))
self.horizontalSlider_params2_contrast.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params2_contrast.setMaximum(40)
self.horizontalSlider_params2_contrast.setProperty("value", 10)
self.horizontalSlider_params2_contrast.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params2_contrast.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params2_contrast.setTickInterval(4)
self.horizontalSlider_params2_contrast.setObjectName("horizontalSlider_params2_contrast")
self.lineEdit_params2_contrast = QtWidgets.QLineEdit(parent=self.tab_picture)
self.lineEdit_params2_contrast.setGeometry(QtCore.QRect(490, 243, 110, 36))
self.lineEdit_params2_contrast.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params2_contrast.setReadOnly(True)
self.lineEdit_params2_contrast.setObjectName("lineEdit_params2_contrast")
self.label_parms2_contrast = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_contrast.setGeometry(QtCore.QRect(10, 243, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_contrast.setFont(font)
self.label_parms2_contrast.setObjectName("label_parms2_contrast")
self.lineEdit_params2_brightness = QtWidgets.QLineEdit(parent=self.tab_picture)
self.lineEdit_params2_brightness.setGeometry(QtCore.QRect(490, 291, 110, 36))
self.lineEdit_params2_brightness.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params2_brightness.setReadOnly(True)
self.lineEdit_params2_brightness.setObjectName("lineEdit_params2_brightness")
self.label_parms2_brightness = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_brightness.setGeometry(QtCore.QRect(10, 291, 220, 31))
font = QtGui.QFont()
font.setPointSize(16)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label_parms2_brightness.setFont(font)
self.label_parms2_brightness.setObjectName("label_parms2_brightness")
self.horizontalSlider_params2_brightness = QtWidgets.QSlider(parent=self.tab_picture)
self.horizontalSlider_params2_brightness.setGeometry(QtCore.QRect(250, 291, 220, 36))
self.horizontalSlider_params2_brightness.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params2_brightness.setMinimum(-100)
self.horizontalSlider_params2_brightness.setMaximum(100)
self.horizontalSlider_params2_brightness.setProperty("value", 0)
self.horizontalSlider_params2_brightness.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params2_brightness.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params2_brightness.setTickInterval(20)
self.horizontalSlider_params2_brightness.setObjectName("horizontalSlider_params2_brightness")
self.lineEdit_params2_quality = QtWidgets.QLineEdit(parent=self.tab_picture)
self.lineEdit_params2_quality.setGeometry(QtCore.QRect(490, 336, 110, 36))
self.lineEdit_params2_quality.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
self.lineEdit_params2_quality.setReadOnly(True)
self.lineEdit_params2_quality.setObjectName("lineEdit_params2_quality")
self.horizontalSlider_params2_quality = QtWidgets.QSlider(parent=self.tab_picture)
self.horizontalSlider_params2_quality.setGeometry(QtCore.QRect(250, 336, 220, 36))
self.horizontalSlider_params2_quality.setStyleSheet("QSlider::handle:horizontal {\n"
"background: qlineargradient(x1:0, y1:0, x2:1, y2:1,\n"
" stop:0 #eee, stop:1 #ccc);\n"
"border: 1px solid #777;\n"
"width: 4px;\n"
"margin-top: -2px;\n"
"margin-bottom: -2px;\n"
"border-radius: 4px;\n"
"}")
self.horizontalSlider_params2_quality.setMinimum(10)
self.horizontalSlider_params2_quality.setMaximum(95)
self.horizontalSlider_params2_quality.setProperty("value", 80)
self.horizontalSlider_params2_quality.setOrientation(QtCore.Qt.Orientation.Horizontal)
self.horizontalSlider_params2_quality.setTickPosition(QtWidgets.QSlider.TickPosition.TicksBothSides)
self.horizontalSlider_params2_quality.setTickInterval(20)
self.horizontalSlider_params2_quality.setObjectName("horizontalSlider_params2_quality")
self.label_parms2_quality = QtWidgets.QLabel(parent=self.tab_picture)
self.label_parms2_quality.setGeometry(QtCore.QRect(10, 336, 220, 31))