|
|
|
@@ -2,7 +2,7 @@ from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
from PyQt5.QtGui import *
|
|
|
|
|
from PyQt5.QtCore import *
|
|
|
|
|
from PyQt5.QtWidgets import *
|
|
|
|
|
import sys, PYAS_UI_rc
|
|
|
|
|
import sys, PYAS_Resource
|
|
|
|
|
|
|
|
|
|
class Ui_MainWindow(object):
|
|
|
|
|
def setupUi(self, MainWindow):
|
|
|
|
@@ -16,7 +16,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
MainWindow.setFocusPolicy(QtCore.Qt.TabFocus)
|
|
|
|
|
icon = QtGui.QIcon(QFileIconProvider().icon(QFileInfo(str(sys.argv[0]))))
|
|
|
|
|
MainWindow.setWindowIcon(icon)
|
|
|
|
|
MainWindow.setIconSize(QtCore.QSize(24, 24))
|
|
|
|
|
MainWindow.setIconSize(QtCore.QSize(64, 64))
|
|
|
|
|
MainWindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
|
|
|
|
|
MainWindow.setDocumentMode(False)
|
|
|
|
|
self.centralwidget = QtWidgets.QWidget(MainWindow)
|
|
|
|
@@ -49,7 +49,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Protection_title.setGeometry(QtCore.QRect(10, 10, 461, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
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);")
|
|
|
|
@@ -60,6 +62,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
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);")
|
|
|
|
@@ -103,7 +107,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Protection_title_2.setGeometry(QtCore.QRect(10, 10, 461, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
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);")
|
|
|
|
@@ -114,6 +120,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
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);")
|
|
|
|
@@ -157,7 +165,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Protection_title_3.setGeometry(QtCore.QRect(10, 10, 461, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
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);")
|
|
|
|
@@ -211,7 +221,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Protection_title_4.setGeometry(QtCore.QRect(10, 10, 461, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
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);")
|
|
|
|
@@ -265,7 +277,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Protection_title_5.setGeometry(QtCore.QRect(10, 10, 461, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
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);")
|
|
|
|
@@ -341,6 +355,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
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))
|
|
|
|
@@ -361,7 +377,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(255, 255, 255,110);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.State_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
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)
|
|
|
|
@@ -374,6 +393,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
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))
|
|
|
|
@@ -394,7 +415,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(255, 255, 255,110);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Virus_Scan_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
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)
|
|
|
|
@@ -407,10 +431,15 @@ class Ui_MainWindow(object):
|
|
|
|
|
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"
|
|
|
|
@@ -427,7 +456,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(255, 255, 255,110);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Tools_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
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)
|
|
|
|
@@ -440,6 +472,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
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))
|
|
|
|
@@ -460,13 +494,16 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(255, 255, 255,110);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Protection_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
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(25, 50, 5, 30))
|
|
|
|
|
self.label.setGeometry(QtCore.QRect(20, 50, 5, 30))
|
|
|
|
|
self.label.setMouseTracking(False)
|
|
|
|
|
self.label.setAutoFillBackground(False)
|
|
|
|
|
self.label.setStyleSheet("QPushButton#label\n"
|
|
|
|
@@ -476,6 +513,8 @@ class Ui_MainWindow(object):
|
|
|
|
|
"}")
|
|
|
|
|
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)
|
|
|
|
@@ -493,7 +532,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Virus_Scan_title.setGeometry(QtCore.QRect(45, 30, 281, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
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)
|
|
|
|
@@ -534,9 +575,6 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(100,220,100,200);\n"
|
|
|
|
|
"}")
|
|
|
|
|
icon1 = QtGui.QIcon()
|
|
|
|
|
icon1.addPixmap(QtGui.QPixmap(":/icon/Icon/multimedia.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Virus_Scan_choose_Button.setIcon(icon1)
|
|
|
|
|
self.Virus_Scan_choose_Button.setIconSize(QtCore.QSize(10, 10))
|
|
|
|
|
self.Virus_Scan_choose_Button.setCheckable(False)
|
|
|
|
|
self.Virus_Scan_choose_Button.setAutoRepeat(False)
|
|
|
|
@@ -549,6 +587,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Virus_Scan_output = QtWidgets.QListView(self.Virus_Scan_widget)
|
|
|
|
|
self.Virus_Scan_output.setEnabled(True)
|
|
|
|
|
self.Virus_Scan_output.setGeometry(QtCore.QRect(45, 150, 581, 301))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
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"
|
|
|
|
@@ -754,33 +795,40 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(94, 210, 481, 51))
|
|
|
|
|
self.State_title.setGeometry(QtCore.QRect(50, 210, 571, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(14)
|
|
|
|
|
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(255, 50, 161, 151))
|
|
|
|
|
self.State_icon.setGeometry(QtCore.QRect(250, 20, 171, 171))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(1)
|
|
|
|
|
font.setKerning(True)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.State_icon.setFont(font)
|
|
|
|
|
self.State_icon.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
|
|
|
|
|
self.State_icon.setFrameShape(QtWidgets.QFrame.NoFrame)
|
|
|
|
|
self.State_icon.setLineWidth(1)
|
|
|
|
|
self.State_icon.setText("")
|
|
|
|
|
self.State_icon.setPixmap(QtGui.QPixmap(":/icon/Icon/check.png"))
|
|
|
|
|
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(95, 300, 481, 151))
|
|
|
|
|
self.State_output.setGeometry(QtCore.QRect(50, 300, 571, 151))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setItalic(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
@@ -792,7 +840,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(95, 260, 481, 31))
|
|
|
|
|
self.State_log.setGeometry(QtCore.QRect(50, 260, 571, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
@@ -836,17 +884,17 @@ class Ui_MainWindow(object):
|
|
|
|
|
" color:rgba(60,60,60,255);\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"")
|
|
|
|
|
icon2 = QtGui.QIcon()
|
|
|
|
|
icon2.addPixmap(QtGui.QPixmap(":/icon/Icon/exit2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.About_Back.setIcon(icon2)
|
|
|
|
|
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(40, 50, 591, 41))
|
|
|
|
|
self.PYAS_Version.setGeometry(QtCore.QRect(45, 50, 571, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(14)
|
|
|
|
|
font.setPointSize(15)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setUnderline(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
@@ -855,7 +903,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(40, 100, 131, 41))
|
|
|
|
|
self.GUI_Made_title.setGeometry(QtCore.QRect(45, 100, 131, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -866,7 +914,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(180, 100, 451, 41))
|
|
|
|
|
self.GUI_Made_Name.setGeometry(QtCore.QRect(185, 100, 441, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -877,7 +925,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(40, 140, 131, 41))
|
|
|
|
|
self.Core_Made_title.setGeometry(QtCore.QRect(45, 140, 131, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -888,7 +936,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(180, 140, 451, 41))
|
|
|
|
|
self.Core_Made_Name.setGeometry(QtCore.QRect(185, 140, 441, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -899,7 +947,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(40, 180, 131, 41))
|
|
|
|
|
self.Testers_title.setGeometry(QtCore.QRect(45, 180, 131, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -910,7 +958,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(180, 180, 451, 41))
|
|
|
|
|
self.Testers_Name.setGeometry(QtCore.QRect(185, 180, 441, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -921,7 +969,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(40, 220, 131, 41))
|
|
|
|
|
self.PYAS_URL_title.setGeometry(QtCore.QRect(45, 220, 131, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -932,7 +980,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
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(180, 220, 451, 41))
|
|
|
|
|
self.PYAS_URL.setGeometry(QtCore.QRect(185, 220, 441, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -944,10 +992,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.PYAS_URL.setOpenExternalLinks(True)
|
|
|
|
|
self.PYAS_URL.setObjectName("PYAS_URL")
|
|
|
|
|
self.PYAS_CopyRight = QtWidgets.QLabel(self.About_widget)
|
|
|
|
|
self.PYAS_CopyRight.setGeometry(QtCore.QRect(40, 430, 591, 41))
|
|
|
|
|
self.PYAS_CopyRight.setGeometry(QtCore.QRect(45, 430, 581, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
self.PYAS_CopyRight.setFont(font)
|
|
|
|
@@ -955,12 +1003,15 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.PYAS_CopyRight.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
|
|
|
|
self.PYAS_CopyRight.setObjectName("PYAS_CopyRight")
|
|
|
|
|
self.License_terms = QtWidgets.QTextEdit(self.About_widget)
|
|
|
|
|
self.License_terms.setGeometry(QtCore.QRect(40, 310, 591, 121))
|
|
|
|
|
self.License_terms.setGeometry(QtCore.QRect(45, 300, 581, 131))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
self.License_terms.setFont(font)
|
|
|
|
|
self.License_terms.setStyleSheet("")
|
|
|
|
|
self.License_terms.setReadOnly(True)
|
|
|
|
|
self.License_terms.setObjectName("License_terms")
|
|
|
|
|
self.License_terms_title = QtWidgets.QLabel(self.About_widget)
|
|
|
|
|
self.License_terms_title.setGeometry(QtCore.QRect(40, 260, 591, 41))
|
|
|
|
|
self.License_terms_title.setGeometry(QtCore.QRect(45, 260, 581, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
@@ -1011,10 +1062,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
" background-color:rgba(255, 255, 255,220);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Close_Button.setText("")
|
|
|
|
|
icon3 = QtGui.QIcon()
|
|
|
|
|
icon3.addPixmap(QtGui.QPixmap(":/icon/Icon/X.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Close_Button.setIcon(icon3)
|
|
|
|
|
self.Close_Button.setIconSize(QtCore.QSize(13, 13))
|
|
|
|
|
icon6 = QtGui.QIcon()
|
|
|
|
|
icon6.addPixmap(QtGui.QPixmap(":/icon/Close.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Close_Button.setIcon(icon6)
|
|
|
|
|
self.Close_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Close_Button.setCheckable(False)
|
|
|
|
|
self.Close_Button.setObjectName("Close_Button")
|
|
|
|
|
self.Minimize_Button = QtWidgets.QPushButton(self.Window_widget)
|
|
|
|
@@ -1045,17 +1096,17 @@ class Ui_MainWindow(object):
|
|
|
|
|
" background-color:rgba(255, 255, 255,220);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Minimize_Button.setText("")
|
|
|
|
|
icon4 = QtGui.QIcon()
|
|
|
|
|
icon4.addPixmap(QtGui.QPixmap(":/icon/Icon/minimizeIcon.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Minimize_Button.setIcon(icon4)
|
|
|
|
|
self.Minimize_Button.setIconSize(QtCore.QSize(20, 20))
|
|
|
|
|
icon7 = QtGui.QIcon()
|
|
|
|
|
icon7.addPixmap(QtGui.QPixmap(":/icon/Minimize.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Minimize_Button.setIcon(icon7)
|
|
|
|
|
self.Minimize_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Minimize_Button.setCheckable(False)
|
|
|
|
|
self.Minimize_Button.setObjectName("Minimize_Button")
|
|
|
|
|
self.Window_title = QtWidgets.QLabel(self.Window_widget)
|
|
|
|
|
self.Window_title.setGeometry(QtCore.QRect(10, 0, 691, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(14)
|
|
|
|
|
font.setPointSize(15)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
self.Window_title.setFont(font)
|
|
|
|
@@ -1090,10 +1141,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
" background-color:rgba(255, 255, 255,220);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Menu_Button.setText("")
|
|
|
|
|
icon5 = QtGui.QIcon()
|
|
|
|
|
icon5.addPixmap(QtGui.QPixmap(":/icon/Icon/Menu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Menu_Button.setIcon(icon5)
|
|
|
|
|
self.Menu_Button.setIconSize(QtCore.QSize(19, 19))
|
|
|
|
|
icon8 = QtGui.QIcon()
|
|
|
|
|
icon8.addPixmap(QtGui.QPixmap(":/icon/Menu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
|
|
|
self.Menu_Button.setIcon(icon8)
|
|
|
|
|
self.Menu_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Menu_Button.setCheckable(False)
|
|
|
|
|
self.Menu_Button.setObjectName("Menu_Button")
|
|
|
|
|
self.Process_widget = QtWidgets.QWidget(self.widget)
|
|
|
|
@@ -1106,7 +1157,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Process_widget.setStyleSheet("background-color:rgba(255, 255, 255,240);")
|
|
|
|
|
self.Process_widget.setObjectName("Process_widget")
|
|
|
|
|
self.Process_Tools_Back = QtWidgets.QPushButton(self.Process_widget)
|
|
|
|
|
self.Process_Tools_Back.setGeometry(QtCore.QRect(10, 10, 101, 41))
|
|
|
|
|
self.Process_Tools_Back.setGeometry(QtCore.QRect(20, 10, 101, 41))
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@@ -1129,14 +1180,15 @@ class Ui_MainWindow(object):
|
|
|
|
|
" color:rgba(60,60,60,255);\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"")
|
|
|
|
|
self.Process_Tools_Back.setIcon(icon2)
|
|
|
|
|
self.Process_Tools_Back.setIcon(icon5)
|
|
|
|
|
self.Process_Tools_Back.setIconSize(QtCore.QSize(20, 20))
|
|
|
|
|
self.Process_Tools_Back.setCheckable(False)
|
|
|
|
|
self.Process_Tools_Back.setObjectName("Process_Tools_Back")
|
|
|
|
|
self.Process_list = QtWidgets.QListView(self.Process_widget)
|
|
|
|
|
self.Process_list.setGeometry(QtCore.QRect(30, 60, 611, 361))
|
|
|
|
|
self.Process_list.setGeometry(QtCore.QRect(40, 60, 591, 361))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(9)
|
|
|
|
|
self.Process_list.setFont(font)
|
|
|
|
|
self.Process_list.setStyleSheet("QWidget::item\n"
|
|
|
|
|
"{\n"
|
|
|
|
@@ -1168,10 +1220,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Process_list.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerItem)
|
|
|
|
|
self.Process_list.setObjectName("Process_list")
|
|
|
|
|
self.Process_Total_title = QtWidgets.QLabel(self.Process_widget)
|
|
|
|
|
self.Process_Total_title.setGeometry(QtCore.QRect(30, 425, 141, 41))
|
|
|
|
|
self.Process_Total_title.setGeometry(QtCore.QRect(40, 425, 131, 41))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
self.Process_Total_title.setFont(font)
|
|
|
|
@@ -1179,12 +1231,13 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Process_Total_title.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
|
|
|
|
self.Process_Total_title.setObjectName("Process_Total_title")
|
|
|
|
|
self.Process_Total_View = QtWidgets.QLineEdit(self.Process_widget)
|
|
|
|
|
self.Process_Total_View.setGeometry(QtCore.QRect(180, 430, 461, 31))
|
|
|
|
|
self.Process_Total_View.setGeometry(QtCore.QRect(180, 430, 451, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Process_Total_View.setFont(font)
|
|
|
|
|
self.Process_Total_View.setText("")
|
|
|
|
|
self.Process_Total_View.setReadOnly(True)
|
|
|
|
|
self.Process_Total_View.setObjectName("Process_Total_View")
|
|
|
|
|
self.Tools_widget = QtWidgets.QWidget(self.widget)
|
|
|
|
@@ -1234,7 +1287,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.System_Process_Manage_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.System_Process_Manage_Button.setFont(font)
|
|
|
|
|
self.System_Process_Manage_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
@@ -1256,36 +1309,6 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.System_Process_Manage_Button.setCheckable(False)
|
|
|
|
|
self.System_Process_Manage_Button.setObjectName("System_Process_Manage_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.System_Process_Manage_Button)
|
|
|
|
|
self.Repair_System_Files_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.Repair_System_Files_Button.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.Repair_System_Files_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Repair_System_Files_Button.setFont(font)
|
|
|
|
|
self.Repair_System_Files_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
|
self.Repair_System_Files_Button.setStyleSheet("QPushButton\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" border:none;\n"
|
|
|
|
|
" background-color:rgba(20,20,20,30);\n"
|
|
|
|
|
" border-radius: 15px;\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"QPushButton:hover\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(20,20,20,50);\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"QPushButton:pressed\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(20,20,20,70);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Repair_System_Files_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Repair_System_Files_Button.setCheckable(False)
|
|
|
|
|
self.Repair_System_Files_Button.setObjectName("Repair_System_Files_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Repair_System_Files_Button)
|
|
|
|
|
self.Clean_System_Files_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
@@ -1294,7 +1317,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Clean_System_Files_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Clean_System_Files_Button.setFont(font)
|
|
|
|
|
self.Clean_System_Files_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
@@ -1316,19 +1339,19 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Clean_System_Files_Button.setCheckable(False)
|
|
|
|
|
self.Clean_System_Files_Button.setObjectName("Clean_System_Files_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Clean_System_Files_Button)
|
|
|
|
|
self.Enable_Safe_Mode_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
self.Repair_System_Files_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.Enable_Safe_Mode_Button.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.Enable_Safe_Mode_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.Repair_System_Files_Button.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.Repair_System_Files_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Enable_Safe_Mode_Button.setFont(font)
|
|
|
|
|
self.Enable_Safe_Mode_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
|
self.Enable_Safe_Mode_Button.setStyleSheet("QPushButton\n"
|
|
|
|
|
self.Repair_System_Files_Button.setFont(font)
|
|
|
|
|
self.Repair_System_Files_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
|
self.Repair_System_Files_Button.setStyleSheet("QPushButton\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" border:none;\n"
|
|
|
|
|
" background-color:rgba(20,20,20,30);\n"
|
|
|
|
@@ -1342,23 +1365,23 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(20,20,20,70);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Enable_Safe_Mode_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Enable_Safe_Mode_Button.setCheckable(False)
|
|
|
|
|
self.Enable_Safe_Mode_Button.setObjectName("Enable_Safe_Mode_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Enable_Safe_Mode_Button)
|
|
|
|
|
self.Disable_Safe_Mode_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
self.Repair_System_Files_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Repair_System_Files_Button.setCheckable(False)
|
|
|
|
|
self.Repair_System_Files_Button.setObjectName("Repair_System_Files_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Repair_System_Files_Button)
|
|
|
|
|
self.Repair_System_Network_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.Disable_Safe_Mode_Button.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.Disable_Safe_Mode_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.Repair_System_Network_Button.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.Repair_System_Network_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Disable_Safe_Mode_Button.setFont(font)
|
|
|
|
|
self.Disable_Safe_Mode_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
|
self.Disable_Safe_Mode_Button.setStyleSheet("QPushButton\n"
|
|
|
|
|
self.Repair_System_Network_Button.setFont(font)
|
|
|
|
|
self.Repair_System_Network_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
|
self.Repair_System_Network_Button.setStyleSheet("QPushButton\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" border:none;\n"
|
|
|
|
|
" background-color:rgba(20,20,20,30);\n"
|
|
|
|
@@ -1372,10 +1395,40 @@ class Ui_MainWindow(object):
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(20,20,20,70);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Disable_Safe_Mode_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Disable_Safe_Mode_Button.setCheckable(False)
|
|
|
|
|
self.Disable_Safe_Mode_Button.setObjectName("Disable_Safe_Mode_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Disable_Safe_Mode_Button)
|
|
|
|
|
self.Repair_System_Network_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Repair_System_Network_Button.setCheckable(False)
|
|
|
|
|
self.Repair_System_Network_Button.setObjectName("Repair_System_Network_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Repair_System_Network_Button)
|
|
|
|
|
self.Window_Block_Button = QtWidgets.QPushButton(self.verticalLayoutWidget_4)
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
|
sizePolicy.setHeightForWidth(self.Window_Block_Button.sizePolicy().hasHeightForWidth())
|
|
|
|
|
self.Window_Block_Button.setSizePolicy(sizePolicy)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(13)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Window_Block_Button.setFont(font)
|
|
|
|
|
self.Window_Block_Button.setFocusPolicy(QtCore.Qt.StrongFocus)
|
|
|
|
|
self.Window_Block_Button.setStyleSheet("QPushButton\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" border:none;\n"
|
|
|
|
|
" background-color:rgba(20,20,20,30);\n"
|
|
|
|
|
" border-radius: 15px;\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"QPushButton:hover\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(20,20,20,50);\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"QPushButton:pressed\n"
|
|
|
|
|
"{\n"
|
|
|
|
|
" background-color:rgba(20,20,20,70);\n"
|
|
|
|
|
"}")
|
|
|
|
|
self.Window_Block_Button.setIconSize(QtCore.QSize(16, 16))
|
|
|
|
|
self.Window_Block_Button.setCheckable(False)
|
|
|
|
|
self.Window_Block_Button.setObjectName("Window_Block_Button")
|
|
|
|
|
self.System_verticalLayout.addWidget(self.Window_Block_Button)
|
|
|
|
|
self.widget_2 = QtWidgets.QWidget(self.widget)
|
|
|
|
|
self.widget_2.setGeometry(QtCore.QRect(170, 50, 671, 481))
|
|
|
|
|
self.widget_2.setStyleSheet("background-color:rgb(255, 255, 255);")
|
|
|
|
@@ -1398,7 +1451,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.high_sensitivity_title.setGeometry(QtCore.QRect(20, 10, 451, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
font.setPointSize(17)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.high_sensitivity_title.setFont(font)
|
|
|
|
|
self.high_sensitivity_title.setStyleSheet("color: rgb(70,70,70);")
|
|
|
|
@@ -1454,7 +1509,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Language_title.setGeometry(QtCore.QRect(20, 10, 361, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
font.setPointSize(17)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Language_title.setFont(font)
|
|
|
|
|
self.Language_title.setStyleSheet("color: rgb(70,70,70);")
|
|
|
|
@@ -1487,7 +1544,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Language_Traditional_Chinese = QtWidgets.QRadioButton(self.gridLayoutWidget)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Language_Traditional_Chinese.setFont(font)
|
|
|
|
|
self.Language_Traditional_Chinese.setObjectName("Language_Traditional_Chinese")
|
|
|
|
@@ -1495,7 +1552,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Language_Simplified_Chinese = QtWidgets.QRadioButton(self.gridLayoutWidget)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Language_Simplified_Chinese.setFont(font)
|
|
|
|
|
self.Language_Simplified_Chinese.setObjectName("Language_Simplified_Chinese")
|
|
|
|
@@ -1503,7 +1560,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Language_English = QtWidgets.QRadioButton(self.gridLayoutWidget)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Language_English.setFont(font)
|
|
|
|
|
self.Language_English.setObjectName("Language_English")
|
|
|
|
@@ -1520,7 +1577,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.cloud_services_title.setGeometry(QtCore.QRect(20, 10, 451, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
font.setPointSize(17)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.cloud_services_title.setFont(font)
|
|
|
|
|
self.cloud_services_title.setStyleSheet("color: rgb(70,70,70);")
|
|
|
|
@@ -1568,7 +1627,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.cloud_services_switch_Button.raise_()
|
|
|
|
|
self.cloud_services_title.raise_()
|
|
|
|
|
self.Setting_Back = QtWidgets.QPushButton(self.Setting_widget)
|
|
|
|
|
self.Setting_Back.setGeometry(QtCore.QRect(30, 10, 101, 41))
|
|
|
|
|
self.Setting_Back.setGeometry(QtCore.QRect(25, 10, 101, 41))
|
|
|
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
|
|
|
|
|
sizePolicy.setHorizontalStretch(0)
|
|
|
|
|
sizePolicy.setVerticalStretch(0)
|
|
|
|
@@ -1591,7 +1650,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
" color:rgba(60,60,60,255);\n"
|
|
|
|
|
"}\n"
|
|
|
|
|
"")
|
|
|
|
|
self.Setting_Back.setIcon(icon2)
|
|
|
|
|
self.Setting_Back.setIcon(icon5)
|
|
|
|
|
self.Setting_Back.setIconSize(QtCore.QSize(20, 20))
|
|
|
|
|
self.Setting_Back.setCheckable(False)
|
|
|
|
|
self.Setting_Back.setObjectName("Setting_Back")
|
|
|
|
@@ -1604,7 +1663,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Add_White_list_title.setGeometry(QtCore.QRect(20, 10, 451, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
font.setPointSize(17)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Add_White_list_title.setFont(font)
|
|
|
|
|
self.Add_White_list_title.setStyleSheet("color: rgb(70,70,70);")
|
|
|
|
@@ -1658,7 +1719,9 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Theme_title.setGeometry(QtCore.QRect(20, 10, 351, 31))
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(18)
|
|
|
|
|
font.setPointSize(17)
|
|
|
|
|
font.setBold(False)
|
|
|
|
|
font.setWeight(50)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Theme_title.setFont(font)
|
|
|
|
|
self.Theme_title.setStyleSheet("color: rgb(70,70,70);")
|
|
|
|
@@ -1691,7 +1754,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Theme_Black = QtWidgets.QRadioButton(self.gridLayoutWidget_2)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Theme_Black.setFont(font)
|
|
|
|
|
self.Theme_Black.setObjectName("Theme_Black")
|
|
|
|
@@ -1699,7 +1762,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Theme_White = QtWidgets.QRadioButton(self.gridLayoutWidget_2)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Theme_White.setFont(font)
|
|
|
|
|
self.Theme_White.setObjectName("Theme_White")
|
|
|
|
@@ -1707,7 +1770,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Theme_Yellow = QtWidgets.QRadioButton(self.gridLayoutWidget_2)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Theme_Yellow.setFont(font)
|
|
|
|
|
self.Theme_Yellow.setObjectName("Theme_Yellow")
|
|
|
|
@@ -1715,14 +1778,14 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Theme_Blue = QtWidgets.QRadioButton(self.gridLayoutWidget_2)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
self.Theme_Blue.setFont(font)
|
|
|
|
|
self.Theme_Blue.setObjectName("Theme_Blue")
|
|
|
|
|
self.gridLayout_2.addWidget(self.Theme_Blue, 2, 0, 1, 1)
|
|
|
|
|
self.Theme_Red = QtWidgets.QRadioButton(self.gridLayoutWidget_2)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Theme_Red.setFont(font)
|
|
|
|
|
self.Theme_Red.setObjectName("Theme_Red")
|
|
|
|
@@ -1730,7 +1793,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Theme_Green = QtWidgets.QRadioButton(self.gridLayoutWidget_2)
|
|
|
|
|
font = QtGui.QFont()
|
|
|
|
|
font.setFamily("Microsoft YaHei")
|
|
|
|
|
font.setPointSize(12)
|
|
|
|
|
font.setPointSize(11)
|
|
|
|
|
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
|
|
|
|
|
self.Theme_Green.setFont(font)
|
|
|
|
|
self.Theme_Green.setObjectName("Theme_Green")
|
|
|
|
@@ -1739,15 +1802,15 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Language_Choose_widget_2.raise_()
|
|
|
|
|
self.Theme_title.raise_()
|
|
|
|
|
self.Setting_widget.raise_()
|
|
|
|
|
self.State_widget.raise_()
|
|
|
|
|
self.About_widget.raise_()
|
|
|
|
|
self.Tools_widget.raise_()
|
|
|
|
|
self.widget_2.raise_()
|
|
|
|
|
self.Process_widget.raise_()
|
|
|
|
|
self.Virus_Scan_widget.raise_()
|
|
|
|
|
self.Window_widget.raise_()
|
|
|
|
|
self.Navigation_Bar.raise_()
|
|
|
|
|
self.Protection_widget.raise_()
|
|
|
|
|
self.About_widget.raise_()
|
|
|
|
|
self.Tools_widget.raise_()
|
|
|
|
|
self.Virus_Scan_widget.raise_()
|
|
|
|
|
self.State_widget.raise_()
|
|
|
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
|
|
|
|
|
|
|
|
self.retranslateUi(MainWindow)
|
|
|
|
@@ -1783,7 +1846,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Disk_Scan_Button.setText(_translate("MainWindow", "全盤掃描"))
|
|
|
|
|
self.Virus_Scan_Solve_Button.setText(_translate("MainWindow", "立即解決"))
|
|
|
|
|
self.Virus_Scan_Break_Button.setText(_translate("MainWindow", "停止掃描"))
|
|
|
|
|
self.State_title.setText(_translate("MainWindow", "這台電腦目前很安全"))
|
|
|
|
|
self.State_title.setText(_translate("MainWindow", "This Device Has Been Protect"))
|
|
|
|
|
self.State_log.setText(_translate("MainWindow", "日誌:"))
|
|
|
|
|
self.About_Back.setText(_translate("MainWindow", "返回"))
|
|
|
|
|
self.PYAS_Version.setText(_translate("MainWindow", "PYAS v2.3.5"))
|
|
|
|
@@ -1792,7 +1855,7 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Core_Made_title.setText(_translate("MainWindow", "核心製作:"))
|
|
|
|
|
self.Core_Made_Name.setText(_translate("MainWindow", "PYAS_Dev#0629"))
|
|
|
|
|
self.Testers_title.setText(_translate("MainWindow", "測試人員:"))
|
|
|
|
|
self.Testers_Name.setText(_translate("MainWindow", "mtkiao129#3921"))
|
|
|
|
|
self.Testers_Name.setText(_translate("MainWindow", "PYAS_Dev#0629"))
|
|
|
|
|
self.PYAS_URL_title.setText(_translate("MainWindow", "官方網站:"))
|
|
|
|
|
self.PYAS_URL.setText(_translate("MainWindow", "<html><head/><body><p><a href=\"https://xiaomi69ai.wixsite.com/pyas\"><span style=\" text-decoration: underline; color:#0000ff;\">https://xiaomi69ai.wixsite.com/pyas</span></a></p></body></html>"))
|
|
|
|
|
self.PYAS_CopyRight.setText(_translate("MainWindow", "Copyright© 2020-2022 PYAS Security"))
|
|
|
|
@@ -1802,10 +1865,10 @@ class Ui_MainWindow(object):
|
|
|
|
|
self.Process_Total_title.setText(_translate("MainWindow", "進程總數:"))
|
|
|
|
|
self.More_Tools_Back_Button.setText(_translate("MainWindow", "工具>"))
|
|
|
|
|
self.System_Process_Manage_Button.setText(_translate("MainWindow", "系統進程管理"))
|
|
|
|
|
self.Repair_System_Files_Button.setText(_translate("MainWindow", "修復系統檔案"))
|
|
|
|
|
self.Clean_System_Files_Button.setText(_translate("MainWindow", "清理系統檔案"))
|
|
|
|
|
self.Enable_Safe_Mode_Button.setText(_translate("MainWindow", "啟動安全模式"))
|
|
|
|
|
self.Disable_Safe_Mode_Button.setText(_translate("MainWindow", "關閉安全模式"))
|
|
|
|
|
self.Repair_System_Files_Button.setText(_translate("MainWindow", "修復系統檔案"))
|
|
|
|
|
self.Repair_System_Network_Button.setText(_translate("MainWindow", "修復系統網路"))
|
|
|
|
|
self.Window_Block_Button.setText(_translate("MainWindow", "軟體彈窗攔截"))
|
|
|
|
|
self.high_sensitivity_title.setText(_translate("MainWindow", "高靈敏度模式"))
|
|
|
|
|
self.high_sensitivity_illustrate.setText(_translate("MainWindow", "啟用此選項可以提高引擎的靈敏度"))
|
|
|
|
|
self.high_sensitivity_switch_Button.setText(_translate("MainWindow", "已關閉"))
|