# Form implementation generated from reading ui file 'convert_card_type_keys_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_ConvertCardTypeKeysDlg(object):
    def setupUi(self, ConvertCardTypeKeysDlg):
        ConvertCardTypeKeysDlg.setObjectName("ConvertCardTypeKeysDlg")
        ConvertCardTypeKeysDlg.resize(260, 105)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(ConvertCardTypeKeysDlg)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label_2 = QtWidgets.QLabel(parent=ConvertCardTypeKeysDlg)
        self.label_2.setMinimumSize(QtCore.QSize(250, 40))
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(parent=ConvertCardTypeKeysDlg)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_3 = QtWidgets.QLabel(parent=ConvertCardTypeKeysDlg)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        self.label_3.setFont(font)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 0, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.ok_button = QtWidgets.QPushButton(parent=ConvertCardTypeKeysDlg)
        self.ok_button.setEnabled(False)
        self.ok_button.setDefault(True)
        self.ok_button.setObjectName("ok_button")
        self.horizontalLayout.addWidget(self.ok_button)
        spacerItem = QtWidgets.QSpacerItem(208, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.cancel_button = QtWidgets.QPushButton(parent=ConvertCardTypeKeysDlg)
        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(ConvertCardTypeKeysDlg)
        self.ok_button.clicked.connect(ConvertCardTypeKeysDlg.accept) # type: ignore
        self.cancel_button.clicked.connect(ConvertCardTypeKeysDlg.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ConvertCardTypeKeysDlg)

    def retranslateUi(self, ConvertCardTypeKeysDlg):
        _translate = QtCore.QCoreApplication.translate
        ConvertCardTypeKeysDlg.setWindowTitle(_('Convert card type data'))
        self.label_2.setText(_('Set the correspondence between data in the old and the new card type:'))
        self.label.setText(_('Old:'))
        self.label_3.setText(_('New:'))
        self.ok_button.setText(_('&OK'))
        self.cancel_button.setText(_('&Cancel'))
