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

#ifndef UI_QGSAUTHSSLERRORSDIALOG_H
#define UI_QGSAUTHSSLERRORSDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QApplication>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QPlainTextEdit>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSplitter>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include "qgsauthsslconfigwidget.h"
#include "qgscollapsiblegroupbox.h"

QT_BEGIN_NAMESPACE

class Ui_QgsAuthSslErrorsDialog
{
public:
    QVBoxLayout *verticalLayout;
    QHBoxLayout *horizontalLayout_3;
    QLabel *lblWarningIcon;
    QVBoxLayout *verticalLayout_4;
    QLabel *lblErrorsText;
    QLineEdit *leUrl;
    QSplitter *splitter;
    QgsCollapsibleGroupBoxBasic *grpbxSslErrors;
    QVBoxLayout *verticalLayout_3;
    QPlainTextEdit *teSslErrors;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer;
    QToolButton *btnChainInfo;
    QToolButton *btnChainCAs;
    QgsCollapsibleGroupBoxBasic *grpbxSslConfig;
    QVBoxLayout *verticalLayout_2;
    QLabel *lblWarningText;
    QgsAuthSslConfigWidget *wdgtSslConfig;
    QHBoxLayout *horizontalLayout_2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *QgsAuthSslErrorsDialog)
    {
        if (QgsAuthSslErrorsDialog->objectName().isEmpty())
            QgsAuthSslErrorsDialog->setObjectName(QString::fromUtf8("QgsAuthSslErrorsDialog"));
        QgsAuthSslErrorsDialog->resize(493, 430);
        QgsAuthSslErrorsDialog->setContextMenuPolicy(Qt::PreventContextMenu);
        verticalLayout = new QVBoxLayout(QgsAuthSslErrorsDialog);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        lblWarningIcon = new QLabel(QgsAuthSslErrorsDialog);
        lblWarningIcon->setObjectName(QString::fromUtf8("lblWarningIcon"));
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(lblWarningIcon->sizePolicy().hasHeightForWidth());
        lblWarningIcon->setSizePolicy(sizePolicy);
        lblWarningIcon->setMinimumSize(QSize(48, 48));
        lblWarningIcon->setMaximumSize(QSize(48, 48));

        horizontalLayout_3->addWidget(lblWarningIcon);

        verticalLayout_4 = new QVBoxLayout();
        verticalLayout_4->setSpacing(6);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        lblErrorsText = new QLabel(QgsAuthSslErrorsDialog);
        lblErrorsText->setObjectName(QString::fromUtf8("lblErrorsText"));
        lblErrorsText->setWordWrap(true);

        verticalLayout_4->addWidget(lblErrorsText);

        leUrl = new QLineEdit(QgsAuthSslErrorsDialog);
        leUrl->setObjectName(QString::fromUtf8("leUrl"));
        leUrl->setReadOnly(true);

        verticalLayout_4->addWidget(leUrl);


        horizontalLayout_3->addLayout(verticalLayout_4);


        verticalLayout->addLayout(horizontalLayout_3);

        splitter = new QSplitter(QgsAuthSslErrorsDialog);
        splitter->setObjectName(QString::fromUtf8("splitter"));
        splitter->setOrientation(Qt::Vertical);
        splitter->setChildrenCollapsible(false);
        grpbxSslErrors = new QgsCollapsibleGroupBoxBasic(splitter);
        grpbxSslErrors->setObjectName(QString::fromUtf8("grpbxSslErrors"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(1);
        sizePolicy1.setHeightForWidth(grpbxSslErrors->sizePolicy().hasHeightForWidth());
        grpbxSslErrors->setSizePolicy(sizePolicy1);
        verticalLayout_3 = new QVBoxLayout(grpbxSslErrors);
        verticalLayout_3->setSpacing(6);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        verticalLayout_3->setContentsMargins(6, 6, 6, 6);
        teSslErrors = new QPlainTextEdit(grpbxSslErrors);
        teSslErrors->setObjectName(QString::fromUtf8("teSslErrors"));
        teSslErrors->setReadOnly(true);

        verticalLayout_3->addWidget(teSslErrors);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalSpacer = new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer);

        btnChainInfo = new QToolButton(grpbxSslErrors);
        btnChainInfo->setObjectName(QString::fromUtf8("btnChainInfo"));
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/images/themes/default/propertyicons/metadata.svg"), QSize(), QIcon::Normal, QIcon::Off);
        btnChainInfo->setIcon(icon);
        btnChainInfo->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);

        horizontalLayout->addWidget(btnChainInfo);

        btnChainCAs = new QToolButton(grpbxSslErrors);
        btnChainCAs->setObjectName(QString::fromUtf8("btnChainCAs"));
        btnChainCAs->setIcon(icon);
        btnChainCAs->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);

        horizontalLayout->addWidget(btnChainCAs);


        verticalLayout_3->addLayout(horizontalLayout);

        splitter->addWidget(grpbxSslErrors);
        grpbxSslConfig = new QgsCollapsibleGroupBoxBasic(splitter);
        grpbxSslConfig->setObjectName(QString::fromUtf8("grpbxSslConfig"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(5);
        sizePolicy2.setHeightForWidth(grpbxSslConfig->sizePolicy().hasHeightForWidth());
        grpbxSslConfig->setSizePolicy(sizePolicy2);
        grpbxSslConfig->setCheckable(true);
        verticalLayout_2 = new QVBoxLayout(grpbxSslConfig);
        verticalLayout_2->setSpacing(12);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        verticalLayout_2->setContentsMargins(6, 6, 6, 6);
        lblWarningText = new QLabel(grpbxSslConfig);
        lblWarningText->setObjectName(QString::fromUtf8("lblWarningText"));
        QSizePolicy sizePolicy3(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(lblWarningText->sizePolicy().hasHeightForWidth());
        lblWarningText->setSizePolicy(sizePolicy3);
        QFont font;
        font.setItalic(true);
        lblWarningText->setFont(font);
        lblWarningText->setAlignment(Qt::AlignCenter);

        verticalLayout_2->addWidget(lblWarningText);

        wdgtSslConfig = new QgsAuthSslConfigWidget(grpbxSslConfig);
        wdgtSslConfig->setObjectName(QString::fromUtf8("wdgtSslConfig"));

        verticalLayout_2->addWidget(wdgtSslConfig);

        splitter->addWidget(grpbxSslConfig);

        verticalLayout->addWidget(splitter);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        buttonBox = new QDialogButtonBox(QgsAuthSslErrorsDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Abort|QDialogButtonBox::Ignore|QDialogButtonBox::Save);

        horizontalLayout_2->addWidget(buttonBox);


        verticalLayout->addLayout(horizontalLayout_2);

        QWidget::setTabOrder(leUrl, teSslErrors);
        QWidget::setTabOrder(teSslErrors, btnChainInfo);
        QWidget::setTabOrder(btnChainInfo, btnChainCAs);
        QWidget::setTabOrder(btnChainCAs, grpbxSslConfig);

        retranslateUi(QgsAuthSslErrorsDialog);

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

    void retranslateUi(QDialog *QgsAuthSslErrorsDialog)
    {
        QgsAuthSslErrorsDialog->setWindowTitle(QApplication::translate("QgsAuthSslErrorsDialog", "Custom Certificate Configuration", nullptr));
        lblWarningIcon->setText(QString());
        lblErrorsText->setText(QApplication::translate("QgsAuthSslErrorsDialog", "SSL Errors occurred accessing URL:", nullptr));
        grpbxSslErrors->setTitle(QApplication::translate("QgsAuthSslErrorsDialog", "SSL Errors", nullptr));
#ifndef QT_NO_TOOLTIP
        btnChainInfo->setToolTip(QApplication::translate("QgsAuthSslErrorsDialog", "Show information for certificate chain", nullptr));
#endif // QT_NO_TOOLTIP
        btnChainInfo->setText(QApplication::translate("QgsAuthSslErrorsDialog", "Connection certificates", nullptr));
#ifndef QT_NO_TOOLTIP
        btnChainCAs->setToolTip(QApplication::translate("QgsAuthSslErrorsDialog", "Show information for certificate chain", nullptr));
#endif // QT_NO_TOOLTIP
        btnChainCAs->setText(QApplication::translate("QgsAuthSslErrorsDialog", "Connection trusted CAs", nullptr));
        grpbxSslConfig->setTitle(QApplication::translate("QgsAuthSslErrorsDialog", "Save SSL server e&xception", nullptr));
        lblWarningText->setText(QApplication::translate("QgsAuthSslErrorsDialog", "WARNING: Only save SSL configurations when necessary.", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsAuthSslErrorsDialog: public Ui_QgsAuthSslErrorsDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSAUTHSSLERRORSDIALOG_H
