from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MsgBox(object):
def setupUi(self, Form):
Form.setObjectName("Form")
Form.resize(354, 200)
self.gridLayout = QtWidgets.QGridLayout(Form)
self.gridLayout.setObjectName("gridLayout")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.msgLabel = QtWidgets.QLabel(Form)
self.msgLabel.setScaledContents(False)
self.msgLabel.setAlignment(QtCore.Qt.AlignCenter)
self.msgLabel.setObjectName("msgLabel")
self.verticalLayout.addWidget(self.msgLabel)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetMaximumSize)
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem)
self.okBtn = QtWidgets.QPushButton(Form)
self.okBtn.setMinimumSize(QtCore.QSize(0, 35))
self.okBtn.setObjectName("okBtn")
self.horizontalLayout.addWidget(self.okBtn)
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem1)
self.verticalLayout.addLayout(self.horizontalLayout)
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
self.retranslateUi(Form)
QtCore.QMetaObject.connectSlotsByName(Form)
def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "ERROR"))
self.msgLabel.setText(_translate("Form", "提示"))
self.okBtn.setText(_translate("Form", "好的"))
#gview1475 966 mW 1797 1024
class Ui_MW(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(1797, 1024)
MainWindow.setStyleSheet("QGroupBox{\n"
" background-color: #f7f6ee;\n"
" border-radius:5px;\n"
" border:2px solid #000000;\n"
" padding:5px;\n"
" font-family:\'Microsoft YaHei\';\n"
" font-size:14px;\n"
" }\n"
"QGroupBox:hover{\n"
" border:3px solid #385466;\n"
" }\n"
"QPushButton{\n"
" border:0px;\n"
" width:140px;\n"
" height:30px;\n"
" border-radius:5px;\n"
" \n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #536976, stop:1 #BBD2C5);\n"
" }\n"
"\n"
" QPushButton:hover{\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #DBDBDB, stop:1 #EAEAEA);\n"
" }\n"
" \n"
" QPushButton:pressed{\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #2c3e50, stop:1 #bdc3c7);\n"
" }\n"
"\n"
"")
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout_5 = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout_5.setObjectName("gridLayout_5")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.gridLayout_4 = QtWidgets.QGridLayout()
self.gridLayout_4.setObjectName("gridLayout_4")
self.miniBtn = QtWidgets.QPushButton(self.centralwidget)
self.miniBtn.setMinimumSize(QtCore.QSize(0, 35))
self.miniBtn.setMaximumSize(QtCore.QSize(93, 16777215))
self.miniBtn.setStyleSheet("QPushButton{\n"
" border:1px solid #000000;\n"
" width:140px;\n"
" height:30px;\n"
" color: rgb(255, 255, 255);\n"
" border-radius:2px;\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #000000, stop:1 #434343);\n"
" }\n"
"\n"
" QPushButton:hover{\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #DBDBDB, stop:1 #EAEAEA);\n"
" }\n"
" \n"
" QPushButton:pressed{\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #2c3e50, stop:1 #bdc3c7);\n"
" }\n"
"\n"
"")
self.miniBtn.setObjectName("miniBtn")
self.gridLayout_4.addWidget(self.miniBtn, 0, 0, 1, 1)
self.closeBtn = QtWidgets.QPushButton(self.centralwidget)
self.closeBtn.setMinimumSize(QtCore.QSize(0, 35))
self.closeBtn.setMaximumSize(QtCore.QSize(93, 16777215))
self.closeBtn.setStyleSheet("QPushButton{\n"
" border:1px solid #000000;\n"
" width:140px;\n"
" height:30px;\n"
" color: rgb(255, 255, 255);\n"
" border-radius:2px;\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #000000, stop:1 #434343);\n"
" }\n"
"\n"
" QPushButton:hover{\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #DBDBDB, stop:1 #EAEAEA);\n"
" }\n"
" \n"
" QPushButton:pressed{\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #2c3e50, stop:1 #bdc3c7);\n"
" }\n"
"\n"
"")
self.closeBtn.setObjectName("closeBtn")
self.gridLayout_4.addWidget(self.closeBtn, 0, 1, 1, 1)
self.helpBtn = QtWidgets.QPushButton(self.centralwidget)
self.helpBtn.setMinimumSize(QtCore.QSize(0, 35))
self.helpBtn.setMaximumSize(QtCore.QSize(93, 16777215))
self.helpBtn.setStyleSheet("QPushButton{\n"
" border:1px solid #000000;\n"
" width:140px;\n"
" height:30px;\n"
" color: rgb(255, 255, 255);\n"
" border-radius:2px;\n"
" background-color:qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 #000000, stop:1 #43434
白话Learning
- 粉丝: 4601
- 资源: 2983
最新资源
- Defender Control-禁止工具,一键永久关闭windows系统杀毒软件
- echarts中国省份数据.json
- DISC-Law-SFT-Triplet-released-Qwen
- ReduceMemory-windows内存释放工具(使用前建议将当前数据保存好)
- 清华大学 大学数学实验 实验内容及参考答案
- 音频人声分离,合成工具Audacity ,多轨音频编辑器
- Centos8.x通过RPM包升级OpenSSH9.6最新版 升级有风险,前务必做好快照,以免升级后出现异常影响业务
- Centos7.x通过RPM包升级OpenSSH9.6最新版 升级有风险,前务必做好快照,以免升级后出现异常影响业务
- Centos7.x通过RPM包升级OpenSSH9.9最新版 升级有风险,前务必做好快照,以免升级后出现异常影响业务
- Centos7.x通过RPM包升级OpenSSH9.8最新版 升级有风险,前务必做好快照,以免升级后出现异常影响业务
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