/********************************************************************************
** Form generated from reading UI file 'LoadDatabaseDialog.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_LOADDATABASEDIALOG_H
#define UI_LOADDATABASEDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_LoadDatabaseDialog
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *warningGroup;
    QVBoxLayout *verticalLayout_4;
    QLabel *warningLabel;
    QGroupBox *selectDatabaseGroup;
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *fileLayout;
    QLabel *fileLabel;
    QLineEdit *fileEdit;
    QPushButton *browseButton;
    QLabel *statusLabel;
    QGroupBox *decryptGroup;
    QVBoxLayout *verticalLayout_3;
    QLabel *passwordStatusLabel;
    QHBoxLayout *passwordLayout;
    QLabel *passwordLabel;
    QLineEdit *passwordEdit;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *LoadDatabaseDialog)
    {
        if (LoadDatabaseDialog->objectName().isEmpty())
            LoadDatabaseDialog->setObjectName("LoadDatabaseDialog");
        LoadDatabaseDialog->resize(500, 411);
        LoadDatabaseDialog->setModal(true);
        verticalLayout = new QVBoxLayout(LoadDatabaseDialog);
        verticalLayout->setObjectName("verticalLayout");
        warningGroup = new QGroupBox(LoadDatabaseDialog);
        warningGroup->setObjectName("warningGroup");
        verticalLayout_4 = new QVBoxLayout(warningGroup);
        verticalLayout_4->setObjectName("verticalLayout_4");
        warningLabel = new QLabel(warningGroup);
        warningLabel->setObjectName("warningLabel");

        verticalLayout_4->addWidget(warningLabel);


        verticalLayout->addWidget(warningGroup);

        selectDatabaseGroup = new QGroupBox(LoadDatabaseDialog);
        selectDatabaseGroup->setObjectName("selectDatabaseGroup");
        verticalLayout_2 = new QVBoxLayout(selectDatabaseGroup);
        verticalLayout_2->setObjectName("verticalLayout_2");
        fileLayout = new QHBoxLayout();
        fileLayout->setObjectName("fileLayout");
        fileLabel = new QLabel(selectDatabaseGroup);
        fileLabel->setObjectName("fileLabel");

        fileLayout->addWidget(fileLabel);

        fileEdit = new QLineEdit(selectDatabaseGroup);
        fileEdit->setObjectName("fileEdit");
        fileEdit->setReadOnly(true);

        fileLayout->addWidget(fileEdit);

        browseButton = new QPushButton(selectDatabaseGroup);
        browseButton->setObjectName("browseButton");
        QIcon icon(QIcon::fromTheme(QString::fromUtf8("folder-open")));
        browseButton->setIcon(icon);

        fileLayout->addWidget(browseButton);


        verticalLayout_2->addLayout(fileLayout);

        statusLabel = new QLabel(selectDatabaseGroup);
        statusLabel->setObjectName("statusLabel");
        statusLabel->setWordWrap(true);

        verticalLayout_2->addWidget(statusLabel);


        verticalLayout->addWidget(selectDatabaseGroup);

        decryptGroup = new QGroupBox(LoadDatabaseDialog);
        decryptGroup->setObjectName("decryptGroup");
        verticalLayout_3 = new QVBoxLayout(decryptGroup);
        verticalLayout_3->setObjectName("verticalLayout_3");
        passwordStatusLabel = new QLabel(decryptGroup);
        passwordStatusLabel->setObjectName("passwordStatusLabel");

        verticalLayout_3->addWidget(passwordStatusLabel);

        passwordLayout = new QHBoxLayout();
        passwordLayout->setObjectName("passwordLayout");
        passwordLabel = new QLabel(decryptGroup);
        passwordLabel->setObjectName("passwordLabel");

        passwordLayout->addWidget(passwordLabel);

        passwordEdit = new QLineEdit(decryptGroup);
        passwordEdit->setObjectName("passwordEdit");
        passwordEdit->setEchoMode(QLineEdit::Password);

        passwordLayout->addWidget(passwordEdit);


        verticalLayout_3->addLayout(passwordLayout);


        verticalLayout->addWidget(decryptGroup);

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

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(LoadDatabaseDialog);
        buttonBox->setObjectName("buttonBox");
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(LoadDatabaseDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, LoadDatabaseDialog, qOverload<>(&QDialog::reject));
        QObject::connect(browseButton, SIGNAL(clicked()), LoadDatabaseDialog, SLOT(browseFile()));
        QObject::connect(passwordEdit, SIGNAL(textChanged(QString)), LoadDatabaseDialog, SLOT(updateLoadButtonState()));

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

    void retranslateUi(QDialog *LoadDatabaseDialog)
    {
        LoadDatabaseDialog->setWindowTitle(QCoreApplication::translate("LoadDatabaseDialog", "Unpack Data & Settings", nullptr));
        warningGroup->setTitle(QCoreApplication::translate("LoadDatabaseDialog", "Warning", nullptr));
        warningLabel->setText(QCoreApplication::translate("LoadDatabaseDialog", "<html><head/><body><p>\342\232\240 <span style=\" font-weight:700;\">Current database will be DELETED!</span><br/>\342\232\240 <span style=\" font-weight:700;\">All stored passwords will be DELETED!</span><br/>\342\232\240 <span style=\" font-weight:700;\">The application will restart after loading</span>.</p><p>To preserve data, use Pack Data &amp; Settings or Export QSOs first.</p></body></html>", nullptr));
        selectDatabaseGroup->setTitle(QCoreApplication::translate("LoadDatabaseDialog", "Select Database", nullptr));
        fileLabel->setText(QCoreApplication::translate("LoadDatabaseDialog", "File:", nullptr));
        browseButton->setText(QCoreApplication::translate("LoadDatabaseDialog", "Browse", nullptr));
        statusLabel->setText(QCoreApplication::translate("LoadDatabaseDialog", "Status: No file selected", nullptr));
        decryptGroup->setTitle(QCoreApplication::translate("LoadDatabaseDialog", "Decrypt Credentials", nullptr));
        passwordStatusLabel->setText(QCoreApplication::translate("LoadDatabaseDialog", "Enter password to decrypt credentials", nullptr));
        passwordLabel->setText(QCoreApplication::translate("LoadDatabaseDialog", "Password:", nullptr));
    } // retranslateUi

};

namespace Ui {
    class LoadDatabaseDialog: public Ui_LoadDatabaseDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_LOADDATABASEDIALOG_H
