# Form implementation generated from reading ui file '.\gui\library.ui'
#
# Created by: PyQt6 UI code generator 6.10.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(520, 250)
        self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.tabWidget = QtWidgets.QTabWidget(parent=self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(20, 20, 480, 210))
        self.tabWidget.setElideMode(QtCore.Qt.TextElideMode.ElideNone)
        self.tabWidget.setObjectName("tabWidget")
        self.tab_add_book = QtWidgets.QWidget()
        self.tab_add_book.setObjectName("tab_add_book")
        self.title_input = QtWidgets.QLineEdit(parent=self.tab_add_book)
        self.title_input.setGeometry(QtCore.QRect(140, 40, 320, 20))
        self.title_input.setObjectName("title_input")
        self.title_lb = QtWidgets.QLabel(parent=self.tab_add_book)
        self.title_lb.setGeometry(QtCore.QRect(20, 40, 100, 20))
        self.title_lb.setObjectName("title_lb")
        self.author_input = QtWidgets.QLineEdit(parent=self.tab_add_book)
        self.author_input.setGeometry(QtCore.QRect(140, 80, 320, 20))
        self.author_input.setObjectName("author_input")
        self.author_lb = QtWidgets.QLabel(parent=self.tab_add_book)
        self.author_lb.setGeometry(QtCore.QRect(20, 80, 100, 20))
        self.author_lb.setObjectName("author_lb")
        self.save_btn = QtWidgets.QPushButton(parent=self.tab_add_book)
        self.save_btn.setGeometry(QtCore.QRect(140, 120, 111, 41))
        self.save_btn.setObjectName("save_btn")
        self.tabWidget.addTab(self.tab_add_book, "")
        self.tab_search = QtWidgets.QWidget()
        self.tab_search.setObjectName("tab_search")
        self.results_view = QtWidgets.QListView(parent=self.tab_search)
        self.results_view.setGeometry(QtCore.QRect(20, 60, 430, 100))
        self.results_view.setObjectName("results_view")
        self.search_lb = QtWidgets.QLabel(parent=self.tab_search)
        self.search_lb.setGeometry(QtCore.QRect(20, 20, 181, 16))
        self.search_lb.setObjectName("search_lb")
        self.search_input = QtWidgets.QLineEdit(parent=self.tab_search)
        self.search_input.setGeometry(QtCore.QRect(210, 20, 240, 20))
        self.search_input.setObjectName("search_input")
        self.tabWidget.addTab(self.tab_search, "")
        self.tab_delete = QtWidgets.QWidget()
        self.tab_delete.setObjectName("tab_delete")
        self.delete_btn = QtWidgets.QPushButton(parent=self.tab_delete)
        self.delete_btn.setGeometry(QtCore.QRect(360, 50, 100, 40))
        self.delete_btn.setObjectName("delete_btn")
        self.title_list = QtWidgets.QComboBox(parent=self.tab_delete)
        self.title_list.setGeometry(QtCore.QRect(20, 60, 320, 20))
        self.title_list.setObjectName("title_list")
        self.tabWidget.addTab(self.tab_delete, "")
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "Bibliothèque - Python"))
        self.title_lb.setText(_translate("MainWindow", "Titre"))
        self.author_lb.setText(_translate("MainWindow", "Auteur"))
        self.save_btn.setText(_translate("MainWindow", "Enregistrer"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_add_book), _translate("MainWindow", "Ajouter Livre"))
        self.search_lb.setText(_translate("MainWindow", "Recherche (par mot ou lettre)"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_search), _translate("MainWindow", "Recherche"))
        self.delete_btn.setText(_translate("MainWindow", "Supprimer"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_delete), _translate("MainWindow", "Supprimer"))
