ADD file via upload

master
xtu202105570224 2 years ago
parent 2de337e397
commit 1c136abeab

@ -0,0 +1,704 @@
# -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'main.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(object):
def setupUi(self, Form):
if not Form.objectName():
Form.setObjectName(u"Form")
Form.resize(1105, 569)
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.tag_lineedit = QLineEdit(self.widget)
self.tag_lineedit.setObjectName(u"tag_lineedit")
self.gridLayout.addWidget(self.tag_lineedit, 0, 2, 1, 1)
self.book_add_pushButton = QPushButton(self.widget)
self.book_add_pushButton.setObjectName(u"book_add_pushButton")
font2 = QFont()
font2.setPointSize(12)
font2.setBold(True)
font2.setItalic(False)
font2.setUnderline(False)
font2.setStrikeOut(False)
font2.setKerning(False)
self.book_add_pushButton.setFont(font2)
self.gridLayout.addWidget(self.book_add_pushButton, 2, 2, 1, 2)
self.book_number_lineedit = QLineEdit(self.widget)
self.book_number_lineedit.setObjectName(u"book_number_lineedit")
self.gridLayout.addWidget(self.book_number_lineedit, 1, 2, 1, 1)
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.Fixed)
self.tableWidget.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
self.tableWidget.setSelectionMode(QAbstractItemView.NoSelection) # 设置tablewidget不可选中
self.tableWidget.verticalHeader().setVisible(False) # 隐藏行号
self.gridLayout.addWidget(self.tableWidget, 3, 0, 1, 4)
self.book_publisher = QLineEdit(self.widget)
self.book_publisher.setObjectName(u"book_publisher")
self.gridLayout.addWidget(self.book_publisher, 1, 1, 1, 1)
self.enter_button = QPushButton(self.widget)
self.enter_button.setObjectName(u"enter_button")
self.enter_button.setFont(font2)
self.gridLayout.addWidget(self.enter_button, 2, 0, 1, 2)
self.book_description_lineEdit = QLineEdit(self.widget)
self.book_description_lineEdit.setObjectName(u"book_description_lineEdit")
self.gridLayout.addWidget(self.book_description_lineEdit, 1, 3, 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_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.search_bookname = QLineEdit(self.widget)
self.search_bookname.setObjectName(u"search_bookname")
self.gridLayout.addWidget(self.search_bookname, 0, 0, 1, 1)
self.book_price_lineEdit = QLineEdit(self.widget)
self.book_price_lineEdit.setObjectName(u"book_price_lineEdit")
self.gridLayout.addWidget(self.book_price_lineEdit, 0, 3, 1, 1)
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_eamil_line = QLineEdit(self.publisher_manage)
self.publish_eamil_line.setObjectName(u"publish_eamil_line")
self.verticalLayout_5.addWidget(self.publish_eamil_line)
self.publish_address_line = QLineEdit(self.publisher_manage)
self.publish_address_line.setObjectName(u"publish_address_line")
self.verticalLayout_5.addWidget(self.publish_address_line)
self.publish_add_pushButton = QPushButton(self.publisher_manage)
self.publish_add_pushButton.setObjectName(u"publish_add_pushButton")
self.publish_add_pushButton.setFont(font2)
self.verticalLayout_5.addWidget(self.publish_add_pushButton)
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() < 4):
self.tableWidget_2.setColumnCount(4)
__qtablewidgetitem19 = QTableWidgetItem()
self.tableWidget_2.setHorizontalHeaderItem(0, __qtablewidgetitem19)
__qtablewidgetitem20 = QTableWidgetItem()
self.tableWidget_2.setHorizontalHeaderItem(1, __qtablewidgetitem20)
__qtablewidgetitem21 = QTableWidgetItem()
self.tableWidget_2.setHorizontalHeaderItem(2, __qtablewidgetitem21)
__qtablewidgetitem22 = QTableWidgetItem()
self.tableWidget_2.setHorizontalHeaderItem(3, __qtablewidgetitem22)
if (self.tableWidget_2.rowCount() < 9):
self.tableWidget_2.setRowCount(9)
__qtablewidgetitem23 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(0, __qtablewidgetitem23)
__qtablewidgetitem24 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(1, __qtablewidgetitem24)
__qtablewidgetitem25 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(2, __qtablewidgetitem25)
__qtablewidgetitem26 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(3, __qtablewidgetitem26)
__qtablewidgetitem27 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(4, __qtablewidgetitem27)
__qtablewidgetitem28 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(5, __qtablewidgetitem28)
__qtablewidgetitem29 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(6, __qtablewidgetitem29)
__qtablewidgetitem30 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(7, __qtablewidgetitem30)
__qtablewidgetitem31 = QTableWidgetItem()
self.tableWidget_2.setVerticalHeaderItem(8, __qtablewidgetitem31)
self.tableWidget_2.setObjectName(u"tableWidget_2")
self.tableWidget_2.verticalHeader().setVisible(False)
self.tableWidget_2.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
self.tableWidget_2.setSelectionMode(QAbstractItemView.NoSelection) # 设置tablewidget不可选中
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.reader_manage = QWidget()
self.reader_manage.setObjectName(u"reader_manage")
self.gridLayout_3 = QGridLayout(self.reader_manage)
self.gridLayout_3.setObjectName(u"gridLayout_3")
self.tableWidget_4 = QTableWidget(self.reader_manage)
self.tableWidget_4 = QTableWidget(self.reader_manage)
if (self.tableWidget_4.columnCount() < 8):
self.tableWidget_4.setColumnCount(8)
__qtablewidgetitem33 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(0, __qtablewidgetitem33)
__qtablewidgetitem34 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(1, __qtablewidgetitem34)
__qtablewidgetitem35 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(2, __qtablewidgetitem35)
__qtablewidgetitem36 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(3, __qtablewidgetitem36)
__qtablewidgetitem37 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(4, __qtablewidgetitem37)
__qtablewidgetitem38 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(5, __qtablewidgetitem38)
__qtablewidgetitem39 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(6, __qtablewidgetitem39)
__qtablewidgetitem40 = QTableWidgetItem()
self.tableWidget_4.setHorizontalHeaderItem(7, __qtablewidgetitem40)
if (self.tableWidget_4.rowCount() < 10):
self.tableWidget_4.setRowCount(10)
__qtablewidgetitem41 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(0, __qtablewidgetitem41)
__qtablewidgetitem42 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(1, __qtablewidgetitem42)
__qtablewidgetitem43 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(2, __qtablewidgetitem43)
__qtablewidgetitem44 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(3, __qtablewidgetitem44)
__qtablewidgetitem45 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(4, __qtablewidgetitem45)
__qtablewidgetitem46 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(5, __qtablewidgetitem46)
__qtablewidgetitem47 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(6, __qtablewidgetitem47)
__qtablewidgetitem48 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(7, __qtablewidgetitem48)
__qtablewidgetitem49 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(8, __qtablewidgetitem49)
__qtablewidgetitem50 = QTableWidgetItem()
self.tableWidget_4.setVerticalHeaderItem(9, __qtablewidgetitem50)
self.tableWidget_4.setObjectName(u"tableWidget_4")
self.tableWidget_4.setFont(font1)
self.tableWidget_4.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
self.tableWidget_4.setSelectionMode(QAbstractItemView.NoSelection)
self.tableWidget_4.verticalHeader().setVisible(False)
self.gridLayout_3.addWidget(self.tableWidget_4, 4, 0, 1, 3)
self.reader_search_pushButton = QPushButton(self.reader_manage)
self.reader_search_pushButton.setObjectName(u"reader_search_pushButton")
self.reader_add_pushButton = QPushButton(self.reader_manage)
self.reader_add_pushButton.setObjectName(u"reader_add_pushButton")
self.gridLayout_3.addWidget(self.reader_search_pushButton, 3, 1, 1, 1)
self.gridLayout_3.addWidget(self.reader_add_pushButton, 3, 0, 1, 1)
self.reader_id_lineEdit = QLineEdit(self.reader_manage)
self.reader_id_lineEdit.setObjectName(u"reader_id_lineEdit")
self.reader_id_lineEdit.setFont(font1)
self.gridLayout_3.addWidget(self.reader_id_lineEdit, 0, 0, 1, 1)
self.reader_name_lineEdit = QLineEdit(self.reader_manage)
self.reader_name_lineEdit.setObjectName(u"reader_name_lineEdit")
self.reader_name_lineEdit.setFont(font1)
self.gridLayout_3.addWidget(self.reader_name_lineEdit, 0, 1, 1, 1)
self.reader_address_lineEdit = QLineEdit(self.reader_manage)
self.reader_address_lineEdit.setObjectName(u"reader_address_lineEdit")
self.reader_address_lineEdit.setFont(font1)
self.gridLayout_3.addWidget(self.reader_address_lineEdit, 1, 1, 1, 1)
self.reader_sex_lineEdit = QLineEdit(self.reader_manage)
self.reader_sex_lineEdit.setObjectName(u"reader_sex_lineEdit")
self.reader_sex_lineEdit.setFont(font1)
self.gridLayout_3.addWidget(self.reader_sex_lineEdit, 1, 0, 1, 1)
self.reader_tpye_comboBox = QComboBox(self.reader_manage)
self.reader_tpye_comboBox.addItem("")
self.reader_tpye_comboBox.addItem("")
self.reader_tpye_comboBox.addItem("")
self.reader_tpye_comboBox.addItem("")
self.reader_tpye_comboBox.setObjectName(u"reader_tpye_comboBox")
self.reader_tpye_comboBox.setFont(font1)
self.reader_tpye_comboBox.setEditable(False)
self.gridLayout_3.addWidget(self.reader_tpye_comboBox, 2, 0, 1, 1)
self.reader_damin_comboBox = QComboBox(self.reader_manage)
self.reader_damin_comboBox.addItem("")
self.reader_damin_comboBox.addItem("")
self.reader_damin_comboBox.setObjectName(u"reader_damin_comboBox")
self.reader_damin_comboBox.setFont(font1)
self.gridLayout_3.addWidget(self.reader_damin_comboBox, 2, 1, 1, 1)
self.tabWidget.addTab(self.reader_manage, "")
self.tab_3 = QWidget()
self.tab_3.setObjectName(u"tab_3")
self.gridLayout_2 = QGridLayout(self.tab_3)
self.gridLayout_2.setObjectName(u"gridLayout_2")
self.tag_lineEdit = QLineEdit(self.tab_3)
self.tag_lineEdit.setObjectName(u"tag_lineEdit")
self.tag_lineEdit.setFont(font1)
self.gridLayout_2.addWidget(self.tag_lineEdit, 0, 1, 1, 1)
self.tag_type_lineEdit = QLineEdit(self.tab_3)
self.tag_type_lineEdit.setObjectName(u"tag_type_lineEdit")
self.tag_type_lineEdit.setFont(font1)
self.gridLayout_2.addWidget(self.tag_type_lineEdit, 0, 0, 1, 1)
self.tableWidget_3 = QTableWidget(self.tab_3)
if (self.tableWidget_3.columnCount() < 4):
self.tableWidget_3.setColumnCount(4)
__qtablewidgetitem51 = QTableWidgetItem()
self.tableWidget_3.setHorizontalHeaderItem(0, __qtablewidgetitem51)
__qtablewidgetitem52 = QTableWidgetItem()
self.tableWidget_3.setHorizontalHeaderItem(1, __qtablewidgetitem52)
__qtablewidgetitem53 = QTableWidgetItem()
self.tableWidget_3.setHorizontalHeaderItem(2, __qtablewidgetitem53)
__qtablewidgetitem54 = QTableWidgetItem()
self.tableWidget_3.setHorizontalHeaderItem(3, __qtablewidgetitem54)
if (self.tableWidget_3.rowCount() < 10):
self.tableWidget_3.setRowCount(10)
__qtablewidgetitem55 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(0, __qtablewidgetitem55)
__qtablewidgetitem56 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(1, __qtablewidgetitem56)
__qtablewidgetitem57 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(2, __qtablewidgetitem57)
__qtablewidgetitem58 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(3, __qtablewidgetitem58)
__qtablewidgetitem59 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(4, __qtablewidgetitem59)
__qtablewidgetitem60 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(5, __qtablewidgetitem60)
__qtablewidgetitem61 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(6, __qtablewidgetitem61)
__qtablewidgetitem62 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(7, __qtablewidgetitem62)
__qtablewidgetitem63 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(8, __qtablewidgetitem63)
__qtablewidgetitem64 = QTableWidgetItem()
self.tableWidget_3.setVerticalHeaderItem(9, __qtablewidgetitem64)
self.tableWidget_3.setObjectName(u"tableWidget_3")
self.tableWidget_3.setFont(font1)
self.tableWidget_3.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
self.tableWidget_3.setSelectionMode(QAbstractItemView.NoSelection)
self.tableWidget_3.verticalHeader().setVisible(False)
self.gridLayout_2.addWidget(self.tableWidget_3, 3, 0, 1, 3)
self.tag_add_pushButton = QPushButton(self.tab_3)
self.tag_add_pushButton.setObjectName(u"tag_add_pushButton")
self.gridLayout_2.addWidget(self.tag_add_pushButton, 1, 0, 1, 1)
self.tag_search_pushButton = QPushButton(self.tab_3)
self.tag_search_pushButton.setObjectName(u"tag_search_pushButton")
self.gridLayout_2.addWidget(self.tag_search_pushButton, 1, 1, 1, 1)
self.tabWidget.addTab(self.tab_3, "")
self.borrow_manage = QWidget()
self.borrow_manage.setObjectName(u"borrow_manage")
self.gridLayout_4 = QGridLayout(self.borrow_manage)
self.gridLayout_4.setObjectName(u"gridLayout_4")
self.lineEdit_6 = QLineEdit(self.borrow_manage)
self.lineEdit_6.setObjectName(u"lineEdit_6")
self.lineEdit_6.setFont(font1)
self.gridLayout_4.addWidget(self.lineEdit_6, 0, 1, 1, 1)
self.pushButton_3 = QPushButton(self.borrow_manage)
self.pushButton_3.setObjectName(u"pushButton_3")
self.gridLayout_4.addWidget(self.pushButton_3, 0, 2, 1, 1)
self.lineEdit_5 = QLineEdit(self.borrow_manage)
self.lineEdit_5.setObjectName(u"lineEdit_5")
self.lineEdit_5.setFont(font1)
self.gridLayout_4.addWidget(self.lineEdit_5, 0, 0, 1, 1)
self.tableWidget_5 = QTableWidget(self.borrow_manage)
if (self.tableWidget_5.columnCount() < 3):
self.tableWidget_5.setColumnCount(3)
__qtablewidgetitem64 = QTableWidgetItem()
self.tableWidget_5.setHorizontalHeaderItem(0, __qtablewidgetitem64)
__qtablewidgetitem65 = QTableWidgetItem()
self.tableWidget_5.setHorizontalHeaderItem(1, __qtablewidgetitem65)
__qtablewidgetitem66 = QTableWidgetItem()
self.tableWidget_5.setHorizontalHeaderItem(2, __qtablewidgetitem66)
if (self.tableWidget_5.rowCount() < 9):
self.tableWidget_5.setRowCount(9)
__qtablewidgetitem67 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(0, __qtablewidgetitem67)
__qtablewidgetitem68 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(1, __qtablewidgetitem68)
__qtablewidgetitem69 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(2, __qtablewidgetitem69)
__qtablewidgetitem70 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(3, __qtablewidgetitem70)
__qtablewidgetitem71 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(4, __qtablewidgetitem71)
__qtablewidgetitem72 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(5, __qtablewidgetitem72)
__qtablewidgetitem73 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(6, __qtablewidgetitem73)
__qtablewidgetitem74 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(7, __qtablewidgetitem74)
__qtablewidgetitem75 = QTableWidgetItem()
self.tableWidget_5.setVerticalHeaderItem(8, __qtablewidgetitem75)
self.tableWidget_5.setObjectName(u"tableWidget_5")
self.tableWidget_5.setFont(font1)
self.tableWidget_5.horizontalHeader().setSectionResizeMode(QHeaderView.Stretch) # 使列表自适应宽度
self.tableWidget_5.setSelectionMode(QAbstractItemView.NoSelection) # 设置tablewidget不可选中
self.gridLayout_4.addWidget(self.tableWidget_5, 1, 0, 1, 3)
self.tabWidget.addTab(self.borrow_manage, "")
self.verticalLayout.addWidget(self.tabWidget)
self.retranslateUi(Form)
self.tabWidget.setCurrentIndex(3)
self.tabWidget_2.setCurrentIndex(1)
QMetaObject.connectSlotsByName(Form)
# setupUi
def retranslateUi(self, Form):
Form.setWindowTitle(QCoreApplication.translate("Form", u"Form", None))
self.tag_lineedit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u5206\u7c7b", None))
self.book_add_pushButton.setText(QCoreApplication.translate("Form", u"\u6dfb\u52a0", None))
self.book_number_lineedit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u5269\u4f59\u6570\u91cf", 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.book_publisher.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u51fa\u7248\u793e", None))
self.enter_button.setText(QCoreApplication.translate("Form", u"\u67e5\u8be2", None))
self.book_description_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u7b80\u4ecb", None))
self.search_editor.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4f5c\u8005", None))
self.search_book_id.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4e66\u7c4d\u7f16\u53f7", None))
self.search_bookname.setText("")
self.search_bookname.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4e66\u540d", None))
self.book_price_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u4ef7\u683c", None))
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.book_manage1), QCoreApplication.translate("Form", u"\u4e66\u7c4d\u7ba1\u7406", None))
self.publish_name_line.setText("")
self.publish_name_line.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u51fa\u7248\u793e\u540d", None))
self.publish_eamil_line.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u51fa\u7248\u793e\u8054\u7cfb\u65b9\u5f0f", None))
self.publish_address_line.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u51fa\u7248\u793e\u5730\u5740", None))
self.publish_add_pushButton.setText(QCoreApplication.translate("Form", u"\u589e\u52a0", 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"\u5730\u5740", None));
___qtablewidgetitem21 = self.tableWidget_2.horizontalHeaderItem(2)
___qtablewidgetitem21.setText(QCoreApplication.translate("Form", u"E-MAIL", None));
___qtablewidgetitem22 = self.tableWidget_2.horizontalHeaderItem(3)
___qtablewidgetitem22.setText(QCoreApplication.translate("Form", u"\u64cd\u4f5c", None));
___qtablewidgetitem23 = self.tableWidget_2.verticalHeaderItem(0)
___qtablewidgetitem23.setText(QCoreApplication.translate("Form", u"1", None));
___qtablewidgetitem24 = self.tableWidget_2.verticalHeaderItem(1)
___qtablewidgetitem24.setText(QCoreApplication.translate("Form", u"2", None));
___qtablewidgetitem25 = self.tableWidget_2.verticalHeaderItem(2)
___qtablewidgetitem25.setText(QCoreApplication.translate("Form", u"3", None));
___qtablewidgetitem26 = self.tableWidget_2.verticalHeaderItem(3)
___qtablewidgetitem26.setText(QCoreApplication.translate("Form", u"4", None));
___qtablewidgetitem27 = self.tableWidget_2.verticalHeaderItem(4)
___qtablewidgetitem27.setText(QCoreApplication.translate("Form", u"5", None));
___qtablewidgetitem28 = self.tableWidget_2.verticalHeaderItem(5)
___qtablewidgetitem28.setText(QCoreApplication.translate("Form", u"6", None));
___qtablewidgetitem29 = self.tableWidget_2.verticalHeaderItem(6)
___qtablewidgetitem29.setText(QCoreApplication.translate("Form", u"8", None));
___qtablewidgetitem30 = self.tableWidget_2.verticalHeaderItem(7)
___qtablewidgetitem30.setText(QCoreApplication.translate("Form", u"7", None));
___qtablewidgetitem31 = self.tableWidget_2.verticalHeaderItem(8)
___qtablewidgetitem31.setText(QCoreApplication.translate("Form", u"9", None));
self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.publisher_manage), QCoreApplication.translate("Form", u"\u51fa\u7248\u793e\u7ba1\u7406", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.book_manage), QCoreApplication.translate("Form", u"\u4e66\u7c4d\u7ba1\u7406", None))
self.reader_name_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u8bfb\u8005\u59d3\u540d", None))
___qtablewidgetitem32 = self.tableWidget_4.horizontalHeaderItem(0)
___qtablewidgetitem32.setText(QCoreApplication.translate("Form", u"\u59d3\u540d", None));
___qtablewidgetitem33 = self.tableWidget_4.horizontalHeaderItem(1)
___qtablewidgetitem33.setText(QCoreApplication.translate("Form", u"ID", None));
___qtablewidgetitem34 = self.tableWidget_4.horizontalHeaderItem(2)
___qtablewidgetitem34.setText(QCoreApplication.translate("Form", u"\u6027\u522b", None));
___qtablewidgetitem35 = self.tableWidget_4.horizontalHeaderItem(3)
___qtablewidgetitem35.setText(QCoreApplication.translate("Form", u"\u5730\u5740", None));
___qtablewidgetitem36 = self.tableWidget_4.horizontalHeaderItem(4)
___qtablewidgetitem36.setText(QCoreApplication.translate("Form", u"\u6700\u5927\u501f\u9605\u6570", None));
___qtablewidgetitem37 = self.tableWidget_4.horizontalHeaderItem(5)
___qtablewidgetitem37.setText(QCoreApplication.translate("Form", u"\u6700\u5927\u501f\u9605\u5929\u6570", None));
___qtablewidgetitem38 = self.tableWidget_4.horizontalHeaderItem(6)
___qtablewidgetitem38.setText(QCoreApplication.translate("Form", u"\u6743\u9650", None));
___qtablewidgetitem39 = self.tableWidget_4.horizontalHeaderItem(7)
___qtablewidgetitem39.setText(QCoreApplication.translate("Form", u"\u64cd\u4f5c", None));
___qtablewidgetitem40 = self.tableWidget_4.verticalHeaderItem(0)
___qtablewidgetitem40.setText(QCoreApplication.translate("Form", u"1", None));
___qtablewidgetitem41 = self.tableWidget_4.verticalHeaderItem(1)
___qtablewidgetitem41.setText(QCoreApplication.translate("Form", u"2", None));
___qtablewidgetitem42 = self.tableWidget_4.verticalHeaderItem(2)
___qtablewidgetitem42.setText(QCoreApplication.translate("Form", u"3", None));
___qtablewidgetitem43 = self.tableWidget_4.verticalHeaderItem(3)
___qtablewidgetitem43.setText(QCoreApplication.translate("Form", u"4", None));
___qtablewidgetitem44 = self.tableWidget_4.verticalHeaderItem(4)
___qtablewidgetitem44.setText(QCoreApplication.translate("Form", u"5", None));
___qtablewidgetitem45 = self.tableWidget_4.verticalHeaderItem(5)
___qtablewidgetitem45.setText(QCoreApplication.translate("Form", u"6", None));
___qtablewidgetitem46 = self.tableWidget_4.verticalHeaderItem(6)
___qtablewidgetitem46.setText(QCoreApplication.translate("Form", u"7", None));
___qtablewidgetitem47 = self.tableWidget_4.verticalHeaderItem(7)
___qtablewidgetitem47.setText(QCoreApplication.translate("Form", u"8", None));
___qtablewidgetitem48 = self.tableWidget_4.verticalHeaderItem(8)
___qtablewidgetitem48.setText(QCoreApplication.translate("Form", u"9", None));
___qtablewidgetitem49 = self.tableWidget_4.verticalHeaderItem(9)
___qtablewidgetitem49.setText(QCoreApplication.translate("Form", u"10", None));
self.reader_address_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u5730\u5740", None))
self.reader_search_pushButton.setText(QCoreApplication.translate("Form", u"\u67e5\u8be2", None))
self.reader_add_pushButton.setText(QCoreApplication.translate("Form", u"\u589e\u52a0", None))
self.reader_id_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u8bfb\u8005ID", None))
self.reader_sex_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u6027\u522b", None))
self.reader_tpye_comboBox.setItemText(0, QCoreApplication.translate("Form", u"\u672c\u79d1\u751f", None))
self.reader_tpye_comboBox.setItemText(1, QCoreApplication.translate("Form", u"\u7814\u7a76\u751f", None))
self.reader_tpye_comboBox.setItemText(2, QCoreApplication.translate("Form", u"\u6559\u5e08", None))
self.reader_tpye_comboBox.setItemText(3, QCoreApplication.translate("Form", u"\u7ba1\u7406\u5458", None))
self.reader_tpye_comboBox.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bfb\u8005\u7c7b\u578b", None))
self.reader_damin_comboBox.setItemText(0, QCoreApplication.translate("Form", u"\u8bfb\u8005", None))
self.reader_damin_comboBox.setItemText(1, QCoreApplication.translate("Form", u"\u7ba1\u7406\u5458", None))
self.reader_damin_comboBox.setPlaceholderText(QCoreApplication.translate("Form", u"\u6743\u9650", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.reader_manage), QCoreApplication.translate("Form", u"\u8bfb\u8005\u7ba1\u7406", None))
self.tag_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u6807\u7b7e\u540d\u79f0", None))
self.tag_type_lineEdit.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u6807\u7b7e\u7c7b\u522b", None))
___qtablewidgetitem50 = self.tableWidget_3.horizontalHeaderItem(0)
___qtablewidgetitem50.setText(QCoreApplication.translate("Form", u"\u6807\u7b7e\u7c7b\u522b", None));
___qtablewidgetitem51 = self.tableWidget_3.horizontalHeaderItem(1)
___qtablewidgetitem51.setText(QCoreApplication.translate("Form", u"\u64cd\u4f5c", None));
___qtablewidgetitem52 = self.tableWidget_3.horizontalHeaderItem(2)
___qtablewidgetitem52.setText(QCoreApplication.translate("Form", u" \u6807\u7b7e\u540d\u79f0", None));
___qtablewidgetitem53 = self.tableWidget_3.horizontalHeaderItem(3)
___qtablewidgetitem53.setText(QCoreApplication.translate("Form", u"\u64cd\u4f5c", None));
___qtablewidgetitem54 = self.tableWidget_3.verticalHeaderItem(0)
___qtablewidgetitem54.setText(QCoreApplication.translate("Form", u"1", None));
___qtablewidgetitem55 = self.tableWidget_3.verticalHeaderItem(1)
___qtablewidgetitem55.setText(QCoreApplication.translate("Form", u"2", None));
___qtablewidgetitem56 = self.tableWidget_3.verticalHeaderItem(2)
___qtablewidgetitem56.setText(QCoreApplication.translate("Form", u"3", None));
___qtablewidgetitem57 = self.tableWidget_3.verticalHeaderItem(3)
___qtablewidgetitem57.setText(QCoreApplication.translate("Form", u"4", None));
___qtablewidgetitem58 = self.tableWidget_3.verticalHeaderItem(4)
___qtablewidgetitem58.setText(QCoreApplication.translate("Form", u"5", None));
___qtablewidgetitem59 = self.tableWidget_3.verticalHeaderItem(5)
___qtablewidgetitem59.setText(QCoreApplication.translate("Form", u"6", None));
___qtablewidgetitem60 = self.tableWidget_3.verticalHeaderItem(6)
___qtablewidgetitem60.setText(QCoreApplication.translate("Form", u"7", None));
___qtablewidgetitem61 = self.tableWidget_3.verticalHeaderItem(7)
___qtablewidgetitem61.setText(QCoreApplication.translate("Form", u"8", None));
___qtablewidgetitem62 = self.tableWidget_3.verticalHeaderItem(8)
___qtablewidgetitem62.setText(QCoreApplication.translate("Form", u"9", None));
___qtablewidgetitem63 = self.tableWidget_3.verticalHeaderItem(9)
___qtablewidgetitem63.setText(QCoreApplication.translate("Form", u"10", None));
self.tag_add_pushButton.setText(QCoreApplication.translate("Form", u"\u589e\u52a0 ", None))
self.tag_search_pushButton.setText(QCoreApplication.translate("Form", u"\u67e5\u8be2", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QCoreApplication.translate("Form", u"\u6807\u7b7e\u7ba1\u7406", None))
self.lineEdit_6.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u88ab\u501f\u9605\u4e66\u7c4did", None))
self.pushButton_3.setText(QCoreApplication.translate("Form", u"\u67e5\u8be2", None))
self.lineEdit_5.setPlaceholderText(QCoreApplication.translate("Form", u"\u8bf7\u8f93\u5165\u501f\u9605\u8005\u7684id", None))
___qtablewidgetitem64 = self.tableWidget_5.horizontalHeaderItem(0)
___qtablewidgetitem64.setText(QCoreApplication.translate("Form", u"\u501f\u9605\u8005", None));
___qtablewidgetitem65 = self.tableWidget_5.horizontalHeaderItem(1)
___qtablewidgetitem65.setText(QCoreApplication.translate("Form", u"\u501f\u9605\u4e66", None));
___qtablewidgetitem66 = self.tableWidget_5.horizontalHeaderItem(2)
___qtablewidgetitem66.setText(QCoreApplication.translate("Form", u"\u5f52\u8fd8\u65f6\u95f4", None));
___qtablewidgetitem67 = self.tableWidget_5.verticalHeaderItem(0)
___qtablewidgetitem67.setText(QCoreApplication.translate("Form", u"1", None));
___qtablewidgetitem68 = self.tableWidget_5.verticalHeaderItem(1)
___qtablewidgetitem68.setText(QCoreApplication.translate("Form", u"2", None));
___qtablewidgetitem69 = self.tableWidget_5.verticalHeaderItem(2)
___qtablewidgetitem69.setText(QCoreApplication.translate("Form", u"3", None));
___qtablewidgetitem70 = self.tableWidget_5.verticalHeaderItem(3)
___qtablewidgetitem70.setText(QCoreApplication.translate("Form", u"4", None));
___qtablewidgetitem71 = self.tableWidget_5.verticalHeaderItem(4)
___qtablewidgetitem71.setText(QCoreApplication.translate("Form", u"5", None));
___qtablewidgetitem72 = self.tableWidget_5.verticalHeaderItem(5)
___qtablewidgetitem72.setText(QCoreApplication.translate("Form", u"6", None));
___qtablewidgetitem73 = self.tableWidget_5.verticalHeaderItem(6)
___qtablewidgetitem73.setText(QCoreApplication.translate("Form", u"7", None));
___qtablewidgetitem74 = self.tableWidget_5.verticalHeaderItem(7)
___qtablewidgetitem74.setText(QCoreApplication.translate("Form", u"8", None));
___qtablewidgetitem75 = self.tableWidget_5.verticalHeaderItem(8)
___qtablewidgetitem75.setText(QCoreApplication.translate("Form", u"9", None));
self.tabWidget.setTabText(self.tabWidget.indexOf(self.borrow_manage), QCoreApplication.translate("Form", u"\u501f\u9605\u7ba1\u7406", None))
# retranslateUi
Loading…
Cancel
Save