# Form implementation generated from reading ui file 'export_metadata_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_ExportMetadataDlg(object):
    def setupUi(self, ExportMetadataDlg):
        ExportMetadataDlg.setObjectName("ExportMetadataDlg")
        ExportMetadataDlg.resize(455, 433)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(ExportMetadataDlg)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.label = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label)
        self.card_set_name = QtWidgets.QLineEdit(parent=ExportMetadataDlg)
        self.card_set_name.setObjectName("card_set_name")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.card_set_name)
        self.label_2 = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
        self.author_name = QtWidgets.QLineEdit(parent=ExportMetadataDlg)
        self.author_name.setObjectName("author_name")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.author_name)
        self.label_3 = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_3)
        self.label_4 = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_4)
        self.date = QtWidgets.QDateEdit(parent=ExportMetadataDlg)
        self.date.setObjectName("date")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.ItemRole.FieldRole, self.date)
        self.label_5 = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label_5.setObjectName("label_5")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_5)
        self.revision = QtWidgets.QSpinBox(parent=ExportMetadataDlg)
        self.revision.setMinimum(1)
        self.revision.setMaximum(9999)
        self.revision.setObjectName("revision")
        self.formLayout.setWidget(6, QtWidgets.QFormLayout.ItemRole.FieldRole, self.revision)
        self.author_email = QtWidgets.QLineEdit(parent=ExportMetadataDlg)
        self.author_email.setObjectName("author_email")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.ItemRole.FieldRole, self.author_email)
        self.tags = QtWidgets.QLineEdit(parent=ExportMetadataDlg)
        self.tags.setObjectName("tags")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.ItemRole.FieldRole, self.tags)
        self.label_7 = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label_7.setObjectName("label_7")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_7)
        self.verticalLayout.addLayout(self.formLayout)
        self.label_6 = QtWidgets.QLabel(parent=ExportMetadataDlg)
        self.label_6.setObjectName("label_6")
        self.verticalLayout.addWidget(self.label_6)
        self.notes = QtWidgets.QPlainTextEdit(parent=ExportMetadataDlg)
        self.notes.setObjectName("notes")
        self.verticalLayout.addWidget(self.notes)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.ok_button = QtWidgets.QPushButton(parent=ExportMetadataDlg)
        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.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addLayout(self.verticalLayout)

        self.retranslateUi(ExportMetadataDlg)
        self.ok_button.clicked.connect(ExportMetadataDlg.accept) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(ExportMetadataDlg)
        ExportMetadataDlg.setTabOrder(self.card_set_name, self.author_name)
        ExportMetadataDlg.setTabOrder(self.author_name, self.author_email)
        ExportMetadataDlg.setTabOrder(self.author_email, self.tags)
        ExportMetadataDlg.setTabOrder(self.tags, self.date)
        ExportMetadataDlg.setTabOrder(self.date, self.revision)
        ExportMetadataDlg.setTabOrder(self.revision, self.notes)
        ExportMetadataDlg.setTabOrder(self.notes, self.ok_button)

    def retranslateUi(self, ExportMetadataDlg):
        _translate = QtCore.QCoreApplication.translate
        ExportMetadataDlg.setWindowTitle(_('Export cards'))
        self.label.setText(_('Card set name:'))
        self.label_2.setText(_('Author name:'))
        self.label_3.setText(_('Author email:'))
        self.label_4.setText(_('Date:'))
        self.label_5.setText(_('Revision:'))
        self.label_7.setText(_('Tags:'))
        self.label_6.setText(_('Notes:'))
        self.ok_button.setText(_('&OK'))
