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

#ifndef UI_IMPORTDIALOG_H
#define UI_IMPORTDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDateEdit>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QProgressBar>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_ImportDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QGroupBox *groupBox_3;
    QGridLayout *gridLayout_4;
    QComboBox *typeSelect;
    QLineEdit *fileEdit;
    QPushButton *browseButton;
    QGroupBox *groupBox;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *allCheckBox;
    QSpacerItem *horizontalSpacer;
    QDateEdit *startDateEdit;
    QLabel *endDateLabel;
    QDateEdit *endDateEdit;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout;
    QCheckBox *profileCheckBox;
    QCheckBox *rigCheckBox;
    QComboBox *rigSelect;
    QCheckBox *commentCheckBox;
    QLineEdit *commentEdit;
    QComboBox *profileSelect;
    QGroupBox *optionBox;
    QVBoxLayout *verticalLayout;
    QLabel *label;
    QCheckBox *fillMissingDxccCheckBox;
    QProgressBar *progressBar;
    QHBoxLayout *horizontalLayout;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *ImportDialog)
    {
        if (ImportDialog->objectName().isEmpty())
            ImportDialog->setObjectName("ImportDialog");
        ImportDialog->setModal(true);
        verticalLayout_2 = new QVBoxLayout(ImportDialog);
        verticalLayout_2->setObjectName("verticalLayout_2");
        groupBox_3 = new QGroupBox(ImportDialog);
        groupBox_3->setObjectName("groupBox_3");
        gridLayout_4 = new QGridLayout(groupBox_3);
        gridLayout_4->setObjectName("gridLayout_4");
        typeSelect = new QComboBox(groupBox_3);
        typeSelect->addItem(QString::fromUtf8("ADI"));
        typeSelect->addItem(QString());
        typeSelect->setObjectName("typeSelect");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(typeSelect->sizePolicy().hasHeightForWidth());
        typeSelect->setSizePolicy(sizePolicy);

        gridLayout_4->addWidget(typeSelect, 0, 2, 1, 1);

        fileEdit = new QLineEdit(groupBox_3);
        fileEdit->setObjectName("fileEdit");
        fileEdit->setFocusPolicy(Qt::ClickFocus);
        fileEdit->setReadOnly(true);

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

        browseButton = new QPushButton(groupBox_3);
        browseButton->setObjectName("browseButton");
        QIcon icon;
        QString iconThemeName = QString::fromUtf8("folder-open");
        if (QIcon::hasThemeIcon(iconThemeName)) {
            icon = QIcon::fromTheme(iconThemeName);
        } else {
            icon.addFile(QString::fromUtf8("."), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        }
        browseButton->setIcon(icon);

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


        verticalLayout_2->addWidget(groupBox_3);

        groupBox = new QGroupBox(ImportDialog);
        groupBox->setObjectName("groupBox");
        horizontalLayout_2 = new QHBoxLayout(groupBox);
        horizontalLayout_2->setObjectName("horizontalLayout_2");
        allCheckBox = new QCheckBox(groupBox);
        allCheckBox->setObjectName("allCheckBox");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(allCheckBox->sizePolicy().hasHeightForWidth());
        allCheckBox->setSizePolicy(sizePolicy1);

        horizontalLayout_2->addWidget(allCheckBox);

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

        horizontalLayout_2->addItem(horizontalSpacer);

        startDateEdit = new QDateEdit(groupBox);
        startDateEdit->setObjectName("startDateEdit");
        sizePolicy.setHeightForWidth(startDateEdit->sizePolicy().hasHeightForWidth());
        startDateEdit->setSizePolicy(sizePolicy);
        startDateEdit->setFocusPolicy(Qt::ClickFocus);
        startDateEdit->setCalendarPopup(true);

        horizontalLayout_2->addWidget(startDateEdit);

        endDateLabel = new QLabel(groupBox);
        endDateLabel->setObjectName("endDateLabel");
        endDateLabel->setText(QString::fromUtf8(" - "));

        horizontalLayout_2->addWidget(endDateLabel);

        endDateEdit = new QDateEdit(groupBox);
        endDateEdit->setObjectName("endDateEdit");
        sizePolicy.setHeightForWidth(endDateEdit->sizePolicy().hasHeightForWidth());
        endDateEdit->setSizePolicy(sizePolicy);
        endDateEdit->setFocusPolicy(Qt::ClickFocus);
        endDateEdit->setCalendarPopup(true);

        horizontalLayout_2->addWidget(endDateEdit);


        verticalLayout_2->addWidget(groupBox);

        groupBox_2 = new QGroupBox(ImportDialog);
        groupBox_2->setObjectName("groupBox_2");
        formLayout = new QFormLayout(groupBox_2);
        formLayout->setObjectName("formLayout");
        profileCheckBox = new QCheckBox(groupBox_2);
        profileCheckBox->setObjectName("profileCheckBox");
        sizePolicy1.setHeightForWidth(profileCheckBox->sizePolicy().hasHeightForWidth());
        profileCheckBox->setSizePolicy(sizePolicy1);
        profileCheckBox->setChecked(false);

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

        rigCheckBox = new QCheckBox(groupBox_2);
        rigCheckBox->setObjectName("rigCheckBox");
        sizePolicy1.setHeightForWidth(rigCheckBox->sizePolicy().hasHeightForWidth());
        rigCheckBox->setSizePolicy(sizePolicy1);

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

        rigSelect = new QComboBox(groupBox_2);
        rigSelect->setObjectName("rigSelect");
        rigSelect->setEnabled(false);
        QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(rigSelect->sizePolicy().hasHeightForWidth());
        rigSelect->setSizePolicy(sizePolicy2);

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

        commentCheckBox = new QCheckBox(groupBox_2);
        commentCheckBox->setObjectName("commentCheckBox");
        sizePolicy1.setHeightForWidth(commentCheckBox->sizePolicy().hasHeightForWidth());
        commentCheckBox->setSizePolicy(sizePolicy1);

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

        commentEdit = new QLineEdit(groupBox_2);
        commentEdit->setObjectName("commentEdit");
        commentEdit->setEnabled(false);
        sizePolicy2.setHeightForWidth(commentEdit->sizePolicy().hasHeightForWidth());
        commentEdit->setSizePolicy(sizePolicy2);

        formLayout->setWidget(2, QFormLayout::ItemRole::FieldRole, commentEdit);

        profileSelect = new QComboBox(groupBox_2);
        profileSelect->setObjectName("profileSelect");
        profileSelect->setEnabled(false);

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


        verticalLayout_2->addWidget(groupBox_2);

        optionBox = new QGroupBox(ImportDialog);
        optionBox->setObjectName("optionBox");
        optionBox->setEnabled(true);
        verticalLayout = new QVBoxLayout(optionBox);
        verticalLayout->setObjectName("verticalLayout");
        label = new QLabel(optionBox);
        label->setObjectName("label");
        label->setWordWrap(true);

        verticalLayout->addWidget(label);

        fillMissingDxccCheckBox = new QCheckBox(optionBox);
        fillMissingDxccCheckBox->setObjectName("fillMissingDxccCheckBox");
        fillMissingDxccCheckBox->setChecked(true);

        verticalLayout->addWidget(fillMissingDxccCheckBox);


        verticalLayout_2->addWidget(optionBox);

        progressBar = new QProgressBar(ImportDialog);
        progressBar->setObjectName("progressBar");
        progressBar->setValue(24);

        verticalLayout_2->addWidget(progressBar);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        buttonBox = new QDialogButtonBox(ImportDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setStandardButtons(QDialogButtonBox::Close|QDialogButtonBox::Ok);
        buttonBox->setCenterButtons(false);

        horizontalLayout->addWidget(buttonBox);


        verticalLayout_2->addLayout(horizontalLayout);

        QWidget::setTabOrder(browseButton, typeSelect);
        QWidget::setTabOrder(typeSelect, allCheckBox);
        QWidget::setTabOrder(allCheckBox, profileCheckBox);
        QWidget::setTabOrder(profileCheckBox, profileSelect);
        QWidget::setTabOrder(profileSelect, rigCheckBox);
        QWidget::setTabOrder(rigCheckBox, rigSelect);
        QWidget::setTabOrder(rigSelect, commentCheckBox);
        QWidget::setTabOrder(commentCheckBox, commentEdit);
        QWidget::setTabOrder(commentEdit, fillMissingDxccCheckBox);

        retranslateUi(ImportDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), ImportDialog, SLOT(runImport()));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, ImportDialog, qOverload<>(&QDialog::reject));
        QObject::connect(allCheckBox, SIGNAL(stateChanged(int)), ImportDialog, SLOT(toggleAll()));
        QObject::connect(browseButton, SIGNAL(clicked()), ImportDialog, SLOT(browse()));
        QObject::connect(profileCheckBox, SIGNAL(stateChanged(int)), ImportDialog, SLOT(toggleMyProfile()));
        QObject::connect(rigSelect, SIGNAL(currentTextChanged(QString)), ImportDialog, SLOT(rigProfileTextChanged(QString)));
        QObject::connect(rigCheckBox, SIGNAL(stateChanged(int)), ImportDialog, SLOT(toggleMyRig()));
        QObject::connect(profileSelect, SIGNAL(currentTextChanged(QString)), ImportDialog, SLOT(stationProfileTextChanged(QString)));
        QObject::connect(commentCheckBox, SIGNAL(stateChanged(int)), ImportDialog, SLOT(toggleComment()));
        QObject::connect(commentEdit, SIGNAL(textChanged(QString)), ImportDialog, SLOT(commentChanged(QString)));

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

    void retranslateUi(QDialog *ImportDialog)
    {
        ImportDialog->setWindowTitle(QCoreApplication::translate("ImportDialog", "Import", nullptr));
        groupBox_3->setTitle(QCoreApplication::translate("ImportDialog", "File", nullptr));
        typeSelect->setItemText(1, QCoreApplication::translate("ImportDialog", "ADX", nullptr));

        browseButton->setText(QCoreApplication::translate("ImportDialog", "Browse", nullptr));
#if QT_CONFIG(tooltip)
        groupBox->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
        groupBox->setTitle(QCoreApplication::translate("ImportDialog", "Date Range", nullptr));
#if QT_CONFIG(tooltip)
        allCheckBox->setToolTip(QCoreApplication::translate("ImportDialog", "Import all or only QSOs from the given period", nullptr));
#endif // QT_CONFIG(tooltip)
        allCheckBox->setText(QCoreApplication::translate("ImportDialog", "All", nullptr));
#if QT_CONFIG(tooltip)
        groupBox_2->setToolTip(QCoreApplication::translate("ImportDialog", "The value is used when an input record does not contain the ADIF value", nullptr));
#endif // QT_CONFIG(tooltip)
        groupBox_2->setTitle(QCoreApplication::translate("ImportDialog", "Defaults", nullptr));
        profileCheckBox->setText(QCoreApplication::translate("ImportDialog", "My Profile", nullptr));
        rigCheckBox->setText(QCoreApplication::translate("ImportDialog", "My Rig", nullptr));
#if QT_CONFIG(tooltip)
        rigSelect->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
        commentCheckBox->setText(QCoreApplication::translate("ImportDialog", "Comment", nullptr));
#if QT_CONFIG(tooltip)
        commentEdit->setToolTip(QString());
#endif // QT_CONFIG(tooltip)
        optionBox->setTitle(QCoreApplication::translate("ImportDialog", "Options", nullptr));
        label->setText(QCoreApplication::translate("ImportDialog", "If DXCC is missing in the imported record, it will be resolved from the callsign.", nullptr));
        fillMissingDxccCheckBox->setText(QCoreApplication::translate("ImportDialog", "Fill missing DXCC Entity Information", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ImportDialog: public Ui_ImportDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_IMPORTDIALOG_H
