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

#ifndef UI_QGSSTACSEARCHPARAMETERSDIALOG_H
#define UI_QGSSTACSEARCHPARAMETERSDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QListView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include "qgscollapsiblegroupbox.h"
#include "qgsdatetimeedit.h"
#include "qgsextentwidget.h"
#include "qgsfilterlineedit.h"

QT_BEGIN_NAMESPACE

class Ui_QgsStacSearchParametersDialog
{
public:
    QVBoxLayout *verticalLayout;
    QgsCollapsibleGroupBox *mSpatialGroupBox;
    QVBoxLayout *verticalLayout_3;
    QgsExtentWidget *mSpatialExtent;
    QgsCollapsibleGroupBox *mTemporalGroupBox;
    QFormLayout *formLayout;
    QLabel *label;
    QgsDateTimeEdit *mFromDateTimeEdit;
    QLabel *label_2;
    QgsDateTimeEdit *mToDateTimeEdit;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    QToolButton *mTemporalToolButton;
    QgsCollapsibleGroupBox *mCollectionsGroupBox;
    QVBoxLayout *verticalLayout_2;
    QgsFilterLineEdit *mCollectionsFilterLineEdit;
    QListView *mCollectionsListView;
    QHBoxLayout *horizontalLayout_2;
    QPushButton *mSelectAllCollectionsButton;
    QPushButton *mDeselectAllCollectionsButton;
    QSpacerItem *horizontalSpacer_2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *QgsStacSearchParametersDialog)
    {
        if (QgsStacSearchParametersDialog->objectName().isEmpty())
            QgsStacSearchParametersDialog->setObjectName("QgsStacSearchParametersDialog");
        QgsStacSearchParametersDialog->resize(486, 650);
        verticalLayout = new QVBoxLayout(QgsStacSearchParametersDialog);
        verticalLayout->setObjectName("verticalLayout");
        mSpatialGroupBox = new QgsCollapsibleGroupBox(QgsStacSearchParametersDialog);
        mSpatialGroupBox->setObjectName("mSpatialGroupBox");
        mSpatialGroupBox->setCheckable(true);
        mSpatialGroupBox->setChecked(false);
        verticalLayout_3 = new QVBoxLayout(mSpatialGroupBox);
        verticalLayout_3->setObjectName("verticalLayout_3");
        mSpatialExtent = new QgsExtentWidget(mSpatialGroupBox);
        mSpatialExtent->setObjectName("mSpatialExtent");

        verticalLayout_3->addWidget(mSpatialExtent);


        verticalLayout->addWidget(mSpatialGroupBox);

        mTemporalGroupBox = new QgsCollapsibleGroupBox(QgsStacSearchParametersDialog);
        mTemporalGroupBox->setObjectName("mTemporalGroupBox");
        mTemporalGroupBox->setCheckable(true);
        mTemporalGroupBox->setChecked(false);
        formLayout = new QFormLayout(mTemporalGroupBox);
        formLayout->setObjectName("formLayout");
        label = new QLabel(mTemporalGroupBox);
        label->setObjectName("label");

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

        mFromDateTimeEdit = new QgsDateTimeEdit(mTemporalGroupBox);
        mFromDateTimeEdit->setObjectName("mFromDateTimeEdit");
        mFromDateTimeEdit->setCurrentSection(QDateTimeEdit::Section::YearSection);
        mFromDateTimeEdit->setCalendarPopup(true);
        mFromDateTimeEdit->setTimeSpec(Qt::TimeSpec::UTC);

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

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

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

        mToDateTimeEdit = new QgsDateTimeEdit(mTemporalGroupBox);
        mToDateTimeEdit->setObjectName("mToDateTimeEdit");
        mToDateTimeEdit->setCurrentSection(QDateTimeEdit::Section::YearSection);
        mToDateTimeEdit->setCalendarPopup(true);
        mToDateTimeEdit->setTimeSpec(Qt::TimeSpec::UTC);

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

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

        horizontalLayout->addItem(horizontalSpacer);

        mTemporalToolButton = new QToolButton(mTemporalGroupBox);
        mTemporalToolButton->setObjectName("mTemporalToolButton");

        horizontalLayout->addWidget(mTemporalToolButton);


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


        verticalLayout->addWidget(mTemporalGroupBox);

        mCollectionsGroupBox = new QgsCollapsibleGroupBox(QgsStacSearchParametersDialog);
        mCollectionsGroupBox->setObjectName("mCollectionsGroupBox");
        mCollectionsGroupBox->setCheckable(true);
        mCollectionsGroupBox->setChecked(false);
        verticalLayout_2 = new QVBoxLayout(mCollectionsGroupBox);
        verticalLayout_2->setObjectName("verticalLayout_2");
        mCollectionsFilterLineEdit = new QgsFilterLineEdit(mCollectionsGroupBox);
        mCollectionsFilterLineEdit->setObjectName("mCollectionsFilterLineEdit");

        verticalLayout_2->addWidget(mCollectionsFilterLineEdit);

        mCollectionsListView = new QListView(mCollectionsGroupBox);
        mCollectionsListView->setObjectName("mCollectionsListView");
        mCollectionsListView->setEditTriggers(QAbstractItemView::EditTrigger::NoEditTriggers);
        mCollectionsListView->setProperty("showDropIndicator", QVariant(false));

        verticalLayout_2->addWidget(mCollectionsListView);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        mSelectAllCollectionsButton = new QPushButton(mCollectionsGroupBox);
        mSelectAllCollectionsButton->setObjectName("mSelectAllCollectionsButton");

        horizontalLayout_2->addWidget(mSelectAllCollectionsButton);

        mDeselectAllCollectionsButton = new QPushButton(mCollectionsGroupBox);
        mDeselectAllCollectionsButton->setObjectName("mDeselectAllCollectionsButton");

        horizontalLayout_2->addWidget(mDeselectAllCollectionsButton);

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

        horizontalLayout_2->addItem(horizontalSpacer_2);


        verticalLayout_2->addLayout(horizontalLayout_2);


        verticalLayout->addWidget(mCollectionsGroupBox);

        buttonBox = new QDialogButtonBox(QgsStacSearchParametersDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Orientation::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(QgsStacSearchParametersDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, QgsStacSearchParametersDialog, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, QgsStacSearchParametersDialog, qOverload<>(&QDialog::reject));

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

    void retranslateUi(QDialog *QgsStacSearchParametersDialog)
    {
        QgsStacSearchParametersDialog->setWindowTitle(QCoreApplication::translate("QgsStacSearchParametersDialog", "STAC Search Filters", nullptr));
        mSpatialGroupBox->setTitle(QCoreApplication::translate("QgsStacSearchParametersDialog", "Spatial Extent", nullptr));
        mTemporalGroupBox->setTitle(QCoreApplication::translate("QgsStacSearchParametersDialog", "Temporal Extent", nullptr));
        label->setText(QCoreApplication::translate("QgsStacSearchParametersDialog", "Start date", nullptr));
        mFromDateTimeEdit->setDisplayFormat(QCoreApplication::translate("QgsStacSearchParametersDialog", "yyyy-MM-dd HH:mm:ss", nullptr));
        label_2->setText(QCoreApplication::translate("QgsStacSearchParametersDialog", "End date", nullptr));
        mToDateTimeEdit->setDisplayFormat(QCoreApplication::translate("QgsStacSearchParametersDialog", "yyyy-MM-dd HH:mm:ss", nullptr));
        mTemporalToolButton->setText(QCoreApplication::translate("QgsStacSearchParametersDialog", "...", nullptr));
        mCollectionsGroupBox->setTitle(QCoreApplication::translate("QgsStacSearchParametersDialog", "Only search within specific collections", nullptr));
        mSelectAllCollectionsButton->setText(QCoreApplication::translate("QgsStacSearchParametersDialog", "Select all", nullptr));
        mDeselectAllCollectionsButton->setText(QCoreApplication::translate("QgsStacSearchParametersDialog", "Deselect all", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsStacSearchParametersDialog: public Ui_QgsStacSearchParametersDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSSTACSEARCHPARAMETERSDIALOG_H
