/********************************************************************************
** Form generated from reading UI file 'securitypagegeneraltab.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_SECURITYPAGEGENERALTAB_H
#define UI_SECURITYPAGEGENERALTAB_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/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>
#include "PimCommon/SimpleStringListEditor"

QT_BEGIN_NAMESPACE

class Ui_SecurityPageGeneralTab
{
public:
    QGridLayout *gridLayout_2;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *labelWarnHTML;
    QCheckBox *mHtmlMailCheck;
    QHBoxLayout *horizontalLayout;
    QCheckBox *mExternalReferences;
    QPushButton *mConfigureExternalReference;
    QSpacerItem *horizontalSpacer;
    QGroupBox *groupBox_3;
    QVBoxLayout *verticalLayout_5;
    QLabel *label;
    QCheckBox *mScamDetection;
    QLabel *label_2;
    PimCommon::SimpleStringListEditor *scamWhiteList;
    QGroupBox *groupBox_5;
    QVBoxLayout *verticalLayout_2;
    QCheckBox *mCheckUrl;
    QCheckBox *mCheckMailUrlTracking;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout_3;
    QCheckBox *mAlwaysDecrypt;
    QGroupBox *groupBox_4;
    QVBoxLayout *verticalLayout_4;
    QCheckBox *mAutomaticallyImportAttachedKeysCheck;

    void setupUi(QWidget *SecurityPageGeneralTab)
    {
        if (SecurityPageGeneralTab->objectName().isEmpty())
            SecurityPageGeneralTab->setObjectName("SecurityPageGeneralTab");
        SecurityPageGeneralTab->resize(921, 663);
        gridLayout_2 = new QGridLayout(SecurityPageGeneralTab);
        gridLayout_2->setObjectName("gridLayout_2");
        groupBox = new QGroupBox(SecurityPageGeneralTab);
        groupBox->setObjectName("groupBox");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy);
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName("gridLayout");
        labelWarnHTML = new QLabel(groupBox);
        labelWarnHTML->setObjectName("labelWarnHTML");
        labelWarnHTML->setContextMenuPolicy(Qt::ContextMenuPolicy::NoContextMenu);
        labelWarnHTML->setWordWrap(true);
        labelWarnHTML->setTextInteractionFlags(Qt::TextInteractionFlag::LinksAccessibleByKeyboard|Qt::TextInteractionFlag::LinksAccessibleByMouse);

        gridLayout->addWidget(labelWarnHTML, 0, 0, 1, 1);

        mHtmlMailCheck = new QCheckBox(groupBox);
        mHtmlMailCheck->setObjectName("mHtmlMailCheck");

        gridLayout->addWidget(mHtmlMailCheck, 1, 0, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName("horizontalLayout");
        mExternalReferences = new QCheckBox(groupBox);
        mExternalReferences->setObjectName("mExternalReferences");

        horizontalLayout->addWidget(mExternalReferences);

        mConfigureExternalReference = new QPushButton(groupBox);
        mConfigureExternalReference->setObjectName("mConfigureExternalReference");

        horizontalLayout->addWidget(mConfigureExternalReference);

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

        horizontalLayout->addItem(horizontalSpacer);


        gridLayout->addLayout(horizontalLayout, 2, 0, 1, 1);


        gridLayout_2->addWidget(groupBox, 0, 0, 1, 2);

        groupBox_3 = new QGroupBox(SecurityPageGeneralTab);
        groupBox_3->setObjectName("groupBox_3");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::MinimumExpanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(groupBox_3->sizePolicy().hasHeightForWidth());
        groupBox_3->setSizePolicy(sizePolicy1);
        verticalLayout_5 = new QVBoxLayout(groupBox_3);
        verticalLayout_5->setObjectName("verticalLayout_5");
        label = new QLabel(groupBox_3);
        label->setObjectName("label");
        label->setWordWrap(true);

        verticalLayout_5->addWidget(label);

        mScamDetection = new QCheckBox(groupBox_3);
        mScamDetection->setObjectName("mScamDetection");

        verticalLayout_5->addWidget(mScamDetection);

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

        verticalLayout_5->addWidget(label_2);

        scamWhiteList = new PimCommon::SimpleStringListEditor(groupBox_3);
        scamWhiteList->setObjectName("scamWhiteList");

        verticalLayout_5->addWidget(scamWhiteList);


        gridLayout_2->addWidget(groupBox_3, 1, 0, 1, 2);

        groupBox_5 = new QGroupBox(SecurityPageGeneralTab);
        groupBox_5->setObjectName("groupBox_5");
        verticalLayout_2 = new QVBoxLayout(groupBox_5);
        verticalLayout_2->setObjectName("verticalLayout_2");
        mCheckUrl = new QCheckBox(groupBox_5);
        mCheckUrl->setObjectName("mCheckUrl");

        verticalLayout_2->addWidget(mCheckUrl);

        mCheckMailUrlTracking = new QCheckBox(groupBox_5);
        mCheckMailUrlTracking->setObjectName("mCheckMailUrlTracking");

        verticalLayout_2->addWidget(mCheckMailUrlTracking);


        gridLayout_2->addWidget(groupBox_5, 2, 0, 1, 2);

        groupBox_2 = new QGroupBox(SecurityPageGeneralTab);
        groupBox_2->setObjectName("groupBox_2");
        sizePolicy.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth());
        groupBox_2->setSizePolicy(sizePolicy);
        verticalLayout_3 = new QVBoxLayout(groupBox_2);
        verticalLayout_3->setObjectName("verticalLayout_3");
        mAlwaysDecrypt = new QCheckBox(groupBox_2);
        mAlwaysDecrypt->setObjectName("mAlwaysDecrypt");

        verticalLayout_3->addWidget(mAlwaysDecrypt);


        gridLayout_2->addWidget(groupBox_2, 3, 0, 1, 1);

        groupBox_4 = new QGroupBox(SecurityPageGeneralTab);
        groupBox_4->setObjectName("groupBox_4");
        sizePolicy.setHeightForWidth(groupBox_4->sizePolicy().hasHeightForWidth());
        groupBox_4->setSizePolicy(sizePolicy);
        verticalLayout_4 = new QVBoxLayout(groupBox_4);
        verticalLayout_4->setObjectName("verticalLayout_4");
        mAutomaticallyImportAttachedKeysCheck = new QCheckBox(groupBox_4);
        mAutomaticallyImportAttachedKeysCheck->setObjectName("mAutomaticallyImportAttachedKeysCheck");

        verticalLayout_4->addWidget(mAutomaticallyImportAttachedKeysCheck);


        gridLayout_2->addWidget(groupBox_4, 3, 1, 1, 1);

        QWidget::setTabOrder(mHtmlMailCheck, mExternalReferences);
        QWidget::setTabOrder(mExternalReferences, mScamDetection);
        QWidget::setTabOrder(mScamDetection, scamWhiteList);
        QWidget::setTabOrder(scamWhiteList, mAlwaysDecrypt);
        QWidget::setTabOrder(mAlwaysDecrypt, mAutomaticallyImportAttachedKeysCheck);

        retranslateUi(SecurityPageGeneralTab);

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

    void retranslateUi(QWidget *SecurityPageGeneralTab)
    {
        groupBox->setTitle(tr2i18n("HTML Messages", nullptr));
        labelWarnHTML->setText(tr2i18n("<b>WARNING:</b> Allowing HTML in email may increase the risk that your system will be compromised by present and anticipated security exploits. <a href=\"whatsthis1\">More about HTML mails\342\200\246</a> <a href=\"whatsthis2\">More about external references...</a>", nullptr));
#if QT_CONFIG(whatsthis)
        mHtmlMailCheck->setWhatsThis(tr2i18n("<qt><p>Messages sometimes come in both formats. This option controls whether you want the HTML part or the plain text part to be displayed.</p><p>Displaying the HTML part makes the message look better, but at the same time increases the risk of security holes being exploited.</p><p>Displaying the plain text part loses much of the message's formatting, but makes it almost <em>impossible</em> to exploit security holes in the HTML renderer (QtWebEngine).</p><p>The option below guards against one common misuse of HTML messages, but it cannot guard against security issues that were not known at the time this version of KMail was written.</p><p>It is therefore advisable to <em>not</em> prefer HTML to plain text.</p><p><b>Note:</b> You can set this option on a per-folder basis from the <i>Folder</i> menu of KMail's main window.</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
        mHtmlMailCheck->setText(tr2i18n("Prefer HTML to plain text", nullptr));
#if QT_CONFIG(whatsthis)
        mExternalReferences->setWhatsThis(tr2i18n("<qt><p>Some mail advertisements are in HTML and contain references to, for example, images that the advertisers employ to find out that you have read their message (&quot;web bugs&quot;).</p><p>There is no valid reason to load images off the Internet like this, since the sender can always attach the required images directly to the message.</p><p>To guard from such a misuse of the HTML displaying feature of KMail, this option is <em>disabled</em> by default.</p><p>However, if you wish to, for example, view images in HTML messages that were not attached to it, you can enable this option, but you should be aware of the possible problem.</p></qt>", nullptr));
#endif // QT_CONFIG(whatsthis)
        mExternalReferences->setText(tr2i18n("Allow messages to load external references from the Internet", nullptr));
        mConfigureExternalReference->setText(tr2i18n("Exceptions", nullptr));
        groupBox_3->setTitle(tr2i18n("E-mails Scams", nullptr));
        label->setText(tr2i18n("KMail can analyze messages for suspected email scams by looking for common techniques used to deceive you", nullptr));
        mScamDetection->setText(tr2i18n("Informs if message reading is a suspected email scam", nullptr));
        label_2->setText(tr2i18n("Whitelist:", nullptr));
        groupBox_5->setTitle(tr2i18n("Safe Browsing", nullptr));
        mCheckUrl->setText(tr2i18n("Check URL With Phishing Google System", nullptr));
        mCheckMailUrlTracking->setText(tr2i18n("Scan emails for tracking URLs", nullptr));
        groupBox_2->setTitle(tr2i18n("Encrypted Messages", nullptr));
        mAlwaysDecrypt->setText(tr2i18n("Attempt decryption of encrypted messages when viewing", nullptr));
        groupBox_4->setTitle(tr2i18n("Certificate && Key Bundle Attachments", nullptr));
        mAutomaticallyImportAttachedKeysCheck->setText(tr2i18n("Automatically import keys and certificate", nullptr));
        (void)SecurityPageGeneralTab;
    } // retranslateUi

};

namespace Ui {
    class SecurityPageGeneralTab: public Ui_SecurityPageGeneralTab {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SECURITYPAGEGENERALTAB_H

