-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsignup.py
More file actions
77 lines (70 loc) · 3.19 KB
/
Copy pathsignup.py
File metadata and controls
77 lines (70 loc) · 3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'signup.ui'
#
# Created by: PyQt5 UI code generator 5.11.3
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Signup(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.resize(629, 446)
Dialog.setStyleSheet("QDialog{\n"
" background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 170, 0, 255), stop:1 rgba(255, 255, 255, 255))\n"
"}\n"
"QPushButton{\n"
" background-color:rgb(255, 255, 255)\n"
" border: none;\n"
"}")
self.email_field = QtWidgets.QLineEdit(Dialog)
self.email_field.setGeometry(QtCore.QRect(240, 150, 201, 22))
self.email_field.setText("")
self.email_field.setObjectName("email_field")
self.label_3 = QtWidgets.QLabel(Dialog)
self.label_3.setGeometry(QtCore.QRect(160, 200, 91, 21))
self.label_3.setObjectName("label_3")
self.signup_button = QtWidgets.QPushButton(Dialog)
self.signup_button.setGeometry(QtCore.QRect(290, 260, 93, 28))
self.signup_button.setObjectName("signup_button")
self.label_2 = QtWidgets.QLabel(Dialog)
self.label_2.setGeometry(QtCore.QRect(160, 150, 91, 21))
self.label_2.setObjectName("label_2")
self.password_field = QtWidgets.QLineEdit(Dialog)
self.password_field.setGeometry(QtCore.QRect(240, 200, 201, 22))
self.password_field.setEchoMode(QtWidgets.QLineEdit.PasswordEchoOnEdit)
self.password_field.setObjectName("password_field")
self.login_page_label = QtWidgets.QLabel(Dialog)
self.login_page_label.setGeometry(QtCore.QRect(190, 30, 251, 91))
self.login_page_label.setMinimumSize(QtCore.QSize(5, 0))
self.login_page_label.setBaseSize(QtCore.QSize(40, 16))
font = QtGui.QFont()
font.setPointSize(41)
font.setBold(False)
font.setItalic(False)
font.setUnderline(False)
font.setWeight(50)
font.setStrikeOut(False)
font.setStyleStrategy(QtGui.QFont.PreferAntialias)
self.login_page_label.setFont(font)
self.login_page_label.setFocusPolicy(QtCore.Qt.NoFocus)
self.login_page_label.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
self.login_page_label.setTextFormat(QtCore.Qt.AutoText)
self.login_page_label.setAlignment(QtCore.Qt.AlignCenter)
self.login_page_label.setObjectName("login_page_label")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.label_3.setText(_translate("Dialog", "Password: "))
self.signup_button.setText(_translate("Dialog", "Sign Up"))
self.label_2.setText(_translate("Dialog", "Email:"))
self.login_page_label.setText(_translate("Dialog", "Sign Up Page"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Signup()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())