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

#ifndef UI_QGSLAYOUTLABELWIDGETBASE_H
#define UI_QGSLAYOUTLABELWIDGETBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <qgscollapsiblegroupbox.h>
#include "qgsalignmentcombobox.h"
#include "qgsdoublespinbox.h"
#include "qgsfontbutton.h"
#include "qgsscrollarea.h"

QT_BEGIN_NAMESPACE

class Ui_QgsLayoutLabelWidgetBase
{
public:
    QVBoxLayout *_2;
    QLabel *label;
    QgsScrollArea *scrollArea;
    QWidget *scrollAreaWidgetContents;
    QVBoxLayout *mainLayout;
    QgsCollapsibleGroupBoxBasic *mTextGroupBox;
    QGridLayout *gridLayout_2;
    QToolButton *mDynamicTextButton;
    QToolButton *mInsertExpressionButton;
    QCheckBox *mHtmlCheckBox;
    QPlainTextEdit *mTextEdit;
    QgsCollapsibleGroupBoxBasic *mAppearanceGroup;
    QGridLayout *gridLayout;
    QLabel *mVerticalAlignementLabel;
    QgsAlignmentComboBox *mHAlignmentComboBox;
    QgsDoubleSpinBox *mMarginYDoubleSpinBox;
    QgsFontButton *mFontButton;
    QLabel *mMarginYLabel;
    QLabel *mMarginXLabel;
    QgsAlignmentComboBox *mVAlignmentComboBox;
    QgsDoubleSpinBox *mMarginXDoubleSpinBox;
    QLabel *mHorizontalAlignementLabel;
    QButtonGroup *buttonGroup_2;
    QButtonGroup *buttonGroup;

    void setupUi(QWidget *QgsLayoutLabelWidgetBase)
    {
        if (QgsLayoutLabelWidgetBase->objectName().isEmpty())
            QgsLayoutLabelWidgetBase->setObjectName("QgsLayoutLabelWidgetBase");
        QgsLayoutLabelWidgetBase->resize(360, 705);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(QgsLayoutLabelWidgetBase->sizePolicy().hasHeightForWidth());
        QgsLayoutLabelWidgetBase->setSizePolicy(sizePolicy);
        _2 = new QVBoxLayout(QgsLayoutLabelWidgetBase);
        _2->setSpacing(0);
        _2->setContentsMargins(11, 11, 11, 11);
        _2->setObjectName("_2");
        _2->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(QgsLayoutLabelWidgetBase);
        label->setObjectName("label");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Maximum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy1);
        label->setStyleSheet(QString::fromUtf8("padding: 2px; font-weight: bold; background-color: palette(mid);"));

        _2->addWidget(label);

        scrollArea = new QgsScrollArea(QgsLayoutLabelWidgetBase);
        scrollArea->setObjectName("scrollArea");
        scrollArea->setWidgetResizable(true);
        scrollAreaWidgetContents = new QWidget();
        scrollAreaWidgetContents->setObjectName("scrollAreaWidgetContents");
        scrollAreaWidgetContents->setGeometry(QRect(0, 0, 358, 681));
        mainLayout = new QVBoxLayout(scrollAreaWidgetContents);
        mainLayout->setSpacing(6);
        mainLayout->setContentsMargins(11, 11, 11, 11);
        mainLayout->setObjectName("mainLayout");
        mTextGroupBox = new QgsCollapsibleGroupBoxBasic(scrollAreaWidgetContents);
        mTextGroupBox->setObjectName("mTextGroupBox");
        mTextGroupBox->setFocusPolicy(Qt::StrongFocus);
        mTextGroupBox->setCheckable(false);
        mTextGroupBox->setProperty("syncGroup", QVariant(QString::fromUtf8("composeritem")));
        mTextGroupBox->setProperty("collapsed", QVariant(false));
        gridLayout_2 = new QGridLayout(mTextGroupBox);
        gridLayout_2->setSpacing(6);
        gridLayout_2->setContentsMargins(11, 11, 11, 11);
        gridLayout_2->setObjectName("gridLayout_2");
        mDynamicTextButton = new QToolButton(mTextGroupBox);
        mDynamicTextButton->setObjectName("mDynamicTextButton");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(mDynamicTextButton->sizePolicy().hasHeightForWidth());
        mDynamicTextButton->setSizePolicy(sizePolicy2);
        mDynamicTextButton->setPopupMode(QToolButton::InstantPopup);

        gridLayout_2->addWidget(mDynamicTextButton, 2, 1, 1, 1);

        mInsertExpressionButton = new QToolButton(mTextGroupBox);
        mInsertExpressionButton->setObjectName("mInsertExpressionButton");
        sizePolicy2.setHeightForWidth(mInsertExpressionButton->sizePolicy().hasHeightForWidth());
        mInsertExpressionButton->setSizePolicy(sizePolicy2);
        mInsertExpressionButton->setPopupMode(QToolButton::MenuButtonPopup);
        mInsertExpressionButton->setToolButtonStyle(Qt::ToolButtonTextOnly);
        mInsertExpressionButton->setArrowType(Qt::DownArrow);

        gridLayout_2->addWidget(mInsertExpressionButton, 2, 0, 1, 1);

        mHtmlCheckBox = new QCheckBox(mTextGroupBox);
        mHtmlCheckBox->setObjectName("mHtmlCheckBox");

        gridLayout_2->addWidget(mHtmlCheckBox, 1, 0, 1, 2);

        mTextEdit = new QPlainTextEdit(mTextGroupBox);
        mTextEdit->setObjectName("mTextEdit");
        mTextEdit->setMinimumSize(QSize(0, 150));

        gridLayout_2->addWidget(mTextEdit, 0, 0, 1, 2);


