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

#ifndef UI_QGSDECORATIONTITLEDIALOG_H
#define UI_QGSDECORATIONTITLEDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTextEdit>
#include "qgscolorbutton.h"
#include "qgsfontbutton.h"
#include "qgsspinbox.h"
#include "qgsunitselectionwidget.h"

QT_BEGIN_NAMESPACE

class Ui_QgsDecorationTitleDialog
{
public:
    QGridLayout *gridLayout;
    QDialogButtonBox *buttonBox;
    QGroupBox *grpEnable;
    QGridLayout *gridLayout_2;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_2;
    QLabel *textLabel1_4;
    QgsSpinBox *spnHorizontal;
    QLabel *textLabel1_5;
    QgsSpinBox *spnVertical;
    QgsUnitSelectionWidget *wgtUnitSelection;
    QComboBox *cboPlacement;
    QPushButton *mInsertExpressionButton;
    QTextEdit *txtTitleText;
    QLabel *textLabel16;
    QLabel *lblMargin;
    QLabel *labelBackground;
    QgsColorButton *pbnBackgroundColor;
    QLabel *label;
    QHBoxLayout *horizontalLayout;
    QgsFontButton *mButtonFontStyle;
    QSpacerItem *horizontalSpacer;

    void setupUi(QDialog *QgsDecorationTitleDialog)
    {
        if (QgsDecorationTitleDialog->objectName().isEmpty())
            QgsDecorationTitleDialog->setObjectName("QgsDecorationTitleDialog");
        QgsDecorationTitleDialog->resize(543, 382);
        QIcon icon;
        icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        QgsDecorationTitleDialog->setWindowIcon(icon);
        gridLayout = new QGridLayout(QgsDecorationTitleDialog);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName("gridLayout");
        buttonBox = new QDialogButtonBox(QgsDecorationTitleDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);

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

        grpEnable = new QGroupBox(QgsDecorationTitleDialog);
        grpEnable->setObjectName("grpEnable");
        grpEnable->setMinimumSize(QSize(0, 240));
        grpEnable->setCheckable(true);
        grpEnable->setChecked(false);
        gridLayout_2 = new QGridLayout(grpEnable);
        gridLayout_2->setSpacing(6);
        gridLayout_2->setContentsMargins(11, 11, 11, 11);
        gridLayout_2->setObjectName("gridLayout_2");
        label_2 = new QLabel(grpEnable);
        label_2->setObjectName("label_2");

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(6);
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        textLabel1_4 = new QLabel(grpEnable);
        textLabel1_4->setObjectName("textLabel1_4");

        horizontalLayout_2->addWidget(textLabel1_4);

        spnHorizontal = new QgsSpinBox(grpEnable);
        spnHorizontal->setObjectName("spnHorizontal");
        spnHorizontal->setMinimumSize(QSize(90, 0));
        spnHorizontal->setMaximumSize(QSize(16777215, 16777215));
        spnHorizontal->setMinimum(0);
        spnHorizontal->setMaximum(100);

        horizontalLayout_2->addWidget(spnHorizontal);

        textLabel1_5 = new QLabel(grpEnable);
        textLabel1_5->setObjectName("textLabel1_5");

        horizontalLayout_2->addWidget(textLabel1_5);

        spnVertical = new QgsSpinBox(grpEnable);
        spnVertical->setObjectName("spnVertical");
        spnVertical->setMinimumSize(QSize(90, 0));
        spnVertical->setMaximumSize(QSize(16777215, 16777215));
        spnVertical->setMaximum(100);

        horizontalLayout_2->addWidget(spnVertical);

        wgtUnitSelection = new QgsUnitSelectionWidget(grpEnable);
        wgtUnitSelection->setObjectName("wgtUnitSelection");
        wgtUnitSelection->setFocusPolicy(Qt::StrongFocus);

        horizontalLayout_2->addWidget(wgtUnitSelection);


        gridLayout_2->addLayout(horizontalLayout_2, 6, 1, 1, 2);

        cboPlacement = new QComboBox(grpEnable);
        cboPlacement->setObjectName("cboPlacement");

        gridLayout_2->addWidget(cboPlacement, 5, 1, 1, 2);

        mInsertExpressionButton = new QPushButton(grpEnable);
        mInsertExpressionButton->setObjectName("mInsertExpressionButton");

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

        txtTitleText = new QTextEdit(grpEnable);
        txtTitleText->setObjectName("txtTitleText");

        gridLayout_2->addWidget(txtTitleText, 1, 0, 1, 3);

        textLabel16 = new QLabel(grpEnable);
        textLabel16->setObjectName("textLabel16");
        textLabel16->setMaximumSize(QSize(100, 16777215));

        gridLayout_2->addWidget(textLabel16, 5, 0, 1, 1);

        lblMargin = new QLabel(grpEnable);
        lblMargin->setObjectName("lblMargin");
        lblMargin->setMinimumSize(QSize(155, 0));

        gridLayout_2->addWidget(lblMargin, 6, 0, 1, 1);

        labelBackground = new QLabel(grpEnable);
        labelBackground->setObjectName("labelBackground");

        gridLayout_2->addWidget(labelBackground, 4, 0, 1, 1);

        pbnBackgroundColor = new QgsColorButton(grpEnable);
        pbnBackgroundColor->setObjectName("pbnBackgroundColor");
        pbnBackgroundColor->setMinimumSize(QSize(150, 0));
        pbnBackgroundColor->setMaximumSize(QSize(200, 16777215));

        gridLayout_2->addWidget(pbnBackgroundColor, 4, 1, 1, 2);

        label = new QLabel(grpEnable);
        label->setObjectName("label");
        label->setMaximumSize(QSize(100, 16777215));

        gridLayout_2->addWidget(label, 3, 0, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(6);
        horizontalLayout->setObjectName("horizontalLayout");
        mButtonFontStyle = new QgsFontButton(grpEnable);
        mButtonFontStyle->setObjectName("mButtonFontStyle");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mButtonFontStyle->sizePolicy().hasHeightForWidth());
        mButtonFontStyle->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(mButtonFontStyle);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);


