forked from 87owo/PYAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPYAS_Interface.py
1910 lines (1906 loc) · 101 KB
/
PYAS_Interface.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
from PyQt5 import QtCore, QtGui, QtWidgets
from PyQt5.QtGui import *
from PyQt5.QtCore import *
from PyQt5.QtWidgets import *
import sys, PYAS_Resource
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(851, 541)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
MainWindow.setFont(font)
MainWindow.setFocusPolicy(QtCore.Qt.TabFocus)
icon = QtGui.QIcon(QFileIconProvider().icon(QFileInfo(str(sys.argv[0]))))
MainWindow.setWindowIcon(icon)
MainWindow.setIconSize(QtCore.QSize(64, 64))
MainWindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
MainWindow.setDocumentMode(False)
self.centralwidget = QtWidgets.QWidget(MainWindow)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.centralwidget.setFont(font)
self.centralwidget.setStyleSheet("")
self.centralwidget.setObjectName("centralwidget")
self.widget = QtWidgets.QWidget(self.centralwidget)
self.widget.setGeometry(QtCore.QRect(0, 0, 851, 541))
self.widget.setStyleSheet("")
self.widget.setObjectName("widget")
self.Protection_widget = QtWidgets.QWidget(self.widget)
self.Protection_widget.setGeometry(QtCore.QRect(170, 50, 671, 481))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_widget.setFont(font)
self.Protection_widget.setStyleSheet("background-color: rgb(255, 255, 255);")
self.Protection_widget.setObjectName("Protection_widget")
self.Real_time_Protection_widget = QtWidgets.QWidget(self.Protection_widget)
self.Real_time_Protection_widget.setGeometry(QtCore.QRect(40, 10, 591, 91))
self.Real_time_Protection_widget.setAcceptDrops(False)
self.Real_time_Protection_widget.setLayoutDirection(QtCore.Qt.RightToLeft)
self.Real_time_Protection_widget.setAutoFillBackground(False)
self.Real_time_Protection_widget.setObjectName("Real_time_Protection_widget")
self.Protection_title = QtWidgets.QLabel(self.Real_time_Protection_widget)
self.Protection_title.setGeometry(QtCore.QRect(10, 10, 461, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(17)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_title.setFont(font)
self.Protection_title.setStyleSheet("color: rgb(70,70,70);")
self.Protection_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_title.setObjectName("Protection_title")
self.Protection_illustrate = QtWidgets.QLabel(self.Real_time_Protection_widget)
self.Protection_illustrate.setGeometry(QtCore.QRect(10, 50, 461, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_illustrate.setFont(font)
self.Protection_illustrate.setStyleSheet("color: rgb(70,70,70);")
self.Protection_illustrate.setScaledContents(False)
self.Protection_illustrate.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_illustrate.setWordWrap(True)
self.Protection_illustrate.setObjectName("Protection_illustrate")
self.Protection_switch_Button = QtWidgets.QPushButton(self.Real_time_Protection_widget)
self.Protection_switch_Button.setGeometry(QtCore.QRect(490, 30, 91, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Protection_switch_Button.sizePolicy().hasHeightForWidth())
self.Protection_switch_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_switch_Button.setFont(font)
self.Protection_switch_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Protection_switch_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"")
self.Protection_switch_Button.setIconSize(QtCore.QSize(16, 16))
self.Protection_switch_Button.setCheckable(False)
self.Protection_switch_Button.setObjectName("Protection_switch_Button")
self.Real_time_Protection_widget_2 = QtWidgets.QWidget(self.Protection_widget)
self.Real_time_Protection_widget_2.setGeometry(QtCore.QRect(40, 100, 591, 91))
self.Real_time_Protection_widget_2.setAcceptDrops(False)
self.Real_time_Protection_widget_2.setLayoutDirection(QtCore.Qt.RightToLeft)
self.Real_time_Protection_widget_2.setAutoFillBackground(False)
self.Real_time_Protection_widget_2.setObjectName("Real_time_Protection_widget_2")
self.Protection_title_2 = QtWidgets.QLabel(self.Real_time_Protection_widget_2)
self.Protection_title_2.setGeometry(QtCore.QRect(10, 10, 461, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(17)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_title_2.setFont(font)
self.Protection_title_2.setStyleSheet("color: rgb(70,70,70);")
self.Protection_title_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_title_2.setObjectName("Protection_title_2")
self.Protection_illustrate_2 = QtWidgets.QLabel(self.Real_time_Protection_widget_2)
self.Protection_illustrate_2.setGeometry(QtCore.QRect(10, 50, 461, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_illustrate_2.setFont(font)
self.Protection_illustrate_2.setStyleSheet("color: rgb(70,70,70);")
self.Protection_illustrate_2.setScaledContents(False)
self.Protection_illustrate_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_illustrate_2.setWordWrap(True)
self.Protection_illustrate_2.setObjectName("Protection_illustrate_2")
self.Protection_switch_Button_2 = QtWidgets.QPushButton(self.Real_time_Protection_widget_2)
self.Protection_switch_Button_2.setGeometry(QtCore.QRect(490, 30, 91, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Protection_switch_Button_2.sizePolicy().hasHeightForWidth())
self.Protection_switch_Button_2.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_switch_Button_2.setFont(font)
self.Protection_switch_Button_2.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Protection_switch_Button_2.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"")
self.Protection_switch_Button_2.setIconSize(QtCore.QSize(16, 16))
self.Protection_switch_Button_2.setCheckable(False)
self.Protection_switch_Button_2.setObjectName("Protection_switch_Button_2")
self.Real_time_Protection_widget_3 = QtWidgets.QWidget(self.Protection_widget)
self.Real_time_Protection_widget_3.setGeometry(QtCore.QRect(40, 190, 591, 91))
self.Real_time_Protection_widget_3.setAcceptDrops(False)
self.Real_time_Protection_widget_3.setLayoutDirection(QtCore.Qt.RightToLeft)
self.Real_time_Protection_widget_3.setAutoFillBackground(False)
self.Real_time_Protection_widget_3.setObjectName("Real_time_Protection_widget_3")
self.Protection_title_3 = QtWidgets.QLabel(self.Real_time_Protection_widget_3)
self.Protection_title_3.setGeometry(QtCore.QRect(10, 10, 461, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(17)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_title_3.setFont(font)
self.Protection_title_3.setStyleSheet("color: rgb(70,70,70);")
self.Protection_title_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_title_3.setObjectName("Protection_title_3")
self.Protection_illustrate_3 = QtWidgets.QLabel(self.Real_time_Protection_widget_3)
self.Protection_illustrate_3.setGeometry(QtCore.QRect(10, 50, 461, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_illustrate_3.setFont(font)
self.Protection_illustrate_3.setStyleSheet("color: rgb(70,70,70);")
self.Protection_illustrate_3.setScaledContents(False)
self.Protection_illustrate_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_illustrate_3.setWordWrap(True)
self.Protection_illustrate_3.setObjectName("Protection_illustrate_3")
self.Protection_switch_Button_3 = QtWidgets.QPushButton(self.Real_time_Protection_widget_3)
self.Protection_switch_Button_3.setGeometry(QtCore.QRect(490, 30, 91, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Protection_switch_Button_3.sizePolicy().hasHeightForWidth())
self.Protection_switch_Button_3.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_switch_Button_3.setFont(font)
self.Protection_switch_Button_3.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Protection_switch_Button_3.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"")
self.Protection_switch_Button_3.setIconSize(QtCore.QSize(16, 16))
self.Protection_switch_Button_3.setCheckable(False)
self.Protection_switch_Button_3.setObjectName("Protection_switch_Button_3")
self.Real_time_Protection_widget_4 = QtWidgets.QWidget(self.Protection_widget)
self.Real_time_Protection_widget_4.setGeometry(QtCore.QRect(40, 280, 591, 91))
self.Real_time_Protection_widget_4.setAcceptDrops(False)
self.Real_time_Protection_widget_4.setLayoutDirection(QtCore.Qt.RightToLeft)
self.Real_time_Protection_widget_4.setAutoFillBackground(False)
self.Real_time_Protection_widget_4.setObjectName("Real_time_Protection_widget_4")
self.Protection_title_4 = QtWidgets.QLabel(self.Real_time_Protection_widget_4)
self.Protection_title_4.setGeometry(QtCore.QRect(10, 10, 461, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(17)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_title_4.setFont(font)
self.Protection_title_4.setStyleSheet("color: rgb(70,70,70);")
self.Protection_title_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_title_4.setObjectName("Protection_title_4")
self.Protection_illustrate_4 = QtWidgets.QLabel(self.Real_time_Protection_widget_4)
self.Protection_illustrate_4.setGeometry(QtCore.QRect(10, 50, 461, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_illustrate_4.setFont(font)
self.Protection_illustrate_4.setStyleSheet("color: rgb(70,70,70);")
self.Protection_illustrate_4.setScaledContents(False)
self.Protection_illustrate_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_illustrate_4.setWordWrap(True)
self.Protection_illustrate_4.setObjectName("Protection_illustrate_4")
self.Protection_switch_Button_4 = QtWidgets.QPushButton(self.Real_time_Protection_widget_4)
self.Protection_switch_Button_4.setGeometry(QtCore.QRect(490, 30, 91, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Protection_switch_Button_4.sizePolicy().hasHeightForWidth())
self.Protection_switch_Button_4.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_switch_Button_4.setFont(font)
self.Protection_switch_Button_4.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Protection_switch_Button_4.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"")
self.Protection_switch_Button_4.setIconSize(QtCore.QSize(16, 16))
self.Protection_switch_Button_4.setCheckable(False)
self.Protection_switch_Button_4.setObjectName("Protection_switch_Button_4")
self.Real_time_Protection_widget_5 = QtWidgets.QWidget(self.Protection_widget)
self.Real_time_Protection_widget_5.setGeometry(QtCore.QRect(40, 370, 591, 91))
self.Real_time_Protection_widget_5.setAcceptDrops(False)
self.Real_time_Protection_widget_5.setLayoutDirection(QtCore.Qt.RightToLeft)
self.Real_time_Protection_widget_5.setAutoFillBackground(False)
self.Real_time_Protection_widget_5.setObjectName("Real_time_Protection_widget_5")
self.Protection_title_5 = QtWidgets.QLabel(self.Real_time_Protection_widget_5)
self.Protection_title_5.setGeometry(QtCore.QRect(10, 10, 461, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(17)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_title_5.setFont(font)
self.Protection_title_5.setStyleSheet("color: rgb(70,70,70);")
self.Protection_title_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_title_5.setObjectName("Protection_title_5")
self.Protection_illustrate_5 = QtWidgets.QLabel(self.Real_time_Protection_widget_5)
self.Protection_illustrate_5.setGeometry(QtCore.QRect(10, 50, 461, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_illustrate_5.setFont(font)
self.Protection_illustrate_5.setStyleSheet("color: rgb(70,70,70);")
self.Protection_illustrate_5.setScaledContents(False)
self.Protection_illustrate_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Protection_illustrate_5.setWordWrap(True)
self.Protection_illustrate_5.setObjectName("Protection_illustrate_5")
self.Protection_switch_Button_5 = QtWidgets.QPushButton(self.Real_time_Protection_widget_5)
self.Protection_switch_Button_5.setGeometry(QtCore.QRect(490, 30, 91, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Protection_switch_Button_5.sizePolicy().hasHeightForWidth())
self.Protection_switch_Button_5.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_switch_Button_5.setFont(font)
self.Protection_switch_Button_5.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Protection_switch_Button_5.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"")
self.Protection_switch_Button_5.setIconSize(QtCore.QSize(16, 16))
self.Protection_switch_Button_5.setCheckable(False)
self.Protection_switch_Button_5.setObjectName("Protection_switch_Button_5")
self.Navigation_Bar = QtWidgets.QWidget(self.widget)
self.Navigation_Bar.setGeometry(QtCore.QRect(10, 50, 161, 481))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Navigation_Bar.setFont(font)
self.Navigation_Bar.setStyleSheet("background-color: rgb(230, 230, 230);")
self.Navigation_Bar.setObjectName("Navigation_Bar")
self.verticalLayoutWidget = QtWidgets.QWidget(self.Navigation_Bar)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 161, 481))
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setContentsMargins(10, 10, 0, 10)
self.verticalLayout.setSpacing(10)
self.verticalLayout.setObjectName("verticalLayout")
self.State_Button = QtWidgets.QPushButton(self.verticalLayoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.State_Button.sizePolicy().hasHeightForWidth())
self.State_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(15)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.State_Button.setFont(font)
self.State_Button.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
self.State_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.State_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgba(0,0,0,0);\n"
" border-top-left-radius:10px;\n"
" border-bottom-left-radius:10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgba(255, 255, 255,70);\n"
" color:rgba(0,0,0,170);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgba(255, 255, 255,110);\n"
"}\n"
"")
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/icon/State.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.State_Button.setIcon(icon1)
self.State_Button.setIconSize(QtCore.QSize(20, 20))
self.State_Button.setCheckable(False)
self.State_Button.setObjectName("State_Button")
self.verticalLayout.addWidget(self.State_Button)
self.Virus_Scan_Button = QtWidgets.QPushButton(self.verticalLayoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Virus_Scan_Button.sizePolicy().hasHeightForWidth())
self.Virus_Scan_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(15)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Virus_Scan_Button.setFont(font)
self.Virus_Scan_Button.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
self.Virus_Scan_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Virus_Scan_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgba(0,0,0,0);\n"
" border-top-left-radius:10px;\n"
" border-bottom-left-radius:10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgba(255, 255, 255,70);\n"
" color:rgba(0,0,0,170);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgba(255, 255, 255,110);\n"
"}\n"
"")
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/icon/Scan.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.Virus_Scan_Button.setIcon(icon2)
self.Virus_Scan_Button.setIconSize(QtCore.QSize(20, 20))
self.Virus_Scan_Button.setCheckable(False)
self.Virus_Scan_Button.setObjectName("Virus_Scan_Button")
self.verticalLayout.addWidget(self.Virus_Scan_Button)
self.Tools_Button = QtWidgets.QPushButton(self.verticalLayoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Tools_Button.sizePolicy().hasHeightForWidth())
self.Tools_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(15)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Tools_Button.setFont(font)
self.Tools_Button.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
self.Tools_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Tools_Button.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
self.Tools_Button.setToolTipDuration(-7)
self.Tools_Button.setLayoutDirection(QtCore.Qt.LeftToRight)
self.Tools_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgba(0,0,0,0);\n"
" border-top-left-radius:10px;\n"
" border-bottom-left-radius:10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgba(255, 255, 255,70);\n"
" color:rgba(0,0,0,170);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgba(255, 255, 255,110);\n"
"}\n"
"")
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/icon/Tool.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.Tools_Button.setIcon(icon3)
self.Tools_Button.setIconSize(QtCore.QSize(20, 20))
self.Tools_Button.setCheckable(False)
self.Tools_Button.setObjectName("Tools_Button")
self.verticalLayout.addWidget(self.Tools_Button)
self.Protection_Button = QtWidgets.QPushButton(self.verticalLayoutWidget)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Protection_Button.sizePolicy().hasHeightForWidth())
self.Protection_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(15)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Protection_Button.setFont(font)
self.Protection_Button.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
self.Protection_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Protection_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgba(0,0,0,0);\n"
" border-top-left-radius:10px;\n"
" border-bottom-left-radius:10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgba(255, 255, 255,70);\n"
" color:rgba(0,0,0,170);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgba(255, 255, 255,110);\n"
"}\n"
"")
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/icon/Protect.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.Protection_Button.setIcon(icon4)
self.Protection_Button.setIconSize(QtCore.QSize(20, 20))
self.Protection_Button.setCheckable(False)
self.Protection_Button.setObjectName("Protection_Button")
self.verticalLayout.addWidget(self.Protection_Button)
self.label = QtWidgets.QPushButton(self.Navigation_Bar)
self.label.setEnabled(False)
self.label.setGeometry(QtCore.QRect(20, 50, 5, 30))
self.label.setMouseTracking(False)
self.label.setAutoFillBackground(False)
self.label.setStyleSheet("QPushButton#label\n"
"{\n"
" background-color:rgba(255,255,255,255);\n"
" border-radius: 2px;\n"
"}")
self.label.setText("")
self.label.setCheckable(False)
self.label.setAutoRepeatDelay(300)
self.label.setAutoRepeatInterval(100)
self.label.setAutoDefault(False)
self.label.setDefault(True)
self.label.setFlat(False)
self.label.setObjectName("label")
self.Virus_Scan_widget = QtWidgets.QWidget(self.widget)
self.Virus_Scan_widget.setGeometry(QtCore.QRect(170, 50, 671, 481))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Virus_Scan_widget.setFont(font)
self.Virus_Scan_widget.setStyleSheet("background-color: rgb(255, 255, 255);")
self.Virus_Scan_widget.setObjectName("Virus_Scan_widget")
self.Virus_Scan_title = QtWidgets.QLabel(self.Virus_Scan_widget)
self.Virus_Scan_title.setGeometry(QtCore.QRect(45, 30, 281, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(17)
font.setBold(False)
font.setWeight(50)
self.Virus_Scan_title.setFont(font)
self.Virus_Scan_title.setStyleSheet("color: rgb(70,70,70);")
self.Virus_Scan_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Virus_Scan_title.setObjectName("Virus_Scan_title")
self.Virus_Scan_text = QtWidgets.QLabel(self.Virus_Scan_widget)
self.Virus_Scan_text.setGeometry(QtCore.QRect(45, 70, 581, 71))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
self.Virus_Scan_text.setFont(font)
self.Virus_Scan_text.setStyleSheet("color: rgb(70,70,70);")
self.Virus_Scan_text.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Virus_Scan_text.setWordWrap(True)
self.Virus_Scan_text.setObjectName("Virus_Scan_text")
self.Virus_Scan_choose_Button = QtWidgets.QPushButton(self.Virus_Scan_widget)
self.Virus_Scan_choose_Button.setGeometry(QtCore.QRect(490, 35, 131, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Virus_Scan_choose_Button.sizePolicy().hasHeightForWidth())
self.Virus_Scan_choose_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Virus_Scan_choose_Button.setFont(font)
self.Virus_Scan_choose_Button.setMouseTracking(False)
self.Virus_Scan_choose_Button.setTabletTracking(False)
self.Virus_Scan_choose_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Virus_Scan_choose_Button.setLayoutDirection(QtCore.Qt.LeftToRight)
self.Virus_Scan_choose_Button.setStyleSheet("QPushButton{border:none;background-color:rgb(190,250,190);border-radius: 10px;}QPushButton:hover{background-color:rgb(200,250,200);}\n"
"")
self.Virus_Scan_choose_Button.setIconSize(QtCore.QSize(10, 10))
self.Virus_Scan_choose_Button.setCheckable(False)
self.Virus_Scan_choose_Button.setAutoRepeat(False)
self.Virus_Scan_choose_Button.setAutoExclusive(False)
self.Virus_Scan_choose_Button.setAutoRepeatDelay(300)
self.Virus_Scan_choose_Button.setAutoRepeatInterval(100)
self.Virus_Scan_choose_Button.setDefault(False)
self.Virus_Scan_choose_Button.setFlat(False)
self.Virus_Scan_choose_Button.setObjectName("Virus_Scan_choose_Button")
self.Virus_Scan_choose_widget = QtWidgets.QWidget(self.Virus_Scan_widget)
self.Virus_Scan_choose_widget.setGeometry(QtCore.QRect(490, 67, 131, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Virus_Scan_choose_widget.sizePolicy().hasHeightForWidth())
self.Virus_Scan_choose_widget.setSizePolicy(sizePolicy)
self.Virus_Scan_choose_widget.setStyleSheet("QWidget {\n"
" background-color: rgb(230, 230, 230);\n"
" border-radius: 10px;\n"
" }")
self.Virus_Scan_choose_widget.setObjectName("Virus_Scan_choose_widget")
self.verticalLayoutWidget_3 = QtWidgets.QWidget(self.Virus_Scan_choose_widget)
self.verticalLayoutWidget_3.setGeometry(QtCore.QRect(0, 0, 131, 101))
self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3")
self.Virus_Scan_choose_verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_3)
self.Virus_Scan_choose_verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.Virus_Scan_choose_verticalLayout.setContentsMargins(1, 0, 1, 0)
self.Virus_Scan_choose_verticalLayout.setSpacing(3)
self.Virus_Scan_choose_verticalLayout.setObjectName("Virus_Scan_choose_verticalLayout")
self.File_Scan_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.File_Scan_Button.sizePolicy().hasHeightForWidth())
self.File_Scan_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.File_Scan_Button.setFont(font)
self.File_Scan_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.File_Scan_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 5px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgb(230,230,230);\n"
"}\n"
"")
self.File_Scan_Button.setIconSize(QtCore.QSize(16, 16))
self.File_Scan_Button.setCheckable(False)
self.File_Scan_Button.setObjectName("File_Scan_Button")
self.Virus_Scan_choose_verticalLayout.addWidget(self.File_Scan_Button)
self.Path_Scan_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Path_Scan_Button.sizePolicy().hasHeightForWidth())
self.Path_Scan_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Path_Scan_Button.setFont(font)
self.Path_Scan_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Path_Scan_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 5px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgb(230,230,230);\n"
"}\n"
"")
self.Path_Scan_Button.setIconSize(QtCore.QSize(16, 16))
self.Path_Scan_Button.setCheckable(False)
self.Path_Scan_Button.setObjectName("Path_Scan_Button")
self.Virus_Scan_choose_verticalLayout.addWidget(self.Path_Scan_Button)
self.Disk_Scan_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_3)
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Disk_Scan_Button.sizePolicy().hasHeightForWidth())
self.Disk_Scan_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Disk_Scan_Button.setFont(font)
self.Disk_Scan_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Disk_Scan_Button.setStyleSheet("QPushButton\n"
"{\n"
" border:none;\n"
" background-color:rgb(230,230,230);\n"
" border-radius: 5px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
" background-color:rgb(220,220,220);\n"
"}\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgb(230,230,230);\n"
"}\n"
"")
self.Disk_Scan_Button.setIconSize(QtCore.QSize(16, 16))
self.Disk_Scan_Button.setCheckable(False)
self.Disk_Scan_Button.setObjectName("Disk_Scan_Button")
self.Virus_Scan_choose_verticalLayout.addWidget(self.Disk_Scan_Button)
self.Virus_Scan_Solve_Button = QtWidgets.QPushButton(self.Virus_Scan_widget)
self.Virus_Scan_Solve_Button.setGeometry(QtCore.QRect(350, 35, 131, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Virus_Scan_Solve_Button.sizePolicy().hasHeightForWidth())
self.Virus_Scan_Solve_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Virus_Scan_Solve_Button.setFont(font)
self.Virus_Scan_Solve_Button.setMouseTracking(False)
self.Virus_Scan_Solve_Button.setTabletTracking(False)
self.Virus_Scan_Solve_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Virus_Scan_Solve_Button.setLayoutDirection(QtCore.Qt.LeftToRight)
self.Virus_Scan_Solve_Button.setStyleSheet("QPushButton{border:none;background-color:rgb(250,190,190);border-radius: 10px;}QPushButton:hover{background-color:rgb(250,200,200);}\n"
"")
self.Virus_Scan_Solve_Button.setIconSize(QtCore.QSize(10, 10))
self.Virus_Scan_Solve_Button.setCheckable(False)
self.Virus_Scan_Solve_Button.setAutoRepeat(False)
self.Virus_Scan_Solve_Button.setAutoExclusive(False)
self.Virus_Scan_Solve_Button.setAutoRepeatDelay(300)
self.Virus_Scan_Solve_Button.setAutoRepeatInterval(100)
self.Virus_Scan_Solve_Button.setDefault(False)
self.Virus_Scan_Solve_Button.setFlat(False)
self.Virus_Scan_Solve_Button.setObjectName("Virus_Scan_Solve_Button")
self.Virus_Scan_Break_Button = QtWidgets.QPushButton(self.Virus_Scan_widget)
self.Virus_Scan_Break_Button.setGeometry(QtCore.QRect(490, 35, 131, 31))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Virus_Scan_Break_Button.sizePolicy().hasHeightForWidth())
self.Virus_Scan_Break_Button.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.Virus_Scan_Break_Button.setFont(font)
self.Virus_Scan_Break_Button.setMouseTracking(False)
self.Virus_Scan_Break_Button.setTabletTracking(False)
self.Virus_Scan_Break_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
self.Virus_Scan_Break_Button.setLayoutDirection(QtCore.Qt.LeftToRight)
self.Virus_Scan_Break_Button.setStyleSheet("QPushButton{border:none;background-color:rgb(250,190,190);border-radius: 10px;}QPushButton:hover{background-color:rgb(250,200,200);}\n"
"")
self.Virus_Scan_Break_Button.setIconSize(QtCore.QSize(10, 10))
self.Virus_Scan_Break_Button.setCheckable(False)
self.Virus_Scan_Break_Button.setAutoRepeat(False)
self.Virus_Scan_Break_Button.setAutoExclusive(False)
self.Virus_Scan_Break_Button.setAutoRepeatDelay(300)
self.Virus_Scan_Break_Button.setAutoRepeatInterval(100)
self.Virus_Scan_Break_Button.setDefault(False)
self.Virus_Scan_Break_Button.setFlat(False)
self.Virus_Scan_Break_Button.setObjectName("Virus_Scan_Break_Button")
self.Virus_Scan_output = QtWidgets.QListWidget(self.Virus_Scan_widget)
self.Virus_Scan_output.setGeometry(QtCore.QRect(45, 150, 581, 301))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(9)
self.Virus_Scan_output.setFont(font)
self.Virus_Scan_output.setStyleSheet("QWidget::item\n"
"{\n"
"background-color: rgba(50,50,50,30);\n"
"color:black;\n"
"border: transparent;\n"
"border-bottom: 1px solid #dbdbdb;\n"
"padding: 5px;\n"
"}\n"
"QWidget::item:hover\n"
"{\n"
"background-color: rgba(50,50,50,40);\n"
"}\n"
"QListView\n"
"{\n"
"outline: none;\n"
"}")
self.Virus_Scan_output.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
self.Virus_Scan_output.setTabKeyNavigation(False)
self.Virus_Scan_output.setProperty("showDropIndicator", True)
self.Virus_Scan_output.setDefaultDropAction(QtCore.Qt.CopyAction)
self.Virus_Scan_output.setAlternatingRowColors(False)
self.Virus_Scan_output.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
self.Virus_Scan_output.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectItems)
self.Virus_Scan_output.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerItem)
self.Virus_Scan_output.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerItem)
self.Virus_Scan_output.setMovement(QtWidgets.QListView.Static)
self.Virus_Scan_output.setProperty("isWrapping", False)
self.Virus_Scan_output.setResizeMode(QtWidgets.QListView.Fixed)
self.Virus_Scan_output.setLayoutMode(QtWidgets.QListView.SinglePass)
self.Virus_Scan_output.setViewMode(QtWidgets.QListView.ListMode)
self.Virus_Scan_output.setUniformItemSizes(False)
self.Virus_Scan_output.setSelectionRectVisible(False)
self.Virus_Scan_output.setObjectName("Virus_Scan_output")
self.Virus_Scan_title.raise_()
self.Virus_Scan_text.raise_()
self.Virus_Scan_choose_widget.raise_()
self.Virus_Scan_Solve_Button.raise_()
self.Virus_Scan_output.raise_()
self.Virus_Scan_Break_Button.raise_()
self.Virus_Scan_choose_Button.raise_()
self.State_widget = QtWidgets.QWidget(self.widget)
self.State_widget.setGeometry(QtCore.QRect(170, 49, 671, 481))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.State_widget.setFont(font)
self.State_widget.setStyleSheet("background-color: rgb(255, 255, 255);")
self.State_widget.setObjectName("State_widget")
self.State_title = QtWidgets.QLabel(self.State_widget)
self.State_title.setGeometry(QtCore.QRect(50, 210, 571, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(15)
font.setBold(True)
font.setWeight(75)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.State_title.setFont(font)
self.State_title.setLayoutDirection(QtCore.Qt.LeftToRight)
self.State_title.setStyleSheet("")
self.State_title.setAlignment(QtCore.Qt.AlignCenter)
self.State_title.setObjectName("State_title")
self.State_icon = QtWidgets.QLabel(self.State_widget)
self.State_icon.setGeometry(QtCore.QRect(240, 20, 191, 191))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.State_icon.sizePolicy().hasHeightForWidth())
self.State_icon.setSizePolicy(sizePolicy)
self.State_icon.setMinimumSize(QtCore.QSize(0, 171))
self.State_icon.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(1)
font.setStrikeOut(False)
font.setKerning(True)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.State_icon.setFont(font)
self.State_icon.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
self.State_icon.setToolTip("")
self.State_icon.setStyleSheet("")
self.State_icon.setFrameShape(QtWidgets.QFrame.NoFrame)
self.State_icon.setLineWidth(1)
self.State_icon.setText("")
self.State_icon.setTextFormat(QtCore.Qt.AutoText)
self.State_icon.setPixmap(QtGui.QPixmap(":/icon/Check.png"))
self.State_icon.setScaledContents(True)
self.State_icon.setAlignment(QtCore.Qt.AlignCenter)
self.State_icon.setObjectName("State_icon")
self.State_output = QtWidgets.QTextEdit(self.State_widget)
self.State_output.setGeometry(QtCore.QRect(50, 300, 571, 151))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setBold(False)
font.setItalic(False)
font.setWeight(50)
font.setStrikeOut(False)
font.setKerning(True)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.State_output.setFont(font)
self.State_output.setAutoFillBackground(False)
self.State_output.setStyleSheet("")
self.State_output.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.State_output.setFrameShadow(QtWidgets.QFrame.Sunken)
self.State_output.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustIgnored)
self.State_output.setUndoRedoEnabled(True)
self.State_output.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
self.State_output.setObjectName("State_output")
self.State_log = QtWidgets.QLabel(self.State_widget)
self.State_log.setGeometry(QtCore.QRect(50, 260, 571, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setBold(False)
font.setWeight(50)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.State_log.setFont(font)
self.State_log.setStyleSheet("")
self.State_log.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.State_log.setObjectName("State_log")
self.About_widget = QtWidgets.QWidget(self.widget)
self.About_widget.setGeometry(QtCore.QRect(170, 50, 671, 481))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(11)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.About_widget.setFont(font)
self.About_widget.setStyleSheet("background-color: rgb(255, 255, 255);")
self.About_widget.setObjectName("About_widget")
self.About_Back = QtWidgets.QPushButton(self.About_widget)
self.About_Back.setGeometry(QtCore.QRect(20, 10, 101, 41))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.About_Back.sizePolicy().hasHeightForWidth())
self.About_Back.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.About_Back.setFont(font)
self.About_Back.setFocusPolicy(QtCore.Qt.StrongFocus)
self.About_Back.setStyleSheet("QPushButton{border:none; background-color:rgba(0,0,0,0); color:rgba(60,60,60,200);} QPushButton:hover{ color:rgba(60,60,60,255);}")
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/icon/Back.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.About_Back.setIcon(icon5)
self.About_Back.setIconSize(QtCore.QSize(20, 20))
self.About_Back.setCheckable(False)
self.About_Back.setObjectName("About_Back")
self.PYAS_Version = QtWidgets.QLabel(self.About_widget)
self.PYAS_Version.setGeometry(QtCore.QRect(45, 50, 571, 41))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(15)
font.setBold(False)
font.setUnderline(False)
font.setWeight(50)
self.PYAS_Version.setFont(font)
self.PYAS_Version.setStyleSheet("")
self.PYAS_Version.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.PYAS_Version.setObjectName("PYAS_Version")
self.GUI_Made_title = QtWidgets.QLabel(self.About_widget)
self.GUI_Made_title.setGeometry(QtCore.QRect(45, 100, 131, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.GUI_Made_title.setFont(font)
self.GUI_Made_title.setStyleSheet("")
self.GUI_Made_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.GUI_Made_title.setObjectName("GUI_Made_title")
self.GUI_Made_Name = QtWidgets.QLabel(self.About_widget)
self.GUI_Made_Name.setGeometry(QtCore.QRect(185, 100, 441, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.GUI_Made_Name.setFont(font)
self.GUI_Made_Name.setStyleSheet("")
self.GUI_Made_Name.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.GUI_Made_Name.setObjectName("GUI_Made_Name")
self.Core_Made_title = QtWidgets.QLabel(self.About_widget)
self.Core_Made_title.setGeometry(QtCore.QRect(45, 140, 131, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.Core_Made_title.setFont(font)
self.Core_Made_title.setStyleSheet("")
self.Core_Made_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Core_Made_title.setObjectName("Core_Made_title")
self.Core_Made_Name = QtWidgets.QLabel(self.About_widget)
self.Core_Made_Name.setGeometry(QtCore.QRect(185, 140, 441, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.Core_Made_Name.setFont(font)
self.Core_Made_Name.setStyleSheet("")
self.Core_Made_Name.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Core_Made_Name.setObjectName("Core_Made_Name")
self.Testers_title = QtWidgets.QLabel(self.About_widget)
self.Testers_title.setGeometry(QtCore.QRect(45, 180, 131, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.Testers_title.setFont(font)
self.Testers_title.setStyleSheet("")
self.Testers_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Testers_title.setObjectName("Testers_title")
self.Testers_Name = QtWidgets.QLabel(self.About_widget)
self.Testers_Name.setGeometry(QtCore.QRect(185, 180, 441, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.Testers_Name.setFont(font)
self.Testers_Name.setStyleSheet("")
self.Testers_Name.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.Testers_Name.setObjectName("Testers_Name")
self.PYAS_URL_title = QtWidgets.QLabel(self.About_widget)
self.PYAS_URL_title.setGeometry(QtCore.QRect(45, 220, 131, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)
self.PYAS_URL_title.setFont(font)
self.PYAS_URL_title.setStyleSheet("")
self.PYAS_URL_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.PYAS_URL_title.setObjectName("PYAS_URL_title")
self.PYAS_URL = QtWidgets.QLabel(self.About_widget)
self.PYAS_URL.setGeometry(QtCore.QRect(185, 220, 441, 31))
font = QtGui.QFont()
font.setFamily("Microsoft YaHei")
font.setPointSize(13)
font.setBold(False)
font.setWeight(50)