/********************************************************************************
** Form generated from reading UI file 'securitypageencryptiontab.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_SECURITYPAGEENCRYPTIONTAB_H
#define UI_SECURITYPAGEENCRYPTIONTAB_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>

QT_BEGIN_NAMESPACE

class Ui_SecurityPageEncryptionTab
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *optionsGroup;
    QVBoxLayout *vboxLayout1;
    QCheckBox *kcfg_AlwaysEncryptDrafts;
    QCheckBox *kcfg_CryptoStoreEncrypted;
    QCheckBox *mAutoSign;
    QCheckBox *mAutoEncrypt;
    QGroupBox *optionsGroup2;
    QVBoxLayout *vboxLayout2;
    QCheckBox *kcfg_ShowCryptoLabelIndicator;
    QGroupBox *optionsGroup3;
    QVBoxLayout *vboxLayout3;
    QCheckBox *mShowKeyApprovalDlg;
    QCheckBox *mWarnUnsigned;
    QCheckBox *warnUnencryptedCB;
    QGroupBox *warnGroupBox;
    QGridLayout *_2;
    QLabel *textLabel1;
    QSpinBox *mWarnEncrChainCertExpiresSB;
    QSpinBox *mWarnEncrKeyExpiresSB;
    QLabel *textLabel7;
    QSpinBox *mWarnEncrOwnKeyExpiresSB;
    QLabel *textLabel1_2_2;
    QSpacerItem *spacer5;
    QSpinBox *mWarnEncrRootCertExpiresSB;
    QLabel *textLabel1_2;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    QPushButton *gnupgButton;
    QHBoxLayout *_3;
    QSpacerItem *spacer4;
    QPushButton *enableAllWarningsPB;
    QSpacerItem *spacer22;

    void setupUi(QWidget *SecurityPageEncryptionTab)
    {
        if (SecurityPageEncryptionTab->objectName().isEmpty())
            SecurityPageEncryptionTab->setObjectName("SecurityPageEncryptionTab");
        SecurityPageEncryptionTab->resize(549, 757);
        vboxLayout = new QVBoxLayout(SecurityPageEncryptionTab);
        vboxLayout->setObjectName("vboxLayout");
        optionsGroup = new QGroupBox(SecurityPageEncryptionTab);
        optionsGroup->setObjectName("optionsGroup");
        vboxLayout1 = new QVBoxLayout(optionsGroup);
        vboxLayout1->setObjectName("vboxLayout1");
        kcfg_AlwaysEncryptDrafts = new QCheckBox(optionsGroup);
        kcfg_AlwaysEncryptDrafts->setObjectName("kcfg_AlwaysEncryptDrafts");
        kcfg_AlwaysEncryptDrafts->setChecked(true);

        vboxLayout1->addWidget(kcfg_AlwaysEncryptDrafts);

        kcfg_CryptoStoreEncrypted = new QCheckBox(optionsGroup);
        kcfg_CryptoStoreEncrypted->setObjectName("kcfg_CryptoStoreEncrypted");
        kcfg_CryptoStoreEncrypted->setChecked(false);

        vboxLayout1->addWidget(kcfg_CryptoStoreEncrypted);

        mAutoSign = new QCheckBox(optionsGroup);
        mAutoSign->setObjectName("mAutoSign");
        mAutoSign->setChecked(true);

        vboxLayout1->addWidget(mAutoSign);

        mAutoEncrypt = new QCheckBox(optionsGroup);
        mAutoEncrypt->setObjectName("mAutoEncrypt");

        vboxLayout1->addWidget(mAutoEncrypt);


        vboxLayout->addWidget(optionsGroup);

        optionsGroup2 = new QGroupBox(SecurityPageEncryptionTab);
        optionsGroup2->setObjectName("optionsGroup2");
        vboxLayout2 = new QVBoxLayout(optionsGroup2);
        vboxLayout2->setObjectName("vboxLayout2");
        kcfg_ShowCryptoLabelIndicator = new QCheckBox(optionsGroup2);
        kcfg_ShowCryptoLabelIndicator->setObjectName("kcfg_ShowCryptoLabelIndicator");
        kcfg_ShowCryptoLabelIndicator->setChecked(true);

        vboxLayout2->addWidget(kcfg_ShowCryptoLabelIndicator);


        vboxLayout->addWidget(optionsGroup2);

        optionsGroup3 = new QGroupBox(SecurityPageEncryptionTab);
        optionsGroup3->setObjectName("optionsGroup3");
        vboxLayout3 = new QVBoxLayout(optionsGroup3);
        vboxLayout3->setObjectName("vboxLayout3");
        mShowKeyApprovalDlg = new QCheckBox(optionsGroup3);
        mShowKeyApprovalDlg->setObjectName("mShowKeyApprovalDlg");

        vboxLayout3->addWidget(mShowKeyApprovalDlg);

        mWarnUnsigned = new QCheckBox(optionsGroup3);
        mWarnUnsigned->setObjectName("mWarnUnsigned");

        vboxLayout3->addWidget(mWarnUnsigned);

        warnUnencryptedCB = new QCheckBox(optionsGroup3);
        warnUnencryptedCB->setObjectName("warnUnencryptedCB");

        vboxLayout3->addWidget(warnUnencryptedCB);

        warnGroupBox = new QGroupBox(optionsGroup3);
        warnGroupBox->setObjectName("warnGroupBox");
        warnGroupBox->setCheckable(true);
        warnGroupBox->setChecked(true);
        _2 = new QGridLayout(warnGroupBox);
        _2->setObjectName("_2");
        textLabel1 = new QLabel(warnGroupBox);
        textLabel1->setObjectName("textLabel1");
        textLabel1->setWordWrap(false);

        _2->addWidget(textLabel1, 1, 0, 1, 1);

        mWarnEncrChainCertExpiresSB = new QSpinBox(warnGroupBox);
        mWarnEncrChainCertExpiresSB->setObjectName("mWarnEncrChainCertExpiresSB");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mWarnEncrChainCertExpiresSB->sizePolicy().hasHeightForWidth());
        mWarnEncrChainCertExpiresSB->setSizePolicy(sizePolicy);
        mWarnEncrChainCertExpiresSB->setMinimumSize(QSize(110, 0));
        mWarnEncrChainCertExpiresSB->setMinimum(1);
        mWarnEncrChainCertExpiresSB->setMaximum(999);
        mWarnEncrChainCertExpiresSB->setValue(14);

        _2->addWidget(mWarnEncrChainCertExpiresSB, 2, 1, 1, 1);

        mWarnEncrKeyExpiresSB = new QSpinBox(warnGroupBox);
        mWarnEncrKeyExpiresSB->setObjectName("mWarnEncrKeyExpiresSB");
        sizePolicy.setHeightForWidth(mWarnEncrKeyExpiresSB->sizePolicy().hasHeightForWidth());
        mWarnEncrKeyExpiresSB->setSizePolicy(sizePolicy);
        mWarnEncrKeyExpiresSB->setMinimumSize(QSize(110, 0));
        mWarnEncrKeyExpiresSB->setMinimum(1);
        mWarnEncrKeyExpiresSB->setMaximum(999);
        mWarnEncrKeyExpiresSB->setValue(14);

        _2->addWidget(mWarnEncrKeyExpiresSB, 1, 1, 1, 1);

        textLabel7 = new QLabel(warnGroupBox);
        textLabel7->setObjectName("textLabel7");
        textLabel7->setWordWrap(false);

        _2->addWidget(textLabel7, 0, 0, 1, 1);

        mWarnEncrOwnKeyExpiresSB = new QSpinBox(warnGroupBox);
        mWarnEncrOwnKeyExpiresSB->setObjectName("mWarnEncrOwnKeyExpiresSB");
        mWarnEncrOwnKeyExpiresSB->setMinimumSize(QSize(110, 0));
        mWarnEncrOwnKeyExpiresSB->setMinimum(1);
        mWarnEncrOwnKeyExpiresSB->setMaximum(999);
        mWarnEncrOwnKeyExpiresSB->setValue(30);

        _2->addWidget(mWarnEncrOwnKeyExpiresSB, 0, 1, 1, 1);

        textLabel1_2_2 = new QLabel(warnGroupBox);
        textLabel1_2_2->setObjectName("textLabel1_2_2");
        textLabel1_2_2->setWordWrap(false);

        _2->addWidget(textLabel1_2_2, 3, 0, 1, 1);

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

        _2->addItem(spacer5, 2, 2, 1, 1);

        mWarnEncrRootCertExpiresSB = new QSpinBox(warnGroupBox);
        mWarnEncrRootCertExpiresSB->setObjectName("mWarnEncrRootCertExpiresSB");
        sizePolicy.setHeightForWidth(mWarnEncrRootCertExpiresSB->sizePolicy().hasHeightForWidth());
        mWarnEncrRootCertExpiresSB->setSizePolicy(sizePolicy);
        mWarnEncrRootCertExpiresSB->setMinimumSize(QSize(110, 0));
        mWarnEncrRootCertExpiresSB->setMinimum(1);
        mWarnEncrRootCertExpiresSB->setMaximum(999);
        mWarnEncrRootCertExpiresSB->setValue(14);

        _2->addWidget(mWarnEncrRootCertExpiresSB, 3, 1, 1, 1);

        textLabel1_2 = new QLabel(warnGroupBox);
        textLabel1_2->setObjectName("textLabel1_2");
        textLabel1_2->setWordWrap(false);

        _2->addWidget(textLabel1_2, 2, 0, 1, 1);


        vboxLayout3->addWidget(warnGroupBox);


        vboxLayout->addWidget(optionsGroup3);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        gnupgButton = new QPushButton(SecurityPageEncryptionTab);
        gnupgButton->setObjectName("gnupgButton");

        horizontalLayout->addWidget(gnupgButton);


        vboxLayout->addLayout(horizontalLayout);

        _3 = new QHBoxLayout();
        _3->setObjectName("_3");
        _3->setContentsMargins(0, 0, 0, 0);
        spacer4 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);

        _3->addItem(spacer4);

        enableAllWarningsPB = new QPushButton(SecurityPageEncryptionTab);
        enableAllWarningsPB->setObjectName("enableAllWarningsPB");

        _3->addWidget(enableAllWarningsPB);


        vboxLayout->addLayout(_3);

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

        vboxLayout->addItem(spacer22);


        retranslateUi(SecurityPageEncryptionTab);

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

    void retranslateUi(QWidget *SecurityPageEncryptionTab)
    {
        optionsGroup->setTitle(tr2i18n("Security defaults", nullptr));
        kcfg_AlwaysEncryptDrafts->setText(tr2i18n("Encrypt draft messages", nullptr));
#if QT_CONFIG(tooltip)
        kcfg_CryptoStoreEncrypted->setToolTip(tr2i18n("Check to store messages encrypted ", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        kcfg_CryptoStoreEncrypted->setWhatsThis(tr2i18n("<qt>\n"
"<h1>Store Messages Encrypted</h1>\n"
"When this box is checked, sent messages are stored encrypted like they were sent. This is not recommended, as you will not be able to read the messages any longer if a necessary certificate expires.\n"
"<p>\n"
"However, there may be local rules that require you to turn this option on. When in doubt, check with your local administrator.\n"
"</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
        kcfg_CryptoStoreEncrypted->setText(tr2i18n("Encry&pt sent messages", nullptr));
        mAutoSign->setText(tr2i18n("Sign all messages", nullptr));
        mAutoEncrypt->setText(tr2i18n("Encrypt all messages when possible", nullptr));
        optionsGroup2->setTitle(tr2i18n("Encryption indicators", nullptr));
        kcfg_ShowCryptoLabelIndicator->setText(tr2i18n("Show sign/encrypt indicator", nullptr));
        optionsGroup3->setTitle(tr2i18n("Alerts", nullptr));
        mShowKeyApprovalDlg->setText(tr2i18n("Always approve encryption keys before send", nullptr));
        mWarnUnsigned->setText(tr2i18n("Warn when trying to send unsigned messages", nullptr));
        warnUnencryptedCB->setText(tr2i18n("Warn when trying to send unencrypted messages", nullptr));
        warnGroupBox->setTitle(tr2i18n("Warn if certificates/ke&ys expire soon (configure thresholds below)", nullptr));
        textLabel1->setText(tr2i18n("For end-user certificates/&keys:", nullptr));
#if QT_CONFIG(tooltip)
        mWarnEncrChainCertExpiresSB->setToolTip(tr2i18n("Select the number of days here", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mWarnEncrChainCertExpiresSB->setWhatsThis(tr2i18n("<qt>\n"
"<h1>Warn If A Certificate In The Chain Expires</h1>\n"
"Select the minimum number of days all certificates in the chain should be valid without issuing a warning.\n"
"<p>\n"
"The recommended SPHINX setting is 14 days.\n"
"</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(tooltip)
        mWarnEncrKeyExpiresSB->setToolTip(tr2i18n("Select the number of days here", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mWarnEncrKeyExpiresSB->setWhatsThis(tr2i18n("<qt>\n"
"<h1>Warn If Encryption Certificate Expires</h1>\n"
"Select the minimum number of days the encryption certificate should be valid without issuing a warning.\n"
"<p>\n"
"The recommended SPHINX setting is 14 days.\n"
"</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
        textLabel7->setText(tr2i18n("For own certificates:", nullptr));
#if QT_CONFIG(tooltip)
        mWarnEncrOwnKeyExpiresSB->setToolTip(tr2i18n("Select the number of days here", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mWarnEncrOwnKeyExpiresSB->setWhatsThis(tr2i18n("<qt>\n"
"<h1>Warn If own Certificates Expires</h1>\n"
"Select the minimum number of days own certificate should be valid without issuing a warning.\n"
"<p>\n"
"The recommended SPHINX setting is 30 days.\n"
"</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
        textLabel1_2_2->setText(tr2i18n("For &root certificates:", nullptr));
#if QT_CONFIG(tooltip)
        mWarnEncrRootCertExpiresSB->setToolTip(tr2i18n("Select the number of days here", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mWarnEncrRootCertExpiresSB->setWhatsThis(tr2i18n("<qt>\n"
"<h1>Warn If Root Certificate Expires</h1>\n"
"Select the minimum number of days the root certificate should be valid without issuing a warning.\n"
"<p>\n"
"The recommended SPHINX setting is 14 days.\n"
"</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
        textLabel1_2->setText(tr2i18n("For intermediate CA certificates:", nullptr));
        gnupgButton->setText(tr2i18n("GnuPG Settings\342\200\246", nullptr));
        enableAllWarningsPB->setText(tr2i18n("Re-enable All \"Do not Ask Again\" Warnings", nullptr));
        (void)SecurityPageEncryptionTab;
    } // retranslateUi

};

namespace Ui {
    class SecurityPageEncryptionTab: public Ui_SecurityPageEncryptionTab {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SECURITYPAGEENCRYPTIONTAB_H

