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

#ifndef UI_PROXYWARN_UI_H
#define UI_PROXYWARN_UI_H

#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QTextEdit>
#include <klocalizedstring.h>
#include "kmessagewidget.h"

QT_BEGIN_NAMESPACE

class Ui_ProxyWarn_UI
{
public:
    QGridLayout *gridLayout;
    QCheckBox *allowOnce;
    QTextEdit *description;
    QLabel *iconLabel;
    QDialogButtonBox *OpenProject;
    QCheckBox *allowAlways;
    KMessageWidget *allowWarning;

    void setupUi(QDialog *ProxyWarn_UI)
    {
        if (ProxyWarn_UI->objectName().isEmpty())
            ProxyWarn_UI->setObjectName("ProxyWarn_UI");
        ProxyWarn_UI->resize(690, 343);
        QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(ProxyWarn_UI->sizePolicy().hasHeightForWidth());
        ProxyWarn_UI->setSizePolicy(sizePolicy);
        gridLayout = new QGridLayout(ProxyWarn_UI);
        gridLayout->setObjectName("gridLayout");
        allowOnce = new QCheckBox(ProxyWarn_UI);
        allowOnce->setObjectName("allowOnce");

        gridLayout->addWidget(allowOnce, 1, 2, 1, 1);

        description = new QTextEdit(ProxyWarn_UI);
        description->setObjectName("description");
        description->setFrameShape(QFrame::Shape::NoFrame);
        description->setFrameShadow(QFrame::Shadow::Plain);
        description->setVerticalScrollBarPolicy(Qt::ScrollBarPolicy::ScrollBarAlwaysOff);
        description->setHorizontalScrollBarPolicy(Qt::ScrollBarPolicy::ScrollBarAlwaysOff);
        description->setSizeAdjustPolicy(QAbstractScrollArea::SizeAdjustPolicy::AdjustToContentsOnFirstShow);
        description->setReadOnly(true);

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

        iconLabel = new QLabel(ProxyWarn_UI);
        iconLabel->setObjectName("iconLabel");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(iconLabel->sizePolicy().hasHeightForWidth());
        iconLabel->setSizePolicy(sizePolicy1);
        iconLabel->setAlignment(Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop);

        gridLayout->addWidget(iconLabel, 0, 0, 4, 2);

        OpenProject = new QDialogButtonBox(ProxyWarn_UI);
        OpenProject->setObjectName("OpenProject");
        OpenProject->setOrientation(Qt::Orientation::Horizontal);
        OpenProject->setStandardButtons(QDialogButtonBox::StandardButton::Abort|QDialogButtonBox::StandardButton::Ok);

        gridLayout->addWidget(OpenProject, 5, 0, 1, 3);

        allowAlways = new QCheckBox(ProxyWarn_UI);
        allowAlways->setObjectName("allowAlways");
        allowAlways->setEnabled(false);

        gridLayout->addWidget(allowAlways, 2, 2, 1, 1);

        allowWarning = new KMessageWidget(ProxyWarn_UI);
        allowWarning->setObjectName("allowWarning");
        allowWarning->setWordWrap(true);
        allowWarning->setCloseButtonVisible(false);
        allowWarning->setMessageType(KMessageWidget::MessageType::Error);

        gridLayout->addWidget(allowWarning, 4, 0, 1, 3);

        QWidget::setTabOrder(description, allowOnce);
        QWidget::setTabOrder(allowOnce, allowAlways);

        retranslateUi(ProxyWarn_UI);
        QObject::connect(OpenProject, &QDialogButtonBox::accepted, ProxyWarn_UI, qOverload<>(&QDialog::accept));
        QObject::connect(OpenProject, &QDialogButtonBox::rejected, ProxyWarn_UI, qOverload<>(&QDialog::reject));

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

    void retranslateUi(QDialog *ProxyWarn_UI)
    {
        ProxyWarn_UI->setWindowTitle(tr2i18n("Dialog", nullptr));
        allowOnce->setText(tr2i18n("Allow using these parameters for this project", nullptr));
        iconLabel->setText(QString());
        allowAlways->setText(tr2i18n("Always allow these parameters", nullptr));
        allowWarning->setText(tr2i18n("If you are not the author of this project or don't understand the parameters, this might compromise your system's security.", nullptr));
    } // retranslateUi

};

namespace Ui {
    class ProxyWarn_UI: public Ui_ProxyWarn_UI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // PROXYWARN_UI_H

