-
Notifications
You must be signed in to change notification settings - Fork 64
/
window.py
980 lines (974 loc) · 55.1 KB
/
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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'untitled1.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setWindowModality(QtCore.Qt.NonModal)
MainWindow.setEnabled(True)
MainWindow.resize(1145, 872)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(10)
sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
MainWindow.setSizePolicy(sizePolicy)
MainWindow.setFocusPolicy(QtCore.Qt.StrongFocus)
MainWindow.setContextMenuPolicy(QtCore.Qt.ActionsContextMenu)
MainWindow.setAcceptDrops(True)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("cam.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
MainWindow.setWindowIcon(icon)
MainWindow.setStatusTip("")
MainWindow.setAutoFillBackground(False)
MainWindow.setStyleSheet("")
MainWindow.setIconSize(QtCore.QSize(50, 50))
MainWindow.setAnimated(True)
MainWindow.setTabShape(QtWidgets.QTabWidget.Rounded)
MainWindow.setDockNestingEnabled(False)
MainWindow.setDockOptions(QtWidgets.QMainWindow.AllowTabbedDocks|QtWidgets.QMainWindow.AnimatedDocks)
self.centralwidget = QtWidgets.QWidget(MainWindow)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
self.centralwidget.setSizePolicy(sizePolicy)
self.centralwidget.setAutoFillBackground(False)
self.centralwidget.setStyleSheet("background-color: rgb(255, 255, 230);")
self.centralwidget.setObjectName("centralwidget")
self._2 = QtWidgets.QHBoxLayout(self.centralwidget)
self._2.setContentsMargins(20, 20, 20, 20)
self._2.setSpacing(10)
self._2.setObjectName("_2")
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
font = QtGui.QFont()
font.setFamily("华文中宋")
font.setPointSize(12)
self.tabWidget.setFont(font)
self.tabWidget.setElideMode(QtCore.Qt.ElideLeft)
self.tabWidget.setObjectName("tabWidget")
self.tab_3 = QtWidgets.QWidget()
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(9)
self.tab_3.setFont(font)
self.tab_3.setObjectName("tab_3")
self.verticalLayout_16 = QtWidgets.QVBoxLayout(self.tab_3)
self.verticalLayout_16.setContentsMargins(-1, 5, -1, 5)
self.verticalLayout_16.setSpacing(2)
self.verticalLayout_16.setObjectName("verticalLayout_16")
self.groupBox_11 = QtWidgets.QGroupBox(self.tab_3)
self.groupBox_11.setObjectName("groupBox_11")
self.verticalLayout_15 = QtWidgets.QVBoxLayout(self.groupBox_11)
self.verticalLayout_15.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_15.setSpacing(0)
self.verticalLayout_15.setObjectName("verticalLayout_15")
self.label_13 = QtWidgets.QLabel(self.groupBox_11)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_13.sizePolicy().hasHeightForWidth())
self.label_13.setSizePolicy(sizePolicy)
self.label_13.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_13.setFont(font)
self.label_13.setLineWidth(0)
self.label_13.setTextFormat(QtCore.Qt.AutoText)
self.label_13.setObjectName("label_13")
self.verticalLayout_15.addWidget(self.label_13)
self.horizontalSlider_10 = QtWidgets.QSlider(self.groupBox_11)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_10.sizePolicy().hasHeightForWidth())
self.horizontalSlider_10.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_10.setFont(font)
self.horizontalSlider_10.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_10.setMouseTracking(False)
self.horizontalSlider_10.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_10.setAutoFillBackground(False)
self.horizontalSlider_10.setStyleSheet("")
self.horizontalSlider_10.setMinimum(0)
self.horizontalSlider_10.setMaximum(1)
self.horizontalSlider_10.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_10.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_10.setTickInterval(1)
self.horizontalSlider_10.setObjectName("horizontalSlider_10")
self.verticalLayout_15.addWidget(self.horizontalSlider_10)
self.verticalLayout_15.setStretch(0, 1)
self.verticalLayout_16.addWidget(self.groupBox_11)
self.groupBox_10 = QtWidgets.QGroupBox(self.tab_3)
self.groupBox_10.setObjectName("groupBox_10")
self.verticalLayout_14 = QtWidgets.QVBoxLayout(self.groupBox_10)
self.verticalLayout_14.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_14.setSpacing(0)
self.verticalLayout_14.setObjectName("verticalLayout_14")
self.label_12 = QtWidgets.QLabel(self.groupBox_10)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
self.label_12.setSizePolicy(sizePolicy)
self.label_12.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_12.setFont(font)
self.label_12.setTextFormat(QtCore.Qt.AutoText)
self.label_12.setObjectName("label_12")
self.verticalLayout_14.addWidget(self.label_12)
self.horizontalSlider_9 = QtWidgets.QSlider(self.groupBox_10)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_9.sizePolicy().hasHeightForWidth())
self.horizontalSlider_9.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_9.setFont(font)
self.horizontalSlider_9.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_9.setMouseTracking(False)
self.horizontalSlider_9.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_9.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_9.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_9.setTickInterval(10)
self.horizontalSlider_9.setObjectName("horizontalSlider_9")
self.verticalLayout_14.addWidget(self.horizontalSlider_9)
self.verticalLayout_16.addWidget(self.groupBox_10)
self.groupBox_4 = QtWidgets.QGroupBox(self.tab_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_4.sizePolicy().hasHeightForWidth())
self.groupBox_4.setSizePolicy(sizePolicy)
self.groupBox_4.setStyleSheet("")
self.groupBox_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.groupBox_4.setFlat(False)
self.groupBox_4.setCheckable(False)
self.groupBox_4.setObjectName("groupBox_4")
self.verticalLayout_10 = QtWidgets.QVBoxLayout(self.groupBox_4)
self.verticalLayout_10.setContentsMargins(11, 0, -1, -1)
self.verticalLayout_10.setSpacing(0)
self.verticalLayout_10.setObjectName("verticalLayout_10")
self.label_10 = QtWidgets.QLabel(self.groupBox_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_10.sizePolicy().hasHeightForWidth())
self.label_10.setSizePolicy(sizePolicy)
self.label_10.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_10.setFont(font)
self.label_10.setTextFormat(QtCore.Qt.AutoText)
self.label_10.setObjectName("label_10")
self.verticalLayout_10.addWidget(self.label_10)
self.horizontalSlider_7 = QtWidgets.QSlider(self.groupBox_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_7.sizePolicy().hasHeightForWidth())
self.horizontalSlider_7.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_7.setFont(font)
self.horizontalSlider_7.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_7.setMouseTracking(False)
self.horizontalSlider_7.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_7.setMaximum(10)
self.horizontalSlider_7.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_7.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_7.setTickInterval(1)
self.horizontalSlider_7.setObjectName("horizontalSlider_7")
self.verticalLayout_10.addWidget(self.horizontalSlider_7)
self.verticalLayout_10.setStretch(0, 1)
self.verticalLayout_10.setStretch(1, 3)
self.verticalLayout_16.addWidget(self.groupBox_4)
self.groupBox_7 = QtWidgets.QGroupBox(self.tab_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_7.sizePolicy().hasHeightForWidth())
self.groupBox_7.setSizePolicy(sizePolicy)
self.groupBox_7.setStyleSheet("")
self.groupBox_7.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.groupBox_7.setFlat(False)
self.groupBox_7.setCheckable(False)
self.groupBox_7.setObjectName("groupBox_7")
self.verticalLayout_22 = QtWidgets.QVBoxLayout(self.groupBox_7)
self.verticalLayout_22.setContentsMargins(11, 0, -1, -1)
self.verticalLayout_22.setSpacing(0)
self.verticalLayout_22.setObjectName("verticalLayout_22")
self.label_17 = QtWidgets.QLabel(self.groupBox_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_17.sizePolicy().hasHeightForWidth())
self.label_17.setSizePolicy(sizePolicy)
self.label_17.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_17.setFont(font)
self.label_17.setTextFormat(QtCore.Qt.AutoText)
self.label_17.setObjectName("label_17")
self.verticalLayout_22.addWidget(self.label_17)
self.horizontalSlider_12 = QtWidgets.QSlider(self.groupBox_7)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_12.sizePolicy().hasHeightForWidth())
self.horizontalSlider_12.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_12.setFont(font)
self.horizontalSlider_12.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_12.setMouseTracking(False)
self.horizontalSlider_12.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_12.setMaximum(10)
self.horizontalSlider_12.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_12.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_12.setTickInterval(1)
self.horizontalSlider_12.setObjectName("horizontalSlider_12")
self.verticalLayout_22.addWidget(self.horizontalSlider_12)
self.verticalLayout_22.setStretch(0, 1)
self.verticalLayout_22.setStretch(1, 3)
self.verticalLayout_16.addWidget(self.groupBox_7)
self.groupBox_9 = QtWidgets.QGroupBox(self.tab_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_9.sizePolicy().hasHeightForWidth())
self.groupBox_9.setSizePolicy(sizePolicy)
self.groupBox_9.setObjectName("groupBox_9")
self.verticalLayout_13 = QtWidgets.QVBoxLayout(self.groupBox_9)
self.verticalLayout_13.setContentsMargins(11, 0, 11, 11)
self.verticalLayout_13.setSpacing(0)
self.verticalLayout_13.setObjectName("verticalLayout_13")
self.label_11 = QtWidgets.QLabel(self.groupBox_9)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
self.label_11.setSizePolicy(sizePolicy)
self.label_11.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_11.setFont(font)
self.label_11.setTextFormat(QtCore.Qt.AutoText)
self.label_11.setObjectName("label_11")
self.verticalLayout_13.addWidget(self.label_11)
self.horizontalSlider_2 = QtWidgets.QSlider(self.groupBox_9)
font = QtGui.QFont()
font.setPointSize(9)
self.horizontalSlider_2.setFont(font)
self.horizontalSlider_2.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_2.setMaximum(10)
self.horizontalSlider_2.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_2.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_2.setTickInterval(1)
self.horizontalSlider_2.setObjectName("horizontalSlider_2")
self.verticalLayout_13.addWidget(self.horizontalSlider_2)
self.verticalLayout_16.addWidget(self.groupBox_9)
self.groupBox_17 = QtWidgets.QGroupBox(self.tab_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_17.sizePolicy().hasHeightForWidth())
self.groupBox_17.setSizePolicy(sizePolicy)
self.groupBox_17.setObjectName("groupBox_17")
self.verticalLayout_19 = QtWidgets.QVBoxLayout(self.groupBox_17)
self.verticalLayout_19.setContentsMargins(11, 0, 11, 11)
self.verticalLayout_19.setSpacing(0)
self.verticalLayout_19.setObjectName("verticalLayout_19")
self.label_15 = QtWidgets.QLabel(self.groupBox_17)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_15.sizePolicy().hasHeightForWidth())
self.label_15.setSizePolicy(sizePolicy)
self.label_15.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_15.setFont(font)
self.label_15.setTextFormat(QtCore.Qt.AutoText)
self.label_15.setObjectName("label_15")
self.verticalLayout_19.addWidget(self.label_15)
self.horizontalSlider_6 = QtWidgets.QSlider(self.groupBox_17)
self.horizontalSlider_6.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_6.setMaximum(10)
self.horizontalSlider_6.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_6.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_6.setTickInterval(1)
self.horizontalSlider_6.setObjectName("horizontalSlider_6")
self.verticalLayout_19.addWidget(self.horizontalSlider_6)
self.verticalLayout_16.addWidget(self.groupBox_17)
self.groupBox_8 = QtWidgets.QGroupBox(self.tab_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_8.sizePolicy().hasHeightForWidth())
self.groupBox_8.setSizePolicy(sizePolicy)
self.groupBox_8.setObjectName("groupBox_8")
self.verticalLayout_12 = QtWidgets.QVBoxLayout(self.groupBox_8)
self.verticalLayout_12.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_12.setSpacing(0)
self.verticalLayout_12.setObjectName("verticalLayout_12")
self.label_2 = QtWidgets.QLabel(self.groupBox_8)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
self.label_2.setSizePolicy(sizePolicy)
self.label_2.setText("")
self.label_2.setObjectName("label_2")
self.verticalLayout_12.addWidget(self.label_2)
self.verticalLayout_16.addWidget(self.groupBox_8)
self.verticalLayout_16.setStretch(0, 1)
self.verticalLayout_16.setStretch(1, 1)
self.verticalLayout_16.setStretch(2, 1)
self.verticalLayout_16.setStretch(3, 1)
self.verticalLayout_16.setStretch(4, 1)
self.verticalLayout_16.setStretch(5, 1)
self.verticalLayout_16.setStretch(6, 3)
self.tabWidget.addTab(self.tab_3, "")
self.tab_4 = QtWidgets.QWidget()
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.tab_4.sizePolicy().hasHeightForWidth())
self.tab_4.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(11)
self.tab_4.setFont(font)
self.tab_4.setObjectName("tab_4")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab_4)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.groupBox = QtWidgets.QGroupBox(self.tab_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
self.groupBox.setSizePolicy(sizePolicy)
self.groupBox.setStyleSheet("")
self.groupBox.setObjectName("groupBox")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox)
self.verticalLayout_4.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_4.setSpacing(0)
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.label_6 = QtWidgets.QLabel(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
self.label_6.setSizePolicy(sizePolicy)
self.label_6.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_6.setFont(font)
self.label_6.setLineWidth(10)
self.label_6.setObjectName("label_6")
self.verticalLayout_4.addWidget(self.label_6)
self.horizontalSlider_4 = QtWidgets.QSlider(self.groupBox)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_4.sizePolicy().hasHeightForWidth())
self.horizontalSlider_4.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_4.setFont(font)
self.horizontalSlider_4.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_4.setMouseTracking(False)
self.horizontalSlider_4.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_4.setMinimum(-100)
self.horizontalSlider_4.setMaximum(100)
self.horizontalSlider_4.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_4.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_4.setTickInterval(10)
self.horizontalSlider_4.setObjectName("horizontalSlider_4")
self.verticalLayout_4.addWidget(self.horizontalSlider_4)
self.verticalLayout_2.addWidget(self.groupBox)
self.groupBox_3 = QtWidgets.QGroupBox(self.tab_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
self.groupBox_3.setSizePolicy(sizePolicy)
self.groupBox_3.setObjectName("groupBox_3")
self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_3)
self.verticalLayout_6.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_6.setSpacing(0)
self.verticalLayout_6.setObjectName("verticalLayout_6")
self.label_9 = QtWidgets.QLabel(self.groupBox_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_9.sizePolicy().hasHeightForWidth())
self.label_9.setSizePolicy(sizePolicy)
self.label_9.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_9.setFont(font)
self.label_9.setLineWidth(10)
self.label_9.setObjectName("label_9")
self.verticalLayout_6.addWidget(self.label_9)
self.horizontalSlider = QtWidgets.QSlider(self.groupBox_3)
self.horizontalSlider.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider.setMinimum(-50)
self.horizontalSlider.setMaximum(50)
self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider.setTickInterval(10)
self.horizontalSlider.setObjectName("horizontalSlider")
self.verticalLayout_6.addWidget(self.horizontalSlider)
self.verticalLayout_2.addWidget(self.groupBox_3)
self.groupBox_6 = QtWidgets.QGroupBox(self.tab_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_6.sizePolicy().hasHeightForWidth())
self.groupBox_6.setSizePolicy(sizePolicy)
self.groupBox_6.setStyleSheet("")
self.groupBox_6.setObjectName("groupBox_6")
self.verticalLayout_9 = QtWidgets.QVBoxLayout(self.groupBox_6)
self.verticalLayout_9.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_9.setSpacing(0)
self.verticalLayout_9.setObjectName("verticalLayout_9")
self.label_14 = QtWidgets.QLabel(self.groupBox_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_14.sizePolicy().hasHeightForWidth())
self.label_14.setSizePolicy(sizePolicy)
self.label_14.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_14.setFont(font)
self.label_14.setLineWidth(10)
self.label_14.setObjectName("label_14")
self.verticalLayout_9.addWidget(self.label_14)
self.horizontalSlider_5 = QtWidgets.QSlider(self.groupBox_6)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_5.sizePolicy().hasHeightForWidth())
self.horizontalSlider_5.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_5.setFont(font)
self.horizontalSlider_5.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_5.setMouseTracking(False)
self.horizontalSlider_5.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_5.setMinimum(-10)
self.horizontalSlider_5.setMaximum(10)
self.horizontalSlider_5.setSingleStep(1)
self.horizontalSlider_5.setProperty("value", 0)
self.horizontalSlider_5.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_5.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_5.setTickInterval(1)
self.horizontalSlider_5.setObjectName("horizontalSlider_5")
self.verticalLayout_9.addWidget(self.horizontalSlider_5)
self.verticalLayout_2.addWidget(self.groupBox_6)
self.groupBox_2 = QtWidgets.QGroupBox(self.tab_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
self.groupBox_2.setSizePolicy(sizePolicy)
self.groupBox_2.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.groupBox_2.setObjectName("groupBox_2")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox_2)
self.verticalLayout_5.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_5.setSpacing(0)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.label_7 = QtWidgets.QLabel(self.groupBox_2)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
self.label_7.setSizePolicy(sizePolicy)
self.label_7.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_7.setFont(font)
self.label_7.setLineWidth(10)
self.label_7.setObjectName("label_7")
self.verticalLayout_5.addWidget(self.label_7)
self.horizontalSlider_3 = QtWidgets.QSlider(self.groupBox_2)
self.horizontalSlider_3.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_3.setMaximum(10)
self.horizontalSlider_3.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_3.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_3.setTickInterval(1)
self.horizontalSlider_3.setObjectName("horizontalSlider_3")
self.verticalLayout_5.addWidget(self.horizontalSlider_3)
self.verticalLayout_2.addWidget(self.groupBox_2)
self.groupBox_5 = QtWidgets.QGroupBox(self.tab_4)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_5.sizePolicy().hasHeightForWidth())
self.groupBox_5.setSizePolicy(sizePolicy)
self.groupBox_5.setObjectName("groupBox_5")
self.verticalLayout_8 = QtWidgets.QVBoxLayout(self.groupBox_5)
self.verticalLayout_8.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_8.setSpacing(0)
self.verticalLayout_8.setObjectName("verticalLayout_8")
self.label = QtWidgets.QLabel(self.groupBox_5)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
self.label.setSizePolicy(sizePolicy)
self.label.setText("")
self.label.setObjectName("label")
self.verticalLayout_8.addWidget(self.label)
self.verticalLayout_2.addWidget(self.groupBox_5)
self.verticalLayout_2.setStretch(0, 1)
self.verticalLayout_2.setStretch(1, 1)
self.verticalLayout_2.setStretch(2, 1)
self.verticalLayout_2.setStretch(3, 1)
self.verticalLayout_2.setStretch(4, 2)
self.tabWidget.addTab(self.tab_4, "")
self.tab = QtWidgets.QWidget()
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(11)
self.tab.setFont(font)
self.tab.setLayoutDirection(QtCore.Qt.LeftToRight)
self.tab.setObjectName("tab")
self.verticalLayout_18 = QtWidgets.QVBoxLayout(self.tab)
self.verticalLayout_18.setObjectName("verticalLayout_18")
self.groupBox_12 = QtWidgets.QGroupBox(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_12.sizePolicy().hasHeightForWidth())
self.groupBox_12.setSizePolicy(sizePolicy)
self.groupBox_12.setStyleSheet("")
self.groupBox_12.setObjectName("groupBox_12")
self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.groupBox_12)
self.verticalLayout_7.setContentsMargins(-1, 0, -1, 11)
self.verticalLayout_7.setSpacing(0)
self.verticalLayout_7.setObjectName("verticalLayout_7")
self.label_8 = QtWidgets.QLabel(self.groupBox_12)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_8.sizePolicy().hasHeightForWidth())
self.label_8.setSizePolicy(sizePolicy)
self.label_8.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_8.setFont(font)
self.label_8.setLineWidth(10)
self.label_8.setObjectName("label_8")
self.verticalLayout_7.addWidget(self.label_8)
self.horizontalSlider_8 = QtWidgets.QSlider(self.groupBox_12)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_8.sizePolicy().hasHeightForWidth())
self.horizontalSlider_8.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_8.setFont(font)
self.horizontalSlider_8.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_8.setMouseTracking(False)
self.horizontalSlider_8.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_8.setMinimum(0)
self.horizontalSlider_8.setMaximum(50)
self.horizontalSlider_8.setPageStep(1)
self.horizontalSlider_8.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_8.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_8.setTickInterval(10)
self.horizontalSlider_8.setObjectName("horizontalSlider_8")
self.verticalLayout_7.addWidget(self.horizontalSlider_8)
self.verticalLayout_18.addWidget(self.groupBox_12)
self.groupBox_15 = QtWidgets.QGroupBox(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_15.sizePolicy().hasHeightForWidth())
self.groupBox_15.setSizePolicy(sizePolicy)
self.groupBox_15.setStyleSheet("")
self.groupBox_15.setObjectName("groupBox_15")
self.verticalLayout_20 = QtWidgets.QVBoxLayout(self.groupBox_15)
self.verticalLayout_20.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_20.setSpacing(0)
self.verticalLayout_20.setObjectName("verticalLayout_20")
self.label_18 = QtWidgets.QLabel(self.groupBox_15)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_18.sizePolicy().hasHeightForWidth())
self.label_18.setSizePolicy(sizePolicy)
self.label_18.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_18.setFont(font)
self.label_18.setLineWidth(10)
self.label_18.setObjectName("label_18")
self.verticalLayout_20.addWidget(self.label_18)
self.horizontalSlider_13 = QtWidgets.QSlider(self.groupBox_15)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_13.sizePolicy().hasHeightForWidth())
self.horizontalSlider_13.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_13.setFont(font)
self.horizontalSlider_13.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_13.setMouseTracking(False)
self.horizontalSlider_13.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_13.setMinimum(0)
self.horizontalSlider_13.setMaximum(50)
self.horizontalSlider_13.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_13.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_13.setTickInterval(10)
self.horizontalSlider_13.setObjectName("horizontalSlider_13")
self.verticalLayout_20.addWidget(self.horizontalSlider_13)
self.verticalLayout_18.addWidget(self.groupBox_15)
self.groupBox_13 = QtWidgets.QGroupBox(self.tab)
self.groupBox_13.setObjectName("groupBox_13")
self.verticalLayout_17 = QtWidgets.QVBoxLayout(self.groupBox_13)
self.verticalLayout_17.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_17.setSpacing(0)
self.verticalLayout_17.setObjectName("verticalLayout_17")
self.label_16 = QtWidgets.QLabel(self.groupBox_13)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_16.sizePolicy().hasHeightForWidth())
self.label_16.setSizePolicy(sizePolicy)
self.label_16.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_16.setFont(font)
self.label_16.setTextFormat(QtCore.Qt.AutoText)
self.label_16.setObjectName("label_16")
self.verticalLayout_17.addWidget(self.label_16)
self.horizontalSlider_11 = QtWidgets.QSlider(self.groupBox_13)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_11.sizePolicy().hasHeightForWidth())
self.horizontalSlider_11.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_11.setFont(font)
self.horizontalSlider_11.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_11.setMouseTracking(False)
self.horizontalSlider_11.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_11.setMaximum(10)
self.horizontalSlider_11.setPageStep(10)
self.horizontalSlider_11.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_11.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_11.setTickInterval(1)
self.horizontalSlider_11.setObjectName("horizontalSlider_11")
self.verticalLayout_17.addWidget(self.horizontalSlider_11)
self.verticalLayout_18.addWidget(self.groupBox_13)
self.groupBox_16 = QtWidgets.QGroupBox(self.tab)
self.groupBox_16.setObjectName("groupBox_16")
self.verticalLayout_21 = QtWidgets.QVBoxLayout(self.groupBox_16)
self.verticalLayout_21.setContentsMargins(-1, 0, -1, -1)
self.verticalLayout_21.setSpacing(0)
self.verticalLayout_21.setObjectName("verticalLayout_21")
self.label_19 = QtWidgets.QLabel(self.groupBox_16)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_19.sizePolicy().hasHeightForWidth())
self.label_19.setSizePolicy(sizePolicy)
self.label_19.setMinimumSize(QtCore.QSize(10, 10))
font = QtGui.QFont()
font.setFamily("微软雅黑")
font.setPointSize(10)
self.label_19.setFont(font)
self.label_19.setTextFormat(QtCore.Qt.AutoText)
self.label_19.setObjectName("label_19")
self.verticalLayout_21.addWidget(self.label_19)
self.horizontalSlider_14 = QtWidgets.QSlider(self.groupBox_16)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(50)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.horizontalSlider_14.sizePolicy().hasHeightForWidth())
self.horizontalSlider_14.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.horizontalSlider_14.setFont(font)
self.horizontalSlider_14.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
self.horizontalSlider_14.setMouseTracking(False)
self.horizontalSlider_14.setFocusPolicy(QtCore.Qt.StrongFocus)
self.horizontalSlider_14.setMaximum(10)
self.horizontalSlider_14.setOrientation(QtCore.Qt.Horizontal)
self.horizontalSlider_14.setTickPosition(QtWidgets.QSlider.TicksAbove)
self.horizontalSlider_14.setTickInterval(1)
self.horizontalSlider_14.setObjectName("horizontalSlider_14")
self.verticalLayout_21.addWidget(self.horizontalSlider_14)
self.verticalLayout_18.addWidget(self.groupBox_16)
self.groupBox_14 = QtWidgets.QGroupBox(self.tab)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(20)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_14.sizePolicy().hasHeightForWidth())
self.groupBox_14.setSizePolicy(sizePolicy)
self.groupBox_14.setObjectName("groupBox_14")
self.verticalLayout_11 = QtWidgets.QVBoxLayout(self.groupBox_14)
self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_11.setSpacing(0)
self.verticalLayout_11.setObjectName("verticalLayout_11")
self.label_3 = QtWidgets.QLabel(self.groupBox_14)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
self.label_3.setSizePolicy(sizePolicy)
self.label_3.setText("")
self.label_3.setObjectName("label_3")
self.verticalLayout_11.addWidget(self.label_3)
self.verticalLayout_18.addWidget(self.groupBox_14)
self.verticalLayout_18.setStretch(0, 1)
self.verticalLayout_18.setStretch(1, 1)
self.verticalLayout_18.setStretch(2, 1)
self.verticalLayout_18.setStretch(3, 1)
self.verticalLayout_18.setStretch(4, 2)
self.tabWidget.addTab(self.tab, "")
self.horizontalLayout_2.addWidget(self.tabWidget)
self._2.addLayout(self.horizontalLayout_2)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setSpacing(0)
self.verticalLayout.setObjectName("verticalLayout")
self.graphicsView = QtWidgets.QGraphicsView(self.centralwidget)
self.graphicsView.setFrameShape(QtWidgets.QFrame.NoFrame)
self.graphicsView.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.graphicsView.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.graphicsView.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
self.graphicsView.setAlignment(QtCore.Qt.AlignCenter)
self.graphicsView.setRenderHints(QtGui.QPainter.SmoothPixmapTransform)
self.graphicsView.setResizeAnchor(QtWidgets.QGraphicsView.NoAnchor)
self.graphicsView.setObjectName("graphicsView")
self.verticalLayout.addWidget(self.graphicsView)
self.verticalLayout.setStretch(0, 100)
self._2.addLayout(self.verticalLayout)
self._2.setStretch(0, 4)
self._2.setStretch(1, 13)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1145, 26))
font = QtGui.QFont()
font.setKerning(True)
self.menubar.setFont(font)
self.menubar.setMouseTracking(True)
self.menubar.setTabletTracking(False)
self.menubar.setAcceptDrops(True)
self.menubar.setNativeMenuBar(False)
self.menubar.setObjectName("menubar")
self.menu = QtWidgets.QMenu(self.menubar)
self.menu.setObjectName("menu")
self.menu_5 = QtWidgets.QMenu(self.menubar)
self.menu_5.setObjectName("menu_5")
MainWindow.setMenuBar(self.menubar)
self.action = QtWidgets.QAction(MainWindow)
self.action.setPriority(QtWidgets.QAction.HighPriority)
self.action.setObjectName("action")
self.action_2 = QtWidgets.QAction(MainWindow)
self.action_2.setWhatsThis("")
self.action_2.setObjectName("action_2")
self.action_3 = QtWidgets.QAction(MainWindow)
self.action_3.setObjectName("action_3")
self.action_4 = QtWidgets.QAction(MainWindow)
self.action_4.setObjectName("action_4")
self.action_6 = QtWidgets.QAction(MainWindow)
self.action_6.setObjectName("action_6")
self.action_7 = QtWidgets.QAction(MainWindow)
self.action_7.setObjectName("action_7")
self.actionLaplacian = QtWidgets.QAction(MainWindow)
self.actionLaplacian.setObjectName("actionLaplacian")
self.actionSobel = QtWidgets.QAction(MainWindow)
self.actionSobel.setObjectName("actionSobel")
self.actionPrewitt = QtWidgets.QAction(MainWindow)
self.actionPrewitt.setObjectName("actionPrewitt")
self.action_9 = QtWidgets.QAction(MainWindow)
self.action_9.setObjectName("action_9")
self.action_10 = QtWidgets.QAction(MainWindow)
self.action_10.setObjectName("action_10")
self.action_11 = QtWidgets.QAction(MainWindow)
self.action_11.setObjectName("action_11")
self.action_12 = QtWidgets.QAction(MainWindow)
self.action_12.setObjectName("action_12")
self.action_13 = QtWidgets.QAction(MainWindow)
self.action_13.setObjectName("action_13")
self.action_5 = QtWidgets.QAction(MainWindow)
self.action_5.setObjectName("action_5")
self.action_8 = QtWidgets.QAction(MainWindow)
self.action_8.setShortcutContext(QtCore.Qt.WindowShortcut)
self.action_8.setObjectName("action_8")
self.action_14 = QtWidgets.QAction(MainWindow)
self.action_14.setIconVisibleInMenu(True)
self.action_14.setObjectName("action_14")
self.action_15 = QtWidgets.QAction(MainWindow)
self.action_15.setObjectName("action_15")
self.action_16 = QtWidgets.QAction(MainWindow)
self.action_16.setObjectName("action_16")
self.actionwo = QtWidgets.QAction(MainWindow)
self.actionwo.setObjectName("actionwo")
self.actionGamma = QtWidgets.QAction(MainWindow)
self.actionGamma.setObjectName("actionGamma")
self.action_17 = QtWidgets.QAction(MainWindow)
self.action_17.setObjectName("action_17")
self.action_18 = QtWidgets.QAction(MainWindow)
self.action_18.setObjectName("action_18")
self.menu.addAction(self.action)
self.menu.addAction(self.action_2)
self.menu.addAction(self.action_17)
self.menu_5.addAction(self.action_5)
self.menu_5.addAction(self.action_18)
self.menubar.addAction(self.menu.menuAction())
self.menubar.addAction(self.menu_5.menuAction())
self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(0)
self.horizontalSlider_4.valueChanged['int'].connect(self.label_6.setNum)
self.horizontalSlider.valueChanged['int'].connect(self.label_9.setNum)
self.horizontalSlider_10.valueChanged['int'].connect(self.label_13.setNum)
self.horizontalSlider_9.valueChanged['int'].connect(self.label_12.setNum)
self.horizontalSlider_7.valueChanged['int'].connect(self.label_10.setNum)
self.horizontalSlider_2.valueChanged['int'].connect(self.label_11.setNum)
self.horizontalSlider_8.valueChanged['int'].connect(self.label_8.setNum)
self.horizontalSlider_13.valueChanged['int'].connect(self.label_18.setNum)
self.horizontalSlider_11.valueChanged['int'].connect(self.label_16.setNum)
self.horizontalSlider_14.valueChanged['int'].connect(self.label_19.setNum)
self.horizontalSlider_5.valueChanged['int'].connect(self.label_14.setNum)
self.horizontalSlider_3.valueChanged['int'].connect(self.label_7.setNum)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
MainWindow.setTabOrder(self.horizontalSlider_7, self.graphicsView)
MainWindow.setTabOrder(self.graphicsView, self.horizontalSlider_10)
MainWindow.setTabOrder(self.horizontalSlider_10, self.horizontalSlider_4)
MainWindow.setTabOrder(self.horizontalSlider_4, self.horizontalSlider_3)
MainWindow.setTabOrder(self.horizontalSlider_3, self.horizontalSlider)
MainWindow.setTabOrder(self.horizontalSlider, self.horizontalSlider_2)
MainWindow.setTabOrder(self.horizontalSlider_2, self.horizontalSlider_9)
MainWindow.setTabOrder(self.horizontalSlider_9, self.tabWidget)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "美颜相机"))
self.groupBox_11.setTitle(_translate("MainWindow", "怀旧"))
self.label_13.setText(_translate("MainWindow", "0"))
self.groupBox_10.setTitle(_translate("MainWindow", "木刻"))
self.label_12.setText(_translate("MainWindow", "0"))
self.groupBox_4.setTitle(_translate("MainWindow", "铅笔画(灰色)"))
self.label_10.setText(_translate("MainWindow", "0"))
self.groupBox_7.setTitle(_translate("MainWindow", "铅笔画(彩色)"))
self.label_17.setText(_translate("MainWindow", "0"))
self.groupBox_9.setTitle(_translate("MainWindow", "风格化"))
self.label_11.setText(_translate("MainWindow", "0"))
self.groupBox_17.setTitle(_translate("MainWindow", "细节增强"))
self.label_15.setText(_translate("MainWindow", "0"))
self.groupBox_8.setTitle(_translate("MainWindow", "灰度直方图"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "滤镜"))
self.groupBox.setTitle(_translate("MainWindow", "亮度"))
self.label_6.setText(_translate("MainWindow", "0"))
self.groupBox_3.setTitle(_translate("MainWindow", "饱和度"))
self.label_9.setText(_translate("MainWindow", "0"))
self.groupBox_6.setTitle(_translate("MainWindow", "伽马变换"))
self.label_14.setText(_translate("MainWindow", "0"))
self.groupBox_2.setTitle(_translate("MainWindow", "边缘保持"))
self.label_7.setText(_translate("MainWindow", "0"))
self.groupBox_5.setTitle(_translate("MainWindow", "灰度直方图"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "调节"))
self.groupBox_12.setTitle(_translate("MainWindow", "美白度(人脸识别)"))
self.label_8.setText(_translate("MainWindow", "0"))
self.groupBox_15.setTitle(_translate("MainWindow", "美白度(皮肤识别)"))
self.label_18.setText(_translate("MainWindow", "0"))
self.groupBox_13.setTitle(_translate("MainWindow", "磨皮程度"))
self.label_16.setText(_translate("MainWindow", "0"))
self.groupBox_16.setTitle(_translate("MainWindow", "磨皮精度"))
self.label_19.setText(_translate("MainWindow", "0"))
self.groupBox_14.setTitle(_translate("MainWindow", "灰度直方图"))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "美白磨皮"))
self.menu.setTitle(_translate("MainWindow", "文件"))
self.menu_5.setTitle(_translate("MainWindow", "操作"))
self.action.setText(_translate("MainWindow", "打开图片"))
self.action.setStatusTip(_translate("MainWindow", "打开图片"))
self.action.setShortcut(_translate("MainWindow", "Ctrl+O"))
self.action_2.setText(_translate("MainWindow", "保存图片"))
self.action_2.setStatusTip(_translate("MainWindow", "保存图片"))
self.action_2.setShortcut(_translate("MainWindow", "Ctrl+S"))
self.action_3.setText(_translate("MainWindow", "高斯滤波"))
self.action_4.setText(_translate("MainWindow", "图像清晰"))
self.action_4.setStatusTip(_translate("MainWindow", "图像清晰"))
self.action_6.setText(_translate("MainWindow", "高斯滤波"))
self.action_6.setStatusTip(_translate("MainWindow", "高斯滤波"))
self.action_7.setText(_translate("MainWindow", "均值滤波"))
self.action_7.setStatusTip(_translate("MainWindow", "均值滤波"))
self.actionLaplacian.setText(_translate("MainWindow", "Laplacian"))
self.actionLaplacian.setStatusTip(_translate("MainWindow", "Laplacian"))
self.actionSobel.setText(_translate("MainWindow", "Sobel"))
self.actionSobel.setStatusTip(_translate("MainWindow", "Sobel"))
self.actionPrewitt.setText(_translate("MainWindow", "Prewitt"))
self.actionPrewitt.setStatusTip(_translate("MainWindow", "Prewitt"))
self.action_9.setText(_translate("MainWindow", "频域平滑"))
self.action_9.setStatusTip(_translate("MainWindow", "频域平滑"))
self.action_10.setText(_translate("MainWindow", "频域锐化"))
self.action_10.setStatusTip(_translate("MainWindow", "频域锐化"))
self.action_11.setText(_translate("MainWindow", "中值滤波"))
self.action_11.setStatusTip(_translate("MainWindow", "中值滤波"))
self.action_12.setText(_translate("MainWindow", "美白度选择"))
self.action_12.setStatusTip(_translate("MainWindow", "美白度选择"))
self.action_13.setText(_translate("MainWindow", "平滑度选择"))
self.action_13.setStatusTip(_translate("MainWindow", "平滑度选择"))
self.action_5.setText(_translate("MainWindow", "还原"))
self.action_5.setStatusTip(_translate("MainWindow", "还原"))
self.action_8.setText(_translate("MainWindow", "撤销"))
self.action_8.setStatusTip(_translate("MainWindow", "撤销"))
self.action_8.setShortcut(_translate("MainWindow", "Ctrl+Z"))
self.action_14.setText(_translate("MainWindow", "放大"))
self.action_14.setStatusTip(_translate("MainWindow", "放大"))
self.action_14.setShortcut(_translate("MainWindow", "+"))
self.action_15.setText(_translate("MainWindow", "缩小"))
self.action_15.setStatusTip(_translate("MainWindow", "缩小"))
self.action_15.setShortcut(_translate("MainWindow", "-"))
self.action_16.setText(_translate("MainWindow", "截图"))
self.action_16.setStatusTip(_translate("MainWindow", "截图"))
self.actionwo.setText(_translate("MainWindow", "wo"))
self.actionGamma.setText(_translate("MainWindow", "Gamma变换"))
self.action_17.setText(_translate("MainWindow", "打开摄像头"))
self.action_18.setText(_translate("MainWindow", "人脸识别"))