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

#ifndef UI_QGSATTRIBUTETYPEEDIT_H
#define UI_QGSATTRIBUTETYPEEDIT_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "qgscollapsiblegroupbox.h"
#include "qgsexpressionlineedit.h"
#include "qgsfieldexpressionwidget.h"
#include "qgspropertyoverridebutton.h"

QT_BEGIN_NAMESPACE

class Ui_QgsAttributeTypeDialog
{
public:
    QVBoxLayout *verticalLayout;
    QgsCollapsibleGroupBox *groupBox_4;
    QGridLayout *gridLayout;
    QCheckBox *labelOnTopCheckBox;
    QLabel *laComment;
    QLabel *laCommentContent;
    QCheckBox *isFieldEditableCheckBox;
    QgsPropertyOverrideButton *mAliasExpressionButton;
    QLabel *label_9;
    QLineEdit *mAlias;
    QgsPropertyOverrideButton *mEditableExpressionButton;
    QgsCollapsibleGroupBox *groupBox_3;
    QGridLayout *gridLayout_5;
    QStackedWidget *stackedWidget;
    QComboBox *mWidgetTypeComboBox;
    QgsCollapsibleGroupBox *groupBox;
    QGridLayout *gridLayout_3;
    QCheckBox *mUniqueCheckBox;
    QCheckBox *notNullCheckBox;
    QCheckBox *mCheckBoxEnforceUnique;
    QgsFieldExpressionWidget *constraintExpressionWidget;
    QLabel *label_2;
    QLineEdit *leConstraintExpressionDescription;
    QCheckBox *mCheckBoxEnforceNotNull;
    QLabel *label;
    QCheckBox *mCheckBoxEnforceExpression;
    QgsCollapsibleGroupBox *groupBox_2;
    QGridLayout *gridLayout_2;
    QLabel *label_3;
    QLabel *label_4;
    QgsExpressionLineEdit *mExpressionWidget;
    QLabel *mDefaultPreviewLabel;
    QWidget *mWarnDefaultValueHasFieldsWidget;
    QHBoxLayout *mWarnDefaultValueHasFields;
    QLabel *label_8;
    QLabel *label_7;
    QCheckBox *mApplyDefaultValueOnUpdateCheckBox;
    QgsCollapsibleGroupBox *groupBox_5;
    QGridLayout *gridLayout_4;
    QLabel *mReuseLastValuePolicyLabel;
    QComboBox *mReuseLastValuePolicyComboBox;
    QLabel *mReuseLastValuePolicyDescriptionLabel;
    QLabel *mSplitPolicyLabel;
    QComboBox *mDuplicatePolicyComboBox;
    QLabel *mDuplicatePolicyDescriptionLabel;
    QComboBox *mMergePolicyComboBox;
    QLabel *mMergePolicyLabel;
    QLabel *mDuplicatePolicyLabel;
    QComboBox *mSplitPolicyComboBox;
    QLabel *mSplitPolicyDescriptionLabel;
    QLabel *mMergePolicyDescriptionLabel;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *QgsAttributeTypeDialog)
    {
        if (QgsAttributeTypeDialog->objectName().isEmpty())
            QgsAttributeTypeDialog->setObjectName("QgsAttributeTypeDialog");
        QgsAttributeTypeDialog->resize(1033, 880);
        verticalLayout = new QVBoxLayout(QgsAttributeTypeDialog);
        verticalLayout->setObjectName("verticalLayout");
        groupBox_4 = new QgsCollapsibleGroupBox(QgsAttributeTypeDialog);
        groupBox_4->setObjectName("groupBox_4");
        gridLayout = new QGridLayout(groupBox_4);
        gridLayout->setObjectName("gridLayout");
        labelOnTopCheckBox = new QCheckBox(groupBox_4);
        labelOnTopCheckBox->setObjectName("labelOnTopCheckBox");
        labelOnTopCheckBox->setChecked(false);

        gridLayout->addWidget(labelOnTopCheckBox, 2, 3, 1, 1);

        laComment = new QLabel(groupBox_4);
        laComment->setObjectName("laComment");

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

        laCommentContent = new QLabel(groupBox_4);
        laCommentContent->setObjectName("laCommentContent");
        laCommentContent->setWordWrap(true);

        gridLayout->addWidget(laCommentContent, 1, 2, 1, 3);

        isFieldEditableCheckBox = new QCheckBox(groupBox_4);
        isFieldEditableCheckBox->setObjectName("isFieldEditableCheckBox");
        isFieldEditableCheckBox->setChecked(true);

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

        mAliasExpressionButton = new QgsPropertyOverrideButton(groupBox_4);
        mAliasExpressionButton->setObjectName("mAliasExpressionButton");

        gridLayout->addWidget(mAliasExpressionButton, 0, 5, 1, 1);

        label_9 = new QLabel(groupBox_4);
        label_9->setObjectName("label_9");

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

        mAlias = new QLineEdit(groupBox_4);
        mAlias->setObjectName("mAlias");

        gridLayout->addWidget(mAlias, 0, 2, 1, 3);

        mEditableExpressionButton = new QgsPropertyOverrideButton(groupBox_4);
        mEditableExpressionButton->setObjectName("mEditableExpressionButton");

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

        gridLayout->setColumnStretch(2, 1);

        verticalLayout->addWidget(groupBox_4);

        groupBox_3 = new QgsCollapsibleGroupBox(QgsAttributeTypeDialog);
        groupBox_3->setObjectName("groupBox_3");
        gridLayout_5 = new QGridLayout(groupBox_3);
        gridLayout_5->setObjectName("gridLayout_5");
        stackedWidget = new QStackedWidget(groupBox_3);
        stackedWidget->setObjectName("stackedWidget");

        gridLayout_5->addWidget(stackedWidget, 1, 1, 1, 1);

        mWidgetTypeComboBox = new QComboBox(groupBox_3);
        mWidgetTypeComboBox->setObjectName("mWidgetTypeComboBox");

        gridLayout_5->addWidget(mWidgetTypeComboBox, 0, 1, 1, 1);


        verticalLayout->addWidget(groupBox_3);

        groupBox = new QgsCollapsibleGroupBox(QgsAttributeTypeDialog);
        groupBox->setObjectName("groupBox");
        groupBox->setFocusPolicy(Qt::NoFocus);
        gridLayout_3 = new QGridLayout(groupBox);
        gridLayout_3->setObjectName("gridLayout_3");
        mUniqueCheckBox = new QCheckBox(groupBox);
        mUniqueCheckBox->setObjectName("mUniqueCheckBox");

        gridLayout_3->addWidget(mUniqueCheckBox, 1, 0, 1, 1);

        notNullCheckBox = new QCheckBox(groupBox);
        notNullCheckBox->setObjectName("notNullCheckBox");

        gridLayout_3->addWidget(notNullCheckBox, 0, 0, 1, 1);

        mCheckBoxEnforceUnique = new QCheckBox(groupBox);
        mCheckBoxEnforceUnique->setObjectName("mCheckBoxEnforceUnique");
        mCheckBoxEnforceUnique->setEnabled(false);

        gridLayout_3->addWidget(mCheckBoxEnforceUnique, 1, 1, 1, 1);

        constraintExpressionWidget = new QgsFieldExpressionWidget(groupBox);
        constraintExpressionWidget->setObjectName("constraintExpressionWidget");
        constraintExpressionWidget->setFocusPolicy(Qt::StrongFocus);

        gridLayout_3->addWidget(constraintExpressionWidget, 2, 1, 1, 1);

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

        gridLayout_3->addWidget(label_2, 3, 0, 1, 1);

        leConstraintExpressionDescription = new QLineEdit(groupBox);
        leConstraintExpressionDescription->setObjectName("leConstraintExpressionDescription");

        gridLayout_3->addWidget(leConstraintExpressionDescription, 3, 1, 1, 1);

        mCheckBoxEnforceNotNull = new QCheckBox(groupBox);
        mCheckBoxEnforceNotNull->setObjectName("mCheckBoxEnforceNotNull");
        mCheckBoxEnforceNotNull->setEnabled(false);

        gridLayout_3->addWidget(mCheckBoxEnforceNotNull, 0, 1, 1, 1);

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

        gridLayout_3->addWidget(label, 2, 0, 1, 1);

        mCheckBoxEnforceExpression = new QCheckBox(groupBox);
        mCheckBoxEnforceExpression->setObjectName("mCheckBoxEnforceExpression");

        gridLayout_3->addWidget(mCheckBoxEnforceExpression, 4, 0, 1, 2);


        verticalLayout->addWidget(groupBox);

        groupBox_2 = new QgsCollapsibleGroupBox(QgsAttributeTypeDialog);
        groupBox_2->setObjectName("groupBox_2");
        gridLayout_2 = new QGridLayout(groupBox_2);
        gridLayout_2->setObjectName("gridLayout_2");
        label_3 = new QLabel(groupBox_2);
        label_3->setObjectName("label_3");

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

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

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

        mExpressionWidget = new QgsExpressionLineEdit(groupBox_2);
        mExpressionWidget->setObjectName("mExpressionWidget");
        mExpressionWidget->setFocusPolicy(Qt::StrongFocus);

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

        mDefaultPreviewLabel = new QLabel(groupBox_2);
        mDefaultPreviewLabel->setObjectName("mDefaultPreviewLabel");

        gridLayout_2->addWidget(mDefaultPreviewLabel, 6, 1, 1, 1);

        mWarnDefaultValueHasFieldsWidget = new QWidget(groupBox_2);
        mWarnDefaultValueHasFieldsWidget->setObjectName("mWarnDefaultValueHasFieldsWidget");
        mWarnDefaultValueHasFields = new QHBoxLayout(mWarnDefaultValueHasFieldsWidget);
        mWarnDefaultValueHasFields->setObjectName("mWarnDefaultValueHasFields");
        label_8 = new QLabel(mWarnDefaultValueHasFieldsWidget);
        label_8->setObjectName("label_8");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label_8->sizePolicy().hasHeightForWidth());
        label_8->setSizePolicy(sizePolicy);
        label_8->setPixmap(QPixmap(QString::fromUtf8(":/images/themes/default/mIconWarning.svg")));

        mWarnDefaultValueHasFields->addWidget(label_8);

        label_7 = new QLabel(mWarnDefaultValueHasFieldsWidget);
        label_7->setObjectName("label_7");

        mWarnDefaultValueHasFields->addWidget(label_7);


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

        mApplyDefaultValueOnUpdateCheckBox = new QCheckBox(groupBox_2);
        mApplyDefaultValueOnUpdateCheckBox->setObjectName("mApplyDefaultValueOnUpdateCheckBox");

        gridLayout_2->addWidget(mApplyDefaultValueOnUpdateCheckBox, 8, 0, 1, 2);


        verticalLayout->addWidget(groupBox_2);

        groupBox_5 = new QgsCollapsibleGroupBox(QgsAttributeTypeDialog);
        groupBox_5->setObjectName("groupBox_5");
        gridLayout_4 = new QGridLayout(groupBox_5);
        gridLayout_4->setObjectName("gridLayout_4");
        mReuseLastValuePolicyLabel = new QLabel(groupBox_5);
        mReuseLastValuePolicyLabel->setObjectName("mReuseLastValuePolicyLabel");

        gridLayout_4->addWidget(mReuseLastValuePolicyLabel, 0, 0, 1, 1);

        mReuseLastValuePolicyComboBox = new QComboBox(groupBox_5);
        mReuseLastValuePolicyComboBox->setObjectName("mReuseLastValuePolicyComboBox");

        gridLayout_4->addWidget(mReuseLastValuePolicyComboBox, 0, 1, 1, 3);

        mReuseLastValuePolicyDescriptionLabel = new QLabel(groupBox_5);
        mReuseLastValuePolicyDescriptionLabel->setObjectName("mReuseLastValuePolicyDescriptionLabel");
        mReuseLastValuePolicyDescriptionLabel->setWordWrap(true);

        gridLayout_4->addWidget(mReuseLastValuePolicyDescriptionLabel, 1, 0, 1, 4);

        mSplitPolicyLabel = new QLabel(groupBox_5);
        mSplitPolicyLabel->setObjectName("mSplitPolicyLabel");

        gridLayout_4->addWidget(mSplitPolicyLabel, 2, 0, 1, 1);

        mDuplicatePolicyComboBox = new QComboBox(groupBox_5);
        mDuplicatePolicyComboBox->setObjectName("mDuplicatePolicyComboBox");

        gridLayout_4->addWidget(mDuplicatePolicyComboBox, 6, 1, 1, 3);

        mDuplicatePolicyDescriptionLabel = new QLabel(groupBox_5);
        mDuplicatePolicyDescriptionLabel->setObjectName("mDuplicatePolicyDescriptionLabel");
        mDuplicatePolicyDescriptionLabel->setWordWrap(true);

        gridLayout_4->addWidget(mDuplicatePolicyDescriptionLabel, 7, 0, 1, 4);

        mMergePolicyComboBox = new QComboBox(groupBox_5);
        mMergePolicyComboBox->setObjectName("mMergePolicyComboBox");

        gridLayout_4->addWidget(mMergePolicyComboBox, 8, 1, 1, 3);

        mMergePolicyLabel = new QLabel(groupBox_5);
        mMergePolicyLabel->setObjectName("mMergePolicyLabel");

        gridLayout_4->addWidget(mMergePolicyLabel, 8, 0, 1, 1);

        mDuplicatePolicyLabel = new QLabel(groupBox_5);
        mDuplicatePolicyLabel->setObjectName("mDuplicatePolicyLabel");

        gridLayout_4->addWidget(mDuplicatePolicyLabel, 6, 0, 1, 1);

        mSplitPolicyComboBox = new QComboBox(groupBox_5);
        mSplitPolicyComboBox->setObjectName("mSplitPolicyComboBox");

        gridLayout_4->addWidget(mSplitPolicyComboBox, 2, 1, 1, 3);

        mSplitPolicyDescriptionLabel = new QLabel(groupBox_5);
        mSplitPolicyDescriptionLabel->setObjectName("mSplitPolicyDescriptionLabel");
        mSplitPolicyDescriptionLabel->setWordWrap(true);

        gridLayout_4->addWidget(mSplitPolicyDescriptionLabel, 3, 0, 1, 4);

        mMergePolicyDescriptionLabel = new QLabel(groupBox_5);
        mMergePolicyDescriptionLabel->setObjectName("mMergePolicyDescriptionLabel");

        gridLayout_4->addWidget(mMergePolicyDescriptionLabel, 9, 0, 1, 4);


        verticalLayout->addWidget(groupBox_5);

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

        verticalLayout->addItem(verticalSpacer);

        QWidget::setTabOrder(mAlias, mAliasExpressionButton);
        QWidget::setTabOrder(mAliasExpressionButton, isFieldEditableCheckBox);
        QWidget::setTabOrder(isFieldEditableCheckBox, mEditableExpressionButton);
        QWidget::setTabOrder(mEditableExpressionButton, labelOnTopCheckBox);
        QWidget::setTabOrder(labelOnTopCheckBox, mWidgetTypeComboBox);
        QWidget::setTabOrder(mWidgetTypeComboBox, notNullCheckBox);
        QWidget::setTabOrder(notNullCheckBox, mCheckBoxEnforceNotNull);
        QWidget::setTabOrder(mCheckBoxEnforceNotNull, mUniqueCheckBox);
        QWidget::setTabOrder(mUniqueCheckBox, mCheckBoxEnforceUnique);
        QWidget::setTabOrder(mCheckBoxEnforceUnique, constraintExpressionWidget);
        QWidget::setTabOrder(constraintExpressionWidget, leConstraintExpressionDescription);
        QWidget::setTabOrder(leConstraintExpressionDescription, mCheckBoxEnforceExpression);
        QWidget::setTabOrder(mCheckBoxEnforceExpression, mExpressionWidget);
        QWidget::setTabOrder(mExpressionWidget, mApplyDefaultValueOnUpdateCheckBox);
        QWidget::setTabOrder(mApplyDefaultValueOnUpdateCheckBox, mReuseLastValuePolicyComboBox);
        QWidget::setTabOrder(mReuseLastValuePolicyComboBox, mSplitPolicyComboBox);
        QWidget::setTabOrder(mSplitPolicyComboBox, mDuplicatePolicyComboBox);
        QWidget::setTabOrder(mDuplicatePolicyComboBox, mMergePolicyComboBox);

        retranslateUi(QgsAttributeTypeDialog);

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

    void retranslateUi(QWidget *QgsAttributeTypeDialog)
    {
        QgsAttributeTypeDialog->setWindowTitle(QCoreApplication::translate("QgsAttributeTypeDialog", "Edit Widget Properties", nullptr));
        groupBox_4->setTitle(QCoreApplication::translate("QgsAttributeTypeDialog", "General", nullptr));
        labelOnTopCheckBox->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Label on top", nullptr));
        laComment->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Comment", nullptr));
        laCommentContent->setText(QString());
        isFieldEditableCheckBox->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Editable", nullptr));
        mAliasExpressionButton->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "...", nullptr));
        label_9->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Alias", nullptr));
        mEditableExpressionButton->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "...", nullptr));
        groupBox_3->setTitle(QCoreApplication::translate("QgsAttributeTypeDialog", "Widget Type", nullptr));
        groupBox->setTitle(QCoreApplication::translate("QgsAttributeTypeDialog", "Constraints", nullptr));
        mUniqueCheckBox->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Unique", nullptr));
        notNullCheckBox->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Not null", nullptr));
