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

#ifndef UI_PDFIMPORTOPTIONS_H
#define UI_PDFIMPORTOPTIONS_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include "ui/pageselector.h"

QT_BEGIN_NAMESPACE

class Ui_PdfImportOptions
{
public:
    QVBoxLayout *verticalLayout_5;
    QHBoxLayout *horizontalLayout_5;
    QLabel *label;
    QLabel *fileLabel;
    QHBoxLayout *horizontalLayout_4;
    QVBoxLayout *verticalLayout_3;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout;
    QRadioButton *allPages;
    QHBoxLayout *horizontalLayout_2;
    QRadioButton *singlePage;
    QSpinBox *spinBox;
    QRadioButton *selectedPages;
    QHBoxLayout *horizontalLayout;
    QLineEdit *pageRangeString;
    QPushButton *pageSelectButton;
    QGroupBox *cropGroup;
    QVBoxLayout *verticalLayout_2;
    QComboBox *cropBox;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout_8;
    QRadioButton *textAsVectors;
    QRadioButton *textAsText;
    QLabel *label_2;
    QSpacerItem *verticalSpacer;
    QVBoxLayout *verticalLayout_4;
    QLabel *previewWidget;
    QHBoxLayout *horizontalLayout_3;
    QSpacerItem *horizontalSpacer;
    PageSelector *pgSelect;
    QSpacerItem *horizontalSpacer_2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *PdfImportOptions)
    {
        if (PdfImportOptions->objectName().isEmpty())
            PdfImportOptions->setObjectName(QString::fromUtf8("PdfImportOptions"));
        PdfImportOptions->resize(477, 468);
        PdfImportOptions->setSizeGripEnabled(true);
        verticalLayout_5 = new QVBoxLayout(PdfImportOptions);
        verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
        verticalLayout_5->setContentsMargins(9, 9, 9, 9);
        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
        label = new QLabel(PdfImportOptions);
        label->setObjectName(QString::fromUtf8("label"));
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);

        horizontalLayout_5->addWidget(label);

        fileLabel = new QLabel(PdfImportOptions);
        fileLabel->setObjectName(QString::fromUtf8("fileLabel"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(fileLabel->sizePolicy().hasHeightForWidth());
        fileLabel->setSizePolicy(sizePolicy1);

        horizontalLayout_5->addWidget(fileLabel);


        verticalLayout_5->addLayout(horizontalLayout_5);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        verticalLayout_3 = new QVBoxLayout();
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        groupBox = new QGroupBox(PdfImportOptions);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy2);
        verticalLayout = new QVBoxLayout(groupBox);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        allPages = new QRadioButton(groupBox);
        allPages->setObjectName(QString::fromUtf8("allPages"));
        allPages->setChecked(true);

        verticalLayout->addWidget(allPages);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        singlePage = new QRadioButton(groupBox);
        singlePage->setObjectName(QString::fromUtf8("singlePage"));

        horizontalLayout_2->addWidget(singlePage);

        spinBox = new QSpinBox(groupBox);
        spinBox->setObjectName(QString::fromUtf8("spinBox"));
        spinBox->setEnabled(false);

        horizontalLayout_2->addWidget(spinBox);


        verticalLayout->addLayout(horizontalLayout_2);

        selectedPages = new QRadioButton(groupBox);
        selectedPages->setObjectName(QString::fromUtf8("selectedPages"));

        verticalLayout->addWidget(selectedPages);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(15, -1, -1, -1);
        pageRangeString = new QLineEdit(groupBox);
        pageRangeString->setObjectName(QString::fromUtf8("pageRangeString"));
        pageRangeString->setEnabled(false);

        horizontalLayout->addWidget(pageRangeString);

        pageSelectButton = new QPushButton(groupBox);
        pageSelectButton->setObjectName(QString::fromUtf8("pageSelectButton"));
        pageSelectButton->setEnabled(false);

        horizontalLayout->addWidget(pageSelectButton);


        verticalLayout->addLayout(horizontalLayout);


        verticalLayout_3->addWidget(groupBox);

        cropGroup = new QGroupBox(PdfImportOptions);
        cropGroup->setObjectName(QString::fromUtf8("cropGroup"));
        sizePolicy2.setHeightForWidth(cropGroup->sizePolicy().hasHeightForWidth());
        cropGroup->setSizePolicy(sizePolicy2);
        cropGroup->setCheckable(true);
        verticalLayout_2 = new QVBoxLayout(cropGroup);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        cropBox = new QComboBox(cropGroup);
        cropBox->addItem(QString());
        cropBox->addItem(QString());
        cropBox->addItem(QString());
        cropBox->addItem(QString());
        cropBox->addItem(QString());
        cropBox->setObjectName(QString::fromUtf8("cropBox"));

        verticalLayout_2->addWidget(cropBox);


        verticalLayout_3->addWidget(cropGroup);

        groupBox_2 = new QGroupBox(PdfImportOptions);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        sizePolicy2.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth());
        groupBox_2->setSizePolicy(sizePolicy2);
        verticalLayout_8 = new QVBoxLayout(groupBox_2);
        verticalLayout_8->setObjectName(QString::fromUtf8("verticalLayout_8"));
        textAsVectors = new QRadioButton(groupBox_2);
        textAsVectors->setObjectName(QString::fromUtf8("textAsVectors"));
        textAsVectors->setEnabled(true);
        textAsVectors->setChecked(true);

        verticalLayout_8->addWidget(textAsVectors);

        textAsText = new QRadioButton(groupBox_2);
        textAsText->setObjectName(QString::fromUtf8("textAsText"));

        verticalLayout_8->addWidget(textAsText);

        label_2 = new QLabel(groupBox_2);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setWordWrap(true);

        verticalLayout_8->addWidget(label_2);


        verticalLayout_3->addWidget(groupBox_2, 0, Qt::AlignTop);

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

        verticalLayout_3->addItem(verticalSpacer);


        horizontalLayout_4->addLayout(verticalLayout_3);

        verticalLayout_4 = new QVBoxLayout();
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        previewWidget = new QLabel(PdfImportOptions);
        previewWidget->setObjectName(QString::fromUtf8("previewWidget"));
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(previewWidget->sizePolicy().hasHeightForWidth());
        previewWidget->setSizePolicy(sizePolicy3);
        previewWidget->setMinimumSize(QSize(250, 340));
        previewWidget->setFrameShape(QFrame::Panel);
        previewWidget->setFrameShadow(QFrame::Sunken);
        previewWidget->setAlignment(Qt::AlignCenter);

        verticalLayout_4->addWidget(previewWidget);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer);

        pgSelect = new PageSelector(PdfImportOptions);
        pgSelect->setObjectName(QString::fromUtf8("pgSelect"));

        horizontalLayout_3->addWidget(pgSelect);

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

        horizontalLayout_3->addItem(horizontalSpacer_2);


        verticalLayout_4->addLayout(horizontalLayout_3);


        horizontalLayout_4->addLayout(verticalLayout_4);


        verticalLayout_5->addLayout(horizontalLayout_4);

        buttonBox = new QDialogButtonBox(PdfImportOptions);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout_5->addWidget(buttonBox);


        retranslateUi(PdfImportOptions);
        QObject::connect(singlePage, SIGNAL(toggled(bool)), spinBox, SLOT(setEnabled(bool)));
        QObject::connect(selectedPages, SIGNAL(toggled(bool)), pageRangeString, SLOT(setEnabled(bool)));
        QObject::connect(selectedPages, SIGNAL(toggled(bool)), pageSelectButton, SLOT(setEnabled(bool)));

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

    void retranslateUi(QDialog *PdfImportOptions)
    {
        PdfImportOptions->setWindowTitle(QCoreApplication::translate("PdfImportOptions", "PDF-Import", nullptr));
        label->setText(QCoreApplication::translate("PdfImportOptions", "Importing File:", nullptr));
        fileLabel->setText(QString());
        groupBox->setTitle(QCoreApplication::translate("PdfImportOptions", "Page Range", nullptr));
        allPages->setText(QCoreApplication::translate("PdfImportOptions", "All Pages", nullptr));
        singlePage->setText(QCoreApplication::translate("PdfImportOptions", "Single Page", nullptr));
        selectedPages->setText(QCoreApplication::translate("PdfImportOptions", "Choose Pages", nullptr));
        pageSelectButton->setText(QString());
        cropGroup->setTitle(QCoreApplication::translate("PdfImportOptions", "Crop to:", nullptr));
        cropBox->setItemText(0, QCoreApplication::translate("PdfImportOptions", "Media Box", nullptr));
        cropBox->setItemText(1, QCoreApplication::translate("PdfImportOptions", "Bleed Box", nullptr));
        cropBox->setItemText(2, QCoreApplication::translate("PdfImportOptions", "Trim Box", nullptr));
        cropBox->setItemText(3, QCoreApplication::translate("PdfImportOptions", "Crop Box", nullptr));
        cropBox->setItemText(4, QCoreApplication::translate("PdfImportOptions", "Art Box", nullptr));

        groupBox_2->setTitle(QCoreApplication::translate("PdfImportOptions", "Text", nullptr));
        textAsVectors->setText(QCoreApplication::translate("PdfImportOptions", "Import Text As Vectors", nullptr));
        textAsText->setText(QCoreApplication::translate("PdfImportOptions", "Import Text As Text", nullptr));
        label_2->setText(QCoreApplication::translate("PdfImportOptions", "Note: importing text as text may significantly alter PDF visual aspect", nullptr));
        previewWidget->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class PdfImportOptions: public Ui_PdfImportOptions {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PDFIMPORTOPTIONS_H
