# Form implementation generated from reading ui file 'c:\Users\aky547\GitHub\SemesterapparatsManager\src\ui\dialogs\dialog_sources\mail_preview.ui'
#
# Created by: PyQt6 UI code generator 6.7.1
#
# 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 PyQt6 import QtCore, QtGui, QtWidgets


class Ui_eMailPreview(object):
    def setupUi(self, eMailPreview):
        eMailPreview.setObjectName("eMailPreview")
        eMailPreview.resize(700, 668)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "c:\\Users\\aky547\\GitHub\\SemesterapparatsManager\\src\\ui\\dialogs\\dialog_sources\\../../../../../../icons/email.svg"
            ),
            QtGui.QIcon.Mode.Normal,
            QtGui.QIcon.State.Off,
        )
        eMailPreview.setWindowIcon(icon)
        self.gridLayout_2 = QtWidgets.QGridLayout(eMailPreview)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.prof_name = QtWidgets.QLineEdit(parent=eMailPreview)
        self.prof_name.setObjectName("prof_name")
        self.gridLayout.addWidget(self.prof_name, 2, 2, 1, 1)
        self.newTemplate = QtWidgets.QPushButton(parent=eMailPreview)
        self.newTemplate.setAutoFillBackground(False)
        self.newTemplate.setText("")
        self.newTemplate.setIconSize(QtCore.QSize(24, 24))
        self.newTemplate.setAutoDefault(True)
        self.newTemplate.setDefault(False)
        self.newTemplate.setFlat(False)
        self.newTemplate.setObjectName("newTemplate")
        self.gridLayout.addWidget(self.newTemplate, 0, 3, 1, 1)
        self.comboBox = QtWidgets.QComboBox(parent=eMailPreview)
        self.comboBox.setObjectName("comboBox")
        self.gridLayout.addWidget(self.comboBox, 0, 2, 1, 1)
        self.mail_header = QtWidgets.QLineEdit(parent=eMailPreview)
        self.mail_header.setObjectName("mail_header")
        self.gridLayout.addWidget(self.mail_header, 3, 2, 1, 1)
        self.label_6 = QtWidgets.QLabel(parent=eMailPreview)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 4, 0, 1, 1)
        self.mail_body = QtWidgets.QTextEdit(parent=eMailPreview)
        self.mail_body.setObjectName("mail_body")
        self.gridLayout.addWidget(self.mail_body, 5, 2, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=eMailPreview)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.mail_name = QtWidgets.QLineEdit(parent=eMailPreview)
        self.mail_name.setObjectName("mail_name")
        self.gridLayout.addWidget(self.mail_name, 1, 2, 1, 1)
        self.label_5 = QtWidgets.QLabel(parent=eMailPreview)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1)
        self.label_4 = QtWidgets.QLabel(parent=eMailPreview)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.gender_male = QtWidgets.QRadioButton(parent=eMailPreview)
        self.gender_male.setObjectName("gender_male")
        self.horizontalLayout_3.addWidget(self.gender_male)
        self.gender_female = QtWidgets.QRadioButton(parent=eMailPreview)
        self.gender_female.setObjectName("gender_female")
        self.horizontalLayout_3.addWidget(self.gender_female)
        self.gender_non = QtWidgets.QRadioButton(parent=eMailPreview)
        self.gender_non.setObjectName("gender_non")
        self.horizontalLayout_3.addWidget(self.gender_non)
        spacerItem = QtWidgets.QSpacerItem(
            40,
            20,
            QtWidgets.QSizePolicy.Policy.Expanding,
            QtWidgets.QSizePolicy.Policy.Minimum,
        )
        self.horizontalLayout_3.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout_3, 4, 2, 1, 1)
        self.label_3 = QtWidgets.QLabel(parent=eMailPreview)
        self.label_3.setAlignment(
            QtCore.Qt.AlignmentFlag.AlignLeading
            | QtCore.Qt.AlignmentFlag.AlignLeft
            | QtCore.Qt.AlignmentFlag.AlignTop
        )
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 5, 0, 1, 1)
        self.label = QtWidgets.QLabel(parent=eMailPreview)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem1 = QtWidgets.QSpacerItem(
            40,
            20,
            QtWidgets.QSizePolicy.Policy.Expanding,
            QtWidgets.QSizePolicy.Policy.Minimum,
        )
        self.horizontalLayout_2.addItem(spacerItem1)
        self.btn_okay = QtWidgets.QPushButton(parent=eMailPreview)
        self.btn_okay.setStatusTip("")
        self.btn_okay.setObjectName("btn_okay")
        self.horizontalLayout_2.addWidget(self.btn_okay)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=eMailPreview)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(
            QtWidgets.QDialogButtonBox.StandardButton.Cancel
        )
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName("buttonBox")
        self.horizontalLayout_2.addWidget(self.buttonBox)
        self.gridLayout.addLayout(self.horizontalLayout_2, 6, 2, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)

        self.retranslateUi(eMailPreview)
        self.buttonBox.accepted.connect(eMailPreview.accept)  # type: ignore
        self.buttonBox.rejected.connect(eMailPreview.reject)  # type: ignore
        QtCore.QMetaObject.connectSlotsByName(eMailPreview)

    def retranslateUi(self, eMailPreview):
        _translate = QtCore.QCoreApplication.translate
        eMailPreview.setWindowTitle(_translate("eMailPreview", "eMail Voransicht"))
        self.label_6.setText(_translate("eMailPreview", "Anrede"))
        self.label_2.setText(_translate("eMailPreview", "Prof"))
        self.label_5.setText(_translate("eMailPreview", "Art"))
        self.label_4.setText(_translate("eMailPreview", "Betreff"))
        self.gender_male.setText(_translate("eMailPreview", "M"))
        self.gender_female.setText(_translate("eMailPreview", "W"))
        self.gender_non.setText(_translate("eMailPreview", "Divers"))
        self.label_3.setText(_translate("eMailPreview", "Mail"))
        self.label.setText(_translate("eMailPreview", "eMail"))
        self.btn_okay.setWhatsThis(_translate("eMailPreview", "test"))
        self.btn_okay.setText(_translate("eMailPreview", "Senden"))