#if QT_CONFIG(tooltip)
        mCheckBoxEnforceUnique->setToolTip(QCoreApplication::translate("QgsAttributeTypeDialog", "<p>Enforcing the unique constraint prevents committing features which do not meet the constraint.</p><p>Unenforced constraints display a warning to users, but do not prevent committing the feature.</p>", nullptr));
#endif // QT_CONFIG(tooltip)
        mCheckBoxEnforceUnique->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Enforce unique constraint", nullptr));
        label_2->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Expression description", nullptr));
#if QT_CONFIG(tooltip)
        leConstraintExpressionDescription->setToolTip(QCoreApplication::translate("QgsAttributeTypeDialog", "Optional descriptive name for expression constraint", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(tooltip)
        mCheckBoxEnforceNotNull->setToolTip(QCoreApplication::translate("QgsAttributeTypeDialog", "<p>Enforcing the not null constraint prevents committing features which do not meet the constraint.</p><p>Unenforced constraints display a warning to users, but do not prevent committing the feature.</p>", nullptr));
#endif // QT_CONFIG(tooltip)
        mCheckBoxEnforceNotNull->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Enforce not null constraint", nullptr));
        label->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Expression", nullptr));
#if QT_CONFIG(tooltip)
        mCheckBoxEnforceExpression->setToolTip(QCoreApplication::translate("QgsAttributeTypeDialog", "<p>Enforcing the expression constraint prevents committing features which do not meet the constraint.</p><p>Unenforced constraints display a warning to users, but do not prevent committing the feature.</p>", nullptr));
#endif // QT_CONFIG(tooltip)
        mCheckBoxEnforceExpression->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Enforce expression constraint", nullptr));
        groupBox_2->setTitle(QCoreApplication::translate("QgsAttributeTypeDialog", "Defaults", nullptr));
        label_3->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Default value", nullptr));
        label_4->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Preview", nullptr));
        mDefaultPreviewLabel->setText(QString());
        label_8->setText(QString());
        label_7->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Using fields in a default value expression only works if \"Apply default value on update\" is checked.", nullptr));
