#include <klocalizedstring.h>

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

#ifndef UI_KGPGKEYSELECTIONDLG_H
#define UI_KGPGKEYSELECTIONDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include "keditlistwidget.h"
#include "kled.h"

QT_BEGIN_NAMESPACE

class Ui_KGpgKeySelectionDlg
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label;
    QComboBox *m_secretKey;
    QLabel *label_2;
    KEditListWidget *m_listWidget;
    QHBoxLayout *horizontalLayout;
    KLed *m_keyLed;
    QLabel *ledLabel;
    QSpacerItem *hs1;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KGpgKeySelectionDlg)
    {
        if (KGpgKeySelectionDlg->objectName().isEmpty())
            KGpgKeySelectionDlg->setObjectName(QStringLiteral("KGpgKeySelectionDlg"));
        KGpgKeySelectionDlg->resize(575, 480);
        KGpgKeySelectionDlg->setSizeGripEnabled(true);
        KGpgKeySelectionDlg->setModal(true);
        verticalLayout = new QVBoxLayout(KGpgKeySelectionDlg);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        label = new QLabel(KGpgKeySelectionDlg);
        label->setObjectName(QStringLiteral("label"));
        label->setWordWrap(true);

        verticalLayout->addWidget(label);

        m_secretKey = new QComboBox(KGpgKeySelectionDlg);
        m_secretKey->setObjectName(QStringLiteral("m_secretKey"));

        verticalLayout->addWidget(m_secretKey);

        label_2 = new QLabel(KGpgKeySelectionDlg);
        label_2->setObjectName(QStringLiteral("label_2"));

        verticalLayout->addWidget(label_2);

        m_listWidget = new KEditListWidget(KGpgKeySelectionDlg);
        m_listWidget->setObjectName(QStringLiteral("m_listWidget"));

        verticalLayout->addWidget(m_listWidget);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        m_keyLed = new KLed(KGpgKeySelectionDlg);
        m_keyLed->setObjectName(QStringLiteral("m_keyLed"));

        horizontalLayout->addWidget(m_keyLed);

        ledLabel = new QLabel(KGpgKeySelectionDlg);
        ledLabel->setObjectName(QStringLiteral("ledLabel"));

        horizontalLayout->addWidget(ledLabel);

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

        horizontalLayout->addItem(hs1);


        verticalLayout->addLayout(horizontalLayout);

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

        verticalLayout->addWidget(buttonBox);


        retranslateUi(KGpgKeySelectionDlg);
        QObject::connect(buttonBox, SIGNAL(accepted()), KGpgKeySelectionDlg, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), KGpgKeySelectionDlg, SLOT(reject()));

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

    void retranslateUi(QDialog *KGpgKeySelectionDlg)
    {
        KGpgKeySelectionDlg->setWindowTitle(tr2i18n("Select additional keys", Q_NULLPTR));
        label->setText(tr2i18n("You have configured KMyMoney to save your data secured with GPG. Please choose the key you want to use for encryption of your data.", Q_NULLPTR));
        label_2->setText(tr2i18n("Add additional keys here", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        m_listWidget->setWhatsThis(tr2i18n("Enter the id of the key you want to use for data encryption. This can either be an e-mail address or the hexadecimal key id. In case of the key id, do not forget the leading 0x.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        ledLabel->setText(tr2i18n("Keys for all of the above user ids found", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class KGpgKeySelectionDlg: public Ui_KGpgKeySelectionDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KGPGKEYSELECTIONDLG_H

