parent
ad0d01e03d
commit
2de337e397
@ -0,0 +1,306 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'ui_user.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.4.2
|
||||
##
|
||||
## 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, QComboBox, QGridLayout, QHeaderView, QLineEdit,QAbstractItemView,
|
||||
QPushButton, QSizePolicy, QTabWidget, QTableWidget,
|
||||
QTableWidgetItem, QVBoxLayout, QWidget)
|
||||
|
||||
class Ui_Form_user(object):
|
||||
def setupUi(self, Form):
|
||||
if not Form.objectName():
|
||||
Form.setObjectName(u"Form")
|
||||
Form.resize(972, 594)
|
||||
self.verticalLayout = QVBoxLayout(Form)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.tabWidget = QTabWidget(Form)
|
||||
self.tabWidget.setObjectName(u"tabWidget")
|
||||
self.tabWidget.setBaseSize(QSize(30, 0))
|
||||
font = QFont()
|
||||
font.setPointSize(14)
|
||||
font.setBold(True)
|
||||
font.setItalic(False)
|
||||
font.setUnderline(False)
|
||||
font.setStrikeOut(False)
|
||||
font.setKerning(False)
|
||||
self.tabWidget.setFont(font)
|
||||
self.tabWidget.setLayoutDirection(Qt.LeftToRight)
|
||||
self.tabWidget.setAutoFillBackground(False)
|
||||
self.tabWidget.setTabPosition(QTabWidget.North)
|
||||
self.tabWidget.setTabShape(QTabWidget.Rounded)
|
||||
self.tabWidget.setIconSize(QSize(30, 30))
|
||||
self.tabWidget.setElideMode(Qt.ElideNone)
|
||||
self.tabWidget.setDocumentMode(True)
|
||||
self.tabWidget.setTabsClosable(False)
|
||||
self.tabWidget.setMovable(False)
|
||||
self.book_manage = QWidget()
|
||||
self.book_manage.setObjectName(u"book_manage")
|
||||
self.verticalLayout_2 = QVBoxLayout(self.book_manage)
|
||||
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
|
||||
self.tabWidget_2 = QTabWidget(self.book_manage)
|
||||
self.tabWidget_2.setObjectName(u"tabWidget_2")
|
||||
font1 = QFont()
|
||||
font1.setPointSize(12)
|
||||
font1.setBold(False)
|
||||
font1.setItalic(False)
|
||||
font1.setUnderline(False)
|
||||
font1.setStrikeOut(False)
|
||||
font1.setKerning(False)
|
||||
self.tabWidget_2.setFont(font1)
|
||||
self.tabWidget_2.setTabPosition(QTabWidget.North)
|
||||
self.tabWidget_2.setTabShape(QTabWidget.Rounded)
|
||||
self.tabWidget_2.setDocumentMode(True)
|
||||
self.tabWidget_2.setTabBarAutoHide(False)
|
||||
self.book_manage1 = QWidget()
|
||||
self.book_manage1.setObjectName(u"book_manage1")
|
||||
self.verticalLayout_3 = QVBoxLayout(self.book_manage1)
|
||||
self.verticalLayout_3.setObjectName(u"verticalLayout_3")
|
||||
self.widget = QWidget(self.book_manage1)
|
||||
self.widget.setObjectName(u"widget")
|
||||
self.gridLayout = QGridLayout(self.widget)
|
||||
self.gridLayout.setObjectName(u"gridLayout")
|
||||
self.tableWidget = QTableWidget(self.widget)
|
||||
if (self.tableWidget.columnCount() < 9):
|
||||
self.tableWidget.setColumnCount(9)
|
||||
__qtablewidgetitem = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(0, __qtablewidgetitem)
|
||||
__qtablewidgetitem1 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(1, __qtablewidgetitem1)
|
||||
__qtablewidgetitem2 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(2, __qtablewidgetitem2)
|
||||
__qtablewidgetitem3 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(3, __qtablewidgetitem3)
|
||||
__qtablewidgetitem4 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(4, __qtablewidgetitem4)
|
||||
__qtablewidgetitem5 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(5, __qtablewidgetitem5)
|
||||
__qtablewidgetitem6 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(6, __qtablewidgetitem6)
|
||||
__qtablewidgetitem7 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(7, __qtablewidgetitem7)
|
||||
__qtablewidgetitem8 = QTableWidgetItem()
|
||||
self.tableWidget.setHorizontalHeaderItem(8, __qtablewidgetitem8)
|
||||
if (self.tableWidget.rowCount() < 10):
|
||||
self.tableWidget.setRowCount(10)
|
||||
__qtablewidgetitem9 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(0, __qtablewidgetitem9)
|
||||
__qtablewidgetitem10 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(1, __qtablewidgetitem10)
|
||||
__qtablewidgetitem11 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(2, __qtablewidgetitem11)
|
||||
__qtablewidgetitem12 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(3, __qtablewidgetitem12)
|
||||
__qtablewidgetitem13 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(4, __qtablewidgetitem13)
|
||||
__qtablewidgetitem14 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(5, __qtablewidgetitem14)
|
||||
__qtablewidgetitem15 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(6, __qtablewidgetitem15)
|
||||
__qtablewidgetitem16 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(7, __qtablewidgetitem16)
|
||||
__qtablewidgetitem17 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(8, __qtablewidgetitem17)
|
||||
__qtablewidgetitem18 = QTableWidgetItem()
|
||||
self.tableWidget.setVerticalHeaderItem(9, __qtablewidgetitem18)
|
||||
self.tableWidget.setObjectName(u"tableWidget")
|
||||
self.tableWidget.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
|
||||
self.tableWidget.setSelectionMode(QAbstractItemView.NoSelection)
|
||||
self.tableWidget.verticalHeader().setVisible(False) # 设置tablewidget不可选中
|
||||
self.gridLayout.addWidget(self.tableWidget, 4, 0, 1, 4)
|
||||
|
||||
self.search_book_id = QLineEdit(self.widget)
|
||||
self.search_book_id.setObjectName(u"search_book_id")
|
||||
|
||||
self.gridLayout.addWidget(self.search_book_id, 0, 1, 1, 1)
|
||||
|
||||
self.book_publisher = QLineEdit(self.widget)
|
||||
self.book_publisher.setObjectName(u"book_publisher")
|
||||
|
||||
self.gridLayout.addWidget(self.book_publisher, 1, 1, 1, 1)
|
||||
|
||||
self.search_bookname = QLineEdit(self.widget)
|
||||
self.search_bookname.setObjectName(u"search_bookname")
|
||||
|
||||
self.gridLayout.addWidget(self.search_bookname, 0, 0, 1, 1)
|
||||
|
||||
self.search_editor = QLineEdit(self.widget)
|
||||
self.search_editor.setObjectName(u"search_editor")
|
||||
|
||||
self.gridLayout.addWidget(self.search_editor, 1, 0, 1, 1)
|
||||
|
||||
self.search_button = QPushButton(self.widget)
|
||||
self.search_button.setObjectName(u"search_button")
|
||||
font2 = QFont()
|
||||
font2.setPointSize(12)
|
||||
font2.setBold(True)
|
||||
font2.setItalic(False)
|
||||
font2.setUnderline(False)
|
||||
font2.setStrikeOut(False)
|
||||
font2.setKerning(False)
|
||||
self.search_button.setFont(font2)
|
||||
|
||||
self.gridLayout.addWidget(self.search_button, 3, 0, 1, 2)
|
||||
|
||||
|
||||
self.verticalLayout_3.addWidget(self.widget)
|
||||
|
||||
self.tabWidget_2.addTab(self.book_manage1, "")
|
||||
self.publisher_manage = QWidget()
|
||||
self.publisher_manage.setObjectName(u"publisher_manage")
|
||||
self.verticalLayout_5 = QVBoxLayout(self.publisher_manage)
|
||||
self.verticalLayout_5.setObjectName(u"verticalLayout_5")
|
||||
self.publish_name_line = QLineEdit(self.publisher_manage)
|
||||
self.publish_name_line.setObjectName(u"publish_name_line")
|
||||
|
||||
self.verticalLayout_5.addWidget(self.publish_name_line)
|
||||
|
||||
self.publish_search_pushButton = QPushButton(self.publisher_manage)
|
||||
self.publish_search_pushButton.setObjectName(u"publish_search_pushButton")
|
||||
self.publish_search_pushButton.setFont(font2)
|
||||
|
||||
self.verticalLayout_5.addWidget(self.publish_search_pushButton)
|
||||
|
||||
self.tableWidget_2 = QTableWidget(self.publisher_manage)
|
||||
if (self.tableWidget_2.columnCount() < 3):
|
||||
self.tableWidget_2.setColumnCount(3)
|
||||
__qtablewidgetitem19 = QTableWidgetItem()
|
||||
self.tableWidget_2.setHorizontalHeaderItem(0, __qtablewidgetitem19)
|
||||
__qtablewidgetitem20 = QTableWidgetItem()
|
||||
self.tableWidget_2.setHorizontalHeaderItem(1, __qtablewidgetitem20)
|
||||
__qtablewidgetitem21 = QTableWidgetItem()
|
||||
self.tableWidget_2.setHorizontalHeaderItem(2, __qtablewidgetitem21)
|
||||
if (self.tableWidget_2.rowCount() < 9):
|
||||
self.tableWidget_2.setRowCount(9)
|
||||
__qtablewidgetitem22 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(0, __qtablewidgetitem22)
|
||||
__qtablewidgetitem23 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(1, __qtablewidgetitem23)
|
||||
__qtablewidgetitem24 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(2, __qtablewidgetitem24)
|
||||
__qtablewidgetitem25 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(3, __qtablewidgetitem25)
|
||||
__qtablewidgetitem26 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(4, __qtablewidgetitem26)
|
||||
__qtablewidgetitem27 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(5, __qtablewidgetitem27)
|
||||
__qtablewidgetitem28 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(6, __qtablewidgetitem28)
|
||||
__qtablewidgetitem29 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(7, __qtablewidgetitem29)
|
||||
__qtablewidgetitem30 = QTableWidgetItem()
|
||||
self.tableWidget_2.setVerticalHeaderItem(8, __qtablewidgetitem30)
|
||||
self.tableWidget_2.setObjectName(u"tableWidget_2")
|
||||
self.tableWidget_2.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
|
||||
self.tableWidget_2.setSelectionMode(QAbstractItemView.NoSelection)
|
||||
self.tableWidget_2.verticalHeader().setVisible(False)
|
||||
self.verticalLayout_5.addWidget(self.tableWidget_2)
|
||||
|
||||
self.tabWidget_2.addTab(self.publisher_manage, "")
|
||||
|
||||
self.verticalLayout_2.addWidget(self.tabWidget_2)
|
||||
|
||||
self.tabWidget.addTab(self.book_manage, "")
|
||||
|
||||
self.verticalLayout.addWidget(self.tabWidget)
|
||||
|
||||
|
||||
self.retranslateUi(Form)
|
||||
|
||||
self.tabWidget.setCurrentIndex(0)
|
||||
self.tabWidget_2.setCurrentIndex(0)
|
||||
|
||||
|
||||
QMetaObject.connectSlotsByName(Form)
|
||||
# setupUi
|
||||
|
||||
def retranslateUi(self, Form):
|
||||
Form.setWindowTitle(QCoreApplication.translate("Form", u"Form", None))
|
||||
___qtablewidgetitem = self.tableWidget.horizontalHeaderItem(0)
|
||||
___qtablewidgetitem.setText(QCoreApplication.translate("Form", u"\u7f16\u53f7", None));
|
||||
___qtablewidgetitem1 = self.tableWidget.horizontalHeaderItem(1)
|
||||
___qtablewidgetitem1.setText(QCoreApplication.translate("Form", u"\u540d\u5b57", None));
|
||||
___qtablewidgetitem2 = self.tableWidget.horizontalHeaderItem(2)
|
||||
___qtablewidgetitem2.setText(QCoreApplication.translate("Form", u"\u4f5c\u8005", None));
|
||||
___qtablewidgetitem3 = self.tableWidget.horizontalHeaderItem(3)
|
||||
___qtablewidgetitem3.setText(QCoreApplication.translate("Form", u"\u51fa\u7248\u793e", None));
|
||||
___qtablewidgetitem4 = self.tableWidget.horizontalHeaderItem(4)
|
||||
___qtablewidgetitem4.setText(QCoreApplication.translate("Form", u"\u6807\u7b7e", None));
|
||||
___qtablewidgetitem5 = self.tableWidget.horizontalHeaderItem(5)
|
||||
___qtablewidgetitem5.setText(QCoreApplication.translate("Form", u"\u4ecb\u7ecd", None));
|
||||
___qtablewidgetitem6 = self.tableWidget.horizontalHeaderItem(6)
|
||||
___qtablewidgetitem6.setText(QCoreApplication.translate("Form", u"\u4ef7\u683c", None));
|
||||
___qtablewidgetitem7 = self.tableWidget.horizontalHeaderItem(7)
|
||||
___qtablewidgetitem7.setText(QCoreApplication.translate("Form", u"\u5269\u4f59\u6570\u91cf", None));
|
||||
___qtablewidgetitem8 = self.tableWidget.horizontalHeaderItem(8)
|
||||
___qtablewidgetitem8.setText(QCoreApplication.translate("Form", u"\u64cd\u4f5c", None));
|
||||
___qtablewidgetitem9 = self.tableWidget.verticalHeaderItem(0)
|
||||
___qtablewidgetitem9.setText(QCoreApplication.translate("Form", u"1", None));
|
||||
___qtablewidgetitem10 = self.tableWidget.verticalHeaderItem(1)
|
||||
___qtablewidgetitem10.setText(QCoreApplication.translate("Form", u"2", None));
|
||||
___qtablewidgetitem11 = self.tableWidget.verticalHeaderItem(2)
|
||||
___qtablewidgetitem11.setText(QCoreApplication.translate("Form", u"3", None));
|
||||
___qtablewidgetitem12 = self.tableWidget.verticalHeaderItem(3)
|
||||
___qtablewidgetitem12.setText(QCoreApplication.translate("Form", u"4", None));
|
||||
___qtablewidgetitem13 = self.tableWidget.verticalHeaderItem(4)
|
||||
___qtablewidgetitem13.setText(QCoreApplication.translate("Form", u"5", None));
|
||||
___qtablewidgetitem14 = self.tableWidget.verticalHeaderItem(5)
|
||||
___qtablewidgetitem14.setText(QCoreApplication.translate("Form", u"6", None));
|
||||
___qtablewidgetitem15 = self.tableWidget.verticalHeaderItem(6)
|
||||
___qtablewidgetitem15.setText(QCoreApplication.translate("Form", u"7", None));
|
||||
___qtablewidgetitem16 = self.tableWidget.verticalHeaderItem(7)
|
||||
___qtablewidgetitem16.setText(QCoreApplication.translate("Form", u"8", None));
|
||||
___qtablewidgetitem17 = self.tableWidget.verticalHeaderItem(8)
|
||||
___qtablewidgetitem17.setText(QCoreApplication.translate("Form", u"9", None));
|
||||
___qtablewidgetitem18 = self.tableWidget.verticalHeaderItem(9)
|
||||
___qtablewidgetitem18.setText(QCoreApplication.translate("Form", u"10", None));
|
||||
self.search_book_id.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4e66\u7c4d\u7f16\u53f7", None))
|
||||
self.book_publisher.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u51fa\u7248\u793e", None))
|
||||
self.search_bookname.setText("")
|
||||
self.search_bookname.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4e66\u540d", None))
|
||||
self.search_editor.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4f5c\u8005", None))
|
||||
self.search_button.setText(QCoreApplication.translate("Form", u"\u67e5\u8be2", None))
|
||||
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.book_manage1), QCoreApplication.translate("Form", u"\u501f\u9605\u4e66\u7c4d", None))
|
||||
self.publish_name_line.setText("")
|
||||
self.publish_name_line.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u60a8\u7684ID", None))
|
||||
self.publish_search_pushButton.setText(QCoreApplication.translate("Form", u"\u67e5\u8be2", None))
|
||||
___qtablewidgetitem19 = self.tableWidget_2.horizontalHeaderItem(0)
|
||||
___qtablewidgetitem19.setText(QCoreApplication.translate("Form", u"\u540d\u79f0", None));
|
||||
___qtablewidgetitem20 = self.tableWidget_2.horizontalHeaderItem(1)
|
||||
___qtablewidgetitem20.setText(QCoreApplication.translate("Form", u"\u5269\u4f59\u5929\u6570", None));
|
||||
___qtablewidgetitem21 = self.tableWidget_2.horizontalHeaderItem(2)
|
||||
___qtablewidgetitem21.setText(QCoreApplication.translate("Form", u"\u64cd\u4f5c", None));
|
||||
___qtablewidgetitem22 = self.tableWidget_2.verticalHeaderItem(0)
|
||||
___qtablewidgetitem22.setText(QCoreApplication.translate("Form", u"1", None));
|
||||
___qtablewidgetitem23 = self.tableWidget_2.verticalHeaderItem(1)
|
||||
___qtablewidgetitem23.setText(QCoreApplication.translate("Form", u"2", None));
|
||||
___qtablewidgetitem24 = self.tableWidget_2.verticalHeaderItem(2)
|
||||
___qtablewidgetitem24.setText(QCoreApplication.translate("Form", u"3", None));
|
||||
___qtablewidgetitem25 = self.tableWidget_2.verticalHeaderItem(3)
|
||||
___qtablewidgetitem25.setText(QCoreApplication.translate("Form", u"4", None));
|
||||
___qtablewidgetitem26 = self.tableWidget_2.verticalHeaderItem(4)
|
||||
___qtablewidgetitem26.setText(QCoreApplication.translate("Form", u"5", None));
|
||||
___qtablewidgetitem27 = self.tableWidget_2.verticalHeaderItem(5)
|
||||
___qtablewidgetitem27.setText(QCoreApplication.translate("Form", u"6", None));
|
||||
___qtablewidgetitem28 = self.tableWidget_2.verticalHeaderItem(6)
|
||||
___qtablewidgetitem28.setText(QCoreApplication.translate("Form", u"8", None));
|
||||
___qtablewidgetitem29 = self.tableWidget_2.verticalHeaderItem(7)
|
||||
___qtablewidgetitem29.setText(QCoreApplication.translate("Form", u"7", None));
|
||||
___qtablewidgetitem30 = self.tableWidget_2.verticalHeaderItem(8)
|
||||
___qtablewidgetitem30.setText(QCoreApplication.translate("Form", u"9", None));
|
||||
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.publisher_manage), QCoreApplication.translate("Form", u"\u5f52\u8fd8\u4e66\u7c4d", None))
|
||||
self.tabWidget.setTabText(self.tabWidget.indexOf(self.book_manage), QCoreApplication.translate("Form", u"\u6b22\u8fce\u4f7f\u7528", None))
|
||||
# retranslateUi
|
||||
|
Loading…
Reference in new issue