加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ui_frmmain.py 30.50 KB
一键复制 编辑 原始数据 按行查看 历史
apud 提交于 2020-01-05 21:25 . v1.0.0
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'frmmain.ui'
#
# Created by: PyQt5 UI code generator 5.13.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_frmMain(object):
def setupUi(self, frmMain):
frmMain.setObjectName("frmMain")
frmMain.resize(900, 595)
frmMain.setStyleSheet("* {\n"
"font-family:\'微软雅黑\';\n"
"color:white;\n"
"}\n"
"\n"
"/*设置背景图片*/\n"
"QMainWindow{\n"
"border-image:url(\":/images/background_mainwnd.png\");\n"
"}\n"
"\n"
"/*ToolButton扁平化*/\n"
"QToolButton[objectName=\"skinToolButton\"] {\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"skinToolButton\"]:hover {\n"
"image:url(:/images/skin_hover.png);\n"
"}\n"
"QToolButton[objectName=\"skinToolButton\"]:pressed {\n"
"image:url(:/images/skin_pressed.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"feedToolButton\"] {\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"feedToolButton\"]:hover {\n"
"image:url(:/images/feedback_hover.png);\n"
"}\n"
"QToolButton[objectName=\"feedToolButton\"]:pressed {\n"
"image:url(:/images/feedback_pressed.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"menuToolButton\"] {\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"menuToolButton\"]:hover {\n"
"image:url(:/images/menu_hover.png);\n"
"}\n"
"QToolButton[objectName=\"menuToolButton\"]:pressed {\n"
"image:url(:/images/menu_pressed.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"minToolButton\"] {\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"minToolButton\"]:hover {\n"
"image:url(:/images/min_hover.png);\n"
"}\n"
"QToolButton[objectName=\"minToolButton\"]:pressed {\n"
"image:url(:/images/min_pressed.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"closeToolButton\"] {\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"closeToolButton\"]:hover {\n"
"image:url(:/images/close_hover.png);\n"
"}\n"
"QToolButton[objectName=\"closeToolButton\"]:pressed {\n"
"image:url(:/images/close_pressed.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"firewallToolButton\"] {\n"
"background-image:url(:/images/firewall_open_normal.png);\n"
"background-repeat:none;\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"firewallToolButton\"]:hover {\n"
"background-image:url(:/images/firewall_open_hover.png);\n"
"\n"
"}\n"
"QToolButton[objectName=\"firewallToolButton\"]:pressed {\n"
"background-image:url(:/images/firewall_open_press.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"guardToolButton\"] {\n"
"background-image:url(:/images/guard_open_normal.png);\n"
"background-repeat:none;\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"guardToolButton\"]:hover {\n"
"background-image:url(:/images/guard_open_hover.png);\n"
"\n"
"}\n"
"QToolButton[objectName=\"guardToolButton\"]:pressed {\n"
"background-image:url(:/images/guard_open_press.png);\n"
"}\n"
"\n"
"QToolButton[objectName=\"payinsureToolButton\"] {\n"
"background-image:url(:/images/payinsure_close_normal.png);\n"
"background-repeat:none;\n"
"border:0px;\n"
"}\n"
"QToolButton[objectName=\"payinsureToolButton\"]:hover {\n"
"background-image:url(:/images/payinsure_close_hover.png);\n"
"\n"
"}\n"
"QToolButton[objectName=\"payinsureToolButton\"]:pressed {\n"
"background-image:url(:/images/payinsure_close_press.png);\n"
"}\n"
"\n"
"/*三文本颜色*/\n"
"QToolButton[objectName=\"firewallToolButton\"],QToolButton[objectName=\"guardToolButton\"],QToolButton[objectName=\"payinsureToolButton\"] {\n"
"background-position:10px 10px;\n"
"color:black;\n"
"}\n"
"\n"
"\n"
"\n"
"/*stackedWidget*/\n"
"QStackedWidget {\n"
"background-color:white;\n"
"}\n"
"\n"
"/*立即体检按钮*/\n"
"QToolButton[objectName=\"checkToolButton\"] {\n"
"border-radius:5px;\n"
"}\n"
"QToolButton[objectName=\"checkToolButton\"]:hover {\n"
"image:url(:/images/check_hover.png);\n"
"}\n"
"QToolButton[objectName=\"checkToolButton\"]:pressed {\n"
"image:url(:/images/check_pressed.png);\n"
"}\n"
"\n"
"/**/\n"
"QStackedWidget QToolButton {\n"
"color:black;\n"
"}\n"
"QToolButton::hover{\n"
"border:0px;\n"
"} \n"
"")
self.centralWidget = QtWidgets.QWidget(frmMain)
self.centralWidget.setObjectName("centralWidget")
self.stackedWidget = QtWidgets.QStackedWidget(self.centralWidget)
self.stackedWidget.setGeometry(QtCore.QRect(0, 124, 900, 471))
self.stackedWidget.setStyleSheet("")
self.stackedWidget.setObjectName("stackedWidget")
self.page = QtWidgets.QWidget()
self.page.setObjectName("page")
self.line_2 = QtWidgets.QFrame(self.page)
self.line_2.setGeometry(QtCore.QRect(668, 120, 231, 20))
self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.line_3 = QtWidgets.QFrame(self.page)
self.line_3.setGeometry(QtCore.QRect(668, 210, 231, 20))
self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_3.setObjectName("line_3")
self.line_4 = QtWidgets.QFrame(self.page)
self.line_4.setGeometry(QtCore.QRect(740, 130, 20, 88))
self.line_4.setFrameShape(QtWidgets.QFrame.VLine)
self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_4.setObjectName("line_4")
self.line_5 = QtWidgets.QFrame(self.page)
self.line_5.setGeometry(QtCore.QRect(820, 130, 20, 88))
self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line_5.setObjectName("line_5")
self.layoutWidget = QtWidgets.QWidget(self.page)
self.layoutWidget.setGeometry(QtCore.QRect(40, 110, 536, 120))
self.layoutWidget.setObjectName("layoutWidget")
self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.layoutWidget)
self.horizontalLayout_7.setContentsMargins(11, 11, 11, 11)
self.horizontalLayout_7.setSpacing(50)
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
self.label_4 = QtWidgets.QLabel(self.layoutWidget)
self.label_4.setText("")
self.label_4.setPixmap(QtGui.QPixmap(":/images/error.png"))
self.label_4.setScaledContents(False)
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
self.label_4.setWordWrap(False)
self.label_4.setObjectName("label_4")
self.horizontalLayout_7.addWidget(self.label_4)
self.label_5 = QtWidgets.QLabel(self.layoutWidget)
self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.label_5.setObjectName("label_5")
self.horizontalLayout_7.addWidget(self.label_5)
self.checkToolButton = QtWidgets.QToolButton(self.page)
self.checkToolButton.setGeometry(QtCore.QRect(230, 290, 169, 69))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(":/images/check_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.checkToolButton.setIcon(icon)
self.checkToolButton.setIconSize(QtCore.QSize(166, 66))
self.checkToolButton.setObjectName("checkToolButton")
self.line = QtWidgets.QFrame(self.page)
self.line.setGeometry(QtCore.QRect(660, 1, 16, 495))
self.line.setFrameShape(QtWidgets.QFrame.VLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.label_6 = QtWidgets.QLabel(self.page)
self.label_6.setGeometry(QtCore.QRect(675, 10, 220, 111))
self.label_6.setText("")
self.label_6.setPixmap(QtGui.QPixmap(":/images/register_bg.png"))
self.label_6.setAlignment(QtCore.Qt.AlignCenter)
self.label_6.setObjectName("label_6")
self.layoutWidget1 = QtWidgets.QWidget(self.page)
self.layoutWidget1.setGeometry(QtCore.QRect(670, 230, 231, 261))
self.layoutWidget1.setObjectName("layoutWidget1")
self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget1)
self.gridLayout.setContentsMargins(11, 11, 11, 11)
self.gridLayout.setSpacing(6)
self.gridLayout.setObjectName("gridLayout")
self.toolButtonOne = QtWidgets.QToolButton(self.layoutWidget1)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/images/net_pretext.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonOne.setIcon(icon1)
self.toolButtonOne.setIconSize(QtCore.QSize(48, 48))
self.toolButtonOne.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonOne.setAutoRaise(True)
self.toolButtonOne.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonOne.setObjectName("toolButtonOne")
self.gridLayout.addWidget(self.toolButtonOne, 0, 0, 1, 1)
self.toolButtonTwo = QtWidgets.QToolButton(self.layoutWidget1)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/images/mobile.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonTwo.setIcon(icon2)
self.toolButtonTwo.setIconSize(QtCore.QSize(48, 48))
self.toolButtonTwo.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonTwo.setAutoRaise(True)
self.toolButtonTwo.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonTwo.setObjectName("toolButtonTwo")
self.gridLayout.addWidget(self.toolButtonTwo, 0, 1, 1, 1)
self.toolButtonThree = QtWidgets.QToolButton(self.layoutWidget1)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/images/net_repair.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonThree.setIcon(icon3)
self.toolButtonThree.setIconSize(QtCore.QSize(48, 48))
self.toolButtonThree.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonThree.setAutoRaise(True)
self.toolButtonThree.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonThree.setObjectName("toolButtonThree")
self.gridLayout.addWidget(self.toolButtonThree, 0, 2, 1, 1)
self.toolButtonFour = QtWidgets.QToolButton(self.layoutWidget1)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/images/net_speed.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonFour.setIcon(icon4)
self.toolButtonFour.setIconSize(QtCore.QSize(48, 48))
self.toolButtonFour.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonFour.setAutoRaise(True)
self.toolButtonFour.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonFour.setObjectName("toolButtonFour")
self.gridLayout.addWidget(self.toolButtonFour, 1, 0, 1, 1)
self.toolButtonFive = QtWidgets.QToolButton(self.layoutWidget1)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/images/recovery.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonFive.setIcon(icon5)
self.toolButtonFive.setIconSize(QtCore.QSize(48, 48))
self.toolButtonFive.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonFive.setAutoRaise(True)
self.toolButtonFive.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonFive.setObjectName("toolButtonFive")
self.gridLayout.addWidget(self.toolButtonFive, 1, 1, 1, 1)
self.toolButtonSix = QtWidgets.QToolButton(self.layoutWidget1)
self.toolButtonSix.setIcon(icon1)
self.toolButtonSix.setIconSize(QtCore.QSize(48, 48))
self.toolButtonSix.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonSix.setAutoRaise(True)
self.toolButtonSix.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonSix.setObjectName("toolButtonSix")
self.gridLayout.addWidget(self.toolButtonSix, 1, 2, 1, 1)
self.toolButtonSeven = QtWidgets.QToolButton(self.layoutWidget1)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/images/desktop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonSeven.setIcon(icon6)
self.toolButtonSeven.setIconSize(QtCore.QSize(48, 48))
self.toolButtonSeven.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonSeven.setAutoRaise(True)
self.toolButtonSeven.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonSeven.setObjectName("toolButtonSeven")
self.gridLayout.addWidget(self.toolButtonSeven, 2, 0, 1, 1)
self.toolButtonEight = QtWidgets.QToolButton(self.layoutWidget1)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/images/game_box.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonEight.setIcon(icon7)
self.toolButtonEight.setIconSize(QtCore.QSize(48, 48))
self.toolButtonEight.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonEight.setAutoRaise(True)
self.toolButtonEight.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonEight.setObjectName("toolButtonEight")
self.gridLayout.addWidget(self.toolButtonEight, 2, 1, 1, 1)
self.toolButtonNine = QtWidgets.QToolButton(self.layoutWidget1)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/images/first_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.toolButtonNine.setIcon(icon8)
self.toolButtonNine.setIconSize(QtCore.QSize(48, 48))
self.toolButtonNine.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.toolButtonNine.setAutoRaise(True)
self.toolButtonNine.setArrowType(QtCore.Qt.NoArrow)
self.toolButtonNine.setObjectName("toolButtonNine")
self.gridLayout.addWidget(self.toolButtonNine, 2, 2, 1, 1)
self.firewallToolButton = QtWidgets.QToolButton(self.page)
self.firewallToolButton.setGeometry(QtCore.QRect(680, 140, 59, 111))
self.firewallToolButton.setMinimumSize(QtCore.QSize(59, 111))
self.firewallToolButton.setMaximumSize(QtCore.QSize(59, 111))
self.firewallToolButton.setIconSize(QtCore.QSize(50, 60))
self.firewallToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.firewallToolButton.setAutoRaise(True)
self.firewallToolButton.setArrowType(QtCore.Qt.NoArrow)
self.firewallToolButton.setObjectName("firewallToolButton")
self.guardToolButton = QtWidgets.QToolButton(self.page)
self.guardToolButton.setGeometry(QtCore.QRect(760, 140, 59, 111))
self.guardToolButton.setMinimumSize(QtCore.QSize(59, 111))
self.guardToolButton.setMaximumSize(QtCore.QSize(59, 111))
self.guardToolButton.setIconSize(QtCore.QSize(50, 60))
self.guardToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.guardToolButton.setAutoRaise(True)
self.guardToolButton.setArrowType(QtCore.Qt.NoArrow)
self.guardToolButton.setObjectName("guardToolButton")
self.payinsureToolButton = QtWidgets.QToolButton(self.page)
self.payinsureToolButton.setGeometry(QtCore.QRect(840, 140, 59, 111))
self.payinsureToolButton.setMinimumSize(QtCore.QSize(59, 111))
self.payinsureToolButton.setMaximumSize(QtCore.QSize(59, 111))
self.payinsureToolButton.setIconSize(QtCore.QSize(50, 60))
self.payinsureToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.payinsureToolButton.setAutoRaise(True)
self.payinsureToolButton.setArrowType(QtCore.Qt.NoArrow)
self.payinsureToolButton.setObjectName("payinsureToolButton")
self.stackedWidget.addWidget(self.page)
self.page_2 = QtWidgets.QWidget()
self.page_2.setObjectName("page_2")
self.label_7 = QtWidgets.QLabel(self.page_2)
self.label_7.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_7.setStyleSheet("background-color: rgb(255, 0, 127);")
self.label_7.setAlignment(QtCore.Qt.AlignCenter)
self.label_7.setObjectName("label_7")
self.stackedWidget.addWidget(self.page_2)
self.page_3 = QtWidgets.QWidget()
self.page_3.setObjectName("page_3")
self.label_8 = QtWidgets.QLabel(self.page_3)
self.label_8.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_8.setStyleSheet("background-color: rgb(255, 170, 0)")
self.label_8.setAlignment(QtCore.Qt.AlignCenter)
self.label_8.setObjectName("label_8")
self.stackedWidget.addWidget(self.page_3)
self.page_4 = QtWidgets.QWidget()
self.page_4.setObjectName("page_4")
self.label_9 = QtWidgets.QLabel(self.page_4)
self.label_9.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_9.setStyleSheet("background-color: rgb(170, 170, 127)")
self.label_9.setAlignment(QtCore.Qt.AlignCenter)
self.label_9.setObjectName("label_9")
self.stackedWidget.addWidget(self.page_4)
self.page_5 = QtWidgets.QWidget()
self.page_5.setObjectName("page_5")
self.label_10 = QtWidgets.QLabel(self.page_5)
self.label_10.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_10.setStyleSheet("background-color: rgb(0, 255, 127)")
self.label_10.setAlignment(QtCore.Qt.AlignCenter)
self.label_10.setObjectName("label_10")
self.stackedWidget.addWidget(self.page_5)
self.page_6 = QtWidgets.QWidget()
self.page_6.setObjectName("page_6")
self.label_11 = QtWidgets.QLabel(self.page_6)
self.label_11.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_11.setStyleSheet("background-color: rgb(0, 170, 127)")
self.label_11.setAlignment(QtCore.Qt.AlignCenter)
self.label_11.setObjectName("label_11")
self.stackedWidget.addWidget(self.page_6)
self.page_7 = QtWidgets.QWidget()
self.page_7.setObjectName("page_7")
self.label_12 = QtWidgets.QLabel(self.page_7)
self.label_12.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_12.setStyleSheet("background-color: rgb(85, 170, 255)")
self.label_12.setAlignment(QtCore.Qt.AlignCenter)
self.label_12.setObjectName("label_12")
self.stackedWidget.addWidget(self.page_7)
self.page_8 = QtWidgets.QWidget()
self.page_8.setObjectName("page_8")
self.label_13 = QtWidgets.QLabel(self.page_8)
self.label_13.setGeometry(QtCore.QRect(210, 60, 501, 361))
self.label_13.setStyleSheet("background-color: rgb(170, 0, 255)")
self.label_13.setAlignment(QtCore.Qt.AlignCenter)
self.label_13.setObjectName("label_13")
self.stackedWidget.addWidget(self.page_8)
self.layoutWidget2 = QtWidgets.QWidget(self.centralWidget)
self.layoutWidget2.setGeometry(QtCore.QRect(-8, 30, 911, 91))
self.layoutWidget2.setObjectName("layoutWidget2")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.layoutWidget2)
self.horizontalLayout_5.setContentsMargins(10, 11, 50, 11)
self.horizontalLayout_5.setSpacing(6)
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setContentsMargins(10, -1, 10, -1)
self.horizontalLayout.setSpacing(20)
self.horizontalLayout.setObjectName("horizontalLayout")
self.checkToolButton_2 = QtWidgets.QToolButton(self.layoutWidget2)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/images/ico_Examine.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.checkToolButton_2.setIcon(icon9)
self.checkToolButton_2.setIconSize(QtCore.QSize(48, 48))
self.checkToolButton_2.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.checkToolButton_2.setAutoRaise(True)
self.checkToolButton_2.setArrowType(QtCore.Qt.NoArrow)
self.checkToolButton_2.setObjectName("checkToolButton_2")
self.horizontalLayout.addWidget(self.checkToolButton_2)
self.killToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/images/ico_dsmain.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.killToolButton.setIcon(icon10)
self.killToolButton.setIconSize(QtCore.QSize(48, 48))
self.killToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.killToolButton.setAutoRaise(True)
self.killToolButton.setArrowType(QtCore.Qt.NoArrow)
self.killToolButton.setObjectName("killToolButton")
self.horizontalLayout.addWidget(self.killToolButton)
self.fixToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/images/ico_SysRepair.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.fixToolButton.setIcon(icon11)
self.fixToolButton.setIconSize(QtCore.QSize(48, 48))
self.fixToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.fixToolButton.setAutoRaise(True)
self.fixToolButton.setArrowType(QtCore.Qt.NoArrow)
self.fixToolButton.setObjectName("fixToolButton")
self.horizontalLayout.addWidget(self.fixToolButton)
self.rabToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/images/ico_TraceCleaner.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.rabToolButton.setIcon(icon12)
self.rabToolButton.setIconSize(QtCore.QSize(48, 48))
self.rabToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.rabToolButton.setAutoRaise(True)
self.rabToolButton.setArrowType(QtCore.Qt.NoArrow)
self.rabToolButton.setObjectName("rabToolButton")
self.horizontalLayout.addWidget(self.rabToolButton)
self.opToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/images/ico_SpeedupOpt.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.opToolButton.setIcon(icon13)
self.opToolButton.setIconSize(QtCore.QSize(48, 48))
self.opToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.opToolButton.setAutoRaise(True)
self.opToolButton.setArrowType(QtCore.Qt.NoArrow)
self.opToolButton.setObjectName("opToolButton")
self.horizontalLayout.addWidget(self.opToolButton)
self.exToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon14 = QtGui.QIcon()
icon14.addPixmap(QtGui.QPixmap(":/images/ico_expert.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.exToolButton.setIcon(icon14)
self.exToolButton.setIconSize(QtCore.QSize(48, 48))
self.exToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.exToolButton.setAutoRaise(True)
self.exToolButton.setArrowType(QtCore.Qt.NoArrow)
self.exToolButton.setObjectName("exToolButton")
self.horizontalLayout.addWidget(self.exToolButton)
self.mzToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon15 = QtGui.QIcon()
icon15.addPixmap(QtGui.QPixmap(":/images/ico_diannaomenzhen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.mzToolButton.setIcon(icon15)
self.mzToolButton.setIconSize(QtCore.QSize(48, 48))
self.mzToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.mzToolButton.setAutoRaise(True)
self.mzToolButton.setArrowType(QtCore.Qt.NoArrow)
self.mzToolButton.setObjectName("mzToolButton")
self.horizontalLayout.addWidget(self.mzToolButton)
self.gjToolButton = QtWidgets.QToolButton(self.layoutWidget2)
icon16 = QtGui.QIcon()
icon16.addPixmap(QtGui.QPixmap(":/images/ico_softmgr.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.gjToolButton.setIcon(icon16)
self.gjToolButton.setIconSize(QtCore.QSize(48, 48))
self.gjToolButton.setToolButtonStyle(QtCore.Qt.ToolButtonTextUnderIcon)
self.gjToolButton.setAutoRaise(True)
self.gjToolButton.setArrowType(QtCore.Qt.NoArrow)
self.gjToolButton.setObjectName("gjToolButton")
self.horizontalLayout.addWidget(self.gjToolButton)
self.horizontalLayout_5.addLayout(self.horizontalLayout)
spacerItem = QtWidgets.QSpacerItem(694, 88, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout_5.addItem(spacerItem)
self.label = QtWidgets.QLabel(self.layoutWidget2)
self.label.setText("")
self.label.setPixmap(QtGui.QPixmap(":/images/logo.png"))
self.label.setObjectName("label")
self.horizontalLayout_5.addWidget(self.label)
self.label_2 = QtWidgets.QLabel(self.centralWidget)
self.label_2.setGeometry(QtCore.QRect(10, 10, 127, 17))
self.label_2.setObjectName("label_2")
self.label_3 = QtWidgets.QLabel(self.centralWidget)
self.label_3.setGeometry(QtCore.QRect(700, 2, 26, 30))
self.label_3.setText("")
self.label_3.setPixmap(QtGui.QPixmap(":/images/medal.png"))
self.label_3.setObjectName("label_3")
self.skinToolButton = QtWidgets.QToolButton(self.centralWidget)
self.skinToolButton.setGeometry(QtCore.QRect(749, 0, 30, 28))
icon17 = QtGui.QIcon()
icon17.addPixmap(QtGui.QPixmap(":/images/skin_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.skinToolButton.setIcon(icon17)
self.skinToolButton.setIconSize(QtCore.QSize(27, 25))
self.skinToolButton.setObjectName("skinToolButton")
self.feedToolButton = QtWidgets.QToolButton(self.centralWidget)
self.feedToolButton.setGeometry(QtCore.QRect(779, 0, 30, 25))
icon18 = QtGui.QIcon()
icon18.addPixmap(QtGui.QPixmap(":/images/feedback_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.feedToolButton.setIcon(icon18)
self.feedToolButton.setIconSize(QtCore.QSize(27, 22))
self.feedToolButton.setObjectName("feedToolButton")
self.menuToolButton = QtWidgets.QToolButton(self.centralWidget)
self.menuToolButton.setGeometry(QtCore.QRect(809, 0, 30, 25))
icon19 = QtGui.QIcon()
icon19.addPixmap(QtGui.QPixmap(":/images/menu_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.menuToolButton.setIcon(icon19)
self.menuToolButton.setIconSize(QtCore.QSize(27, 22))
self.menuToolButton.setObjectName("menuToolButton")
self.minToolButton = QtWidgets.QToolButton(self.centralWidget)
self.minToolButton.setGeometry(QtCore.QRect(839, 0, 30, 25))
icon20 = QtGui.QIcon()
icon20.addPixmap(QtGui.QPixmap(":/images/min_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.minToolButton.setIcon(icon20)
self.minToolButton.setIconSize(QtCore.QSize(27, 22))
self.minToolButton.setObjectName("minToolButton")
self.closeToolButton = QtWidgets.QToolButton(self.centralWidget)
self.closeToolButton.setGeometry(QtCore.QRect(869, 0, 30, 25))
icon21 = QtGui.QIcon()
icon21.addPixmap(QtGui.QPixmap(":/images/close_normal.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.closeToolButton.setIcon(icon21)
self.closeToolButton.setIconSize(QtCore.QSize(27, 22))
self.closeToolButton.setObjectName("closeToolButton")
frmMain.setCentralWidget(self.centralWidget)
self.retranslateUi(frmMain)
self.stackedWidget.setCurrentIndex(0)
QtCore.QMetaObject.connectSlotsByName(frmMain)
def retranslateUi(self, frmMain):
_translate = QtCore.QCoreApplication.translate
frmMain.setWindowTitle(_translate("frmMain", "360安全卫士9.2 "))
self.label_5.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:12pt; color:#000000;\">您的电脑已经 </span><span style=\" font-size:14pt; color:#ff0000;\">24 </span><span style=\" font-size:12pt; color:#000000;\">天没有体检,建议立即体检!</span><br/></p><p><span style=\" font-size:10pt; color:#727272;\">系统可能已经存在大量风险,安全性和性能都在急速下降,</span><br/><span style=\" font-size:10pt; color:#727272;\">建议您每天坚持电脑体检,提高电脑的安全和性能</span></p></body></html>"))
self.checkToolButton.setText(_translate("frmMain", "..."))
self.toolButtonOne.setText(_translate("frmMain", "1"))
self.toolButtonTwo.setText(_translate("frmMain", "2"))
self.toolButtonThree.setText(_translate("frmMain", "3"))
self.toolButtonFour.setText(_translate("frmMain", "4"))
self.toolButtonFive.setText(_translate("frmMain", "5"))
self.toolButtonSix.setText(_translate("frmMain", "6"))
self.toolButtonSeven.setText(_translate("frmMain", "7"))
self.toolButtonEight.setText(_translate("frmMain", "8"))
self.toolButtonNine.setText(_translate("frmMain", "9"))
self.firewallToolButton.setText(_translate("frmMain", "木马防火墙"))
self.guardToolButton.setText(_translate("frmMain", "360保镖"))
self.payinsureToolButton.setText(_translate("frmMain", "网购先赔"))
self.label_7.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">木马查杀</span></p></body></html>"))
self.label_8.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">系统修复</span></p></body></html>"))
self.label_9.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">垃圾清理</span></p></body></html>"))
self.label_10.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">优化加速</span></p></body></html>"))
self.label_11.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">电脑专家</span></p></body></html>"))
self.label_12.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">电脑门诊</span></p></body></html>"))
self.label_13.setText(_translate("frmMain", "<html><head/><body><p><span style=\" font-size:36pt;\">软件管家</span></p></body></html>"))
self.checkToolButton_2.setText(_translate("frmMain", "电脑体检"))
self.killToolButton.setText(_translate("frmMain", "木马查杀"))
self.fixToolButton.setText(_translate("frmMain", "系统修复"))
self.rabToolButton.setText(_translate("frmMain", "垃圾清理"))
self.opToolButton.setText(_translate("frmMain", "优化加速"))
self.exToolButton.setText(_translate("frmMain", "电脑专家"))
self.mzToolButton.setText(_translate("frmMain", "电脑门诊"))
self.gjToolButton.setText(_translate("frmMain", "软件管家"))
self.label_2.setText(_translate("frmMain", "360安全卫士9.2 "))
self.skinToolButton.setText(_translate("frmMain", "..."))
self.feedToolButton.setText(_translate("frmMain", "..."))
self.menuToolButton.setText(_translate("frmMain", "..."))
self.minToolButton.setText(_translate("frmMain", "..."))
self.closeToolButton.setText(_translate("frmMain", "..."))
import res_rc
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化