        mainLayout->addWidget(mTextGroupBox);

        mAppearanceGroup = new QgsCollapsibleGroupBoxBasic(scrollAreaWidgetContents);
        mAppearanceGroup->setObjectName("mAppearanceGroup");
        mAppearanceGroup->setFocusPolicy(Qt::StrongFocus);
        mAppearanceGroup->setCheckable(false);
        mAppearanceGroup->setProperty("syncGroup", QVariant(QString::fromUtf8("composeritem")));
        mAppearanceGroup->setProperty("collapsed", QVariant(false));
        gridLayout = new QGridLayout(mAppearanceGroup);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName("gridLayout");
        mVerticalAlignementLabel = new QLabel(mAppearanceGroup);
        mVerticalAlignementLabel->setObjectName("mVerticalAlignementLabel");

        gridLayout->addWidget(mVerticalAlignementLabel, 4, 0, 1, 1);

        mHAlignmentComboBox = new QgsAlignmentComboBox(mAppearanceGroup);
        mHAlignmentComboBox->setObjectName("mHAlignmentComboBox");

        gridLayout->addWidget(mHAlignmentComboBox, 3, 1, 1, 1);

        mMarginYDoubleSpinBox = new QgsDoubleSpinBox(mAppearanceGroup);
        mMarginYDoubleSpinBox->setObjectName("mMarginYDoubleSpinBox");
        mMarginYDoubleSpinBox->setMinimum(-99.989999999999995);

        gridLayout->addWidget(mMarginYDoubleSpinBox, 2, 1, 1, 1);

        mFontButton = new QgsFontButton(mAppearanceGroup);
        mFontButton->setObjectName("mFontButton");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(mFontButton->sizePolicy().hasHeightForWidth());
        mFontButton->setSizePolicy(sizePolicy3);

        gridLayout->addWidget(mFontButton, 0, 0, 1, 2);

        mMarginYLabel = new QLabel(mAppearanceGroup);
        mMarginYLabel->setObjectName("mMarginYLabel");

        gridLayout->addWidget(mMarginYLabel, 2, 0, 1, 1);

        mMarginXLabel = new QLabel(mAppearanceGroup);
        mMarginXLabel->setObjectName("mMarginXLabel");

        gridLayout->addWidget(mMarginXLabel, 1, 0, 1, 1);

        mVAlignmentComboBox = new QgsAlignmentComboBox(mAppearanceGroup);
        mVAlignmentComboBox->setObjectName("mVAlignmentComboBox");

        gridLayout->addWidget(mVAlignmentComboBox, 4, 1, 1, 1);

        mMarginXDoubleSpinBox = new QgsDoubleSpinBox(mAppearanceGroup);
        mMarginXDoubleSpinBox->setObjectName("mMarginXDoubleSpinBox");
        mMarginXDoubleSpinBox->setMinimum(-99.989999999999995);

        gridLayout->addWidget(mMarginXDoubleSpinBox, 1, 1, 1, 1);

        mHorizontalAlignementLabel = new QLabel(mAppearanceGroup);
        mHorizontalAlignementLabel->setObjectName("mHorizontalAlignementLabel");

        gridLayout->addWidget(mHorizontalAlignementLabel, 3, 0, 1, 1);


        mainLayout->addWidget(mAppearanceGroup);

        scrollArea->setWidget(scrollAreaWidgetContents);

        _2->addWidget(scrollArea);

        QWidget::setTabOrder(scrollArea, mTextGroupBox);
        QWidget::setTabOrder(mTextGroupBox, mTextEdit);
        QWidget::setTabOrder(mTextEdit, mHtmlCheckBox);
        QWidget::setTabOrder(mHtmlCheckBox, mInsertExpressionButton);
        QWidget::setTabOrder(mInsertExpressionButton, mDynamicTextButton);
        QWidget::setTabOrder(mDynamicTextButton, mAppearanceGroup);
        QWidget::setTabOrder(mAppearanceGroup, mFontButton);
        QWidget::setTabOrder(mFontButton, mMarginXDoubleSpinBox);
        QWidget::setTabOrder(mMarginXDoubleSpinBox, mMarginYDoubleSpinBox);

        retranslateUi(QgsLayoutLabelWidgetBase);

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

    void retranslateUi(QWidget *QgsLayoutLabelWidgetBase)
    {
        QgsLayoutLabelWidgetBase->setWindowTitle(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Label Options", nullptr));
        label->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Label", nullptr));
        mTextGroupBox->setTitle(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Main Properties", nullptr));
        mDynamicTextButton->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Dynamic Text", nullptr));
        mInsertExpressionButton->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Insert/Edit Expression\342\200\246", nullptr));
        mHtmlCheckBox->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Render as HTML", nullptr));
        mAppearanceGroup->setTitle(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Appearance", nullptr));
        mVerticalAlignementLabel->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Vertical alignment", nullptr));
        mMarginYDoubleSpinBox->setSuffix(QCoreApplication::translate("QgsLayoutLabelWidgetBase", " mm", nullptr));
        mFontButton->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Font", nullptr));
        mMarginYLabel->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Vertical margin", nullptr));
        mMarginXLabel->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Horizontal margin", nullptr));
        mMarginXDoubleSpinBox->setPrefix(QString());
        mMarginXDoubleSpinBox->setSuffix(QCoreApplication::translate("QgsLayoutLabelWidgetBase", " mm", nullptr));
        mHorizontalAlignementLabel->setText(QCoreApplication::translate("QgsLayoutLabelWidgetBase", "Horizontal alignment", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsLayoutLabelWidgetBase: public Ui_QgsLayoutLabelWidgetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSLAYOUTLABELWIDGETBASE_H
