#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_KSETTINGSGPGDECL_H
#define UI_KSETTINGSGPGDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "keditlistbox.h"
#include "kled.h"
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_KSettingsGpgDecl
{
public:
    QVBoxLayout *verticalLayout_2;
    QCheckBox *kcfg_WriteDataEncrypted;
    QGroupBox *m_idGroup;
    QVBoxLayout *verticalLayout;
    QHBoxLayout *hboxLayout;
    QLabel *textLabel1_2;
    KComboBox *m_masterKeyCombo;
    KLineEdit *kcfg_GpgRecipient;
    KEditListBox *kcfg_GpgRecipientList;
    QHBoxLayout *hboxLayout1;
    KLed *m_userKeysFound;
    QLabel *textLabel1;
    QSpacerItem *spacer3;
    QHBoxLayout *hboxLayout2;
    KLed *m_recoverKeyFound;
    QLabel *textLabel2;
    QSpacerItem *spacer6;
    QCheckBox *kcfg_EncryptRecover;
    QSpacerItem *spacer5;

    void setupUi(QWidget *KSettingsGpgDecl)
    {
        if (KSettingsGpgDecl->objectName().isEmpty())
            KSettingsGpgDecl->setObjectName(QString::fromUtf8("KSettingsGpgDecl"));
        KSettingsGpgDecl->resize(409, 486);
        verticalLayout_2 = new QVBoxLayout(KSettingsGpgDecl);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        kcfg_WriteDataEncrypted = new QCheckBox(KSettingsGpgDecl);
        kcfg_WriteDataEncrypted->setObjectName(QString::fromUtf8("kcfg_WriteDataEncrypted"));

        verticalLayout_2->addWidget(kcfg_WriteDataEncrypted);

        m_idGroup = new QGroupBox(KSettingsGpgDecl);
        m_idGroup->setObjectName(QString::fromUtf8("m_idGroup"));
        verticalLayout = new QVBoxLayout(m_idGroup);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        textLabel1_2 = new QLabel(m_idGroup);
        textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
        textLabel1_2->setWordWrap(false);

        hboxLayout->addWidget(textLabel1_2);

        m_masterKeyCombo = new KComboBox(m_idGroup);
        m_masterKeyCombo->setObjectName(QString::fromUtf8("m_masterKeyCombo"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_masterKeyCombo->sizePolicy().hasHeightForWidth());
        m_masterKeyCombo->setSizePolicy(sizePolicy);

        hboxLayout->addWidget(m_masterKeyCombo);


        verticalLayout->addLayout(hboxLayout);

        kcfg_GpgRecipient = new KLineEdit(m_idGroup);
        kcfg_GpgRecipient->setObjectName(QString::fromUtf8("kcfg_GpgRecipient"));

        verticalLayout->addWidget(kcfg_GpgRecipient);

        kcfg_GpgRecipientList = new KEditListBox(m_idGroup);
        kcfg_GpgRecipientList->setObjectName(QString::fromUtf8("kcfg_GpgRecipientList"));
        kcfg_GpgRecipientList->setCheckable(false);
        kcfg_GpgRecipientList->setButtons(KEditListBox::Add|KEditListBox::Remove);

        verticalLayout->addWidget(kcfg_GpgRecipientList);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_userKeysFound = new KLed(m_idGroup);
        m_userKeysFound->setObjectName(QString::fromUtf8("m_userKeysFound"));
        m_userKeysFound->setShape(KLed::Circular);
        m_userKeysFound->setLook(KLed::Sunken);

        hboxLayout1->addWidget(m_userKeysFound);

        textLabel1 = new QLabel(m_idGroup);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

        hboxLayout1->addWidget(textLabel1);

        spacer3 = new QSpacerItem(50, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacer3);


        verticalLayout->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        m_recoverKeyFound = new KLed(m_idGroup);
        m_recoverKeyFound->setObjectName(QString::fromUtf8("m_recoverKeyFound"));
        m_recoverKeyFound->setShape(KLed::Circular);
        m_recoverKeyFound->setLook(KLed::Sunken);

        hboxLayout2->addWidget(m_recoverKeyFound);

        textLabel2 = new QLabel(m_idGroup);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setWordWrap(false);

        hboxLayout2->addWidget(textLabel2);

        spacer6 = new QSpacerItem(16, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout2->addItem(spacer6);


        verticalLayout->addLayout(hboxLayout2);

        kcfg_EncryptRecover = new QCheckBox(m_idGroup);
        kcfg_EncryptRecover->setObjectName(QString::fromUtf8("kcfg_EncryptRecover"));

        verticalLayout->addWidget(kcfg_EncryptRecover);


        verticalLayout_2->addWidget(m_idGroup);

        spacer5 = new QSpacerItem(21, 30, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_2->addItem(spacer5);


        retranslateUi(KSettingsGpgDecl);

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

    void retranslateUi(QWidget *KSettingsGpgDecl)
    {
        KSettingsGpgDecl->setWindowTitle(tr2i18n("GPG encryption settings", 0));
#ifndef UI_QT_NO_WHATSTHIS
        KSettingsGpgDecl->setWhatsThis(tr2i18n("This page allows you to set the parameters for encrypted file storage of your <b>KMyMoney</b> data based on <b>GPG</b>.<p>\n"
"Access to the settings is disabled if <b>GPG</b> could not be detected on your system. In this case, please make sure that <b>GPG</b> is working properly for the current user.<p>\n"
"The <i>additional recovery encryption</i> is only accessible, if the necessary key for <b>kmymoney-recover@users.sourceforge.net</b> with id 0x8AFDDC8E is found in your keyring.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_WriteDataEncrypted->setText(tr2i18n("Use GPG encryption", 0));
        m_idGroup->setTitle(tr2i18n("GPG encryption", 0));
        textLabel1_2->setText(tr2i18n("Your key", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_masterKeyCombo->setWhatsThis(tr2i18n("This combo box lists all the secret keys you have in your keyring. Select the one you want to use for encryption when saving to a file.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_GpgRecipientList->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.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_GpgRecipientList->setTitle(tr2i18n("Additional keys", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_userKeysFound->setWhatsThis(tr2i18n("This symbol denotes, if the key for the given user id has been found in your keyring. It is green when found, dark otherwise.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel1->setText(tr2i18n("Keys for all of the above user ids found", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_recoverKeyFound->setWhatsThis(tr2i18n("This symbol denotes, if the KMyMoney recovery key has been found in your keyring. It is green when found, dark otherwise.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel2->setText(tr2i18n("Recover Key available in keyring", 0));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_EncryptRecover->setWhatsThis(tr2i18n("You can specify to encrypt the data also with the KMyMoney recover key. Only the core KMyMoney developers are in posession of the respective private key required to read back such encrypted data.<p>\n"
"\n"
"This mechanism is provided for the case that you have lost your key and cannot access your data anymore. With this option activated, the KMyMoney developers can decrypt the data and supply you with it in a readable form. Please be prepared, that you have to answer a few detailed questions about the contents of your data before we will send it out.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_EncryptRecover->setText(tr2i18n("Also encrypt with KMyMoney's recover key", 0));
    } // retranslateUi

};

namespace Ui {
    class KSettingsGpgDecl: public Ui_KSettingsGpgDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSETTINGSGPGDECL_H