#if QT_CONFIG(tooltip)
        mApplyDefaultValueOnUpdateCheckBox->setToolTip(QCoreApplication::translate("QgsAttributeTypeDialog", "<p>With this option checked, the default value will not only be used when the feature is first created, but also whenever a feature's attribute or geometry is changed.</p><p>This is often useful for a last_modified timestamp or to record the username that last modified the feature.</p>", nullptr));
#endif // QT_CONFIG(tooltip)
        mApplyDefaultValueOnUpdateCheckBox->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "Apply default value on update", nullptr));
        groupBox_5->setTitle(QCoreApplication::translate("QgsAttributeTypeDialog", "Policies", nullptr));
        mReuseLastValuePolicyLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "When adding features", nullptr));
        mReuseLastValuePolicyDescriptionLabel->setText(QString());
        mSplitPolicyLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "When splitting features", nullptr));
        mDuplicatePolicyDescriptionLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "TextLabel", nullptr));
        mMergePolicyLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "When merging features", nullptr));
        mDuplicatePolicyLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "When duplicating features", nullptr));
        mSplitPolicyDescriptionLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "TextLabel", nullptr));
        mMergePolicyDescriptionLabel->setText(QCoreApplication::translate("QgsAttributeTypeDialog", "TextLabel", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsAttributeTypeDialog: public Ui_QgsAttributeTypeDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSATTRIBUTETYPEEDIT_H
