/********************************************************************************
** Form generated from reading UI file 'qgslabelingrulemindistancelabeltofeaturewidgetbase.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_QGSLABELINGRULEMINDISTANCELABELTOFEATUREWIDGETBASE_H
#define UI_QGSLABELINGRULEMINDISTANCELABELTOFEATUREWIDGETBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include "qgsdoublespinbox.h"
#include "qgsmaplayercombobox.h"
#include "qgspanelwidget.h"
#include "qgsunitselectionwidget.h"

QT_BEGIN_NAMESPACE

class Ui_QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label;
    QLineEdit *mEditName;
    QLabel *label_2;
    QgsMapLayerComboBox *mComboLabeledLayer;
    QLabel *label_3;
    QHBoxLayout *horizontalLayout_2;
    QgsDoubleSpinBox *mSpinDistance;
    QgsUnitSelectionWidget *mDistanceUnitWidget;
    QLabel *label_4;
    QgsMapLayerComboBox *mComboTargetLayer;
    QLabel *label_5;
    QHBoxLayout *horizontalLayout;
    QLabel *label_40;
    QSlider *mCostSlider;
    QLabel *label_41;
    QSpacerItem *verticalSpacer;

    void setupUi(QgsPanelWidget *QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase)
    {
        if (QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase->objectName().isEmpty())
            QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase->setObjectName("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase");
        QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase->resize(280, 306);
        QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase->setWindowTitle(QString::fromUtf8("Form"));
        verticalLayout = new QVBoxLayout(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        label->setObjectName("label");

        verticalLayout->addWidget(label);

        mEditName = new QLineEdit(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        mEditName->setObjectName("mEditName");

        verticalLayout->addWidget(mEditName);

        label_2 = new QLabel(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        label_2->setObjectName("label_2");

        verticalLayout->addWidget(label_2);

        mComboLabeledLayer = new QgsMapLayerComboBox(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        mComboLabeledLayer->setObjectName("mComboLabeledLayer");

        verticalLayout->addWidget(mComboLabeledLayer);

        label_3 = new QLabel(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        label_3->setObjectName("label_3");

        verticalLayout->addWidget(label_3);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        mSpinDistance = new QgsDoubleSpinBox(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        mSpinDistance->setObjectName("mSpinDistance");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mSpinDistance->sizePolicy().hasHeightForWidth());
        mSpinDistance->setSizePolicy(sizePolicy);
        mSpinDistance->setDecimals(6);
        mSpinDistance->setMaximum(100000.000000000000000);
        mSpinDistance->setSingleStep(0.200000000000000);
        mSpinDistance->setValue(1.000000000000000);
        mSpinDistance->setProperty("showClearButton", QVariant(true));

        horizontalLayout_2->addWidget(mSpinDistance);

        mDistanceUnitWidget = new QgsUnitSelectionWidget(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        mDistanceUnitWidget->setObjectName("mDistanceUnitWidget");
        mDistanceUnitWidget->setMinimumSize(QSize(0, 0));
        mDistanceUnitWidget->setFocusPolicy(Qt::StrongFocus);

        horizontalLayout_2->addWidget(mDistanceUnitWidget);


        verticalLayout->addLayout(horizontalLayout_2);

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

        verticalLayout->addWidget(label_4);

        mComboTargetLayer = new QgsMapLayerComboBox(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        mComboTargetLayer->setObjectName("mComboTargetLayer");

        verticalLayout->addWidget(mComboTargetLayer);

        label_5 = new QLabel(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        label_5->setObjectName("label_5");

        verticalLayout->addWidget(label_5);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        label_40 = new QLabel(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        label_40->setObjectName("label_40");

        horizontalLayout->addWidget(label_40);

        mCostSlider = new QSlider(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        mCostSlider->setObjectName("mCostSlider");
        mCostSlider->setMinimum(0);
        mCostSlider->setMaximum(100);
        mCostSlider->setSingleStep(1);
        mCostSlider->setValue(5);
        mCostSlider->setOrientation(Qt::Horizontal);
        mCostSlider->setTickPosition(QSlider::TicksBelow);
        mCostSlider->setTickInterval(10);

        horizontalLayout->addWidget(mCostSlider);

        label_41 = new QLabel(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);
        label_41->setObjectName("label_41");

        horizontalLayout->addWidget(label_41);


        verticalLayout->addLayout(horizontalLayout);

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

        verticalLayout->addItem(verticalSpacer);

        QWidget::setTabOrder(mEditName, mComboLabeledLayer);
        QWidget::setTabOrder(mComboLabeledLayer, mSpinDistance);
        QWidget::setTabOrder(mSpinDistance, mDistanceUnitWidget);
        QWidget::setTabOrder(mDistanceUnitWidget, mComboTargetLayer);

        retranslateUi(QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase);

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

    void retranslateUi(QgsPanelWidget *QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase)
    {
        label->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "Name", nullptr));
        label_2->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "Labels from layer", nullptr));
        label_3->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "Must be at least", nullptr));
        label_4->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "From the features in", nullptr));
        label_5->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "Rule priority", nullptr));
        label_40->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "Low", nullptr));
#if QT_CONFIG(tooltip)
        mCostSlider->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
        label_41->setText(QCoreApplication::translate("QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase", "High", nullptr));
        (void)QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase;
    } // retranslateUi

};

namespace Ui {
    class QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase: public Ui_QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSLABELINGRULEMINDISTANCELABELTOFEATUREWIDGETBASE_H
