# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'main.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_main(object):
    def setupUi(self, main):
        main.setObjectName("main")
        main.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(main)
        self.centralwidget.setObjectName("centralwidget")
        self.allBooksTab = QtWidgets.QTabWidget(self.centralwidget)
        self.allBooksTab.setGeometry(QtCore.QRect(0, 0, 801, 726))
        self.allBooksTab.setObjectName("allBooksTab")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.line = QtWidgets.QFrame(self.tab)
        self.line.setGeometry(QtCore.QRect(10, 60, 771, 16))
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.layoutWidget = QtWidgets.QWidget(self.tab)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 771, 25))
        self.layoutWidget.setObjectName("layoutWidget")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label = QtWidgets.QLabel(self.layoutWidget)
        self.label.setObjectName("label")
        self.horizontalLayout_3.addWidget(self.label)
        self.newBookButton = QtWidgets.QPushButton(self.layoutWidget)
        self.newBookButton.setObjectName("newBookButton")
        self.horizontalLayout_3.addWidget(self.newBookButton)
        self.layoutWidget1 = QtWidgets.QWidget(self.tab)
        self.layoutWidget1.setGeometry(QtCore.QRect(10, 90, 771, 471))
        self.layoutWidget1.setObjectName("layoutWidget1")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout_7.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.label_2 = QtWidgets.QLabel(self.layoutWidget1)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.label_2.setFont(font)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_7.addWidget(self.label_2)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout()
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.label_3 = QtWidgets.QLabel(self.layoutWidget1)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_6.addWidget(self.label_3)
        self.issuedTable = QtWidgets.QTableWidget(self.layoutWidget1)
        self.issuedTable.setColumnCount(8)
        self.issuedTable.setObjectName("issuedTable")
        self.issuedTable.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(3, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(4, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(5, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(6, item)
        item = QtWidgets.QTableWidgetItem()
        self.issuedTable.setHorizontalHeaderItem(7, item)
        self.verticalLayout_6.addWidget(self.issuedTable)
        self.horizontalLayout_5.addLayout(self.verticalLayout_6)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.deleteIssuedButton = QtWidgets.QPushButton(self.layoutWidget1)
        self.deleteIssuedButton.setObjectName("deleteIssuedButton")
        self.verticalLayout_3.addWidget(self.deleteIssuedButton)
        self.editIssuedButton = QtWidgets.QPushButton(self.layoutWidget1)
        self.editIssuedButton.setObjectName("editIssuedButton")
        self.verticalLayout_3.addWidget(self.editIssuedButton)
        self.refreshIssuedButton = QtWidgets.QPushButton(self.layoutWidget1)
        self.refreshIssuedButton.setObjectName("refreshIssuedButton")
        self.verticalLayout_3.addWidget(self.refreshIssuedButton)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem)
        self.horizontalLayout_5.addLayout(self.verticalLayout_3)
        self.horizontalLayout_6.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label_4 = QtWidgets.QLabel(self.layoutWidget1)
        self.label_4.setObjectName("label_4")
        self.verticalLayout_5.addWidget(self.label_4)
        self.unissuedTable = QtWidgets.QTableWidget(self.layoutWidget1)
        self.unissuedTable.setColumnCount(8)
        self.unissuedTable.setObjectName("unissuedTable")
        self.unissuedTable.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(3, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(4, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(5, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(6, item)
        item = QtWidgets.QTableWidgetItem()
        self.unissuedTable.setHorizontalHeaderItem(7, item)
        self.verticalLayout_5.addWidget(self.unissuedTable)
        self.horizontalLayout_4.addLayout(self.verticalLayout_5)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.deleteUnissuedButton = QtWidgets.QPushButton(self.layoutWidget1)
        self.deleteUnissuedButton.setObjectName("deleteUnissuedButton")
        self.verticalLayout_4.addWidget(self.deleteUnissuedButton)
        self.editUnissuedButton = QtWidgets.QPushButton(self.layoutWidget1)
        self.editUnissuedButton.setObjectName("editUnissuedButton")
        self.verticalLayout_4.addWidget(self.editUnissuedButton)
        self.refreshUnissuedButton = QtWidgets.QPushButton(self.layoutWidget1)
        self.refreshUnissuedButton.setObjectName("refreshUnissuedButton")
        self.verticalLayout_4.addWidget(self.refreshUnissuedButton)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem1)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.horizontalLayout_6.addLayout(self.horizontalLayout_4)
        self.verticalLayout_7.addLayout(self.horizontalLayout_6)
        self.allBooksTab.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.layoutWidget2 = QtWidgets.QWidget(self.tab_2)
        self.layoutWidget2.setGeometry(QtCore.QRect(10, 10, 771, 551))
        self.layoutWidget2.setObjectName("layoutWidget2")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget2)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_5 = QtWidgets.QLabel(self.layoutWidget2)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout.addWidget(self.label_5)
        self.searchInput = QtWidgets.QLineEdit(self.layoutWidget2)
        self.searchInput.setObjectName("searchInput")
        self.horizontalLayout.addWidget(self.searchInput)
        self.searchButton = QtWidgets.QPushButton(self.layoutWidget2)
        self.searchButton.setObjectName("searchButton")
        self.horizontalLayout.addWidget(self.searchButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.findBooksTable = QtWidgets.QTableWidget(self.layoutWidget2)
        self.findBooksTable.setColumnCount(8)
        self.findBooksTable.setObjectName("findBooksTable")
        self.findBooksTable.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(3, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(4, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(5, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(6, item)
        item = QtWidgets.QTableWidgetItem()
        self.findBooksTable.setHorizontalHeaderItem(7, item)
        self.verticalLayout.addWidget(self.findBooksTable)
        self.allBooksTab.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.layoutWidget3 = QtWidgets.QWidget(self.tab_3)
        self.layoutWidget3.setGeometry(QtCore.QRect(10, 10, 771, 551))
        self.layoutWidget3.setObjectName("layoutWidget3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget3)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_6 = QtWidgets.QLabel(self.layoutWidget3)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_2.addWidget(self.label_6)
        self.refreshButton = QtWidgets.QPushButton(self.layoutWidget3)
        self.refreshButton.setObjectName("refreshButton")
        self.horizontalLayout_2.addWidget(self.refreshButton)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.allBooksTable = QtWidgets.QTableWidget(self.layoutWidget3)
        self.allBooksTable.setColumnCount(8)
        self.allBooksTable.setObjectName("allBooksTable")
        self.allBooksTable.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(2, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(3, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(4, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(5, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(6, item)
        item = QtWidgets.QTableWidgetItem()
        self.allBooksTable.setHorizontalHeaderItem(7, item)
        self.verticalLayout_2.addWidget(self.allBooksTable)
        self.allBooksTab.addTab(self.tab_3, "")
        main.setCentralWidget(self.centralwidget)

        self.retranslateUi(main)
        self.allBooksTab.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(main)

    def retranslateUi(self, main):
        _translate = QtCore.QCoreApplication.translate
        main.setWindowTitle(_translate("main", "Library system"))
        self.label.setText(_translate("main", "Actions:"))
        self.newBookButton.setText(_translate("main", "New Book"))
        self.label_2.setText(_translate("main", "Books"))
        self.label_3.setText(_translate("main", "Issued books:"))
        item = self.issuedTable.horizontalHeaderItem(0)
        item.setText(_translate("main", "Id"))
        item = self.issuedTable.horizontalHeaderItem(1)
        item.setText(_translate("main", "Name"))
        item = self.issuedTable.horizontalHeaderItem(2)
        item.setText(_translate("main", "Description"))
        item = self.issuedTable.horizontalHeaderItem(3)
        item.setText(_translate("main", "ISBN"))
        item = self.issuedTable.horizontalHeaderItem(4)
        item.setText(_translate("main", "Page count"))
        item = self.issuedTable.horizontalHeaderItem(5)
        item.setText(_translate("main", "Issued"))
        item = self.issuedTable.horizontalHeaderItem(6)
        item.setText(_translate("main", "Author"))
        item = self.issuedTable.horizontalHeaderItem(7)
        item.setText(_translate("main", "Year"))
        self.deleteIssuedButton.setText(_translate("main", "Delete"))
        self.editIssuedButton.setText(_translate("main", "Edit"))
        self.refreshIssuedButton.setText(_translate("main", "Refresh"))
        self.label_4.setText(_translate("main", "Un Issued books:"))
        item = self.unissuedTable.horizontalHeaderItem(0)
        item.setText(_translate("main", "Id"))
        item = self.unissuedTable.horizontalHeaderItem(1)
        item.setText(_translate("main", "Name"))
        item = self.unissuedTable.horizontalHeaderItem(2)
        item.setText(_translate("main", "Description"))
        item = self.unissuedTable.horizontalHeaderItem(3)
        item.setText(_translate("main", "ISBN"))
        item = self.unissuedTable.horizontalHeaderItem(4)
        item.setText(_translate("main", "Page count"))
        item = self.unissuedTable.horizontalHeaderItem(5)
        item.setText(_translate("main", "Issued"))
        item = self.unissuedTable.horizontalHeaderItem(6)
        item.setText(_translate("main", "Author"))
        item = self.unissuedTable.horizontalHeaderItem(7)
        item.setText(_translate("main", "Year"))
        self.deleteUnissuedButton.setText(_translate("main", "Delete"))
        self.editUnissuedButton.setText(_translate("main", "Edit"))
        self.refreshUnissuedButton.setText(_translate("main", "Refresh"))
        self.allBooksTab.setTabText(self.allBooksTab.indexOf(self.tab), _translate("main", "Dashboard"))
        self.label_5.setText(_translate("main", "Search books by id:"))
        self.searchButton.setText(_translate("main", "Find"))
        item = self.findBooksTable.horizontalHeaderItem(0)
        item.setText(_translate("main", "Id"))
        item = self.findBooksTable.horizontalHeaderItem(1)
        item.setText(_translate("main", "Name"))
        item = self.findBooksTable.horizontalHeaderItem(2)
        item.setText(_translate("main", "Description"))
        item = self.findBooksTable.horizontalHeaderItem(3)
        item.setText(_translate("main", "ISBN"))
        item = self.findBooksTable.horizontalHeaderItem(4)
        item.setText(_translate("main", "Page count"))
        item = self.findBooksTable.horizontalHeaderItem(5)
        item.setText(_translate("main", "Issued"))
        item = self.findBooksTable.horizontalHeaderItem(6)
        item.setText(_translate("main", "Author"))
        item = self.findBooksTable.horizontalHeaderItem(7)
        item.setText(_translate("main", "Year"))
        self.allBooksTab.setTabText(self.allBooksTab.indexOf(self.tab_2), _translate("main", "Find"))
        self.label_6.setText(_translate("main", "All books"))
        self.refreshButton.setText(_translate("main", "Refresh"))
        item = self.allBooksTable.horizontalHeaderItem(0)
        item.setText(_translate("main", "Id"))
        item = self.allBooksTable.horizontalHeaderItem(1)
        item.setText(_translate("main", "Name"))
        item = self.allBooksTable.horizontalHeaderItem(2)
        item.setText(_translate("main", "Description"))
        item = self.allBooksTable.horizontalHeaderItem(3)
        item.setText(_translate("main", "ISBN"))
        item = self.allBooksTable.horizontalHeaderItem(4)
        item.setText(_translate("main", "Page count"))
        item = self.allBooksTable.horizontalHeaderItem(5)
        item.setText(_translate("main", "Issued"))
        item = self.allBooksTable.horizontalHeaderItem(6)
        item.setText(_translate("main", "Author"))
        item = self.allBooksTable.horizontalHeaderItem(7)
        item.setText(_translate("main", "Year"))
        self.allBooksTab.setTabText(self.allBooksTab.indexOf(self.tab_3), _translate("main", "All books"))
