Files
general-system-framework/wndMain/uiMain.py

131 lines
7.1 KiB
Python

# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'uiMain.ui'
##
## Created by: Qt User Interface Compiler version 6.9.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
QMetaObject, QObject, QPoint, QRect,
QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
QFont, QFontDatabase, QGradient, QIcon,
QImage, QKeySequence, QLinearGradient, QPainter,
QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QGroupBox, QLabel, QLineEdit,
QPushButton, QRadioButton, QSizePolicy, QStackedWidget,
QWidget)
class Ui_dlgMain(object):
def setupUi(self, dlgMain):
if not dlgMain.objectName():
dlgMain.setObjectName(u"dlgMain")
dlgMain.resize(1024, 768)
self.grpMainSysInfo_0 = QGroupBox(dlgMain)
self.grpMainSysInfo_0.setObjectName(u"grpMainSysInfo_0")
self.grpMainSysInfo_0.setGeometry(QRect(10, 10, 400, 140))
self.lblMainWoodTotal = QLabel(self.grpMainSysInfo_0)
self.lblMainWoodTotal.setObjectName(u"lblMainWoodTotal")
self.lblMainWoodTotal.setGeometry(QRect(20, 40, 31, 16))
self.edtMainWoodTotal = QLineEdit(self.grpMainSysInfo_0)
self.edtMainWoodTotal.setObjectName(u"edtMainWoodTotal")
self.edtMainWoodTotal.setGeometry(QRect(69, 37, 60, 21))
self.edtMainWoodTotal.setMaxLength(5)
self.edtMainWoodTotal.setEchoMode(QLineEdit.EchoMode.Normal)
self.edtMainWoodTotal.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.edtMainWoodTotal.setReadOnly(True)
self.lblMainWoodNG = QLabel(self.grpMainSysInfo_0)
self.lblMainWoodNG.setObjectName(u"lblMainWoodNG")
self.lblMainWoodNG.setGeometry(QRect(190, 40, 41, 16))
self.edtMainWoodNG = QLineEdit(self.grpMainSysInfo_0)
self.edtMainWoodNG.setObjectName(u"edtMainWoodNG")
self.edtMainWoodNG.setGeometry(QRect(250, 40, 60, 21))
self.edtMainWoodNG.setMaxLength(3)
self.edtMainWoodNG.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.edtMainWoodNG.setReadOnly(True)
self.lblMainPassRate = QLabel(self.grpMainSysInfo_0)
self.lblMainPassRate.setObjectName(u"lblMainPassRate")
self.lblMainPassRate.setGeometry(QRect(30, 90, 51, 16))
self.edtMainPassRate = QLineEdit(self.grpMainSysInfo_0)
self.edtMainPassRate.setObjectName(u"edtMainPassRate")
self.edtMainPassRate.setGeometry(QRect(100, 90, 60, 21))
self.edtMainPassRate.setMaxLength(5)
self.edtMainPassRate.setAlignment(Qt.AlignmentFlag.AlignCenter)
self.edtMainPassRate.setReadOnly(True)
self.grpMainSysInfo_1 = QGroupBox(dlgMain)
self.grpMainSysInfo_1.setObjectName(u"grpMainSysInfo_1")
self.grpMainSysInfo_1.setGeometry(QRect(419, 10, 440, 140))
self.grpMainForUser = QGroupBox(dlgMain)
self.grpMainForUser.setObjectName(u"grpMainForUser")
self.grpMainForUser.setGeometry(QRect(870, 10, 140, 140))
self.btnMainSwitchUser = QPushButton(self.grpMainForUser)
self.btnMainSwitchUser.setObjectName(u"btnMainSwitchUser")
self.btnMainSwitchUser.setGeometry(QRect(30, 20, 95, 25))
self.btnMainSwitchUser.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
self.btnMainChangePasswd = QPushButton(self.grpMainForUser)
self.btnMainChangePasswd.setObjectName(u"btnMainChangePasswd")
self.btnMainChangePasswd.setGeometry(QRect(30, 70, 95, 25))
self.btnMainChangePasswd.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
self.grpMainModule = QGroupBox(dlgMain)
self.grpMainModule.setObjectName(u"grpMainModule")
self.grpMainModule.setGeometry(QRect(10, 159, 131, 580))
self.rdbMainAutoProc = QRadioButton(self.grpMainModule)
self.rdbMainAutoProc.setObjectName(u"rdbMainAutoProc")
self.rdbMainAutoProc.setGeometry(QRect(20, 20, 90, 24))
self.rdbMainAutoProc.setChecked(True)
self.rdbMainDebug = QRadioButton(self.grpMainModule)
self.rdbMainDebug.setObjectName(u"rdbMainDebug")
self.rdbMainDebug.setGeometry(QRect(20, 100, 90, 24))
self.rdbMainSetting = QRadioButton(self.grpMainModule)
self.rdbMainSetting.setObjectName(u"rdbMainSetting")
self.rdbMainSetting.setGeometry(QRect(20, 180, 90, 24))
self.rdbMainQuery = QRadioButton(self.grpMainModule)
self.rdbMainQuery.setObjectName(u"rdbMainQuery")
self.rdbMainQuery.setGeometry(QRect(20, 250, 90, 24))
self.rdbMainRecipe = QRadioButton(self.grpMainModule)
self.rdbMainRecipe.setObjectName(u"rdbMainRecipe")
self.rdbMainRecipe.setGeometry(QRect(20, 330, 90, 24))
self.rdbMainUser = QRadioButton(self.grpMainModule)
self.rdbMainUser.setObjectName(u"rdbMainUser")
self.rdbMainUser.setGeometry(QRect(20, 400, 90, 24))
self.stkMainContainer = QStackedWidget(dlgMain)
self.stkMainContainer.setObjectName(u"stkMainContainer")
self.stkMainContainer.setGeometry(QRect(389, 339, 121, 81))
self.page = QWidget()
self.page.setObjectName(u"page")
self.stkMainContainer.addWidget(self.page)
self.page_2 = QWidget()
self.page_2.setObjectName(u"page_2")
self.stkMainContainer.addWidget(self.page_2)
self.retranslateUi(dlgMain)
self.stkMainContainer.setCurrentIndex(1)
QMetaObject.connectSlotsByName(dlgMain)
# setupUi
def retranslateUi(self, dlgMain):
dlgMain.setWindowTitle(QCoreApplication.translate("dlgMain", u"XXXX\u63a7\u5236\u7cfb\u7edf", None))
self.grpMainSysInfo_0.setTitle("")
self.lblMainWoodTotal.setText(QCoreApplication.translate("dlgMain", u"\u603b\u91cf\uff1a", None))
self.lblMainWoodNG.setText(QCoreApplication.translate("dlgMain", u"NG\u91cf\uff1a", None))
self.lblMainPassRate.setText(QCoreApplication.translate("dlgMain", u"\u901a\u8fc7\u7387\uff1a", None))
self.grpMainSysInfo_1.setTitle("")
self.grpMainForUser.setTitle("")
self.btnMainSwitchUser.setText(QCoreApplication.translate("dlgMain", u"\u5207\u6362\u7528\u6237", None))
self.btnMainChangePasswd.setText(QCoreApplication.translate("dlgMain", u"\u5bc6\u7801\u4fee\u6539", None))
self.grpMainModule.setTitle("")
self.rdbMainAutoProc.setText(QCoreApplication.translate("dlgMain", u"\u81ea\u52a8\u4f5c\u4e1a", None))
self.rdbMainDebug.setText(QCoreApplication.translate("dlgMain", u"\u8bbe\u5907\u8c03\u8bd5", None))
self.rdbMainSetting.setText(QCoreApplication.translate("dlgMain", u"\u53c2\u6570\u8bbe\u7f6e", None))
self.rdbMainQuery.setText(QCoreApplication.translate("dlgMain", u"\u6570\u636e\u67e5\u8be2", None))
self.rdbMainRecipe.setText(QCoreApplication.translate("dlgMain", u"\u914d\u65b9\u7ba1\u7406", None))
self.rdbMainUser.setText(QCoreApplication.translate("dlgMain", u"\u7528\u6237\u7ba1\u7406", None))
# retranslateUi