/********************************************************************************
** Form generated from reading UI file 'smimeconfiguration.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_SMIMECONFIGURATION_H
#define UI_SMIMECONFIGURATION_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <klocalizedstring.h>
#include <libkleo/keyrequester.h>
#include "klineedit.h"
#include "libkleo/keyrequester.h"

QT_BEGIN_NAMESPACE

class Ui_SMimeConfiguration
{
public:
    QGridLayout *gridLayout;
    QRadioButton *CRLRB;
    QRadioButton *OCSPRB;
    QGroupBox *OCSPGroupBox;
    QGridLayout *gridLayout1;
    QHBoxLayout *hboxLayout;
    QVBoxLayout *vboxLayout;
    QLabel *textLabel1;
    QLabel *textLabel2;
    QVBoxLayout *vboxLayout1;
    KLineEdit *OCSPResponderURL;
    Kleo::KeyRequester *OCSPResponderSignature;
    QCheckBox *ignoreServiceURLCB;
    QCheckBox *doNotCheckCertPolicyCB;
    QCheckBox *neverConsultCB;
    QCheckBox *fetchMissingCB;
    QTabWidget *requestsTabs;
    QWidget *tabHTTP;
    QGridLayout *gridLayout2;
    QCheckBox *disableHTTPCB;
    QCheckBox *ignoreHTTPDPCB;
    QSpacerItem *spacerItem;
    QGridLayout *gridLayout3;
    QRadioButton *honorHTTPProxyRB;
    QLabel *systemHTTPProxy;
    QRadioButton *useCustomHTTPProxyRB;
    KLineEdit *customHTTPProxy;
    QWidget *tabLDAP;
    QGridLayout *gridLayout4;
    QVBoxLayout *vboxLayout2;
    QCheckBox *disableLDAPCB;
    QCheckBox *ignoreLDAPDPCB;
    QHBoxLayout *hboxLayout1;
    QLabel *customLDAPLabel;
    KLineEdit *customLDAPProxy;
    QSpacerItem *spacerItem1;

    void setupUi(QWidget *SMimeConfiguration)
    {
        if (SMimeConfiguration->objectName().isEmpty())
            SMimeConfiguration->setObjectName("SMimeConfiguration");
        SMimeConfiguration->resize(360, 442);
        gridLayout = new QGridLayout(SMimeConfiguration);
        gridLayout->setObjectName("gridLayout");
        CRLRB = new QRadioButton(SMimeConfiguration);
        CRLRB->setObjectName("CRLRB");
        CRLRB->setChecked(true);

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

        OCSPRB = new QRadioButton(SMimeConfiguration);
        OCSPRB->setObjectName("OCSPRB");

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

        OCSPGroupBox = new QGroupBox(SMimeConfiguration);
        OCSPGroupBox->setObjectName("OCSPGroupBox");
        gridLayout1 = new QGridLayout(OCSPGroupBox);
        gridLayout1->setObjectName("gridLayout1");
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName("hboxLayout");
        vboxLayout = new QVBoxLayout();
        vboxLayout->setObjectName("vboxLayout");
        textLabel1 = new QLabel(OCSPGroupBox);
        textLabel1->setObjectName("textLabel1");
        textLabel1->setWordWrap(false);

        vboxLayout->addWidget(textLabel1);

        textLabel2 = new QLabel(OCSPGroupBox);
        textLabel2->setObjectName("textLabel2");
        textLabel2->setWordWrap(false);

        vboxLayout->addWidget(textLabel2);


        hboxLayout->addLayout(vboxLayout);

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setObjectName("vboxLayout1");
        OCSPResponderURL = new KLineEdit(OCSPGroupBox);
        OCSPResponderURL->setObjectName("OCSPResponderURL");
        OCSPResponderURL->setProperty("trapEnterKeyEvent", QVariant(true));

        vboxLayout1->addWidget(OCSPResponderURL);

        OCSPResponderSignature = new Kleo::KeyRequester(OCSPGroupBox);
        OCSPResponderSignature->setObjectName("OCSPResponderSignature");

        vboxLayout1->addWidget(OCSPResponderSignature);


        hboxLayout->addLayout(vboxLayout1);


        gridLayout1->addLayout(hboxLayout, 0, 0, 1, 1);

        ignoreServiceURLCB = new QCheckBox(OCSPGroupBox);
        ignoreServiceURLCB->setObjectName("ignoreServiceURLCB");

        gridLayout1->addWidget(ignoreServiceURLCB, 1, 0, 1, 1);


        gridLayout->addWidget(OCSPGroupBox, 2, 0, 1, 1);

        doNotCheckCertPolicyCB = new QCheckBox(SMimeConfiguration);
        doNotCheckCertPolicyCB->setObjectName("doNotCheckCertPolicyCB");

        gridLayout->addWidget(doNotCheckCertPolicyCB, 3, 0, 1, 1);

        neverConsultCB = new QCheckBox(SMimeConfiguration);
        neverConsultCB->setObjectName("neverConsultCB");

        gridLayout->addWidget(neverConsultCB, 4, 0, 1, 1);

        fetchMissingCB = new QCheckBox(SMimeConfiguration);
        fetchMissingCB->setObjectName("fetchMissingCB");

        gridLayout->addWidget(fetchMissingCB, 5, 0, 1, 1);

        requestsTabs = new QTabWidget(SMimeConfiguration);
        requestsTabs->setObjectName("requestsTabs");
        tabHTTP = new QWidget();
        tabHTTP->setObjectName("tabHTTP");
        gridLayout2 = new QGridLayout(tabHTTP);
        gridLayout2->setObjectName("gridLayout2");
        disableHTTPCB = new QCheckBox(tabHTTP);
        disableHTTPCB->setObjectName("disableHTTPCB");

        gridLayout2->addWidget(disableHTTPCB, 0, 0, 1, 1);

        ignoreHTTPDPCB = new QCheckBox(tabHTTP);
        ignoreHTTPDPCB->setObjectName("ignoreHTTPDPCB");

        gridLayout2->addWidget(ignoreHTTPDPCB, 1, 0, 1, 1);

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

        gridLayout2->addItem(spacerItem, 3, 0, 1, 1);

        gridLayout3 = new QGridLayout();
        gridLayout3->setObjectName("gridLayout3");
        honorHTTPProxyRB = new QRadioButton(tabHTTP);
        honorHTTPProxyRB->setObjectName("honorHTTPProxyRB");

        gridLayout3->addWidget(honorHTTPProxyRB, 0, 0, 1, 1);

        systemHTTPProxy = new QLabel(tabHTTP);
        systemHTTPProxy->setObjectName("systemHTTPProxy");
        systemHTTPProxy->setWordWrap(false);

        gridLayout3->addWidget(systemHTTPProxy, 0, 1, 1, 1);

        useCustomHTTPProxyRB = new QRadioButton(tabHTTP);
        useCustomHTTPProxyRB->setObjectName("useCustomHTTPProxyRB");

        gridLayout3->addWidget(useCustomHTTPProxyRB, 1, 0, 1, 1);

        customHTTPProxy = new KLineEdit(tabHTTP);
        customHTTPProxy->setObjectName("customHTTPProxy");
        customHTTPProxy->setProperty("trapEnterKeyEvent", QVariant(true));

        gridLayout3->addWidget(customHTTPProxy, 1, 1, 1, 1);


        gridLayout2->addLayout(gridLayout3, 2, 0, 1, 1);

        requestsTabs->addTab(tabHTTP, QString());
        tabLDAP = new QWidget();
        tabLDAP->setObjectName("tabLDAP");
        gridLayout4 = new QGridLayout(tabLDAP);
        gridLayout4->setObjectName("gridLayout4");
        vboxLayout2 = new QVBoxLayout();
        vboxLayout2->setObjectName("vboxLayout2");
        disableLDAPCB = new QCheckBox(tabLDAP);
        disableLDAPCB->setObjectName("disableLDAPCB");

        vboxLayout2->addWidget(disableLDAPCB);

        ignoreLDAPDPCB = new QCheckBox(tabLDAP);
        ignoreLDAPDPCB->setObjectName("ignoreLDAPDPCB");

        vboxLayout2->addWidget(ignoreLDAPDPCB);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName("hboxLayout1");
        customLDAPLabel = new QLabel(tabLDAP);
        customLDAPLabel->setObjectName("customLDAPLabel");
        customLDAPLabel->setWordWrap(false);

        hboxLayout1->addWidget(customLDAPLabel);

        customLDAPProxy = new KLineEdit(tabLDAP);
        customLDAPProxy->setObjectName("customLDAPProxy");
        customLDAPProxy->setProperty("trapEnterKeyEvent", QVariant(true));

        hboxLayout1->addWidget(customLDAPProxy);


        vboxLayout2->addLayout(hboxLayout1);


        gridLayout4->addLayout(vboxLayout2, 0, 0, 1, 1);

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

        gridLayout4->addItem(spacerItem1, 1, 0, 1, 1);

        requestsTabs->addTab(tabLDAP, QString());

        gridLayout->addWidget(requestsTabs, 6, 0, 1, 1);

        QWidget::setTabOrder(CRLRB, OCSPRB);
        QWidget::setTabOrder(OCSPRB, OCSPResponderURL);
        QWidget::setTabOrder(OCSPResponderURL, ignoreServiceURLCB);
        QWidget::setTabOrder(ignoreServiceURLCB, doNotCheckCertPolicyCB);
        QWidget::setTabOrder(doNotCheckCertPolicyCB, neverConsultCB);
        QWidget::setTabOrder(neverConsultCB, fetchMissingCB);
        QWidget::setTabOrder(fetchMissingCB, requestsTabs);
        QWidget::setTabOrder(requestsTabs, disableHTTPCB);
        QWidget::setTabOrder(disableHTTPCB, ignoreHTTPDPCB);
        QWidget::setTabOrder(ignoreHTTPDPCB, honorHTTPProxyRB);
        QWidget::setTabOrder(honorHTTPProxyRB, useCustomHTTPProxyRB);
        QWidget::setTabOrder(useCustomHTTPProxyRB, customHTTPProxy);
        QWidget::setTabOrder(customHTTPProxy, disableLDAPCB);
        QWidget::setTabOrder(disableLDAPCB, ignoreLDAPDPCB);
        QWidget::setTabOrder(ignoreLDAPDPCB, customLDAPProxy);

        retranslateUi(SMimeConfiguration);
        QObject::connect(CRLRB, &QRadioButton::toggled, OCSPGroupBox, &QGroupBox::setDisabled);
        QObject::connect(OCSPRB, &QRadioButton::toggled, OCSPGroupBox, &QGroupBox::setEnabled);
        QObject::connect(useCustomHTTPProxyRB, SIGNAL(toggled(bool)), customHTTPProxy, SLOT(setEnabled(bool)));
        QObject::connect(honorHTTPProxyRB, SIGNAL(toggled(bool)), customHTTPProxy, SLOT(setDisabled(bool)));

        requestsTabs->setCurrentIndex(0);


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

    void retranslateUi(QWidget *SMimeConfiguration)
    {
#if QT_CONFIG(whatsthis)
        CRLRB->setWhatsThis(tr2i18n("If this option is selected, S/MIME certificates are validated using Certificate Revocation Lists (CRLs).", nullptr));
#endif // QT_CONFIG(whatsthis)
        CRLRB->setText(tr2i18n("&Validate certificates using CRLs", nullptr));
#if QT_CONFIG(whatsthis)
        OCSPRB->setWhatsThis(tr2i18n("If this option is selected, S/MIME certificates are validated online using the Online Certificates Status Protocol (OCSP). Fill in the URL of the OCSP responder below.", nullptr));
#endif // QT_CONFIG(whatsthis)
        OCSPRB->setText(tr2i18n("Validate certificates online (OCSP)", nullptr));
        OCSPGroupBox->setTitle(tr2i18n("Online Certificate Validation", nullptr));
        textLabel1->setText(tr2i18n("OCSP responder URL:", nullptr));
        textLabel2->setText(tr2i18n("OCSP responder signature:", nullptr));
#if QT_CONFIG(whatsthis)
        OCSPResponderURL->setWhatsThis(tr2i18n("Enter here the address of the server for online validation of certificates (OCSP responder). The URL is usually starting with http://.", nullptr));
#endif // QT_CONFIG(whatsthis)
        ignoreServiceURLCB->setText(tr2i18n("Ignore service URL of certificates", nullptr));
#if QT_CONFIG(whatsthis)
        doNotCheckCertPolicyCB->setWhatsThis(tr2i18n("By default GnuPG uses the file ~/.gnupg/policies.txt to check if a certificate policy is allowed. If this option is selected, policies are not checked.", nullptr));
#endif // QT_CONFIG(whatsthis)
        doNotCheckCertPolicyCB->setText(tr2i18n("Do not check certificate policies", nullptr));
#if QT_CONFIG(whatsthis)
        neverConsultCB->setWhatsThis(tr2i18n("If this option is checked, Certificate Revocation Lists are never used to validate S/MIME certificates.", nullptr));
#endif // QT_CONFIG(whatsthis)
        neverConsultCB->setText(tr2i18n("Never consult a CRL", nullptr));
#if QT_CONFIG(whatsthis)
        fetchMissingCB->setWhatsThis(tr2i18n("If this option is checked, missing issuer certificates are fetched when necessary (this applies to both validation methods, CRLs and OCSP)", nullptr));
#endif // QT_CONFIG(whatsthis)
        fetchMissingCB->setText(tr2i18n("Fetch missing issuer certificates", nullptr));
#if QT_CONFIG(whatsthis)
        disableHTTPCB->setWhatsThis(tr2i18n("Entirely disables the use of HTTP for S/MIME.", nullptr));
#endif // QT_CONFIG(whatsthis)
        disableHTTPCB->setText(tr2i18n("Do not perform any HTTP requests", nullptr));
#if QT_CONFIG(whatsthis)
        ignoreHTTPDPCB->setWhatsThis(tr2i18n("When looking for the location of a CRL, the to-be-tested certificate usually contains what are known as \"CRL Distribution Point\" (DP) entries, which are URLs describing the way to access the URL. The first found DP entry is used.  With this option all entries using the HTTP scheme are ignored when looking for a suitable DP.", nullptr));
#endif // QT_CONFIG(whatsthis)
        ignoreHTTPDPCB->setText(tr2i18n("Ignore HTTP CRL distribution point of certificates", nullptr));
#if QT_CONFIG(whatsthis)
        honorHTTPProxyRB->setWhatsThis(tr2i18n("If this option is selected, the value of the HTTP proxy shown on the right (which comes from the environment variable http_proxy) will be used for any HTTP request.", nullptr));
#endif // QT_CONFIG(whatsthis)
        honorHTTPProxyRB->setText(tr2i18n("Use s&ystem HTTP proxy:", nullptr));
        systemHTTPProxy->setText(tr2i18n("no proxy", nullptr));
        useCustomHTTPProxyRB->setText(tr2i18n("Use &this proxy for HTTP requests: ", nullptr));
#if QT_CONFIG(whatsthis)
        customHTTPProxy->setWhatsThis(tr2i18n("Enter here the location of your HTTP Proxy, which will be used for all HTTP requests relating to S/MIME. The syntax is host:port, for instance myproxy.nowhere.com:3128.", nullptr));
#endif // QT_CONFIG(whatsthis)
        requestsTabs->setTabText(requestsTabs->indexOf(tabHTTP), tr2i18n("HTTP Requests", nullptr));
#if QT_CONFIG(whatsthis)
        disableLDAPCB->setWhatsThis(tr2i18n("Entirely disables the use of LDAP for S/MIME.", nullptr));
#endif // QT_CONFIG(whatsthis)
        disableLDAPCB->setText(tr2i18n("Do not perform any LDAP requests", nullptr));
#if QT_CONFIG(whatsthis)
        ignoreLDAPDPCB->setWhatsThis(tr2i18n("When looking for the location of a CRL, the to-be-tested certificate usually contains what are known as \"CRL Distribution Point\" (DP) entries, which are URLs describing the way to access the URL. The first found DP entry is used.  With this option all entries using the LDAP scheme are ignored when looking for a suitable DP.", nullptr));
#endif // QT_CONFIG(whatsthis)
        ignoreLDAPDPCB->setText(tr2i18n("Ignore LDAP CRL distribution point of certificates", nullptr));
        customLDAPLabel->setText(tr2i18n("Primary host for LDAP requests:", nullptr));
#if QT_CONFIG(whatsthis)
        customLDAPProxy->setWhatsThis(tr2i18n("Entering a LDAP server here will make all LDAP requests go to that server first. More precisely, this setting overrides any specified host and port part in a LDAP URL and will also be used if host and port have been omitted from the URL. Other LDAP servers will be used only if the connection to the \"proxy\" failed.\n"
"The syntax is \"HOST\" or \"HOST:PORT\". If PORT is omitted, port 389 (standard LDAP port) is used.", nullptr));
#endif // QT_CONFIG(whatsthis)
        requestsTabs->setTabText(requestsTabs->indexOf(tabLDAP), tr2i18n("LDAP Requests", nullptr));
        (void)SMimeConfiguration;
    } // retranslateUi

};

namespace Ui {
    class SMimeConfiguration: public Ui_SMimeConfiguration {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SMIMECONFIGURATION_H

