# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'edit_M_sided_card_type_dlg.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from mnemosyne.libmnemosyne.gui_translator import _
from PyQt5 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(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(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.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.cancel_button = QtWidgets.QPushButton(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)
        self.cancel_button.clicked.connect(EditMSidedCardTypeDlg.reject)
        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'))
