# Form implementation generated from reading ui file 'edit_M_sided_card_template_wdgt.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_EditMSidedCardTemplateWdgt(object):
    def setupUi(self, EditMSidedCardTemplateWdgt):
        EditMSidedCardTemplateWdgt.setObjectName("EditMSidedCardTemplateWdgt")
        EditMSidedCardTemplateWdgt.resize(632, 519)
        self.verticalLayout_8 = QtWidgets.QVBoxLayout(EditMSidedCardTemplateWdgt)
        self.verticalLayout_8.setObjectName("verticalLayout_8")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.label = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.label.setObjectName("label")
        self.verticalLayout_4.addWidget(self.label)
        self.front_template = QtWidgets.QTextEdit(parent=EditMSidedCardTemplateWdgt)
        self.front_template.setAcceptRichText(False)
        self.front_template.setObjectName("front_template")
        self.verticalLayout_4.addWidget(self.front_template)
        self.gridLayout.addLayout(self.verticalLayout_4, 0, 0, 1, 1)
        self.label1_2 = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.label1_2.setObjectName("label1_2")
        self.gridLayout.addWidget(self.label1_2, 0, 1, 1, 1)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.label_2 = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_3.addWidget(self.label_2)
        self.css = QtWidgets.QTextEdit(parent=EditMSidedCardTemplateWdgt)
        self.css.setAcceptRichText(False)
        self.css.setObjectName("css")
        self.verticalLayout_3.addWidget(self.css)
        self.gridLayout.addLayout(self.verticalLayout_3, 1, 0, 1, 1)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        spacerItem = QtWidgets.QSpacerItem(13, 22, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
        self.verticalLayout.addItem(spacerItem)
        self.labelc1 = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.labelc1.setObjectName("labelc1")
        self.verticalLayout.addWidget(self.labelc1)
        spacerItem1 = QtWidgets.QSpacerItem(13, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.labelc2 = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.labelc2.setObjectName("labelc2")
        self.verticalLayout.addWidget(self.labelc2)
        spacerItem2 = QtWidgets.QSpacerItem(13, 5, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred)
        self.verticalLayout.addItem(spacerItem2)
        self.gridLayout.addLayout(self.verticalLayout, 1, 1, 1, 1)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.label_3 = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.label_3.setObjectName("label_3")
        self.verticalLayout_5.addWidget(self.label_3)
        self.back_template = QtWidgets.QTextEdit(parent=EditMSidedCardTemplateWdgt)
        self.back_template.setAcceptRichText(False)
        self.back_template.setObjectName("back_template")
        self.verticalLayout_5.addWidget(self.back_template)
        self.gridLayout.addLayout(self.verticalLayout_5, 2, 0, 1, 1)
        self.label1_3 = QtWidgets.QLabel(parent=EditMSidedCardTemplateWdgt)
        self.label1_3.setObjectName("label1_3")
        self.gridLayout.addWidget(self.label1_3, 2, 1, 1, 1)
        self.horizontalLayout.addLayout(self.gridLayout)
        self.verticalLayout_7 = QtWidgets.QVBoxLayout()
        self.verticalLayout_7.setObjectName("verticalLayout_7")
        self.groupBox = QtWidgets.QGroupBox(parent=EditMSidedCardTemplateWdgt)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.front_preview = QWebEngineView2(parent=self.groupBox)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.front_preview.sizePolicy().hasHeightForWidth())
        self.front_preview.setSizePolicy(sizePolicy)
        self.front_preview.setMinimumSize(QtCore.QSize(295, 50))
        self.front_preview.setFocusPolicy(QtCore.Qt.FocusPolicy.NoFocus)
        self.front_preview.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.NoContextMenu)
        self.front_preview.setAcceptDrops(False)
        self.front_preview.setProperty("url", QtCore.QUrl("about:blank"))
        self.front_preview.setObjectName("front_preview")
        self.verticalLayout_2.addWidget(self.front_preview)
        self.verticalLayout_7.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(parent=EditMSidedCardTemplateWdgt)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.back_preview = QWebEngineView2(parent=self.groupBox_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.back_preview.sizePolicy().hasHeightForWidth())
        self.back_preview.setSizePolicy(sizePolicy)
        self.back_preview.setMinimumSize(QtCore.QSize(295, 50))
        self.back_preview.setContextMenuPolicy(QtCore.Qt.ContextMenuPolicy.NoContextMenu)
        self.back_preview.setAcceptDrops(False)
        self.back_preview.setProperty("url", QtCore.QUrl("about:blank"))
        self.back_preview.setObjectName("back_preview")
        self.verticalLayout_6.addWidget(self.back_preview)
        self.verticalLayout_7.addWidget(self.groupBox_2)
        self.horizontalLayout.addLayout(self.verticalLayout_7)
        self.verticalLayout_8.addLayout(self.horizontalLayout)

        self.retranslateUi(EditMSidedCardTemplateWdgt)
        QtCore.QMetaObject.connectSlotsByName(EditMSidedCardTemplateWdgt)

    def retranslateUi(self, EditMSidedCardTemplateWdgt):
        _translate = QtCore.QCoreApplication.translate
        EditMSidedCardTemplateWdgt.setWindowTitle(_('Form'))
        self.label.setText(_('Front template:'))
        self.label1_2.setText(_('a'))
        self.label_2.setText(_('Styling (shared between sister cards):'))
        self.labelc1.setText(_('a'))
        self.labelc2.setText(_('a'))
        self.label_3.setText(_('Back template:'))
        self.label1_3.setText(_('a'))
        self.groupBox.setTitle(_('Front preview:'))
        self.groupBox_2.setTitle(_('Back preview:'))
from mnemosyne.pyqt_ui.qwebengineview2 import QWebEngineView2
