# Form implementation generated from reading ui file 'configuration_dlg.ui'
#
# Created by: PyQt6 UI code generator 6.10.0
#
# 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 mnemosyne.libmnemosyne.gui_translator import _
from PyQt6 import QtCore, QtGui, QtWidgets


class Ui_ConfigurationDlg(object):
    def setupUi(self, ConfigurationDlg):
        ConfigurationDlg.setObjectName("ConfigurationDlg")
        ConfigurationDlg.resize(271, 156)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(ConfigurationDlg)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.tab_widget = QtWidgets.QTabWidget(parent=ConfigurationDlg)
        self.tab_widget.setObjectName("tab_widget")
        self.verticalLayout.addWidget(self.tab_widget)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.ok_button = QtWidgets.QPushButton(parent=ConfigurationDlg)
        self.ok_button.setAutoDefault(True)
        self.ok_button.setDefault(True)
        self.ok_button.setObjectName("ok_button")
        self.horizontalLayout.addWidget(self.ok_button)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.defaults_button = QtWidgets.QPushButton(parent=ConfigurationDlg)
        self.defaults_button.setAutoDefault(True)
        self.defaults_button.setObjectName("defaults_button")
        self.horizontalLayout.addWidget(self.defaults_button)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.cancel_button = QtWidgets.QPushButton(parent=ConfigurationDlg)
        self.cancel_button.setAutoDefault(True)
        self.cancel_button.setObjectName("cancel_button")
        self.horizontalLayout.addWidget(self.cancel_button)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addLayout(self.verticalLayout)

        self.retranslateUi(ConfigurationDlg)
        self.tab_widget.setCurrentIndex(-1)
        self.ok_button.clicked.connect(ConfigurationDlg.accept) # type: ignore
        self.defaults_button.clicked.connect(ConfigurationDlg.reset_to_defaults) # type: ignore
        self.cancel_button.clicked.connect(ConfigurationDlg.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ConfigurationDlg)

    def retranslateUi(self, ConfigurationDlg):
        _translate = QtCore.QCoreApplication.translate
        ConfigurationDlg.setWindowTitle(_('Configuration'))
        self.ok_button.setText(_('&OK'))
        self.defaults_button.setText(_('&Defaults'))
        self.cancel_button.setText(_('&Cancel'))
