-
Notifications
You must be signed in to change notification settings - Fork 2
/
timekeeper_ui.py
58 lines (51 loc) · 2.64 KB
/
timekeeper_ui.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'timekeeper_connect.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_Timekeeper(object):
def setupUi(self, Timekeeper):
Timekeeper.setObjectName("Timekeeper")
Timekeeper.resize(1272, 471)
self.verticalLayout_2 = QtWidgets.QVBoxLayout(Timekeeper)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label = QtWidgets.QLabel(Timekeeper)
font = QtGui.QFont()
font.setPointSize(10)
self.label.setFont(font)
self.label.setObjectName("label")
self.horizontalLayout.addWidget(self.label)
self.gameID = QtWidgets.QLineEdit(Timekeeper)
self.gameID.setObjectName("gameID")
self.horizontalLayout.addWidget(self.gameID)
self.verticalLayout.addLayout(self.horizontalLayout)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.connectButton = QtWidgets.QPushButton(Timekeeper)
self.connectButton.setObjectName("connectButton")
self.horizontalLayout_3.addWidget(self.connectButton)
self.closeButton = QtWidgets.QPushButton(Timekeeper)
self.closeButton.setObjectName("closeButton")
self.horizontalLayout_3.addWidget(self.closeButton)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.verticalLayout_2.addLayout(self.verticalLayout)
self.retranslateUi(Timekeeper)
self.connectButton.clicked.connect(Timekeeper.connect)
self.closeButton.clicked.connect(Timekeeper.close)
QtCore.QMetaObject.connectSlotsByName(Timekeeper)
def retranslateUi(self, Timekeeper):
_translate = QtCore.QCoreApplication.translate
Timekeeper.setWindowTitle(_translate("Timekeeper", "Timekeeper"))
self.label.setText(_translate("Timekeeper", "Game ID"))
self.connectButton.setText(_translate("Timekeeper", "Connect"))
self.closeButton.setText(_translate("Timekeeper", "Close"))