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

#ifndef UI_QGSPROJECTTRUSTDIALOG_H
#define UI_QGSPROJECTTRUSTDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QIcon>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QStackedWidget>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <qgscodeeditorpython.h>

QT_BEGIN_NAMESPACE

class Ui_QgsProjectTrustDialog
{
public:
    QGridLayout *mMainLayout;
    QVBoxLayout *mIconLayout;
    QLabel *mIconLabel;
    QSpacerItem *verticalSpacer1;
    QLabel *mTitleLabel;
    QLabel *mDescriptionLabel;
    QLabel *mProjectDetailsLabel;
    QCheckBox *mTrustProjectFolderCheckBox;
    QStackedWidget *mScriptPreviewStackedWidget;
    QWidget *mScriptPreviewListPage;
    QVBoxLayout *mScriptPreviewListLayout;
    QLabel *mScriptPreviewListLabel;
    QListWidget *mScriptPreviewList;
    QLabel *mScriptPreviewListTipLabel;
    QWidget *mScriptPreviewPage;
    QVBoxLayout *mScriptPreviewLayout;
    QHBoxLayout *mScriptPreviewHeaderLayout;
    QToolButton *mScriptPreviewBackButton;
    QLabel *mScriptPreviewLabel;
    QgsCodeEditorPython *mScriptPreviewEditor;
    QDialogButtonBox *mButtonBox;

