/********************************************************************************
** Form generated from reading UI file 'qgsrelationreferenceconfigdlgbase.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_QGSRELATIONREFERENCECONFIGDLGBASE_H
#define UI_QGSRELATIONREFERENCECONFIGDLGBASE_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "qgscollapsiblegroupbox.h"
#include "qgsfieldexpressionwidget.h"
#include "qgsspinbox.h"

QT_BEGIN_NAMESPACE

class Ui_QgsRelReferenceConfigDlgBase
{
public:
    QGridLayout *gridLayout_2;
    QgsCollapsibleGroupBox *mFilterGroupBox;
    QGridLayout *gridLayout;
    QListWidget *mFilterFieldsList;
    QHBoxLayout *horizontalLayout;
    QLabel *label_3;
    QToolButton *mEditExpression;
    QSpacerItem *horizontalSpacer;
    QSpacerItem *verticalSpacer_2;
    QToolButton *mRemoveFilterButton;
    QToolButton *mAddFilterButton;
    QTextEdit *mFilterExpression;
    QListWidget *mAvailableFieldsList;
    QCheckBox *mCbxChainFilters;
    QSpacerItem *verticalSpacer;
    QGroupBox *mOrderByGroupBox;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout_2;
    QLabel *orderByExpressionLabel;
    QgsFieldExpressionWidget *mOrderByExpressionWidget;
    QCheckBox *mOrderByDescending;
    QCheckBox *mCbxShowForm;
    QComboBox *mComboRelation;
    QLabel *label_2;
    QCheckBox *mCbxShowOpenFormButton;
    QHBoxLayout *horizontalLayout_3;
    QCheckBox *mFetchLimitCheckBox;
    QgsSpinBox *mFetchLimit;
    QCheckBox *mCbxAllowNull;
    QCheckBox *mCbxReadOnly;
    QLabel *label;
    QCheckBox *mCbxMapIdentification;
    QgsFieldExpressionWidget *mExpressionWidget;
    QCheckBox *mCbxAllowAddFeatures;

    void setupUi(QWidget *QgsRelReferenceConfigDlgBase)
    {
        if (QgsRelReferenceConfigDlgBase->objectName().isEmpty())
            QgsRelReferenceConfigDlgBase->setObjectName("QgsRelReferenceConfigDlgBase");
        QgsRelReferenceConfigDlgBase->resize(470, 655);
        QgsRelReferenceConfigDlgBase->setWindowTitle(QString::fromUtf8("Dialog"));
        gridLayout_2 = new QGridLayout(QgsRelReferenceConfigDlgBase);
        gridLayout_2->setObjectName("gridLayout_2");
        mFilterGroupBox = new QgsCollapsibleGroupBox(QgsRelReferenceConfigDlgBase);
        mFilterGroupBox->setObjectName("mFilterGroupBox");
        mFilterGroupBox->setCheckable(true);
        mFilterGroupBox->setChecked(false);
        gridLayout = new QGridLayout(mFilterGroupBox);
        gridLayout->setObjectName("gridLayout");
        mFilterFieldsList = new QListWidget(mFilterGroupBox);
        mFilterFieldsList->setObjectName("mFilterFieldsList");

        gridLayout->addWidget(mFilterFieldsList, 1, 2, 4, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalLayout->setContentsMargins(-1, 10, -1, -1);
        label_3 = new QLabel(mFilterGroupBox);
        label_3->setObjectName("label_3");

        horizontalLayout->addWidget(label_3);

        mEditExpression = new QToolButton(mFilterGroupBox);
        mEditExpression->setObjectName("mEditExpression");
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/images/themes/default/mIconExpression.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mEditExpression->setIcon(icon);

        horizontalLayout->addWidget(mEditExpression);

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

        horizontalLayout->addItem(horizontalSpacer);


        gridLayout->addLayout(horizontalLayout, 6, 0, 1, 3);

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

        gridLayout->addItem(verticalSpacer_2, 4, 1, 1, 1);

        mRemoveFilterButton = new QToolButton(mFilterGroupBox);
        mRemoveFilterButton->setObjectName("mRemoveFilterButton");
        QIcon icon1;
        icon1.addFile(QString::fromUtf8(":/images/themes/default/symbologyRemove.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mRemoveFilterButton->setIcon(icon1);

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

        mAddFilterButton = new QToolButton(mFilterGroupBox);
        mAddFilterButton->setObjectName("mAddFilterButton");
        QIcon icon2;
        icon2.addFile(QString::fromUtf8(":/images/themes/default/symbologyAdd.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mAddFilterButton->setIcon(icon2);

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

        mFilterExpression = new QTextEdit(mFilterGroupBox);
        mFilterExpression->setObjectName("mFilterExpression");

        gridLayout->addWidget(mFilterExpression, 7, 0, 1, 3);

        mAvailableFieldsList = new QListWidget(mFilterGroupBox);
        mAvailableFieldsList->setObjectName("mAvailableFieldsList");

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

        mCbxChainFilters = new QCheckBox(mFilterGroupBox);
        mCbxChainFilters->setObjectName("mCbxChainFilters");

        gridLayout->addWidget(mCbxChainFilters, 5, 0, 1, 3);

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

        gridLayout->addItem(verticalSpacer, 1, 1, 1, 1);


        gridLayout_2->addWidget(mFilterGroupBox, 10, 0, 1, 2);

        mOrderByGroupBox = new QGroupBox(QgsRelReferenceConfigDlgBase);
        mOrderByGroupBox->setObjectName("mOrderByGroupBox");
        verticalLayout = new QVBoxLayout(mOrderByGroupBox);
        verticalLayout->setObjectName("verticalLayout");
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        orderByExpressionLabel = new QLabel(mOrderByGroupBox);
        orderByExpressionLabel->setObjectName("orderByExpressionLabel");

        horizontalLayout_2->addWidget(orderByExpressionLabel);

        mOrderByExpressionWidget = new QgsFieldExpressionWidget(mOrderByGroupBox);
        mOrderByExpressionWidget->setObjectName("mOrderByExpressionWidget");
        mOrderByExpressionWidget->setFocusPolicy(Qt::TabFocus);

        horizontalLayout_2->addWidget(mOrderByExpressionWidget);


        verticalLayout->addLayout(horizontalLayout_2);

        mOrderByDescending = new QCheckBox(mOrderByGroupBox);
        mOrderByDescending->setObjectName("mOrderByDescending");

        verticalLayout->addWidget(mOrderByDescending);


        gridLayout_2->addWidget(mOrderByGroupBox, 9, 0, 1, 2);

        mCbxShowForm = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mCbxShowForm->setObjectName("mCbxShowForm");

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

        mComboRelation = new QComboBox(QgsRelReferenceConfigDlgBase);
        mComboRelation->setObjectName("mComboRelation");
        mComboRelation->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLengthWithIcon);

        gridLayout_2->addWidget(mComboRelation, 1, 1, 1, 1);

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

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

        mCbxShowOpenFormButton = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mCbxShowOpenFormButton->setObjectName("mCbxShowOpenFormButton");

        gridLayout_2->addWidget(mCbxShowOpenFormButton, 4, 0, 1, 2);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        mFetchLimitCheckBox = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mFetchLimitCheckBox->setObjectName("mFetchLimitCheckBox");
        mFetchLimitCheckBox->setChecked(true);

        horizontalLayout_3->addWidget(mFetchLimitCheckBox);

        mFetchLimit = new QgsSpinBox(QgsRelReferenceConfigDlgBase);
        mFetchLimit->setObjectName("mFetchLimit");
        QSizePolicy sizePolicy(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mFetchLimit->sizePolicy().hasHeightForWidth());
        mFetchLimit->setSizePolicy(sizePolicy);

        horizontalLayout_3->addWidget(mFetchLimit);


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

        mCbxAllowNull = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mCbxAllowNull->setObjectName("mCbxAllowNull");

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

        mCbxReadOnly = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mCbxReadOnly->setObjectName("mCbxReadOnly");

        gridLayout_2->addWidget(mCbxReadOnly, 6, 0, 1, 2);

        label = new QLabel(QgsRelReferenceConfigDlgBase);
        label->setObjectName("label");

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

        mCbxMapIdentification = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mCbxMapIdentification->setObjectName("mCbxMapIdentification");

        gridLayout_2->addWidget(mCbxMapIdentification, 5, 0, 1, 2);

        mExpressionWidget = new QgsFieldExpressionWidget(QgsRelReferenceConfigDlgBase);
        mExpressionWidget->setObjectName("mExpressionWidget");
        mExpressionWidget->setFocusPolicy(Qt::TabFocus);

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

        mCbxAllowAddFeatures = new QCheckBox(QgsRelReferenceConfigDlgBase);
        mCbxAllowAddFeatures->setObjectName("mCbxAllowAddFeatures");

        gridLayout_2->addWidget(mCbxAllowAddFeatures, 7, 0, 1, 2);

        QWidget::setTabOrder(mExpressionWidget, mComboRelation);
        QWidget::setTabOrder(mComboRelation, mCbxAllowNull);
        QWidget::setTabOrder(mCbxAllowNull, mCbxShowForm);
        QWidget::setTabOrder(mCbxShowForm, mCbxShowOpenFormButton);
        QWidget::setTabOrder(mCbxShowOpenFormButton, mCbxMapIdentification);
        QWidget::setTabOrder(mCbxMapIdentification, mCbxReadOnly);
        QWidget::setTabOrder(mCbxReadOnly, mCbxAllowAddFeatures);
        QWidget::setTabOrder(mCbxAllowAddFeatures, mFetchLimitCheckBox);
        QWidget::setTabOrder(mFetchLimitCheckBox, mFetchLimit);
        QWidget::setTabOrder(mFetchLimit, mFilterGroupBox);
        QWidget::setTabOrder(mFilterGroupBox, mAvailableFieldsList);
        QWidget::setTabOrder(mAvailableFieldsList, mAddFilterButton);
        QWidget::setTabOrder(mAddFilterButton, mRemoveFilterButton);
        QWidget::setTabOrder(mRemoveFilterButton, mFilterFieldsList);
        QWidget::setTabOrder(mFilterFieldsList, mCbxChainFilters);
        QWidget::setTabOrder(mCbxChainFilters, mEditExpression);
        QWidget::setTabOrder(mEditExpression, mFilterExpression);

        retranslateUi(QgsRelReferenceConfigDlgBase);

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

    void retranslateUi(QWidget *QgsRelReferenceConfigDlgBase)
    {
        mFilterGroupBox->setTitle(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Filters", nullptr));
        label_3->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Filter expression", nullptr));
        mRemoveFilterButton->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "\342\200\246", nullptr));
        mAddFilterButton->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "\342\200\246", nullptr));
#if QT_CONFIG(tooltip)
        mCbxChainFilters->setToolTip(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "When activated, filters restrict the option of subsequent filters based on the selection of a previous filter.", nullptr));
#endif // QT_CONFIG(tooltip)
        mCbxChainFilters->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Chain filters", nullptr));
        mOrderByGroupBox->setTitle(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Order By", nullptr));
        orderByExpressionLabel->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Expression", nullptr));
        mOrderByDescending->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Descending order", nullptr));
        mCbxShowForm->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Show embedded form", nullptr));
#if QT_CONFIG(tooltip)
        mComboRelation->setToolTip(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "The generated relations for a polymorphic relation cannot be used.", nullptr));
#endif // QT_CONFIG(tooltip)
        label_2->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Relation", nullptr));
        mCbxShowOpenFormButton->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Show open form button", nullptr));
#if QT_CONFIG(tooltip)
        mFetchLimitCheckBox->setToolTip(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "If unchecked, all the entries are loaded.", nullptr));
#endif // QT_CONFIG(tooltip)
        mFetchLimitCheckBox->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Limit number of entries to", nullptr));
        mCbxAllowNull->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Allow NULL value", nullptr));
        mCbxReadOnly->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Use a read-only line edit instead of a combobox", nullptr));
#if QT_CONFIG(tooltip)
        label->setToolTip(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "This setting is not saved in the style. It is changing the display name on the referenced layer.", nullptr));
#endif // QT_CONFIG(tooltip)
        label->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Display expression \342\222\276", nullptr));
        mCbxMapIdentification->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "On map identification (for geometric layers only)", nullptr));
        mCbxAllowAddFeatures->setText(QCoreApplication::translate("QgsRelReferenceConfigDlgBase", "Allow adding new features", nullptr));
        (void)QgsRelReferenceConfigDlgBase;
    } // retranslateUi

};

namespace Ui {
    class QgsRelReferenceConfigDlgBase: public Ui_QgsRelReferenceConfigDlgBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSRELATIONREFERENCECONFIGDLGBASE_H
