/********************************************************************************
** Form generated from reading UI file 'qgsqueryresultpanelwidgetbase.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_QGSQUERYRESULTPANELWIDGETBASE_H
#define UI_QGSQUERYRESULTPANELWIDGETBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QTableView>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "qgscheckablecombobox.h"
#include "qgscodeeditorsql.h"
#include "qgscollapsiblegroupbox.h"
#include "qgsmessagebar.h"

QT_BEGIN_NAMESPACE

class Ui_QgsQueryResultPanelWidgetBase
{
public:
    QVBoxLayout *verticalLayout;
    QVBoxLayout *verticalLayout_2;
    QgsMessageBar *mMessageBar;
    QVBoxLayout *mainLayout;
    QWidget *widget;
    QVBoxLayout *verticalLayout_4;
    QSplitter *splitter;
    QWidget *verticalLayoutWidget;
    QVBoxLayout *verticalLayout_3;
    QWidget *mSqlEditorContainer;
    QHBoxLayout *progressLayout;
    QPushButton *mExecuteButton;
    QPushButton *mStopButton;
    QLabel *mStatusLabel;
    QSpacerItem *horizontalSpacer;
    QProgressBar *mProgressBar;
    QWidget *mResultsContainer;
    QVBoxLayout *verticalLayout_5;
    QgsCodeEditorSQL *mSqlErrorText;
    QTableView *mQueryResultsTableView;
    QgsCollapsibleGroupBox *mLoadAsNewLayerGroupBox;
    QFormLayout *formLayout;
    QCheckBox *mPkColumnsCheckBox;
    QgsCheckableComboBox *mPkColumnsComboBox;
    QCheckBox *mGeometryColumnCheckBox;
    QComboBox *mGeometryColumnComboBox;
    QLabel *mFilterLabel;
    QHBoxLayout *horizontalLayout_5;
    QLineEdit *mFilterLineEdit;
    QToolButton *mFilterToolButton;
    QHBoxLayout *horizontalLayout_2;
    QLineEdit *mLayerNameLineEdit;
    QHBoxLayout *horizontalLayout_3;
    QSpacerItem *horizontalSpacer_2;
    QPushButton *mLoadLayerPushButton;
    QCheckBox *mAvoidSelectingAsFeatureIdCheckBox;
    QLabel *mLayerNameLabel;

    void setupUi(QWidget *QgsQueryResultPanelWidgetBase)
    {
        if (QgsQueryResultPanelWidgetBase->objectName().isEmpty())
            QgsQueryResultPanelWidgetBase->setObjectName("QgsQueryResultPanelWidgetBase");
        QgsQueryResultPanelWidgetBase->resize(662, 485);
        QgsQueryResultPanelWidgetBase->setWindowTitle(QString::fromUtf8("Dialog"));
        verticalLayout = new QVBoxLayout(QgsQueryResultPanelWidgetBase);
        verticalLayout->setSpacing(0);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setSpacing(0);
        verticalLayout_2->setObjectName("verticalLayout_2");
        verticalLayout_2->setContentsMargins(-1, 0, -1, -1);
        mMessageBar = new QgsMessageBar(QgsQueryResultPanelWidgetBase);
        mMessageBar->setObjectName("mMessageBar");

        verticalLayout_2->addWidget(mMessageBar);


        verticalLayout->addLayout(verticalLayout_2);

        mainLayout = new QVBoxLayout();
        mainLayout->setObjectName("mainLayout");
        mainLayout->setContentsMargins(0, 0, 0, 0);
        widget = new QWidget(QgsQueryResultPanelWidgetBase);
        widget->setObjectName("widget");
        verticalLayout_4 = new QVBoxLayout(widget);
        verticalLayout_4->setObjectName("verticalLayout_4");
        verticalLayout_4->setContentsMargins(0, 0, 0, 0);
        splitter = new QSplitter(widget);
        splitter->setObjectName("splitter");
        splitter->setFrameShape(QFrame::Shape::NoFrame);
        splitter->setOrientation(Qt::Orientation::Vertical);
        verticalLayoutWidget = new QWidget(splitter);
        verticalLayoutWidget->setObjectName("verticalLayoutWidget");
        verticalLayout_3 = new QVBoxLayout(verticalLayoutWidget);
        verticalLayout_3->setObjectName("verticalLayout_3");
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        mSqlEditorContainer = new QWidget(verticalLayoutWidget);
        mSqlEditorContainer->setObjectName("mSqlEditorContainer");

        verticalLayout_3->addWidget(mSqlEditorContainer);

        progressLayout = new QHBoxLayout();
        progressLayout->setObjectName("progressLayout");
        mExecuteButton = new QPushButton(verticalLayoutWidget);
        mExecuteButton->setObjectName("mExecuteButton");
        mExecuteButton->setEnabled(false);

        progressLayout->addWidget(mExecuteButton);

        mStopButton = new QPushButton(verticalLayoutWidget);
        mStopButton->setObjectName("mStopButton");
        mStopButton->setEnabled(false);

        progressLayout->addWidget(mStopButton);

        mStatusLabel = new QLabel(verticalLayoutWidget);
        mStatusLabel->setObjectName("mStatusLabel");

        progressLayout->addWidget(mStatusLabel);

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

        progressLayout->addItem(horizontalSpacer);

        mProgressBar = new QProgressBar(verticalLayoutWidget);
        mProgressBar->setObjectName("mProgressBar");
        mProgressBar->setValue(24);

        progressLayout->addWidget(mProgressBar);

        progressLayout->setStretch(3, 1);

        verticalLayout_3->addLayout(progressLayout);

        splitter->addWidget(verticalLayoutWidget);
        mResultsContainer = new QWidget(splitter);
        mResultsContainer->setObjectName("mResultsContainer");
        verticalLayout_5 = new QVBoxLayout(mResultsContainer);
        verticalLayout_5->setObjectName("verticalLayout_5");
        verticalLayout_5->setContentsMargins(0, 0, 0, 0);
        mSqlErrorText = new QgsCodeEditorSQL(mResultsContainer);
        mSqlErrorText->setObjectName("mSqlErrorText");

        verticalLayout_5->addWidget(mSqlErrorText);

        mQueryResultsTableView = new QTableView(mResultsContainer);
        mQueryResultsTableView->setObjectName("mQueryResultsTableView");

        verticalLayout_5->addWidget(mQueryResultsTableView);

        splitter->addWidget(mResultsContainer);

        verticalLayout_4->addWidget(splitter);


        mainLayout->addWidget(widget);

        mLoadAsNewLayerGroupBox = new QgsCollapsibleGroupBox(QgsQueryResultPanelWidgetBase);
        mLoadAsNewLayerGroupBox->setObjectName("mLoadAsNewLayerGroupBox");
        formLayout = new QFormLayout(mLoadAsNewLayerGroupBox);
        formLayout->setObjectName("formLayout");
        mPkColumnsCheckBox = new QCheckBox(mLoadAsNewLayerGroupBox);
        mPkColumnsCheckBox->setObjectName("mPkColumnsCheckBox");

        formLayout->setWidget(0, QFormLayout::ItemRole::LabelRole, mPkColumnsCheckBox);

        mPkColumnsComboBox = new QgsCheckableComboBox(mLoadAsNewLayerGroupBox);
        mPkColumnsComboBox->setObjectName("mPkColumnsComboBox");

        formLayout->setWidget(0, QFormLayout::ItemRole::FieldRole, mPkColumnsComboBox);

        mGeometryColumnCheckBox = new QCheckBox(mLoadAsNewLayerGroupBox);
        mGeometryColumnCheckBox->setObjectName("mGeometryColumnCheckBox");

        formLayout->setWidget(1, QFormLayout::ItemRole::LabelRole, mGeometryColumnCheckBox);

        mGeometryColumnComboBox = new QComboBox(mLoadAsNewLayerGroupBox);
        mGeometryColumnComboBox->setObjectName("mGeometryColumnComboBox");

        formLayout->setWidget(1, QFormLayout::ItemRole::FieldRole, mGeometryColumnComboBox);

        mFilterLabel = new QLabel(mLoadAsNewLayerGroupBox);
        mFilterLabel->setObjectName("mFilterLabel");

        formLayout->setWidget(2, QFormLayout::ItemRole::LabelRole, mFilterLabel);

        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName("horizontalLayout_5");
        mFilterLineEdit = new QLineEdit(mLoadAsNewLayerGroupBox);
        mFilterLineEdit->setObjectName("mFilterLineEdit");

        horizontalLayout_5->addWidget(mFilterLineEdit);

        mFilterToolButton = new QToolButton(mLoadAsNewLayerGroupBox);
        mFilterToolButton->setObjectName("mFilterToolButton");

        horizontalLayout_5->addWidget(mFilterToolButton);


        formLayout->setLayout(2, QFormLayout::ItemRole::FieldRole, horizontalLayout_5);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        mLayerNameLineEdit = new QLineEdit(mLoadAsNewLayerGroupBox);
        mLayerNameLineEdit->setObjectName("mLayerNameLineEdit");

        horizontalLayout_2->addWidget(mLayerNameLineEdit);


        formLayout->setLayout(4, QFormLayout::ItemRole::FieldRole, horizontalLayout_2);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName("horizontalLayout_3");
        horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer_2);

        mLoadLayerPushButton = new QPushButton(mLoadAsNewLayerGroupBox);
        mLoadLayerPushButton->setObjectName("mLoadLayerPushButton");

        horizontalLayout_3->addWidget(mLoadLayerPushButton);


        formLayout->setLayout(6, QFormLayout::ItemRole::FieldRole, horizontalLayout_3);

        mAvoidSelectingAsFeatureIdCheckBox = new QCheckBox(mLoadAsNewLayerGroupBox);
        mAvoidSelectingAsFeatureIdCheckBox->setObjectName("mAvoidSelectingAsFeatureIdCheckBox");

        formLayout->setWidget(3, QFormLayout::ItemRole::LabelRole, mAvoidSelectingAsFeatureIdCheckBox);

        mLayerNameLabel = new QLabel(mLoadAsNewLayerGroupBox);
        mLayerNameLabel->setObjectName("mLayerNameLabel");

        formLayout->setWidget(4, QFormLayout::ItemRole::LabelRole, mLayerNameLabel);


        mainLayout->addWidget(mLoadAsNewLayerGroupBox);

        mainLayout->setStretch(0, 1);

        verticalLayout->addLayout(mainLayout);

        QWidget::setTabOrder(mExecuteButton, mStopButton);
        QWidget::setTabOrder(mStopButton, mPkColumnsCheckBox);
        QWidget::setTabOrder(mPkColumnsCheckBox, mPkColumnsComboBox);
        QWidget::setTabOrder(mPkColumnsComboBox, mGeometryColumnCheckBox);
        QWidget::setTabOrder(mGeometryColumnCheckBox, mGeometryColumnComboBox);
        QWidget::setTabOrder(mGeometryColumnComboBox, mFilterLineEdit);
        QWidget::setTabOrder(mFilterLineEdit, mFilterToolButton);
        QWidget::setTabOrder(mFilterToolButton, mAvoidSelectingAsFeatureIdCheckBox);
        QWidget::setTabOrder(mAvoidSelectingAsFeatureIdCheckBox, mLayerNameLineEdit);
        QWidget::setTabOrder(mLayerNameLineEdit, mLoadLayerPushButton);

        retranslateUi(QgsQueryResultPanelWidgetBase);

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

    void retranslateUi(QWidget *QgsQueryResultPanelWidgetBase)
    {
        mExecuteButton->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Execute", nullptr));
        mStopButton->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Stop", nullptr));
        mStatusLabel->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Status and errors go here.", nullptr));
        mLoadAsNewLayerGroupBox->setTitle(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Load as new layer", nullptr));
#if QT_CONFIG(tooltip)
        mPkColumnsCheckBox->setToolTip(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Column(s) that can be used as an index to uniquely identify features, they are usually part of a primary key.", nullptr));
#endif // QT_CONFIG(tooltip)
        mPkColumnsCheckBox->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Column(s) with unique values", nullptr));
#if QT_CONFIG(tooltip)
        mGeometryColumnCheckBox->setToolTip(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Column that contains the geometry.", nullptr));
#endif // QT_CONFIG(tooltip)
        mGeometryColumnCheckBox->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Geometry column", nullptr));
#if QT_CONFIG(tooltip)
        mFilterLabel->setToolTip(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "SQL filter to restrict the features available in the layer", nullptr));
#endif // QT_CONFIG(tooltip)
        mFilterLabel->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Subset filter", nullptr));
        mFilterLineEdit->setText(QString());
        mFilterLineEdit->setPlaceholderText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Enter the optional SQL filter or click on the button to open the query builder tool", nullptr));
        mFilterToolButton->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "...", nullptr));
        mLayerNameLineEdit->setPlaceholderText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "QueryLayer", nullptr));
        mLoadLayerPushButton->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Load Layer", nullptr));
#if QT_CONFIG(tooltip)
        mAvoidSelectingAsFeatureIdCheckBox->setToolTip(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Disable 'Fast Access to Features at ID' capability to force keeping the attribute table in memory (e.g. in case of expensive views)", nullptr));
#endif // QT_CONFIG(tooltip)
        mAvoidSelectingAsFeatureIdCheckBox->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Avoid selecting by feature ID", nullptr));
        mLayerNameLabel->setText(QCoreApplication::translate("QgsQueryResultPanelWidgetBase", "Layer name", nullptr));
        (void)QgsQueryResultPanelWidgetBase;
    } // retranslateUi

};

namespace Ui {
    class QgsQueryResultPanelWidgetBase: public Ui_QgsQueryResultPanelWidgetBase {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSQUERYRESULTPANELWIDGETBASE_H