    void setupUi(QDialog *QgsProjectTrustDialog)
    {
        if (QgsProjectTrustDialog->objectName().isEmpty())
            QgsProjectTrustDialog->setObjectName("QgsProjectTrustDialog");
        QgsProjectTrustDialog->resize(640, 484);
        mMainLayout = new QGridLayout(QgsProjectTrustDialog);
        mMainLayout->setObjectName("mMainLayout");
        mIconLayout = new QVBoxLayout();
        mIconLayout->setObjectName("mIconLayout");
        mIconLabel = new QLabel(QgsProjectTrustDialog);
        mIconLabel->setObjectName("mIconLabel");
        mIconLabel->setMinimumSize(QSize(64, 64));
        mIconLabel->setMaximumSize(QSize(60, 60));
        mIconLabel->setScaledContents(true);

        mIconLayout->addWidget(mIconLabel);

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

        mIconLayout->addItem(verticalSpacer1);


        mMainLayout->addLayout(mIconLayout, 0, 1, 4, 1);

        mTitleLabel = new QLabel(QgsProjectTrustDialog);
        mTitleLabel->setObjectName("mTitleLabel");
        QSizePolicy sizePolicy(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mTitleLabel->sizePolicy().hasHeightForWidth());
        mTitleLabel->setSizePolicy(sizePolicy);
        QFont font;
        font.setBold(true);
        mTitleLabel->setFont(font);
        mTitleLabel->setWordWrap(true);

        mMainLayout->addWidget(mTitleLabel, 0, 0, 1, 1);

        mDescriptionLabel = new QLabel(QgsProjectTrustDialog);
        mDescriptionLabel->setObjectName("mDescriptionLabel");
        sizePolicy.setHeightForWidth(mDescriptionLabel->sizePolicy().hasHeightForWidth());
        mDescriptionLabel->setSizePolicy(sizePolicy);
        mDescriptionLabel->setWordWrap(true);

        mMainLayout->addWidget(mDescriptionLabel, 1, 0, 1, 1);

        mProjectDetailsLabel = new QLabel(QgsProjectTrustDialog);
        mProjectDetailsLabel->setObjectName("mProjectDetailsLabel");
        sizePolicy.setHeightForWidth(mProjectDetailsLabel->sizePolicy().hasHeightForWidth());
        mProjectDetailsLabel->setSizePolicy(sizePolicy);
        mProjectDetailsLabel->setWordWrap(true);

        mMainLayout->addWidget(mProjectDetailsLabel, 2, 0, 1, 1);

        mTrustProjectFolderCheckBox = new QCheckBox(QgsProjectTrustDialog);
        mTrustProjectFolderCheckBox->setObjectName("mTrustProjectFolderCheckBox");

        mMainLayout->addWidget(mTrustProjectFolderCheckBox, 3, 0, 1, 1);

        mScriptPreviewStackedWidget = new QStackedWidget(QgsProjectTrustDialog);
        mScriptPreviewStackedWidget->setObjectName("mScriptPreviewStackedWidget");
        QSizePolicy sizePolicy1(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Expanding);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(1);
        sizePolicy1.setHeightForWidth(mScriptPreviewStackedWidget->sizePolicy().hasHeightForWidth());
        mScriptPreviewStackedWidget->setSizePolicy(sizePolicy1);
        mScriptPreviewListPage = new QWidget();
        mScriptPreviewListPage->setObjectName("mScriptPreviewListPage");
        mScriptPreviewListLayout = new QVBoxLayout(mScriptPreviewListPage);
        mScriptPreviewListLayout->setObjectName("mScriptPreviewListLayout");
        mScriptPreviewListLayout->setContentsMargins(0, 0, 0, 0);
        mScriptPreviewListLabel = new QLabel(mScriptPreviewListPage);
        mScriptPreviewListLabel->setObjectName("mScriptPreviewListLabel");
        sizePolicy.setHeightForWidth(mScriptPreviewListLabel->sizePolicy().hasHeightForWidth());
        mScriptPreviewListLabel->setSizePolicy(sizePolicy);
        mScriptPreviewListLabel->setFont(font);

        mScriptPreviewListLayout->addWidget(mScriptPreviewListLabel);

        mScriptPreviewList = new QListWidget(mScriptPreviewListPage);
        mScriptPreviewList->setObjectName("mScriptPreviewList");
        sizePolicy1.setHeightForWidth(mScriptPreviewList->sizePolicy().hasHeightForWidth());
        mScriptPreviewList->setSizePolicy(sizePolicy1);
        mScriptPreviewList->setMinimumSize(QSize(0, 90));

        mScriptPreviewListLayout->addWidget(mScriptPreviewList);

        mScriptPreviewListTipLabel = new QLabel(mScriptPreviewListPage);
        mScriptPreviewListTipLabel->setObjectName("mScriptPreviewListTipLabel");
        sizePolicy.setHeightForWidth(mScriptPreviewListTipLabel->sizePolicy().hasHeightForWidth());
        mScriptPreviewListTipLabel->setSizePolicy(sizePolicy);
        QFont font1;
        font1.setItalic(true);
        mScriptPreviewListTipLabel->setFont(font1);

        mScriptPreviewListLayout->addWidget(mScriptPreviewListTipLabel);

        mScriptPreviewStackedWidget->addWidget(mScriptPreviewListPage);
        mScriptPreviewPage = new QWidget();
        mScriptPreviewPage->setObjectName("mScriptPreviewPage");
        mScriptPreviewLayout = new QVBoxLayout(mScriptPreviewPage);
        mScriptPreviewLayout->setObjectName("mScriptPreviewLayout");
        mScriptPreviewLayout->setContentsMargins(0, 0, 0, 0);
        mScriptPreviewHeaderLayout = new QHBoxLayout();
        mScriptPreviewHeaderLayout->setObjectName("mScriptPreviewHeaderLayout");
        mScriptPreviewBackButton = new QToolButton(mScriptPreviewPage);
        mScriptPreviewBackButton->setObjectName("mScriptPreviewBackButton");
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/images/themes/default/mActionArrowLeft.svg"), QSize(), QIcon::Mode::Normal, QIcon::State::Off);
        mScriptPreviewBackButton->setIcon(icon);

        mScriptPreviewHeaderLayout->addWidget(mScriptPreviewBackButton);

        mScriptPreviewLabel = new QLabel(mScriptPreviewPage);
        mScriptPreviewLabel->setObjectName("mScriptPreviewLabel");
        sizePolicy.setHeightForWidth(mScriptPreviewLabel->sizePolicy().hasHeightForWidth());
        mScriptPreviewLabel->setSizePolicy(sizePolicy);
        mScriptPreviewLabel->setFont(font);

        mScriptPreviewHeaderLayout->addWidget(mScriptPreviewLabel);


        mScriptPreviewLayout->addLayout(mScriptPreviewHeaderLayout);

        mScriptPreviewEditor = new QgsCodeEditorPython(mScriptPreviewPage);
        mScriptPreviewEditor->setObjectName("mScriptPreviewEditor");
        sizePolicy1.setHeightForWidth(mScriptPreviewEditor->sizePolicy().hasHeightForWidth());
        mScriptPreviewEditor->setSizePolicy(sizePolicy1);
        mScriptPreviewEditor->setMinimumSize(QSize(0, 90));

        mScriptPreviewLayout->addWidget(mScriptPreviewEditor);

        mScriptPreviewStackedWidget->addWidget(mScriptPreviewPage);

        mMainLayout->addWidget(mScriptPreviewStackedWidget, 4, 0, 1, 2);

        mButtonBox = new QDialogButtonBox(QgsProjectTrustDialog);
        mButtonBox->setObjectName("mButtonBox");
        mButtonBox->setOrientation(Qt::Horizontal);
        mButtonBox->setStandardButtons(QDialogButtonBox::No|QDialogButtonBox::NoToAll|QDialogButtonBox::Yes|QDialogButtonBox::YesToAll|QDialogButtonBox::Help);

        mMainLayout->addWidget(mButtonBox, 5, 0, 1, 2);


        retranslateUi(QgsProjectTrustDialog);

        mScriptPreviewStackedWidget->setCurrentIndex(0);


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

    void retranslateUi(QDialog *QgsProjectTrustDialog)
    {
        QgsProjectTrustDialog->setWindowTitle(QCoreApplication::translate("QgsProjectTrustDialog", "Security Prompt", nullptr));
        mTitleLabel->setText(QCoreApplication::translate("QgsProjectTrustDialog", "Do you trust the author(s) of this project?", nullptr));
        mDescriptionLabel->setText(QCoreApplication::translate("QgsProjectTrustDialog", "This project contains executable scripts which you should only allow if you trust the authors of this project. If you don't trust or you are unsure, we recommend denying.", nullptr));
        mProjectDetailsLabel->setText(QString());
        mTrustProjectFolderCheckBox->setText(QString());
        mScriptPreviewListLabel->setText(QCoreApplication::translate("QgsProjectTrustDialog", "Embedded Script List", nullptr));
        mScriptPreviewListTipLabel->setText(QCoreApplication::translate("QgsProjectTrustDialog", "Double-click on a list item to preview the script.", nullptr));
#if QT_CONFIG(tooltip)
        mScriptPreviewBackButton->setToolTip(QCoreApplication::translate("QgsProjectTrustDialog", "Return to list", nullptr));
#endif // QT_CONFIG(tooltip)
        mScriptPreviewBackButton->setText(QString());
        mScriptPreviewLabel->setText(QCoreApplication::translate("QgsProjectTrustDialog", "Script Preview", nullptr));
    } // retranslateUi

};

namespace Ui {
    class QgsProjectTrustDialog: public Ui_QgsProjectTrustDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QGSPROJECTTRUSTDIALOG_H
