This repository was archived by the owner on Sep 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathNewUser_Dialog_RAW.py
More file actions
98 lines (90 loc) · 5.07 KB
/
NewUser_Dialog_RAW.py
File metadata and controls
98 lines (90 loc) · 5.07 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'NewUser_Dialog.ui'
#
# Created: Mon Nov 24 22:56:20 2014
# by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_Register_Dialog(object):
def setupUi(self, Register_Dialog):
Register_Dialog.setObjectName(_fromUtf8("Register_Dialog"))
Register_Dialog.resize(372, 187)
Register_Dialog.setModal(True)
self.verticalLayout_2 = QtGui.QVBoxLayout(Register_Dialog)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.groupBox = QtGui.QGroupBox(Register_Dialog)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.label_2 = QtGui.QLabel(self.groupBox)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.horizontalLayout.addWidget(self.label_2)
self.username_lineEdit = QtGui.QLineEdit(self.groupBox)
self.username_lineEdit.setObjectName(_fromUtf8("username_lineEdit"))
self.horizontalLayout.addWidget(self.username_lineEdit)
self.verticalLayout_3.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.label = QtGui.QLabel(self.groupBox)
self.label.setObjectName(_fromUtf8("label"))
self.horizontalLayout_2.addWidget(self.label)
self.password_lineEdit = QtGui.QLineEdit(self.groupBox)
self.password_lineEdit.setEchoMode(QtGui.QLineEdit.Password)
self.password_lineEdit.setObjectName(_fromUtf8("password_lineEdit"))
self.horizontalLayout_2.addWidget(self.password_lineEdit)
self.verticalLayout_3.addLayout(self.horizontalLayout_2)
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.label_3 = QtGui.QLabel(self.groupBox)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.horizontalLayout_4.addWidget(self.label_3)
self.confirmPassword_lineEdit = QtGui.QLineEdit(self.groupBox)
self.confirmPassword_lineEdit.setEchoMode(QtGui.QLineEdit.Password)
self.confirmPassword_lineEdit.setObjectName(_fromUtf8("confirmPassword_lineEdit"))
self.horizontalLayout_4.addWidget(self.confirmPassword_lineEdit)
self.verticalLayout_3.addLayout(self.horizontalLayout_4)
self.label_4 = QtGui.QLabel(self.groupBox)
self.label_4.setAlignment(QtCore.Qt.AlignCenter)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.verticalLayout_3.addWidget(self.label_4)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_3.addItem(spacerItem)
self.add_btn = QtGui.QPushButton(self.groupBox)
self.add_btn.setObjectName(_fromUtf8("add_btn"))
self.horizontalLayout_3.addWidget(self.add_btn)
self.cancel_btn = QtGui.QPushButton(self.groupBox)
self.cancel_btn.setObjectName(_fromUtf8("cancel_btn"))
self.horizontalLayout_3.addWidget(self.cancel_btn)
self.verticalLayout_3.addLayout(self.horizontalLayout_3)
self.verticalLayout.addWidget(self.groupBox)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.retranslateUi(Register_Dialog)
QtCore.QMetaObject.connectSlotsByName(Register_Dialog)
def retranslateUi(self, Register_Dialog):
Register_Dialog.setWindowTitle(_translate("Register_Dialog", "Register New User", None))
self.groupBox.setTitle(_translate("Register_Dialog", "Welcome!", None))
self.label_2.setText(_translate("Register_Dialog", "Username", None))
self.label.setText(_translate("Register_Dialog", "Password", None))
self.label_3.setText(_translate("Register_Dialog", "Confirm Password", None))
self.label_4.setText(_translate("Register_Dialog", "Not Included: Phone, Address, Social Security Number, Credit Card...", None))
self.add_btn.setText(_translate("Register_Dialog", "Add", None))
self.cancel_btn.setText(_translate("Register_Dialog", "Cancel", None))