# Form implementation generated from reading ui file 'c:\Users\aky547\GitHub\SemesterapparatsManager\src\ui\dialogs\dialog_sources\settings.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# 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_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.setWindowModality(QtCore.Qt.WindowModality.NonModal)
        Dialog.resize(651, 679)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
        Dialog.setSizePolicy(sizePolicy)
        self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.toolBox = QtWidgets.QToolBox(parent=Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.toolBox.sizePolicy().hasHeightForWidth())
        self.toolBox.setSizePolicy(sizePolicy)
        self.toolBox.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhNone)
        self.toolBox.setObjectName("toolBox")
        self.page_1 = QtWidgets.QWidget()
        self.page_1.setGeometry(QtCore.QRect(0, 0, 633, 511))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.page_1.sizePolicy().hasHeightForWidth())
        self.page_1.setSizePolicy(sizePolicy)
        self.page_1.setObjectName("page_1")
        self.gridLayout_3 = QtWidgets.QGridLayout(self.page_1)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.db_name = QtWidgets.QLineEdit(parent=self.page_1)
        self.db_name.setObjectName("db_name")
        self.gridLayout_3.addWidget(self.db_name, 0, 1, 1, 1)
        self.label_5 = QtWidgets.QLabel(parent=self.page_1)
        self.label_5.setObjectName("label_5")
        self.gridLayout_3.addWidget(self.label_5, 0, 0, 1, 1)
        self.db_path = QtWidgets.QLineEdit(parent=self.page_1)
        self.db_path.setEnabled(False)
        self.db_path.setObjectName("db_path")
        self.gridLayout_3.addWidget(self.db_path, 1, 1, 1, 1)
        self.label_12 = QtWidgets.QLabel(parent=self.page_1)
        self.label_12.setObjectName("label_12")
        self.gridLayout_3.addWidget(self.label_12, 2, 0, 1, 1)
        self.label_11 = QtWidgets.QLabel(parent=self.page_1)
        self.label_11.setObjectName("label_11")
        self.gridLayout_3.addWidget(self.label_11, 1, 0, 1, 1)
        self.tb_set_save_path = QtWidgets.QToolButton(parent=self.page_1)
        self.tb_set_save_path.setObjectName("tb_set_save_path")
        self.gridLayout_3.addWidget(self.tb_set_save_path, 2, 2, 1, 1)
        self.tb_select_db = QtWidgets.QToolButton(parent=self.page_1)
        self.tb_select_db.setObjectName("tb_select_db")
        self.gridLayout_3.addWidget(self.tb_select_db, 0, 2, 1, 1)
        self.save_path = QtWidgets.QLineEdit(parent=self.page_1)
        self.save_path.setObjectName("save_path")
        self.gridLayout_3.addWidget(self.save_path, 2, 1, 1, 1)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.gridLayout_3.addItem(spacerItem, 3, 1, 1, 1)
        self.toolBox.addItem(self.page_1, "")
        self.page_2 = QtWidgets.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 633, 511))
        self.page_2.setObjectName("page_2")
        self.gridLayout = QtWidgets.QGridLayout(self.page_2)
        self.gridLayout.setObjectName("gridLayout")
        self.zotero_library_type = QtWidgets.QLineEdit(parent=self.page_2)
        self.zotero_library_type.setObjectName("zotero_library_type")
        self.gridLayout.addWidget(self.zotero_library_type, 2, 2, 1, 1)
        self.zotero_library_id = QtWidgets.QLineEdit(parent=self.page_2)
        self.zotero_library_id.setObjectName("zotero_library_id")
        self.gridLayout.addWidget(self.zotero_library_id, 1, 2, 1, 1)
        self.label_4 = QtWidgets.QLabel(parent=self.page_2)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(parent=self.page_2)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.zotero_api_key = QtWidgets.QLineEdit(parent=self.page_2)
        self.zotero_api_key.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhHiddenText|QtCore.Qt.InputMethodHint.ImhSensitiveData)
        self.zotero_api_key.setObjectName("zotero_api_key")
        self.gridLayout.addWidget(self.zotero_api_key, 0, 2, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=self.page_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.toggle_api_visibility = QtWidgets.QToolButton(parent=self.page_2)
        self.toggle_api_visibility.setText("")
        self.toggle_api_visibility.setObjectName("toggle_api_visibility")
        self.gridLayout.addWidget(self.toggle_api_visibility, 0, 3, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.gridLayout.addItem(spacerItem1, 3, 2, 1, 1)
        self.toolBox.addItem(self.page_2, "")
        self.page_3 = QtWidgets.QWidget()
        self.page_3.setGeometry(QtCore.QRect(0, 0, 633, 511))
        self.page_3.setObjectName("page_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.page_3)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.email_settings = QtWidgets.QTabWidget(parent=self.page_3)
        self.email_settings.setObjectName("email_settings")
        self.email_settingsPage1_2 = QtWidgets.QWidget()
        self.email_settingsPage1_2.setObjectName("email_settingsPage1_2")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.email_settingsPage1_2)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.use_username_smtp_login = QtWidgets.QCheckBox(parent=self.email_settingsPage1_2)
        self.use_username_smtp_login.setTristate(False)
        self.use_username_smtp_login.setObjectName("use_username_smtp_login")
        self.gridLayout_2.addWidget(self.use_username_smtp_login, 4, 1, 1, 1)
        self.label_6 = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
        self.smtp_port = QtWidgets.QLineEdit(parent=self.email_settingsPage1_2)
        self.smtp_port.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhDigitsOnly|QtCore.Qt.InputMethodHint.ImhPreferNumbers)
        self.smtp_port.setClearButtonEnabled(True)
        self.smtp_port.setObjectName("smtp_port")
        self.gridLayout_2.addWidget(self.smtp_port, 1, 1, 1, 1)
        self.label_7 = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label_7.setObjectName("label_7")
        self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1)
        self.sender_email = QtWidgets.QLineEdit(parent=self.email_settingsPage1_2)
        self.sender_email.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhEmailCharactersOnly)
        self.sender_email.setClearButtonEnabled(True)
        self.sender_email.setObjectName("sender_email")
        self.gridLayout_2.addWidget(self.sender_email, 2, 1, 1, 1)
        self.mail_username = QtWidgets.QLineEdit(parent=self.email_settingsPage1_2)
        self.mail_username.setClearButtonEnabled(True)
        self.mail_username.setObjectName("mail_username")
        self.gridLayout_2.addWidget(self.mail_username, 3, 1, 1, 1)
        self.label_9 = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label_9.setText("")
        self.label_9.setObjectName("label_9")
        self.gridLayout_2.addWidget(self.label_9, 7, 0, 1, 1)
        self.password = QtWidgets.QLineEdit(parent=self.email_settingsPage1_2)
        self.password.setInputMethodHints(QtCore.Qt.InputMethodHint.ImhHiddenText|QtCore.Qt.InputMethodHint.ImhSensitiveData)
        self.password.setClearButtonEnabled(True)
        self.password.setObjectName("password")
        self.gridLayout_2.addWidget(self.password, 5, 1, 1, 1)
        self.smtp_address = QtWidgets.QLineEdit(parent=self.email_settingsPage1_2)
        self.smtp_address.setClearButtonEnabled(True)
        self.smtp_address.setObjectName("smtp_address")
        self.gridLayout_2.addWidget(self.smtp_address, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.label_10 = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label_10.setObjectName("label_10")
        self.gridLayout_2.addWidget(self.label_10, 5, 0, 1, 1)
        self.togglePassword = QtWidgets.QPushButton(parent=self.email_settingsPage1_2)
        self.togglePassword.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.togglePassword.setText("")
        self.togglePassword.setObjectName("togglePassword")
        self.gridLayout_2.addWidget(self.togglePassword, 5, 2, 1, 1)
        self.label_8 = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label_8.setObjectName("label_8")
        self.gridLayout_2.addWidget(self.label_8, 3, 0, 1, 1)
        self.label_13 = QtWidgets.QLabel(parent=self.email_settingsPage1_2)
        self.label_13.setObjectName("label_13")
        self.gridLayout_2.addWidget(self.label_13, 6, 0, 1, 1)
        self.printermail = QtWidgets.QLineEdit(parent=self.email_settingsPage1_2)
        self.printermail.setObjectName("printermail")
        self.gridLayout_2.addWidget(self.printermail, 6, 1, 1, 1)
        self.horizontalLayout_4.addLayout(self.gridLayout_2)
        self.email_settings.addTab(self.email_settingsPage1_2, "")
        self.email_settingsPage2_2 = QtWidgets.QWidget()
        self.email_settingsPage2_2.setObjectName("email_settingsPage2_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.email_settingsPage2_2)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.bold = QtWidgets.QPushButton(parent=self.email_settingsPage2_2)
        self.bold.setCheckable(True)
        self.bold.setObjectName("bold")
        self.horizontalLayout_3.addWidget(self.bold)
        self.italic = QtWidgets.QPushButton(parent=self.email_settingsPage2_2)
        self.italic.setCheckable(True)
        self.italic.setObjectName("italic")
        self.horizontalLayout_3.addWidget(self.italic)
        self.underscore = QtWidgets.QPushButton(parent=self.email_settingsPage2_2)
        self.underscore.setCheckable(True)
        self.underscore.setObjectName("underscore")
        self.horizontalLayout_3.addWidget(self.underscore)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.fontComboBox = QtWidgets.QFontComboBox(parent=self.email_settingsPage2_2)
        self.fontComboBox.setObjectName("fontComboBox")
        self.horizontalLayout.addWidget(self.fontComboBox)
        self.font_size = QtWidgets.QComboBox(parent=self.email_settingsPage2_2)
        self.font_size.setObjectName("font_size")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.font_size.addItem("")
        self.horizontalLayout.addWidget(self.font_size)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem4)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addLayout(self.verticalLayout_2)
        self.editSignature = QtWidgets.QTextEdit(parent=self.email_settingsPage2_2)
        self.editSignature.setObjectName("editSignature")
        self.verticalLayout_3.addWidget(self.editSignature)
        self.debug = QtWidgets.QPushButton(parent=self.email_settingsPage2_2)
        self.debug.setObjectName("debug")
        self.verticalLayout_3.addWidget(self.debug)
        self.email_settings.addTab(self.email_settingsPage2_2, "")
        self.horizontalLayout_2.addWidget(self.email_settings)
        self.toolBox.addItem(self.page_3, "")
        self.page_4 = QtWidgets.QWidget()
        self.page_4.setGeometry(QtCore.QRect(0, 0, 633, 511))
        self.page_4.setObjectName("page_4")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.page_4)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.groupBox = QtWidgets.QGroupBox(parent=self.page_4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.scrollArea_3 = QtWidgets.QScrollArea(parent=self.groupBox)
        self.scrollArea_3.setWidgetResizable(True)
        self.scrollArea_3.setObjectName("scrollArea_3")
        self.scrollAreaWidgetContents_3 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_3.setGeometry(QtCore.QRect(0, 0, 593, 201))
        self.scrollAreaWidgetContents_3.setObjectName("scrollAreaWidgetContents_3")
        self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_3)
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.gridLayout_4 = QtWidgets.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.verticalLayout_7.addLayout(self.gridLayout_4)
        self.scrollArea_3.setWidget(self.scrollAreaWidgetContents_3)
        self.verticalLayout_5.addWidget(self.scrollArea_3)
        self.verticalLayout_4.addWidget(self.groupBox)
        self.scrollArea_2 = QtWidgets.QScrollArea(parent=self.page_4)
        self.scrollArea_2.setWidgetResizable(True)
        self.scrollArea_2.setObjectName("scrollArea_2")
        self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
        self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 613, 241))
        self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.vertical_icons = QtWidgets.QVBoxLayout()
        self.vertical_icons.setObjectName("vertical_icons")
        self.verticalLayout_6.addLayout(self.vertical_icons)
        self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
        self.verticalLayout_4.addWidget(self.scrollArea_2)
        self.toolBox.addItem(self.page_4, "")
        self.verticalLayout.addWidget(self.toolBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)
        self.label_5.setBuddy(self.db_name)
        self.label_12.setBuddy(self.save_path)
        self.label_11.setBuddy(self.db_path)

        self.retranslateUi(Dialog)
        self.toolBox.setCurrentIndex(2)
        self.email_settings.setCurrentIndex(0)
        self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
        self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.db_name.setText(_translate("Dialog", "sap.db"))
        self.label_5.setToolTip(_translate("Dialog", "<html><head/><body><p>Name der Datenbank, welche verwendet werden soll. <span style=\" font-weight:600;\">Muss</span> auf .db enden</p></body></html>"))
        self.label_5.setText(_translate("Dialog", "Datenbankname"))
        self.label_12.setToolTip(_translate("Dialog", "Pfad, an dem heruntergeladene Dateien gespeichert werden sollen"))
        self.label_12.setText(_translate("Dialog", "Temporäre Dateien"))
        self.label_11.setText(_translate("Dialog", "Datenbankpfad"))
        self.tb_set_save_path.setText(_translate("Dialog", "..."))
        self.tb_select_db.setText(_translate("Dialog", "..."))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_1), _translate("Dialog", "Datenbank"))
        self.label_4.setText(_translate("Dialog", "Bibliothekstyp"))
        self.label_3.setText(_translate("Dialog", "Bibliotheks-ID"))
        self.label_2.setText(_translate("Dialog", "API Key"))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_2), _translate("Dialog", "Zotero"))
        self.use_username_smtp_login.setStatusTip(_translate("Dialog", "Anklicken, wenn Nutzername benötigt wird, um sich beim Server anzumelden"))
        self.use_username_smtp_login.setText(_translate("Dialog", "Nutzername zum\n"
" Anmelden verwenden"))
        self.label_6.setText(_translate("Dialog", "Port"))
        self.label_7.setText(_translate("Dialog", "Sender-eMail"))
        self.mail_username.setStatusTip(_translate("Dialog", "Kürzel, von der Hochschule vergeben, bsp: Aky547"))
        self.label.setText(_translate("Dialog", "SMTP-Server"))
        self.label_10.setText(_translate("Dialog", "Passwort"))
        self.label_8.setText(_translate("Dialog", "Nutzername"))
        self.label_13.setText(_translate("Dialog", "Printmail"))
        self.email_settings.setTabText(self.email_settings.indexOf(self.email_settingsPage1_2), _translate("Dialog", "Allgemeines"))
        self.bold.setText(_translate("Dialog", "Fett"))
        self.italic.setText(_translate("Dialog", "Kursiv"))
        self.underscore.setText(_translate("Dialog", "Unterstrichen"))
        self.font_size.setItemText(0, _translate("Dialog", "8"))
        self.font_size.setItemText(1, _translate("Dialog", "9"))
        self.font_size.setItemText(2, _translate("Dialog", "11"))
        self.font_size.setItemText(3, _translate("Dialog", "12"))
        self.font_size.setItemText(4, _translate("Dialog", "14"))
        self.font_size.setItemText(5, _translate("Dialog", "16"))
        self.font_size.setItemText(6, _translate("Dialog", "18"))
        self.font_size.setItemText(7, _translate("Dialog", "20"))
        self.font_size.setItemText(8, _translate("Dialog", "22"))
        self.font_size.setItemText(9, _translate("Dialog", "24"))
        self.font_size.setItemText(10, _translate("Dialog", "26"))
        self.font_size.setItemText(11, _translate("Dialog", "28"))
        self.font_size.setItemText(12, _translate("Dialog", "36"))
        self.font_size.setItemText(13, _translate("Dialog", "48"))
        self.font_size.setItemText(14, _translate("Dialog", "72"))
        self.debug.setText(_translate("Dialog", "Debug"))
        self.email_settings.setTabText(self.email_settings.indexOf(self.email_settingsPage2_2), _translate("Dialog", "Signatur"))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_3), _translate("Dialog", "e-Mail"))
        self.groupBox.setTitle(_translate("Dialog", "Farben"))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_4), _translate("Dialog", "Icons"))
