/********************************************************************************
** Form generated from reading UI file 'qgsmapsavedialog.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_QGSMAPSAVEDIALOG_H
#define UI_QGSMAPSAVEDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <qgscollapsiblegroupbox.h>
#include "qgscollapsiblegroupbox.h"
#include "qgsextentgroupbox.h"
#include "qgsmessagebar.h"
#include "qgsratiolockbutton.h"
#include "qgsscalewidget.h"
#include "qgsspinbox.h"

QT_BEGIN_NAMESPACE

class Ui_QgsMapSaveDialog
{
public:
    QVBoxLayout *verticalLayout;
    QgsMessageBar *mMessageBar;
    QGridLayout *gridLayout;
    QLabel *label_2;
    QCheckBox *mSaveWorldFile;
    QCheckBox *mExportMetadataCheckBox;
    QHBoxLayout *hboxLayout;
    QgsScaleWidget *mScaleWidget;
    QToolButton *mLockScale;
    QgsExtentGroupBox *mExtentGroupBox;
    QgsCollapsibleGroupBoxBasic *mGeospatialPDFGroupBox;
    QVBoxLayout *verticalLayout_2;
    QStackedWidget *mGeospatialPDFOptionsStackedWidget;
    QWidget *page;
    QVBoxLayout *verticalLayout_3;
    QLabel *mGeospatialPdfUnavailableReason;
    QWidget *page_2;
    QGridLayout *gridLayout_2;
    QCheckBox *mExportGeospatialPdfFeaturesCheckBox;
    QgsCollapsibleGroupBox *mAdvancedPdfSettings;
    QGridLayout *gridLayout_3;
    QLabel *mTextExportLabel;
    QComboBox *mTextRenderFormatComboBox;
    QCheckBox *mSimplifyGeometriesCheckbox;
    QCheckBox *mSaveAsRaster;
    QLabel *label_4;
    QCheckBox *mDrawAnnotations;
    QCheckBox *mDrawDecorations;
    QLabel *label_3;
    QGridLayout *gridLayout_4;
    QgsSpinBox *mOutputWidthSpinBox;
    QHBoxLayout *hboxLayout1;
    QgsRatioLockButton *mLockAspectRatio;
    QgsSpinBox *mOutputHeightSpinBox;
    QgsSpinBox *mResolutionSpinBox;
    QLabel *label_1;
    QLabel *mInfo;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *QgsMapSaveDialog)
    {
        if (QgsMapSaveDialog->objectName().isEmpty())
            QgsMapSaveDialog->setObjectName("QgsMapSaveDialog");
        QgsMapSaveDialog->resize(600, 629);
        verticalLayout = new QVBoxLayout(QgsMapSaveDialog);
        verticalLayout->setObjectName("verticalLayout");
        mMessageBar = new QgsMessageBar(QgsMapSaveDialog);
        mMessageBar->setObjectName("mMessageBar");
        mMessageBar->setFrameShape(QFrame::StyledPanel);
        mMessageBar->setFrameShadow(QFrame::Raised);

        verticalLayout->addWidget(mMessageBar);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName("gridLayout");
        label_2 = new QLabel(QgsMapSaveDialog);
        label_2->setObjectName("label_2");

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

        mSaveWorldFile = new QCheckBox(QgsMapSaveDialog);
        mSaveWorldFile->setObjectName("mSaveWorldFile");
        mSaveWorldFile->setChecked(true);

        gridLayout->addWidget(mSaveWorldFile, 7, 0, 1, 2);

        mExportMetadataCheckBox = new QCheckBox(QgsMapSaveDialog);
        mExportMetadataCheckBox->setObjectName("mExportMetadataCheckBox");
        mExportMetadataCheckBox->setChecked(true);

        gridLayout->addWidget(mExportMetadataCheckBox, 8, 0, 1, 2);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName("hboxLayout");
        mScaleWidget = new QgsScaleWidget(QgsMapSaveDialog);
        mScaleWidget->setObjectName("mScaleWidget");

        hboxLayout->addWidget(mScaleWidget);

        mLockScale = new QToolButton(QgsMapSaveDialog);
        mLockScale->setObjectName("mLockScale");
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/images/themes/default/lockedGray.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mLockScale->setIcon(icon);
        mLockScale->setCheckable(true);
        mLockScale->setChecked(false);

        hboxLayout->addWidget(mLockScale);


        gridLayout->addLayout(hboxLayout, 1, 1, 1, 1);

        mExtentGroupBox = new QgsExtentGroupBox(QgsMapSaveDialog);
        mExtentGroupBox->setObjectName("mExtentGroupBox");
        mExtentGroupBox->setFocusPolicy(Qt::StrongFocus);

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

        mGeospatialPDFGroupBox = new QgsCollapsibleGroupBoxBasic(QgsMapSaveDialog);
        mGeospatialPDFGroupBox->setObjectName("mGeospatialPDFGroupBox");
        mGeospatialPDFGroupBox->setCheckable(true);
        mGeospatialPDFGroupBox->setChecked(true);
        verticalLayout_2 = new QVBoxLayout(mGeospatialPDFGroupBox);
        verticalLayout_2->setObjectName("verticalLayout_2");
        mGeospatialPDFOptionsStackedWidget = new QStackedWidget(mGeospatialPDFGroupBox);
        mGeospatialPDFOptionsStackedWidget->setObjectName("mGeospatialPDFOptionsStackedWidget");
        page = new QWidget();
        page->setObjectName("page");
        verticalLayout_3 = new QVBoxLayout(page);
        verticalLayout_3->setObjectName("verticalLayout_3");
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        mGeospatialPdfUnavailableReason = new QLabel(page);
        mGeospatialPdfUnavailableReason->setObjectName("mGeospatialPdfUnavailableReason");

        verticalLayout_3->addWidget(mGeospatialPdfUnavailableReason);

        mGeospatialPDFOptionsStackedWidget->addWidget(page);
        page_2 = new QWidget();
        page_2->setObjectName("page_2");
        gridLayout_2 = new QGridLayout(page_2);
        gridLayout_2->setObjectName("gridLayout_2");
        gridLayout_2->setContentsMargins(0, 0, 0, 0);
        mExportGeospatialPdfFeaturesCheckBox = new QCheckBox(page_2);
        mExportGeospatialPdfFeaturesCheckBox->setObjectName("mExportGeospatialPdfFeaturesCheckBox");
        mExportGeospatialPdfFeaturesCheckBox->setChecked(true);

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

        gridLayout_2->setColumnStretch(1, 1);
        mGeospatialPDFOptionsStackedWidget->addWidget(page_2);

        verticalLayout_2->addWidget(mGeospatialPDFOptionsStackedWidget);


        gridLayout->addWidget(mGeospatialPDFGroupBox, 9, 0, 1, 2);

        mAdvancedPdfSettings = new QgsCollapsibleGroupBox(QgsMapSaveDialog);
        mAdvancedPdfSettings->setObjectName("mAdvancedPdfSettings");
        gridLayout_3 = new QGridLayout(mAdvancedPdfSettings);
        gridLayout_3->setObjectName("gridLayout_3");
        mTextExportLabel = new QLabel(mAdvancedPdfSettings);
        mTextExportLabel->setObjectName("mTextExportLabel");

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

        mTextRenderFormatComboBox = new QComboBox(mAdvancedPdfSettings);
        mTextRenderFormatComboBox->setObjectName("mTextRenderFormatComboBox");

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

        mSimplifyGeometriesCheckbox = new QCheckBox(mAdvancedPdfSettings);
        mSimplifyGeometriesCheckbox->setObjectName("mSimplifyGeometriesCheckbox");
        mSimplifyGeometriesCheckbox->setChecked(true);

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

        mSaveAsRaster = new QCheckBox(mAdvancedPdfSettings);
        mSaveAsRaster->setObjectName("mSaveAsRaster");
        mSaveAsRaster->setVisible(true);
        mSaveAsRaster->setChecked(false);

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

        gridLayout_3->setColumnStretch(1, 1);

        gridLayout->addWidget(mAdvancedPdfSettings, 10, 0, 1, 2);

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

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

        mDrawAnnotations = new QCheckBox(QgsMapSaveDialog);
        mDrawAnnotations->setObjectName("mDrawAnnotations");
        mDrawAnnotations->setChecked(true);

        gridLayout->addWidget(mDrawAnnotations, 6, 0, 1, 2);

        mDrawDecorations = new QCheckBox(QgsMapSaveDialog);
        mDrawDecorations->setObjectName("mDrawDecorations");
        mDrawDecorations->setChecked(true);

        gridLayout->addWidget(mDrawDecorations, 5, 0, 1, 2);

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

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

        gridLayout_4 = new QGridLayout();
        gridLayout_4->setObjectName("gridLayout_4");
        gridLayout_4->setHorizontalSpacing(0);
        gridLayout_4->setVerticalSpacing(6);
        mOutputWidthSpinBox = new QgsSpinBox(QgsMapSaveDialog);
        mOutputWidthSpinBox->setObjectName("mOutputWidthSpinBox");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mOutputWidthSpinBox->sizePolicy().hasHeightForWidth());
        mOutputWidthSpinBox->setSizePolicy(sizePolicy);
        mOutputWidthSpinBox->setMinimum(1);
        mOutputWidthSpinBox->setMaximum(99999);
        mOutputWidthSpinBox->setShowClearButton(false);

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

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName("hboxLayout1");
        hboxLayout1->setContentsMargins(2, 2, 0, 2);
        mLockAspectRatio = new QgsRatioLockButton(QgsMapSaveDialog);
        mLockAspectRatio->setObjectName("mLockAspectRatio");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(mLockAspectRatio->sizePolicy().hasHeightForWidth());
        mLockAspectRatio->setSizePolicy(sizePolicy1);
        mLockAspectRatio->setContentsMargins(13, -1, -1, -1);

        hboxLayout1->addWidget(mLockAspectRatio);


        gridLayout_4->addLayout(hboxLayout1, 0, 1, 2, 1);

        mOutputHeightSpinBox = new QgsSpinBox(QgsMapSaveDialog);
        mOutputHeightSpinBox->setObjectName("mOutputHeightSpinBox");
        mOutputHeightSpinBox->setMinimum(1);
        mOutputHeightSpinBox->setMaximum(99999);
        mOutputHeightSpinBox->setShowClearButton(false);

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


        gridLayout->addLayout(gridLayout_4, 3, 1, 2, 1);

        mResolutionSpinBox = new QgsSpinBox(QgsMapSaveDialog);
        mResolutionSpinBox->setObjectName("mResolutionSpinBox");
        mResolutionSpinBox->setMinimum(1);
        mResolutionSpinBox->setMaximum(3000);
        mResolutionSpinBox->setShowClearButton(false);

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

        label_1 = new QLabel(QgsMapSaveDialog);
        label_1->setObjectName("label_1");

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

        mInfo = new QLabel(QgsMapSaveDialog);
        mInfo->setObjectName("mInfo");
        mInfo->setWordWrap(true);
        mInfo->setOpenExternalLinks(false);

        gridLayout->addWidget(mInfo, 11, 0, 1, 2);


        verticalLayout->addLayout(gridLayout);

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

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(QgsMapSaveDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Save);

        verticalLayout->addWidget(buttonBox);

        QWidget::setTabOrder(mExtentGroupBox, mScaleWidget);
        QWidget::setTabOrder(mScaleWidget, mLockScale);
        QWidget::setTabOrder(mLockScale, mResolutionSpinBox);
        QWidget::setTabOrder(mResolutionSpinBox, mOutputWidthSpinBox);
        QWidget::setTabOrder(mOutputWidthSpinBox, mLockAspectRatio);
        QWidget::setTabOrder(mLockAspectRatio, mOutputHeightSpinBox);
        QWidget::setTabOrder(mOutputHeightSpinBox, mDrawDecorations);
        QWidget::setTabOrder(mDrawDecorations, mDrawAnnotations);
        QWidget::setTabOrder(mDrawAnnotations, mSaveWorldFile);
        QWidget::setTabOrder(mSaveWorldFile, mExportMetadataCheckBox);
        QWidget::setTabOrder(mExportMetadataCheckBox, mGeospatialPDFGroupBox);
        QWidget::setTabOrder(mGeospatialPDFGroupBox, mExportGeospatialPdfFeaturesCheckBox);
        QWidget::setTabOrder(mExportGeospatialPdfFeaturesCheckBox, mSaveAsRaster);
        QWidget::setTabOrder(mSaveAsRaster, mSimplifyGeometriesCheckbox);
        QWidget::setTabOrder(mSimplifyGeometriesCheckbox, mTextRenderFormatComboBox);

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

        mGeospatialPDFOptionsStackedWidget->setCurrentIndex(1);


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

    void retranslateUi(QDialog *QgsMapSaveDialog)
    {
        QgsMapSaveDialog->setWindowTitle(QCoreApplication::translate("QgsMapSaveDialog", "Save Map as Image", nullptr));
        label_2->setText(QCoreApplication::translate("QgsMapSaveDialog", "Resolution", nullptr));
        mSaveWorldFile->setText(QCoreApplication::translate("QgsMapSaveDialog", "Append georeference information (embedded or via world file)", nullptr));
        mExportMetadataCheckBox->setText(QCoreApplication::translate("QgsMapSaveDialog", "Export RDF metadata (title, author, etc.)", nullptr));
#if QT_CONFIG(tooltip)
        mLockScale->setToolTip(QCoreApplication::translate("QgsMapSaveDialog", "Lock scale while setting the extent", nullptr));
#endif // QT_CONFIG(tooltip)
        mLockScale->setText(QString());
        mExtentGroupBox->setTitle(QCoreApplication::translate("QgsMapSaveDialog", "Extent", nullptr));
        mGeospatialPDFGroupBox->setTitle(QCoreApplication::translate("QgsMapSaveDialog", "Create Geospatial PDF", nullptr));
        mGeospatialPdfUnavailableReason->setText(QString());
        mExportGeospatialPdfFeaturesCheckBox->setText(QCoreApplication::translate("QgsMapSaveDialog", "Include vector feature information", nullptr));
        mAdvancedPdfSettings->setTitle(QCoreApplication::translate("QgsMapSaveDialog", "Advanced Settings", nullptr));
        mTextExportLabel->setText(QCoreApplication::translate("QgsMapSaveDialog", "Text export", nullptr));
        mSimplifyGeometriesCheckbox->setText(QCoreApplication::translate("QgsMapSaveDialog", "Simplify geometries to reduce output file size", nullptr));
#if QT_CONFIG(tooltip)
        mSaveAsRaster->setToolTip(QCoreApplication::translate("QgsMapSaveDialog", "Advanced effects such as blend modes or vector layer transparency cannot be exported as vectors.\n"
"Rasterizing the map is recommended when such effects are used.", nullptr));
#endif // QT_CONFIG(tooltip)
        mSaveAsRaster->setText(QCoreApplication::translate("QgsMapSaveDialog", "Rasterize map", nullptr));
        label_4->setText(QCoreApplication::translate("QgsMapSaveDialog", "Output height", nullptr));
        mDrawAnnotations->setText(QCoreApplication::translate("QgsMapSaveDialog", "Draw annotations", nullptr));
        mDrawDecorations->setText(QCoreApplication::translate("QgsMapSaveDialog", "Draw active decorations", nullptr));
        label_3->setText(QCoreApplication::translate("QgsMapSaveDialog", "Output width", nullptr));
        mOutputWidthSpinBox->setSuffix(QCoreApplication::translate("QgsMapSaveDialog", " px", nullptr));
        mOutputWidthSpinBox->setPrefix(QString());
#if QT_CONFIG(tooltip)
        mLockAspectRatio->setToolTip(QCoreApplication::translate("QgsMapSaveDialog", "Lock aspect ratio (including while drawing extent onto canvas)", nullptr));
#endif // QT_CONFIG(tooltip)
        mOutputHeightSpinBox->setSuffix(QCoreApplication::translate("QgsMapSaveDialog", " px", nullptr));
        mOutputHeightSpinBox->setPrefix(QString());
        mResolutionSpinBox->setSuffix(QCoreApplication::translate("QgsMapSaveDialog", " dpi", nullptr));
        mResolutionSpinBox->setPrefix(QString());
        label_1->setText(QCoreApplication::translate("QgsMapSaveDialog", "Scale", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsMapSaveDialog: public Ui_QgsMapSaveDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSMAPSAVEDIALOG_H
