# Form implementation generated from reading ui file 'manage_card_types_dlg.ui'
#
# Created by: PyQt6 UI code generator 6.8.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_ManageCardTypesDlg(object):
    def setupUi(self, ManageCardTypesDlg):
        ManageCardTypesDlg.setObjectName("ManageCardTypesDlg")
        ManageCardTypesDlg.resize(600, 389)
        ManageCardTypesDlg.setMinimumSize(QtCore.QSize(600, 240))
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(ManageCardTypesDlg)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.native_card_types_box = QtWidgets.QGroupBox(parent=ManageCardTypesDlg)
        self.native_card_types_box.setObjectName("native_card_types_box")
        self.vertical_layout_native_card_types = QtWidgets.QVBoxLayout(self.native_card_types_box)
        self.vertical_layout_native_card_types.setObjectName("vertical_layout_native_card_types")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.clone_button = QtWidgets.QPushButton(parent=self.native_card_types_box)
        self.clone_button.setObjectName("clone_button")
        self.horizontalLayout_3.addWidget(self.clone_button)
        self.rename_native_card_type_button = QtWidgets.QPushButton(parent=self.native_card_types_box)
        self.rename_native_card_type_button.setObjectName("rename_native_card_type_button")
        self.horizontalLayout_3.addWidget(self.rename_native_card_type_button)
        self.delete_native_card_type_button = QtWidgets.QPushButton(parent=self.native_card_types_box)
        self.delete_native_card_type_button.setObjectName("delete_native_card_type_button")
        self.horizontalLayout_3.addWidget(self.delete_native_card_type_button)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.vertical_layout_native_card_types.addLayout(self.horizontalLayout_3)
        self.verticalLayout_3.addWidget(self.native_card_types_box)
        self.Anki_card_types_box = QtWidgets.QGroupBox(parent=ManageCardTypesDlg)
        self.Anki_card_types_box.setObjectName("Anki_card_types_box")
        self.vertical_layout_Anki_card_types = QtWidgets.QVBoxLayout(self.Anki_card_types_box)
        self.vertical_layout_Anki_card_types.setObjectName("vertical_layout_Anki_card_types")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.edit_Anki_card_type_button = QtWidgets.QPushButton(parent=self.Anki_card_types_box)
        self.edit_Anki_card_type_button.setObjectName("edit_Anki_card_type_button")
        self.horizontalLayout.addWidget(self.edit_Anki_card_type_button)
        self.rename_Anki_card_type_button = QtWidgets.QPushButton(parent=self.Anki_card_types_box)
        self.rename_Anki_card_type_button.setObjectName("rename_Anki_card_type_button")
        self.horizontalLayout.addWidget(self.rename_Anki_card_type_button)
        self.delete_Anki_card_type_button = QtWidgets.QPushButton(parent=self.Anki_card_types_box)
        self.delete_Anki_card_type_button.setObjectName("delete_Anki_card_type_button")
        self.horizontalLayout.addWidget(self.delete_Anki_card_type_button)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.vertical_layout_Anki_card_types.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addWidget(self.Anki_card_types_box)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.exit_button = QtWidgets.QPushButton(parent=ManageCardTypesDlg)
        self.exit_button.setDefault(True)
        self.exit_button.setObjectName("exit_button")
        self.horizontalLayout_2.addWidget(self.exit_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout_4.addLayout(self.verticalLayout_3)

        self.retranslateUi(ManageCardTypesDlg)
        self.exit_button.clicked.connect(ManageCardTypesDlg.reject) # type: ignore
        self.clone_button.clicked.connect(ManageCardTypesDlg.clone_card_type) # type: ignore
        self.rename_native_card_type_button.clicked.connect(ManageCardTypesDlg.rename_native_card_type) # type: ignore
        self.delete_native_card_type_button.clicked.connect(ManageCardTypesDlg.delete_native_card_type) # type: ignore
        self.delete_Anki_card_type_button.clicked.connect(ManageCardTypesDlg.delete_Anki_card_type) # type: ignore
        self.rename_Anki_card_type_button.clicked.connect(ManageCardTypesDlg.rename_Anki_card_type) # type: ignore
        self.edit_Anki_card_type_button.clicked.connect(ManageCardTypesDlg.edit_Anki_card_type) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ManageCardTypesDlg)

    def retranslateUi(self, ManageCardTypesDlg):
        _translate = QtCore.QCoreApplication.translate
        ManageCardTypesDlg.setWindowTitle(_('Card type manager'))
        self.native_card_types_box.setTitle(_('Card types'))
        self.clone_button.setText(_('&New clone'))
        self.rename_native_card_type_button.setText(_('&Rename'))
        self.delete_native_card_type_button.setText(_('&Delete'))
        self.Anki_card_types_box.setTitle(_('Anki card types'))
        self.edit_Anki_card_type_button.setText(_('&Edit'))
        self.rename_Anki_card_type_button.setText(_('&Rename'))
        self.delete_Anki_card_type_button.setText(_('&Delete'))
        self.exit_button.setText(_('&OK'))
