forked from trancenoid/Store_Management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ownerChoice.py
51 lines (43 loc) · 2.23 KB
/
ownerChoice.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
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ownerChoice.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_ownerChoiceWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(800, 600)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.sellBtn = QtWidgets.QPushButton(self.centralwidget)
self.sellBtn.setGeometry(QtCore.QRect(30, 410, 171, 61))
self.sellBtn.setObjectName("sellBtn")
self.updateBtn = QtWidgets.QPushButton(self.centralwidget)
self.updateBtn.setGeometry(QtCore.QRect(282, 410, 171, 61))
self.updateBtn.setObjectName("updateBtn")
self.registerBtn = QtWidgets.QPushButton(self.centralwidget)
self.registerBtn.setGeometry(QtCore.QRect(552, 407, 171, 61))
self.registerBtn.setObjectName("registerBtn")
self.OwnerNameLabel = QtWidgets.QLabel(self.centralwidget)
self.OwnerNameLabel.setGeometry(QtCore.QRect(200, 150, 341, 51))
self.OwnerNameLabel.setObjectName("OwnerNameLabel")
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.sellBtn.setText(_translate("MainWindow", "SELL"))
self.updateBtn.setText(_translate("MainWindow", "UPDATE INVENTORY"))
self.registerBtn.setText(_translate("MainWindow", "REGISTER NEW STAFF"))
self.OwnerNameLabel.setText(_translate("MainWindow", "<html><head/><body><p align=\"center\"><span style=\" font-size:20pt;\">Welcome , Owner</span></p></body></html>"))
if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_ownerChoiceWindow()
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())