/********************************************************************************
** Form generated from reading UI file 'ExportPasswordDialog.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_EXPORTPASSWORDDIALOG_H
#define UI_EXPORTPASSWORDDIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_ExportPasswordDialog
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *infoLabel;
    QHBoxLayout *horizontalLayout;
    QLineEdit *passwordEdit;
    QPushButton *generateButton;
    QLineEdit *confirmEdit;
    QCheckBox *deletePasswordsCheckBox;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *ExportPasswordDialog)
    {
        if (ExportPasswordDialog->objectName().isEmpty())
            ExportPasswordDialog->setObjectName("ExportPasswordDialog");
        ExportPasswordDialog->resize(422, 193);
        verticalLayout = new QVBoxLayout(ExportPasswordDialog);
        verticalLayout->setObjectName("verticalLayout");
        infoLabel = new QLabel(ExportPasswordDialog);
        infoLabel->setObjectName("infoLabel");
        infoLabel->setWordWrap(true);

        verticalLayout->addWidget(infoLabel);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalLayout->setContentsMargins(-1, 0, -1, -1);
        passwordEdit = new QLineEdit(ExportPasswordDialog);
        passwordEdit->setObjectName("passwordEdit");
        passwordEdit->setEchoMode(QLineEdit::PasswordEchoOnEdit);

        horizontalLayout->addWidget(passwordEdit);

        generateButton = new QPushButton(ExportPasswordDialog);
        generateButton->setObjectName("generateButton");
        generateButton->setFocusPolicy(Qt::ClickFocus);

        horizontalLayout->addWidget(generateButton);


        verticalLayout->addLayout(horizontalLayout);

        confirmEdit = new QLineEdit(ExportPasswordDialog);
        confirmEdit->setObjectName("confirmEdit");
        confirmEdit->setEchoMode(QLineEdit::Password);

        verticalLayout->addWidget(confirmEdit);

        deletePasswordsCheckBox = new QCheckBox(ExportPasswordDialog);
        deletePasswordsCheckBox->setObjectName("deletePasswordsCheckBox");
        deletePasswordsCheckBox->setChecked(false);

        verticalLayout->addWidget(deletePasswordsCheckBox);

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

        verticalLayout->addWidget(buttonBox);

        QWidget::setTabOrder(passwordEdit, confirmEdit);
        QWidget::setTabOrder(confirmEdit, deletePasswordsCheckBox);
        QWidget::setTabOrder(deletePasswordsCheckBox, generateButton);

        retranslateUi(ExportPasswordDialog);
        QObject::connect(buttonBox, &QDialogButtonBox::accepted, ExportPasswordDialog, qOverload<>(&QDialog::accept));
        QObject::connect(buttonBox, &QDialogButtonBox::rejected, ExportPasswordDialog, qOverload<>(&QDialog::reject));
        QObject::connect(passwordEdit, SIGNAL(textChanged(QString)), ExportPasswordDialog, SLOT(validatePasswords()));
        QObject::connect(confirmEdit, SIGNAL(textChanged(QString)), ExportPasswordDialog, SLOT(validatePasswords()));
        QObject::connect(generateButton, SIGNAL(clicked()), ExportPasswordDialog, SLOT(generatePassword()));

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

    void retranslateUi(QDialog *ExportPasswordDialog)
    {
        ExportPasswordDialog->setWindowTitle(QCoreApplication::translate("ExportPasswordDialog", "Pack Data & Settings", nullptr));
        infoLabel->setText(QCoreApplication::translate("ExportPasswordDialog", "Enter a password to encrypt stored credentials.\n"
"The password will be needed to restore them later.", nullptr));
        passwordEdit->setPlaceholderText(QCoreApplication::translate("ExportPasswordDialog", "Password", nullptr));
        generateButton->setText(QCoreApplication::translate("ExportPasswordDialog", "Random", nullptr));
        confirmEdit->setPlaceholderText(QCoreApplication::translate("ExportPasswordDialog", "Confirm Password", nullptr));
        deletePasswordsCheckBox->setText(QCoreApplication::translate("ExportPasswordDialog", "Delete passwords from Credential Store after export", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ExportPasswordDialog: public Ui_ExportPasswordDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_EXPORTPASSWORDDIALOG_H
