-
Notifications
You must be signed in to change notification settings - Fork 0
/
NewTeam.py
66 lines (57 loc) · 2.42 KB
/
NewTeam.py
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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'NewTeam.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# 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(407, 260)
self.frame = QtWidgets.QFrame(Dialog)
self.frame.setGeometry(QtCore.QRect(0, -20, 401, 231))
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
self.frame.setObjectName("frame")
self.label = QtWidgets.QLabel(self.frame)
self.label.setGeometry(QtCore.QRect(110, 50, 210, 22))
font = QtGui.QFont()
font.setFamily("Segoe UI Semibold")
font.setPointSize(11)
font.setBold(True)
font.setItalic(True)
font.setWeight(75)
self.label.setFont(font)
self.label.setObjectName("label")
self.team_name = QtWidgets.QLineEdit(self.frame)
self.team_name.setGeometry(QtCore.QRect(90, 91, 221, 41))
self.team_name.setObjectName("team_name")
self.savename = QtWidgets.QPushButton(self.frame)
self.savename.setGeometry(QtCore.QRect(140, 160, 93, 28))
font = QtGui.QFont()
font.setFamily("MS Sans Serif")
font.setPointSize(8)
font.setBold(False)
font.setItalic(True)
font.setWeight(50)
self.savename.setFont(font)
self.savename.setStyleSheet("font: italic 8pt \"MS Sans Serif\";")
self.savename.setObjectName("savename")
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "New_team"))
self.label.setText(_translate("Dialog", "Create New Team"))
self.team_name.setPlaceholderText(_translate("Dialog", "Enter Team Name"))
self.savename.setText(_translate("Dialog", "Save"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Dialog = QtWidgets.QDialog()
ui = Ui_Dialog()
ui.setupUi(Dialog)
Dialog.show()
sys.exit(app.exec_())