/********************************************************************************
** Form generated from reading UI file 'formaddeditemail.ui'
**
** Created by: Qt User Interface Compiler version 6.11.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_FORMADDEDITEMAIL_H
#define UI_FORMADDEDITEMAIL_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include "mrichtextedit.h"
#include "plaintoolbutton.h"

QT_BEGIN_NAMESPACE

class Ui_FormAddEditEmail
{
public:
    QFormLayout *m_layout;
    QHBoxLayout *m_layoutAdder;
    QSpacerItem *horizontalSpacer;
    PlainToolButton *m_btnAdder;
    MRichTextEdit *m_txtMessage;
    QDialogButtonBox *m_buttonBox;
    QLabel *m_lblSubject;
    QLineEdit *m_txtSubject;

    void setupUi(QDialog *FormAddEditEmail)
    {
        if (FormAddEditEmail->objectName().isEmpty())
            FormAddEditEmail->setObjectName("FormAddEditEmail");
        FormAddEditEmail->resize(423, 398);
        m_layout = new QFormLayout(FormAddEditEmail);
        m_layout->setObjectName("m_layout");
        m_layoutAdder = new QHBoxLayout();
        m_layoutAdder->setObjectName("m_layoutAdder");
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        m_layoutAdder->addItem(horizontalSpacer);

        m_btnAdder = new PlainToolButton(FormAddEditEmail);
        m_btnAdder->setObjectName("m_btnAdder");

        m_layoutAdder->addWidget(m_btnAdder);


        m_layout->setLayout(0, QFormLayout::ItemRole::SpanningRole, m_layoutAdder);

        m_txtMessage = new MRichTextEdit(FormAddEditEmail);
        m_txtMessage->setObjectName("m_txtMessage");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(m_txtMessage->sizePolicy().hasHeightForWidth());
        m_txtMessage->setSizePolicy(sizePolicy);

        m_layout->setWidget(2, QFormLayout::ItemRole::SpanningRole, m_txtMessage);

        m_buttonBox = new QDialogButtonBox(FormAddEditEmail);
        m_buttonBox->setObjectName("m_buttonBox");
        m_buttonBox->setOrientation(Qt::Horizontal);
        m_buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        m_layout->setWidget(3, QFormLayout::ItemRole::SpanningRole, m_buttonBox);

        m_lblSubject = new QLabel(FormAddEditEmail);
        m_lblSubject->setObjectName("m_lblSubject");

        m_layout->setWidget(1, QFormLayout::ItemRole::LabelRole, m_lblSubject);

        m_txtSubject = new QLineEdit(FormAddEditEmail);
        m_txtSubject->setObjectName("m_txtSubject");

        m_layout->setWidget(1, QFormLayout::ItemRole::FieldRole, m_txtSubject);

#if QT_CONFIG(shortcut)
        m_lblSubject->setBuddy(m_txtSubject);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(m_btnAdder, m_txtSubject);
        QWidget::setTabOrder(m_txtSubject, m_txtMessage);

        retranslateUi(FormAddEditEmail);
        QObject::connect(m_buttonBox, &QDialogButtonBox::rejected, FormAddEditEmail, qOverload<>(&QDialog::reject));

        QMetaObject::connectSlotsByName(FormAddEditEmail);
    } // setupUi

    void retranslateUi(QDialog *FormAddEditEmail)
    {
        FormAddEditEmail->setWindowTitle(QCoreApplication::translate("FormAddEditEmail", "Write e-mail message", nullptr));
        m_txtMessage->setProperty("placeholderText", QVariant(QCoreApplication::translate("FormAddEditEmail", "Contents of your e-mail message", nullptr)));
        m_lblSubject->setText(QCoreApplication::translate("FormAddEditEmail", "Subject", nullptr));
        m_txtSubject->setPlaceholderText(QCoreApplication::translate("FormAddEditEmail", "Title of your message", nullptr));
    } // retranslateUi

};

namespace Ui {
    class FormAddEditEmail: public Ui_FormAddEditEmail {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_FORMADDEDITEMAIL_H
