# Form implementation generated from reading ui file 'edit_M_sided_card_type_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_EditMSidedCardTypeDlg(object):
    def setupUi(self, EditMSidedCardTypeDlg):
        EditMSidedCardTypeDlg.setObjectName("EditMSidedCardTypeDlg")
        EditMSidedCardTypeDlg.resize(271, 156)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(EditMSidedCardTypeDlg)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.tab_widget = QtWidgets.QTabWidget(parent=EditMSidedCardTypeDlg)
        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=EditMSidedCardTypeDlg)
        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.cancel_button = QtWidgets.QPushButton(parent=EditMSidedCardTypeDlg)
        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(EditMSidedCardTypeDlg)
        self.tab_widget.setCurrentIndex(-1)
        self.ok_button.clicked.connect(EditMSidedCardTypeDlg.accept) # type: ignore
        self.cancel_button.clicked.connect(EditMSidedCardTypeDlg.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(EditMSidedCardTypeDlg)

    def retranslateUi(self, EditMSidedCardTypeDlg):
        _translate = QtCore.QCoreApplication.translate
        EditMSidedCardTypeDlg.setWindowTitle(_('Edit M-sided card type'))
        self.ok_button.setText(_('&OK'))
        self.cancel_button.setText(_('&Cancel'))
