1 Star 0 Fork 61

azhg/TDXPystock

forked from 金诺/TDXPystock 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
register_ui.py 12.20 KB
一键复制 编辑 原始数据 按行查看 历史
金诺 提交于 2021-05-05 21:45 . 界面设计优化
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\pythonTtest\TDXPystock\register_ui.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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(423, 475)
Dialog.setMinimumSize(QtCore.QSize(423, 475))
Dialog.setMaximumSize(QtCore.QSize(423, 475))
Dialog.setStyleSheet("color: rgb(255, 255, 255);\n"
"border-color: rgb(255, 7, 23);\n"
"background-color: rgb(0, 0, 39);\n"
"gridline-color: rgb(85, 85, 127);\n"
"selection-color: rgb(255, 107, 39);\n"
"selection-background-color: rgb(225, 219, 255);")
self.label_9 = QtWidgets.QLabel(Dialog)
self.label_9.setGeometry(QtCore.QRect(10, 20, 201, 21))
font = QtGui.QFont()
font.setPointSize(12)
self.label_9.setFont(font)
self.label_9.setObjectName("label_9")
self.layoutWidget = QtWidgets.QWidget(Dialog)
self.layoutWidget.setGeometry(QtCore.QRect(169, 59, 207, 388))
self.layoutWidget.setObjectName("layoutWidget")
self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget)
self.gridLayout.setContentsMargins(0, 0, 0, 0)
self.gridLayout.setObjectName("gridLayout")
self.registerEmail = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerEmail.setFont(font)
self.registerEmail.setInputMask("")
self.registerEmail.setText("")
self.registerEmail.setMaxLength(20)
self.registerEmail.setCursorPosition(0)
self.registerEmail.setObjectName("registerEmail")
self.gridLayout.addWidget(self.registerEmail, 6, 0, 1, 2)
self.registerpassword = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerpassword.setFont(font)
self.registerpassword.setInputMask("")
self.registerpassword.setText("")
self.registerpassword.setMaxLength(20)
self.registerpassword.setEchoMode(QtWidgets.QLineEdit.Password)
self.registerpassword.setCursorPosition(0)
self.registerpassword.setObjectName("registerpassword")
self.gridLayout.addWidget(self.registerpassword, 1, 0, 1, 2)
self.registerwechat = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerwechat.setFont(font)
self.registerwechat.setInputMask("")
self.registerwechat.setText("")
self.registerwechat.setMaxLength(20)
self.registerwechat.setCursorPosition(0)
self.registerwechat.setObjectName("registerwechat")
self.gridLayout.addWidget(self.registerwechat, 4, 0, 1, 2)
self.registerIDcard = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerIDcard.setFont(font)
self.registerIDcard.setInputMask("")
self.registerIDcard.setText("")
self.registerIDcard.setMaxLength(20)
self.registerIDcard.setCursorPosition(0)
self.registerIDcard.setObjectName("registerIDcard")
self.gridLayout.addWidget(self.registerIDcard, 7, 0, 1, 2)
self.userregisterbutton = QtWidgets.QPushButton(self.layoutWidget)
self.userregisterbutton.setMaximumSize(QtCore.QSize(16777215, 16777215))
self.userregisterbutton.setSizeIncrement(QtCore.QSize(0, 0))
font = QtGui.QFont()
font.setPointSize(12)
self.userregisterbutton.setFont(font)
self.userregisterbutton.setObjectName("userregisterbutton")
self.gridLayout.addWidget(self.userregisterbutton, 12, 1, 1, 1)
self.registerusername = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerusername.setFont(font)
self.registerusername.setInputMask("")
self.registerusername.setText("")
self.registerusername.setMaxLength(20)
self.registerusername.setCursorPosition(0)
self.registerusername.setObjectName("registerusername")
self.gridLayout.addWidget(self.registerusername, 0, 0, 1, 2)
self.registerphone = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerphone.setFont(font)
self.registerphone.setInputMask("")
self.registerphone.setText("")
self.registerphone.setMaxLength(15)
self.registerphone.setCursorPosition(0)
self.registerphone.setObjectName("registerphone")
self.gridLayout.addWidget(self.registerphone, 2, 0, 1, 2)
self.registeruserdefineinfo = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registeruserdefineinfo.setFont(font)
self.registeruserdefineinfo.setInputMask("")
self.registeruserdefineinfo.setText("")
self.registeruserdefineinfo.setMaxLength(20)
self.registeruserdefineinfo.setCursorPosition(0)
self.registeruserdefineinfo.setObjectName("registeruserdefineinfo")
self.gridLayout.addWidget(self.registeruserdefineinfo, 11, 0, 1, 2)
self.userregisterclearButton = QtWidgets.QPushButton(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.userregisterclearButton.setFont(font)
self.userregisterclearButton.setObjectName("userregisterclearButton")
self.gridLayout.addWidget(self.userregisterclearButton, 12, 0, 1, 1)
self.registerpay = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerpay.setFont(font)
self.registerpay.setInputMask("")
self.registerpay.setText("")
self.registerpay.setMaxLength(20)
self.registerpay.setCursorPosition(0)
self.registerpay.setObjectName("registerpay")
self.gridLayout.addWidget(self.registerpay, 10, 0, 1, 2)
self.sendregistercode = QtWidgets.QPushButton(self.layoutWidget)
self.sendregistercode.setStyleSheet("font: 10pt \"新宋体\";\n"
"background-color: rgb(0, 0, 104);\n"
" border:2px solid #5F92B2; \n"
" border-radius:5px;\n"
" color:white;\n"
"")
self.sendregistercode.setObjectName("sendregistercode")
self.gridLayout.addWidget(self.sendregistercode, 5, 1, 1, 1)
self.registerQQ = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registerQQ.setFont(font)
self.registerQQ.setInputMask("")
self.registerQQ.setText("")
self.registerQQ.setMaxLength(12)
self.registerQQ.setCursorPosition(0)
self.registerQQ.setObjectName("registerQQ")
self.gridLayout.addWidget(self.registerQQ, 8, 0, 1, 2)
self.registercode = QtWidgets.QLineEdit(self.layoutWidget)
font = QtGui.QFont()
font.setPointSize(12)
self.registercode.setFont(font)
self.registercode.setInputMask("")
self.registercode.setText("")
self.registercode.setMaxLength(8)
self.registercode.setCursorPosition(0)
self.registercode.setObjectName("registercode")
self.gridLayout.addWidget(self.registercode, 5, 0, 1, 1)
self.layoutWidget1 = QtWidgets.QWidget(Dialog)
self.layoutWidget1.setGeometry(QtCore.QRect(10, 60, 151, 341))
self.layoutWidget1.setObjectName("layoutWidget1")
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget1)
self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.label_username = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_username.setFont(font)
self.label_username.setObjectName("label_username")
self.verticalLayout.addWidget(self.label_username)
self.label_passwd = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_passwd.setFont(font)
self.label_passwd.setObjectName("label_passwd")
self.verticalLayout.addWidget(self.label_passwd)
self.label_phone = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_phone.setFont(font)
self.label_phone.setObjectName("label_phone")
self.verticalLayout.addWidget(self.label_phone)
self.label_wechar = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_wechar.setFont(font)
self.label_wechar.setObjectName("label_wechar")
self.verticalLayout.addWidget(self.label_wechar)
self.label_registercode = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_registercode.setFont(font)
self.label_registercode.setObjectName("label_registercode")
self.verticalLayout.addWidget(self.label_registercode)
self.label_Email = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_Email.setFont(font)
self.label_Email.setObjectName("label_Email")
self.verticalLayout.addWidget(self.label_Email)
self.label_idCard = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_idCard.setFont(font)
self.label_idCard.setObjectName("label_idCard")
self.verticalLayout.addWidget(self.label_idCard)
self.label_QQ = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_QQ.setFont(font)
self.label_QQ.setObjectName("label_QQ")
self.verticalLayout.addWidget(self.label_QQ)
self.label_payid = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_payid.setFont(font)
self.label_payid.setObjectName("label_payid")
self.verticalLayout.addWidget(self.label_payid)
self.label_userdefineinfo = QtWidgets.QLabel(self.layoutWidget1)
font = QtGui.QFont()
font.setPointSize(12)
self.label_userdefineinfo.setFont(font)
self.label_userdefineinfo.setObjectName("label_userdefineinfo")
self.verticalLayout.addWidget(self.label_userdefineinfo)
self.user_registeredlabel = QtWidgets.QLabel(Dialog)
self.user_registeredlabel.setGeometry(QtCore.QRect(20, 450, 371, 20))
self.user_registeredlabel.setStyleSheet("color: rgb(255, 0, 0);\n"
"")
self.user_registeredlabel.setText("")
self.user_registeredlabel.setObjectName("user_registeredlabel")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.label_9.setText(_translate("Dialog", "请填写以下用户信息"))
self.userregisterbutton.setText(_translate("Dialog", "注册"))
self.userregisterclearButton.setText(_translate("Dialog", "清除"))
self.sendregistercode.setText(_translate("Dialog", "发送"))
self.label_username.setText(_translate("Dialog", " 用户名(*):"))
self.label_passwd.setText(_translate("Dialog", " 密码(*):"))
self.label_phone.setText(_translate("Dialog", " 手机号(*):"))
self.label_wechar.setText(_translate("Dialog", " 微信:"))
self.label_registercode.setText(_translate("Dialog", " 验证码:"))
self.label_Email.setText(_translate("Dialog", " 邮箱:"))
self.label_idCard.setText(_translate("Dialog", " 身份证:"))
self.label_QQ.setText(_translate("Dialog", " QQ:"))
self.label_payid.setText(_translate("Dialog", " 支付宝:"))
self.label_userdefineinfo.setText(_translate("Dialog", " 自定义信息:"))
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/azhg/TDXPystock.git
git@gitee.com:azhg/TDXPystock.git
azhg
TDXPystock
TDXPystock
master

搜索帮助