/********************************************************************************
** Form generated from reading UI file 'keygendialog.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_KEYGENDIALOG_H
#define UI_KEYGENDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_KeygenDialog
{
public:
    QVBoxLayout *verticalLayout_2;
    QLabel *label;
    QFrame *frame;
    QVBoxLayout *verticalLayout;
    QWidget *widget;
    QFormLayout *formLayout;
    QLabel *labelEmail;
    QLineEdit *email;
    QLabel *labelName;
    QLineEdit *name;
    QLabel *labelPassphrase;
    QLineEdit *passphrase1;
    QLineEdit *passphrase2;
    QLabel *labelPassphraseInfo;
    QLabel *label_2;
    QFrame *line;
    QCheckBox *checkBox;
    QPlainTextEdit *plainTextEdit;
    QLabel *labelExpertInfo;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KeygenDialog)
    {
        if (KeygenDialog->objectName().isEmpty())
            KeygenDialog->setObjectName("KeygenDialog");
        KeygenDialog->resize(606, 497);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/artwork/icon.png"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        KeygenDialog->setWindowIcon(icon);
        verticalLayout_2 = new QVBoxLayout(KeygenDialog);
        verticalLayout_2->setObjectName("verticalLayout_2");
        verticalLayout_2->setContentsMargins(6, 6, 6, 6);
        label = new QLabel(KeygenDialog);
        label->setObjectName("label");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy);
        label->setWordWrap(true);

        verticalLayout_2->addWidget(label);

        frame = new QFrame(KeygenDialog);
        frame->setObjectName("frame");
        frame->setFrameShape(QFrame::NoFrame);
        frame->setFrameShadow(QFrame::Plain);
        verticalLayout = new QVBoxLayout(frame);
        verticalLayout->setObjectName("verticalLayout");
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        widget = new QWidget(frame);
        widget->setObjectName("widget");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
        widget->setSizePolicy(sizePolicy1);
        formLayout = new QFormLayout(widget);
        formLayout->setObjectName("formLayout");
        labelEmail = new QLabel(widget);
        labelEmail->setObjectName("labelEmail");
        sizePolicy1.setHeightForWidth(labelEmail->sizePolicy().hasHeightForWidth());
        labelEmail->setSizePolicy(sizePolicy1);
        labelEmail->setLayoutDirection(Qt::LeftToRight);
        labelEmail->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        email = new QLineEdit(widget);
        email->setObjectName("email");
        QSizePolicy sizePolicy2(QSizePolicy::Policy::MinimumExpanding, QSizePolicy::Policy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(email->sizePolicy().hasHeightForWidth());
        email->setSizePolicy(sizePolicy2);

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

        labelName = new QLabel(widget);
        labelName->setObjectName("labelName");
        sizePolicy1.setHeightForWidth(labelName->sizePolicy().hasHeightForWidth());
        labelName->setSizePolicy(sizePolicy1);
        labelName->setLayoutDirection(Qt::LeftToRight);
        labelName->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        name = new QLineEdit(widget);
        name->setObjectName("name");
        sizePolicy2.setHeightForWidth(name->sizePolicy().hasHeightForWidth());
        name->setSizePolicy(sizePolicy2);

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

        labelPassphrase = new QLabel(widget);
        labelPassphrase->setObjectName("labelPassphrase");
        sizePolicy1.setHeightForWidth(labelPassphrase->sizePolicy().hasHeightForWidth());
        labelPassphrase->setSizePolicy(sizePolicy1);
        labelPassphrase->setLayoutDirection(Qt::LeftToRight);
        labelPassphrase->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        passphrase1 = new QLineEdit(widget);
        passphrase1->setObjectName("passphrase1");
        sizePolicy2.setHeightForWidth(passphrase1->sizePolicy().hasHeightForWidth());
        passphrase1->setSizePolicy(sizePolicy2);
        passphrase1->setEchoMode(QLineEdit::Password);

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

        passphrase2 = new QLineEdit(widget);
        passphrase2->setObjectName("passphrase2");
        sizePolicy2.setHeightForWidth(passphrase2->sizePolicy().hasHeightForWidth());
        passphrase2->setSizePolicy(sizePolicy2);
        passphrase2->setEchoMode(QLineEdit::Password);

        formLayout->setWidget(3, QFormLayout::ItemRole::FieldRole, passphrase2);

        labelPassphraseInfo = new QLabel(widget);
        labelPassphraseInfo->setObjectName("labelPassphraseInfo");
        QSizePolicy sizePolicy3(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Minimum);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(labelPassphraseInfo->sizePolicy().hasHeightForWidth());
        labelPassphraseInfo->setSizePolicy(sizePolicy3);
        labelPassphraseInfo->setWordWrap(true);

        formLayout->setWidget(4, QFormLayout::ItemRole::FieldRole, labelPassphraseInfo);

        label_2 = new QLabel(widget);
        label_2->setObjectName("label_2");

        formLayout->setWidget(3, QFormLayout::ItemRole::LabelRole, label_2);


        verticalLayout->addWidget(widget);

        line = new QFrame(frame);
        line->setObjectName("line");
        line->setFrameShape(QFrame::Shape::HLine);
        line->setFrameShadow(QFrame::Shadow::Sunken);

        verticalLayout->addWidget(line);

        checkBox = new QCheckBox(frame);
        checkBox->setObjectName("checkBox");

        verticalLayout->addWidget(checkBox);

        plainTextEdit = new QPlainTextEdit(frame);
        plainTextEdit->setObjectName("plainTextEdit");
        plainTextEdit->setEnabled(false);
        plainTextEdit->setFrameShape(QFrame::StyledPanel);
        plainTextEdit->setFrameShadow(QFrame::Plain);
        plainTextEdit->setReadOnly(true);
        plainTextEdit->setTextInteractionFlags(Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);
        plainTextEdit->setBackgroundVisible(false);

        verticalLayout->addWidget(plainTextEdit);

        labelExpertInfo = new QLabel(frame);
        labelExpertInfo->setObjectName("labelExpertInfo");
        labelExpertInfo->setOpenExternalLinks(true);
        labelExpertInfo->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse);

        verticalLayout->addWidget(labelExpertInfo);

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

        verticalLayout->addWidget(buttonBox);


        verticalLayout_2->addWidget(frame);

#if QT_CONFIG(shortcut)
        labelEmail->setBuddy(email);
        labelName->setBuddy(name);
        labelPassphrase->setBuddy(passphrase1);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(email, name);
        QWidget::setTabOrder(name, passphrase1);
        QWidget::setTabOrder(passphrase1, passphrase2);
        QWidget::setTabOrder(passphrase2, checkBox);
        QWidget::setTabOrder(checkBox, plainTextEdit);

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

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

    void retranslateUi(QDialog *KeygenDialog)
    {
        KeygenDialog->setWindowTitle(QCoreApplication::translate("KeygenDialog", "Generate GnuPG keypair", nullptr));
        label->setText(QCoreApplication::translate("KeygenDialog", "Generate a new key pair", nullptr));
        labelEmail->setText(QCoreApplication::translate("KeygenDialog", "Email", nullptr));
        labelName->setText(QCoreApplication::translate("KeygenDialog", "Name", nullptr));
        labelPassphrase->setText(QCoreApplication::translate("KeygenDialog", "Passphrase", nullptr));
        labelPassphraseInfo->setText(QCoreApplication::translate("KeygenDialog", "<html><head/><body><p>There is no limit on the length of a passphrase, and it should be carefully chosen. From the perspective of security, the passphrase to unlock the private key is one of the weakest points in GnuPG (and other public-key encryption systems as well) since it is the only protection you have if another individual gets your private key. <br/>Ideally, the passphrase should not use words from a dictionary and should mix the case of alphabetic characters as well as use non-alphabetic characters.<br/>A good passphrase is crucial to the secure use of GnuPG.</p></body></html>", nullptr));
        label_2->setText(QCoreApplication::translate("KeygenDialog", "Repeat pass", nullptr));
        checkBox->setText(QCoreApplication::translate("KeygenDialog", "Expert", nullptr));
        plainTextEdit->setPlainText(QCoreApplication::translate("KeygenDialog", "Template contents will be set based on GPG version.", nullptr));
        labelExpertInfo->setText(QCoreApplication::translate("KeygenDialog", "For expert options check out the <a href=\"https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html\">GnuPG manual</a>", nullptr));
    } // retranslateUi

};

namespace Ui {
    class KeygenDialog: public Ui_KeygenDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_KEYGENDIALOG_H
