Python/pyqt5/CODE/VIP_WMS_pyAPI/UI/main/mainui.py

72 lines
3.5 KiB
Python
Raw Permalink Normal View History

2024-06-25 22:02:02 +08:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainui.ui'
#
# Created by: PyQt5 UI code generator 5.15.7
#
# 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_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.resize(907, 686)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
self.gridLayout.setObjectName("gridLayout")
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.btn_items = QtWidgets.QPushButton(self.centralwidget)
self.btn_items.setObjectName("btn_items")
self.horizontalLayout.addWidget(self.btn_items)
self.btn_history = QtWidgets.QPushButton(self.centralwidget)
self.btn_history.setObjectName("btn_history")
self.horizontalLayout.addWidget(self.btn_history)
self.btn_borrow = QtWidgets.QPushButton(self.centralwidget)
self.btn_borrow.setObjectName("btn_borrow")
self.horizontalLayout.addWidget(self.btn_borrow)
self.btn_return = QtWidgets.QPushButton(self.centralwidget)
self.btn_return.setObjectName("btn_return")
self.horizontalLayout.addWidget(self.btn_return)
self.btn_create = QtWidgets.QPushButton(self.centralwidget)
self.btn_create.setObjectName("btn_create")
self.horizontalLayout.addWidget(self.btn_create)
self.btn_delete = QtWidgets.QPushButton(self.centralwidget)
self.btn_delete.setObjectName("btn_delete")
self.horizontalLayout.addWidget(self.btn_delete)
self.btn_login = QtWidgets.QPushButton(self.centralwidget)
self.btn_login.setObjectName("btn_login")
self.horizontalLayout.addWidget(self.btn_login)
self.verticalLayout.addLayout(self.horizontalLayout)
self.stackedWidget = QtWidgets.QStackedWidget(self.centralwidget)
self.stackedWidget.setMinimumSize(QtCore.QSize(881, 621))
self.stackedWidget.setObjectName("stackedWidget")
self.verticalLayout.addWidget(self.stackedWidget)
self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
MainWindow.setCentralWidget(self.centralwidget)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
self.stackedWidget.setCurrentIndex(-1)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.btn_items.setText(_translate("MainWindow", "主畫面"))
self.btn_history.setText(_translate("MainWindow", "歷史紀錄"))
self.btn_borrow.setText(_translate("MainWindow", "借用"))
self.btn_return.setText(_translate("MainWindow", "歸還"))
self.btn_create.setText(_translate("MainWindow", "創建"))
self.btn_delete.setText(_translate("MainWindow", "刪除"))
self.btn_login.setText(_translate("MainWindow", "倉管登入"))