        gridLayout_2->addLayout(horizontalLayout, 3, 1, 1, 2);


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

#if QT_CONFIG(shortcut)
        label_2->setBuddy(txtTitleText);
        textLabel16->setBuddy(cboPlacement);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(grpEnable, txtTitleText);
        QWidget::setTabOrder(txtTitleText, mInsertExpressionButton);
        QWidget::setTabOrder(mInsertExpressionButton, mButtonFontStyle);
        QWidget::setTabOrder(mButtonFontStyle, pbnBackgroundColor);
        QWidget::setTabOrder(pbnBackgroundColor, cboPlacement);
        QWidget::setTabOrder(cboPlacement, spnHorizontal);
        QWidget::setTabOrder(spnHorizontal, spnVertical);
        QWidget::setTabOrder(spnVertical, wgtUnitSelection);

        retranslateUi(QgsDecorationTitleDialog);

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

    void retranslateUi(QDialog *QgsDecorationTitleDialog)
    {
        QgsDecorationTitleDialog->setWindowTitle(QCoreApplication::translate("QgsDecorationTitleDialog", "Title Label Decoration", nullptr));
        grpEnable->setTitle(QCoreApplication::translate("QgsDecorationTitleDialog", "Enable Title Label", nullptr));
        label_2->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Title label text", nullptr));
        textLabel1_4->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Horizontal", nullptr));
#if QT_CONFIG(tooltip)
        spnHorizontal->setToolTip(QCoreApplication::translate("QgsDecorationTitleDialog", "Horizontal offset on the map canvas from the placement anchor", nullptr));
#endif // QT_CONFIG(tooltip)
        textLabel1_5->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Vertical", nullptr));
#if QT_CONFIG(tooltip)
        spnVertical->setToolTip(QCoreApplication::translate("QgsDecorationTitleDialog", "Vertical offset on the map canvas from the placement anchor", nullptr));
#endif // QT_CONFIG(tooltip)
        mInsertExpressionButton->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Insert or Edit an Expression\342\200\246", nullptr));
        textLabel16->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "&Placement", nullptr));
        lblMargin->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Margin from edge", nullptr));
        labelBackground->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Background bar color", nullptr));
        pbnBackgroundColor->setText(QString());
        label->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Font", nullptr));
        mButtonFontStyle->setText(QCoreApplication::translate("QgsDecorationTitleDialog", "Font", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsDecorationTitleDialog: public Ui_QgsDecorationTitleDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSDECORATIONTITLEDIALOG_H
