/********************************************************************************
** Form generated from reading UI file 'qgsannotationlinetextwidgetbase.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_QGSANNOTATIONLINETEXTWIDGETBASE_H
#define UI_QGSANNOTATIONLINETEXTWIDGETBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QWidget>
#include "qgsannotationitemcommonpropertieswidget.h"
#include "qgsdoublespinbox.h"
#include "qgsrichtexteditor.h"
#include "qgsunitselectionwidget.h"

QT_BEGIN_NAMESPACE

class Ui_QgsAnnotationLineTextWidgetBase
{
public:
    QGridLayout *gridLayout;
    QToolButton *mInsertExpressionButton;
    QgsRichTextEditor *mTextEdit;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_2;
    QHBoxLayout *horizontalLayout_3;
    QgsDoubleSpinBox *mSpinOffset;
    QgsUnitSelectionWidget *mOffsetUnitWidget;
    QLabel *label_4;
    QgsAnnotationItemCommonPropertiesWidget *mPropertiesWidget;
    QWidget *mTextFormatWidgetContainer;

    void setupUi(QWidget *QgsAnnotationLineTextWidgetBase)
    {
        if (QgsAnnotationLineTextWidgetBase->objectName().isEmpty())
            QgsAnnotationLineTextWidgetBase->setObjectName("QgsAnnotationLineTextWidgetBase");
        QgsAnnotationLineTextWidgetBase->resize(321, 575);
        gridLayout = new QGridLayout(QgsAnnotationLineTextWidgetBase);
        gridLayout->setObjectName("gridLayout");
        gridLayout->setContentsMargins(0, 0, 0, 0);
        mInsertExpressionButton = new QToolButton(QgsAnnotationLineTextWidgetBase);
        mInsertExpressionButton->setObjectName("mInsertExpressionButton");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mInsertExpressionButton->sizePolicy().hasHeightForWidth());
        mInsertExpressionButton->setSizePolicy(sizePolicy);
        mInsertExpressionButton->setPopupMode(QToolButton::ToolButtonPopupMode::MenuButtonPopup);
        mInsertExpressionButton->setToolButtonStyle(Qt::ToolButtonStyle::ToolButtonTextOnly);
        mInsertExpressionButton->setArrowType(Qt::ArrowType::DownArrow);

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

        mTextEdit = new QgsRichTextEditor(QgsAnnotationLineTextWidgetBase);
        mTextEdit->setObjectName("mTextEdit");
        mTextEdit->setMinimumSize(QSize(0, 150));

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

        groupBox = new QGroupBox(QgsAnnotationLineTextWidgetBase);
        groupBox->setObjectName("groupBox");
        gridLayout_2 = new QGridLayout(groupBox);
        gridLayout_2->setObjectName("gridLayout_2");
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        mSpinOffset = new QgsDoubleSpinBox(groupBox);
        mSpinOffset->setObjectName("mSpinOffset");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
        sizePolicy1.setHorizontalStretch(1);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(mSpinOffset->sizePolicy().hasHeightForWidth());
        mSpinOffset->setSizePolicy(sizePolicy1);
        mSpinOffset->setStyleSheet(QString::fromUtf8(""));
        mSpinOffset->setDecimals(6);
        mSpinOffset->setMinimum(-100000.000000000000000);
        mSpinOffset->setMaximum(100000.000000000000000);
        mSpinOffset->setSingleStep(0.200000000000000);

        horizontalLayout_3->addWidget(mSpinOffset);

        mOffsetUnitWidget = new QgsUnitSelectionWidget(groupBox);
        mOffsetUnitWidget->setObjectName("mOffsetUnitWidget");
        mOffsetUnitWidget->setMinimumSize(QSize(0, 0));
        mOffsetUnitWidget->setFocusPolicy(Qt::FocusPolicy::StrongFocus);

        horizontalLayout_3->addWidget(mOffsetUnitWidget);


        gridLayout_2->addLayout(horizontalLayout_3, 0, 1, 1, 1);

        label_4 = new QLabel(groupBox);
        label_4->setObjectName("label_4");

        gridLayout_2->addWidget(label_4, 0, 0, 1, 1);

        gridLayout_2->setColumnStretch(0, 1);
        gridLayout_2->setColumnStretch(1, 2);

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

        mPropertiesWidget = new QgsAnnotationItemCommonPropertiesWidget(QgsAnnotationLineTextWidgetBase);
        mPropertiesWidget->setObjectName("mPropertiesWidget");

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

        mTextFormatWidgetContainer = new QWidget(QgsAnnotationLineTextWidgetBase);
        mTextFormatWidgetContainer->setObjectName("mTextFormatWidgetContainer");

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


        retranslateUi(QgsAnnotationLineTextWidgetBase);

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

    void retranslateUi(QWidget *QgsAnnotationLineTextWidgetBase)
    {
        QgsAnnotationLineTextWidgetBase->setWindowTitle(QCoreApplication::translate("QgsAnnotationLineTextWidgetBase", "Point Text Annotation", nullptr));
        mInsertExpressionButton->setText(QCoreApplication::translate("QgsAnnotationLineTextWidgetBase", "Insert/Edit Expression\342\200\246", nullptr));
        groupBox->setTitle(QCoreApplication::translate("QgsAnnotationLineTextWidgetBase", "Properties", nullptr));
        label_4->setText(QCoreApplication::translate("QgsAnnotationLineTextWidgetBase", "Offset from line", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsAnnotationLineTextWidgetBase: public Ui_QgsAnnotationLineTextWidgetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSANNOTATIONLINETEXTWIDGETBASE_H
