/********************************************************************************
** Form generated from reading UI file 'qgsdbimportvectorlayerdialog.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_QGSDBIMPORTVECTORLAYERDIALOG_H
#define UI_QGSDBIMPORTVECTORLAYERDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTextEdit>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include "qgscollapsiblegroupbox.h"
#include "qgsexpressionlineedit.h"
#include "qgsextentgroupbox.h"
#include "qgsfieldmappingwidget.h"
#include "qgsmaplayercombobox.h"
#include "qgsprojectionselectionwidget.h"

QT_BEGIN_NAMESPACE

class Ui_QgsDbImportVectorLayerDialog
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_3;
    QHBoxLayout *horizontalLayout;
    QgsMapLayerComboBox *mSourceLayerComboBox;
    QLabel *mLabelSchemas_2;
    QCheckBox *mSourceLayerOnlySelected;
    QGroupBox *mGroupBoxOutput;
    QGridLayout *gridLayout_2;
    QLabel *mLabelSchemas;
    QLabel *label_3;
    QLineEdit *mEditTable;
    QCheckBox *mChkDropTable;
    QHBoxLayout *mLayoutSchemeCombo;
    QGroupBox *mGroupBoxSettings;
    QGridLayout *gridLayout;
    QLabel *mLabelComment;
    QLabel *mLabelGeometryColumn;
    QTextEdit *mEditComment;
    QLabel *mLabelPrimaryKey;
    QLineEdit *mEditGeometryColumnName;
    QLineEdit *mEditPrimaryKey;
    QLabel *mLabelDestinationCrs;
    QgsProjectionSelectionWidget *mCrsSelector;
    QgsCollapsibleGroupBox *groupBox_3;
    QGridLayout *gridLayout_5;
    QVBoxLayout *buttonLayout;
    QToolButton *mAddButton;
    QToolButton *mDeleteButton;
    QToolButton *mUpButton;
    QToolButton *mDownButton;
    QToolButton *mResetButton;
    QToolButton *mEditButton;
    QSpacerItem *verticalSpacer_2;
    QgsFieldMappingWidget *mFieldsView;
    QgsExtentGroupBox *mExtentGroupBox;
    QgsCollapsibleGroupBox *groupBox_2;
    QGridLayout *gridLayout_4;
    QLabel *label;
    QgsExpressionLineEdit *mFilterExpressionWidget;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *mButtonBox;

    void setupUi(QDialog *QgsDbImportVectorLayerDialog)
    {
        if (QgsDbImportVectorLayerDialog->objectName().isEmpty())
            QgsDbImportVectorLayerDialog->setObjectName("QgsDbImportVectorLayerDialog");
        QgsDbImportVectorLayerDialog->resize(922, 891);
        verticalLayout = new QVBoxLayout(QgsDbImportVectorLayerDialog);
        verticalLayout->setObjectName("verticalLayout");
        groupBox = new QGroupBox(QgsDbImportVectorLayerDialog);
        groupBox->setObjectName("groupBox");
        gridLayout_3 = new QGridLayout(groupBox);
        gridLayout_3->setObjectName("gridLayout_3");
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalLayout->setContentsMargins(-1, -1, -1, 0);
        mSourceLayerComboBox = new QgsMapLayerComboBox(groupBox);
        mSourceLayerComboBox->setObjectName("mSourceLayerComboBox");

        horizontalLayout->addWidget(mSourceLayerComboBox);


        gridLayout_3->addLayout(horizontalLayout, 1, 1, 1, 1);

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

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

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

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

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

        verticalLayout->addWidget(groupBox);

        mGroupBoxOutput = new QGroupBox(QgsDbImportVectorLayerDialog);
        mGroupBoxOutput->setObjectName("mGroupBoxOutput");
        gridLayout_2 = new QGridLayout(mGroupBoxOutput);
        gridLayout_2->setObjectName("gridLayout_2");
        mLabelSchemas = new QLabel(mGroupBoxOutput);
        mLabelSchemas->setObjectName("mLabelSchemas");

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

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

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

        mEditTable = new QLineEdit(mGroupBoxOutput);
        mEditTable->setObjectName("mEditTable");

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

        mChkDropTable = new QCheckBox(mGroupBoxOutput);
        mChkDropTable->setObjectName("mChkDropTable");

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

        mLayoutSchemeCombo = new QHBoxLayout();
        mLayoutSchemeCombo->setSpacing(0);
        mLayoutSchemeCombo->setObjectName("mLayoutSchemeCombo");

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

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

        verticalLayout->addWidget(mGroupBoxOutput);

        mGroupBoxSettings = new QGroupBox(QgsDbImportVectorLayerDialog);
        mGroupBoxSettings->setObjectName("mGroupBoxSettings");
        gridLayout = new QGridLayout(mGroupBoxSettings);
        gridLayout->setObjectName("gridLayout");
        mLabelComment = new QLabel(mGroupBoxSettings);
        mLabelComment->setObjectName("mLabelComment");

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

        mLabelGeometryColumn = new QLabel(mGroupBoxSettings);
        mLabelGeometryColumn->setObjectName("mLabelGeometryColumn");

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

        mEditComment = new QTextEdit(mGroupBoxSettings);
        mEditComment->setObjectName("mEditComment");
        mEditComment->setEnabled(true);

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

        mLabelPrimaryKey = new QLabel(mGroupBoxSettings);
        mLabelPrimaryKey->setObjectName("mLabelPrimaryKey");

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

        mEditGeometryColumnName = new QLineEdit(mGroupBoxSettings);
        mEditGeometryColumnName->setObjectName("mEditGeometryColumnName");

        gridLayout->addWidget(mEditGeometryColumnName, 1, 1, 1, 1);

        mEditPrimaryKey = new QLineEdit(mGroupBoxSettings);
        mEditPrimaryKey->setObjectName("mEditPrimaryKey");

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

        mLabelDestinationCrs = new QLabel(mGroupBoxSettings);
        mLabelDestinationCrs->setObjectName("mLabelDestinationCrs");

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

        mCrsSelector = new QgsProjectionSelectionWidget(mGroupBoxSettings);
        mCrsSelector->setObjectName("mCrsSelector");
        mCrsSelector->setFocusPolicy(Qt::StrongFocus);

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

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

        verticalLayout->addWidget(mGroupBoxSettings);

        groupBox_3 = new QgsCollapsibleGroupBox(QgsDbImportVectorLayerDialog);
        groupBox_3->setObjectName("groupBox_3");
        gridLayout_5 = new QGridLayout(groupBox_3);
        gridLayout_5->setObjectName("gridLayout_5");
        buttonLayout = new QVBoxLayout();
        buttonLayout->setObjectName("buttonLayout");
        mAddButton = new QToolButton(groupBox_3);
        mAddButton->setObjectName("mAddButton");
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/images/themes/default/mActionNewAttribute.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mAddButton->setIcon(icon);

        buttonLayout->addWidget(mAddButton);

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

        buttonLayout->addWidget(mDeleteButton);

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

        buttonLayout->addWidget(mUpButton);

        mDownButton = new QToolButton(groupBox_3);
        mDownButton->setObjectName("mDownButton");
        QIcon icon3;
        icon3.addFile(QString::fromUtf8(":/images/themes/default/mActionArrowDown.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mDownButton->setIcon(icon3);

        buttonLayout->addWidget(mDownButton);

        mResetButton = new QToolButton(groupBox_3);
        mResetButton->setObjectName("mResetButton");
        QIcon icon4;
        icon4.addFile(QString::fromUtf8(":/images/themes/default/mIconClearText.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mResetButton->setIcon(icon4);

        buttonLayout->addWidget(mResetButton);

        mEditButton = new QToolButton(groupBox_3);
        mEditButton->setObjectName("mEditButton");
        QIcon icon5;
        icon5.addFile(QString::fromUtf8(":/images/themes/default/propertyicons/settings.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mEditButton->setIcon(icon5);

        buttonLayout->addWidget(mEditButton);

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

        buttonLayout->addItem(verticalSpacer_2);


        gridLayout_5->addLayout(buttonLayout, 0, 1, 2, 2);

        mFieldsView = new QgsFieldMappingWidget(groupBox_3);
        mFieldsView->setObjectName("mFieldsView");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mFieldsView->sizePolicy().hasHeightForWidth());
        mFieldsView->setSizePolicy(sizePolicy);

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


        verticalLayout->addWidget(groupBox_3);

        mExtentGroupBox = new QgsExtentGroupBox(QgsDbImportVectorLayerDialog);
        mExtentGroupBox->setObjectName("mExtentGroupBox");
        mExtentGroupBox->setCheckable(true);

        verticalLayout->addWidget(mExtentGroupBox);

        groupBox_2 = new QgsCollapsibleGroupBox(QgsDbImportVectorLayerDialog);
        groupBox_2->setObjectName("groupBox_2");
        gridLayout_4 = new QGridLayout(groupBox_2);
        gridLayout_4->setObjectName("gridLayout_4");
        label = new QLabel(groupBox_2);
        label->setObjectName("label");

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

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

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

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

        verticalLayout->addWidget(groupBox_2);

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

        verticalLayout->addItem(verticalSpacer);

        mButtonBox = new QDialogButtonBox(QgsDbImportVectorLayerDialog);
        mButtonBox->setObjectName("mButtonBox");
        mButtonBox->setOrientation(Qt::Horizontal);
        mButtonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(mButtonBox);

        verticalLayout->setStretch(3, 1);
        mGroupBoxSettings->raise();
        mButtonBox->raise();
        mGroupBoxOutput->raise();
        groupBox->raise();
        groupBox_2->raise();
        mExtentGroupBox->raise();
        groupBox_3->raise();
        QWidget::setTabOrder(mSourceLayerComboBox, mEditTable);
        QWidget::setTabOrder(mEditTable, mChkDropTable);
        QWidget::setTabOrder(mChkDropTable, mEditPrimaryKey);
        QWidget::setTabOrder(mEditPrimaryKey, mEditGeometryColumnName);
        QWidget::setTabOrder(mEditGeometryColumnName, mCrsSelector);
        QWidget::setTabOrder(mCrsSelector, mEditComment);

        retranslateUi(QgsDbImportVectorLayerDialog);

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

    void retranslateUi(QDialog *QgsDbImportVectorLayerDialog)
    {
        QgsDbImportVectorLayerDialog->setWindowTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Import Vector Layer", nullptr));
        groupBox->setTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Input", nullptr));
#if QT_CONFIG(tooltip)
        mSourceLayerComboBox->setToolTip(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Allows the annotation to be associated with a map layer. If set, the annotation will only be visible when the layer is visible.", nullptr));
#endif // QT_CONFIG(tooltip)
        mLabelSchemas_2->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Source layer", nullptr));
        mSourceLayerOnlySelected->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Selected features only", nullptr));
        mGroupBoxOutput->setTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Output", nullptr));
        mLabelSchemas->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Schema", nullptr));
        label_3->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Table name", nullptr));
        mChkDropTable->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Replace destination table (if exists)", nullptr));
        mGroupBoxSettings->setTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Options", nullptr));
        mLabelComment->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Comment", nullptr));
        mLabelGeometryColumn->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Geometry column", nullptr));
        mLabelPrimaryKey->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Primary key", nullptr));
        mLabelDestinationCrs->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Output CRS", nullptr));
        groupBox_3->setTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Attributes", nullptr));
#if QT_CONFIG(tooltip)
        mAddButton->setToolTip(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Add new field", nullptr));
#endif // QT_CONFIG(tooltip)
        mAddButton->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "add", nullptr));
#if QT_CONFIG(tooltip)
        mDeleteButton->setToolTip(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Delete selected field", nullptr));
#endif // QT_CONFIG(tooltip)
        mDeleteButton->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "delete", nullptr));
#if QT_CONFIG(tooltip)
        mUpButton->setToolTip(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Move selected field up", nullptr));
#endif // QT_CONFIG(tooltip)
        mUpButton->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "up", nullptr));
#if QT_CONFIG(tooltip)
        mDownButton->setToolTip(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Move selected field down", nullptr));
#endif // QT_CONFIG(tooltip)
        mDownButton->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "down", nullptr));
#if QT_CONFIG(tooltip)
        mResetButton->setToolTip(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Reset all fields", nullptr));
#endif // QT_CONFIG(tooltip)
        mResetButton->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "reset", nullptr));
        mEditButton->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "edits", nullptr));
        mExtentGroupBox->setTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Filter by Extent", nullptr));
        groupBox_2->setTitle(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Filtering", nullptr));
        label->setText(QCoreApplication::translate("QgsDbImportVectorLayerDialog", "Feature filter", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsDbImportVectorLayerDialog: public Ui_QgsDbImportVectorLayerDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSDBIMPORTVECTORLAYERDIALOG_H
