代码拉取完成,页面将自动刷新
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'f:\Developments\PAI_Project\zhuce.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow2(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(700, 500)
MainWindow.setMinimumSize(QtCore.QSize(700, 500))
MainWindow.setMaximumSize(QtCore.QSize(700, 500))
MainWindow.setWindowOpacity(0.9)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.widget_2 = QtWidgets.QWidget(self.centralwidget)
self.widget_2.setGeometry(QtCore.QRect(0, 45, 420, 455))
self.widget_2.setStyleSheet("\n"
"background-color:rgb(212, 212, 212);\n"
"\n"
"border-bottom-left-radius:10px;")
self.widget_2.setObjectName("widget_2")
self.line = QtWidgets.QFrame(self.centralwidget)
self.line.setGeometry(QtCore.QRect(420, 45, 20, 455))
self.line.setStyleSheet("\n"
"background-color:rgb(212, 212, 212)")
self.line.setFrameShape(QtWidgets.QFrame.VLine)
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
self.line.setObjectName("line")
self.widget = QtWidgets.QWidget(self.centralwidget)
self.widget.setGeometry(QtCore.QRect(440, 45, 260, 455))
self.widget.setMinimumSize(QtCore.QSize(260, 455))
self.widget.setMaximumSize(QtCore.QSize(16777215, 455))
self.widget.setStyleSheet("\n"
"border-bottom-right-radius:10px;\n"
"background-color:rgb(212, 212, 212)")
self.widget.setObjectName("widget")
self.pushButton_3 = QtWidgets.QPushButton(self.widget)
self.pushButton_3.setGeometry(QtCore.QRect(40, 350, 160, 40))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.pushButton_3.setFont(font)
self.pushButton_3.setCursor(QtGui.QCursor(QtCore.Qt.OpenHandCursor))
self.pushButton_3.setStyleSheet("QPushButton\n"
"{\n"
"color:rgb(109, 109, 109);\n"
"background-color:rgb(0, 255, 255);\n"
"border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
"border-color: rgb(85, 255, 255);\n"
"border:3px solid rgb(68, 68, 68);\n"
"}\n"
"\n"
"\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgb(14 , 135 , 228); \n"
" padding-left:2px; \n"
" padding-top:3px;\n"
"}")
self.pushButton_3.setObjectName("pushButton_3")
self.lineEdit_2 = QtWidgets.QLineEdit(self.widget)
self.lineEdit_2.setGeometry(QtCore.QRect(0, 280, 131, 35))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(11)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.lineEdit_2.setFont(font)
self.lineEdit_2.setStyleSheet("QLineEdit{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgbrgb(121, 121, 121);\n"
"border-radius:7px\n"
"}\n"
"\n"
"QLineEdit:hover{\n"
"\n"
"background-color:white;\n"
"border: 2px solid rgb(88, 222, 222);\n"
"border-radius:6px\n"
"}\n"
"\n"
"QLineEdit:checked{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgb(88, 222, 222);\n"
"border-radius:4px\n"
"}\n"
"\n"
"")
self.lineEdit_2.setText("")
self.lineEdit_2.setEchoMode(QtWidgets.QLineEdit.Normal)
self.lineEdit_2.setObjectName("lineEdit_2")
self.lineEdit = QtWidgets.QLineEdit(self.widget)
self.lineEdit.setGeometry(QtCore.QRect(0, 230, 250, 35))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
self.lineEdit.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(11)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.lineEdit.setFont(font)
self.lineEdit.setStyleSheet("QLineEdit{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgbrgb(121, 121, 121);\n"
"border-radius:7px\n"
"}\n"
"\n"
"QLineEdit:hover{\n"
"\n"
"background-color:white;\n"
"border: 2px solid rgb(88, 222, 222);\n"
"border-radius:6px\n"
"}\n"
"\n"
"QLineEdit:checked{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgb(88, 222, 222);\n"
"border-radius:4px\n"
"}\n"
"\n"
"")
self.lineEdit.setText("")
self.lineEdit.setObjectName("lineEdit")
self.label = QtWidgets.QLabel(self.widget)
self.label.setGeometry(QtCore.QRect(10, 30, 121, 41))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(18)
font.setBold(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setStyleSheet("background-color:rgba(212, 212, 212,0)")
self.label.setObjectName("label")
self.pushButton_6 = QtWidgets.QPushButton(self.widget)
self.pushButton_6.setGeometry(QtCore.QRect(160, 280, 81, 31))
font = QtGui.QFont()
font.setFamily("Arial")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.pushButton_6.setFont(font)
self.pushButton_6.setCursor(QtGui.QCursor(QtCore.Qt.OpenHandCursor))
self.pushButton_6.setStyleSheet("QPushButton\n"
"{\n"
"color:rgb(109, 109, 109);\n"
"background-color:rgb(0, 255, 255);\n"
"border-radius: 10px;\n"
"}\n"
"QPushButton:hover\n"
"{\n"
"border-color: rgb(85, 255, 255);\n"
"border:3px solid rgb(68, 68, 68);\n"
"}\n"
"\n"
"\n"
"QPushButton:pressed\n"
"{\n"
" background-color:rgb(14 , 135 , 228); \n"
" padding-left:2px; \n"
" padding-top:3px;\n"
"}")
self.pushButton_6.setObjectName("pushButton_6")
self.lineEdit_3 = QtWidgets.QLineEdit(self.widget)
self.lineEdit_3.setGeometry(QtCore.QRect(0, 80, 250, 35))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_3.sizePolicy().hasHeightForWidth())
self.lineEdit_3.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(11)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.lineEdit_3.setFont(font)
self.lineEdit_3.setStyleSheet("QLineEdit{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgbrgb(121, 121, 121);\n"
"border-radius:7px\n"
"}\n"
"\n"
"QLineEdit:hover{\n"
"\n"
"background-color:white;\n"
"border: 2px solid rgb(88, 222, 222);\n"
"border-radius:6px\n"
"}\n"
"\n"
"QLineEdit:checked{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgb(88, 222, 222);\n"
"border-radius:4px\n"
"}\n"
"\n"
"")
self.lineEdit_3.setText("")
self.lineEdit_3.setObjectName("lineEdit_3")
self.lineEdit_4 = QtWidgets.QLineEdit(self.widget)
self.lineEdit_4.setGeometry(QtCore.QRect(0, 130, 250, 35))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_4.sizePolicy().hasHeightForWidth())
self.lineEdit_4.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(11)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.lineEdit_4.setFont(font)
self.lineEdit_4.setStyleSheet("QLineEdit{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgbrgb(121, 121, 121);\n"
"border-radius:7px\n"
"}\n"
"\n"
"QLineEdit:hover{\n"
"\n"
"background-color:white;\n"
"border: 2px solid rgb(88, 222, 222);\n"
"border-radius:6px\n"
"}\n"
"\n"
"QLineEdit:checked{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgb(88, 222, 222);\n"
"border-radius:4px\n"
"}\n"
"\n"
"")
self.lineEdit_4.setText("")
self.lineEdit_4.setObjectName("lineEdit_4")
self.lineEdit_5 = QtWidgets.QLineEdit(self.widget)
self.lineEdit_5.setGeometry(QtCore.QRect(0, 180, 250, 35))
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit_5.sizePolicy().hasHeightForWidth())
self.lineEdit_5.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(11)
font.setBold(True)
font.setItalic(False)
font.setWeight(75)
self.lineEdit_5.setFont(font)
self.lineEdit_5.setStyleSheet("QLineEdit{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgbrgb(121, 121, 121);\n"
"border-radius:7px\n"
"}\n"
"\n"
"QLineEdit:hover{\n"
"\n"
"background-color:white;\n"
"border: 2px solid rgb(88, 222, 222);\n"
"border-radius:6px\n"
"}\n"
"\n"
"QLineEdit:checked{\n"
"\n"
"background-color:white;\n"
"border: 1px solid rgb(88, 222, 222);\n"
"border-radius:4px\n"
"}\n"
"\n"
"")
self.lineEdit_5.setText("")
self.lineEdit_5.setObjectName("lineEdit_5")
self.widget_3 = QtWidgets.QWidget(self.centralwidget)
self.widget_3.setGeometry(QtCore.QRect(0, 0, 700, 45))
self.widget_3.setStyleSheet("background-color:rgb(255, 255, 255);\n"
"border-top-left-radius:10px;\n"
"border-top-right-radius:10px;")
self.widget_3.setObjectName("widget_3")
self.label_4 = QtWidgets.QLabel(self.widget_3)
self.label_4.setGeometry(QtCore.QRect(40, 10, 581, 21))
font = QtGui.QFont()
font.setFamily("黑体")
font.setPointSize(10)
font.setBold(True)
font.setWeight(75)
self.label_4.setFont(font)
self.label_4.setStyleSheet("color:rgb(85, 85, 127)")
self.label_4.setObjectName("label_4")
self.label_5 = QtWidgets.QLabel(self.widget_3)
self.label_5.setGeometry(QtCore.QRect(10, 10, 25, 21))
self.label_5.setMinimumSize(QtCore.QSize(25, 0))
self.label_5.setStyleSheet("background-color:red;\n"
"border-radius:10px")
self.label_5.setText("")
self.label_5.setObjectName("label_5")
self.pushButton_5 = QtWidgets.QPushButton(self.widget_3)
self.pushButton_5.setGeometry(QtCore.QRect(630, 10, 25, 25))
self.pushButton_5.setMinimumSize(QtCore.QSize(25, 25))
self.pushButton_5.setMaximumSize(QtCore.QSize(25, 25))
self.pushButton_5.setStyleSheet("QPushButton{\n"
"background-color:rgb(255, 170, 0);\n"
"image:url(\"最小化.png\");\n"
"border-radius:11px\n"
"}\n"
"QPushButton:hover{\n"
"border-radius:11px;\n"
"border:1px solid rgb(170, 255, 255)\n"
"}\n"
"QPushButton:pressed{\n"
"background-color:rgb(176, 117, 0);\n"
"border-radius:11px\n"
"}")
self.pushButton_5.setText("")
self.pushButton_5.setObjectName("pushButton_5")
self.pushButton_4 = QtWidgets.QPushButton(self.widget_3)
self.pushButton_4.setGeometry(QtCore.QRect(665, 10, 25, 25))
self.pushButton_4.setMinimumSize(QtCore.QSize(25, 25))
self.pushButton_4.setMaximumSize(QtCore.QSize(25, 25))
self.pushButton_4.setStyleSheet("QPushButton{\n"
"background-color:rgb(245, 67, 23);\n"
"image:url(\"关闭.png\");\n"
"border-radius:11px\n"
"}\n"
"QPushButton:hover{\n"
"border-radius:11px;\n"
"border:1px solid rgb(170, 255, 255)\n"
"}\n"
"QPushButton:pressed{\n"
"background-color:rgb(170, 0, 0);\n"
"border-radius:11px\n"
"}")
self.pushButton_4.setText("")
self.pushButton_4.setObjectName("pushButton_4")
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.pushButton_3.setText(_translate("MainWindow", "注册"))
self.lineEdit_2.setPlaceholderText(_translate("MainWindow", "验证码"))
self.lineEdit.setPlaceholderText(_translate("MainWindow", "手机号/邮箱"))
self.label.setText(_translate("MainWindow", "用户注册"))
self.pushButton_6.setText(_translate("MainWindow", "发送验证码"))
self.lineEdit_3.setPlaceholderText(_translate("MainWindow", "昵称"))
self.lineEdit_4.setPlaceholderText(_translate("MainWindow", "密码"))
self.lineEdit_5.setPlaceholderText(_translate("MainWindow", "确认密码"))
self.label_4.setText(_translate("MainWindow", "心语登录程序"))
self.pushButton_5.setToolTip(_translate("MainWindow", "关闭"))
self.pushButton_4.setToolTip(_translate("MainWindow", "关闭"))
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。