#include <klocalizedstring.h>

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

#ifndef UI_SCRIPTAPPCONFIG_H
#define UI_SCRIPTAPPCONFIG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "kurlrequester.h"
#include "util/environmentselectionwidget.h"

QT_BEGIN_NAMESPACE

class Ui_ScriptAppPage
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox;
    QFormLayout *formLayout_3;
    QLabel *label_7;
    QComboBox *interpreter;
    QGroupBox *groupBox_4;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *runCurrentFile;
    QRadioButton *runFixedFile;
    QHBoxLayout *horizontalLayout_2;
    QLabel *scriptLabel;
    KUrlRequester *executablePath;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout;
    QLabel *label_3;
    QLineEdit *arguments;
    QLabel *label_4;
    KUrlRequester *workingDirectory;
    QLabel *label_5;
    KDevelop::EnvironmentSelectionWidget *environment;
    QLabel *label_6;
    QComboBox *outputFilteringMode;
    QGroupBox *groupBox_3;
    QVBoxLayout *verticalLayout_3;
    QCheckBox *remoteHostCheckbox;
    QHBoxLayout *horizontalLayout_3;
    QLabel *remoteHostLabel;
    QLineEdit *remoteHost;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *ScriptAppPage)
    {
        if (ScriptAppPage->objectName().isEmpty())
            ScriptAppPage->setObjectName(QStringLiteral("ScriptAppPage"));
        ScriptAppPage->resize(675, 510);
        verticalLayout = new QVBoxLayout(ScriptAppPage);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        groupBox = new QGroupBox(ScriptAppPage);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        formLayout_3 = new QFormLayout(groupBox);
        formLayout_3->setObjectName(QStringLiteral("formLayout_3"));
        formLayout_3->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        formLayout_3->setLabelAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        formLayout_3->setFormAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop);
        label_7 = new QLabel(groupBox);
        label_7->setObjectName(QStringLiteral("label_7"));
        label_7->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        formLayout_3->setWidget(0, QFormLayout::LabelRole, label_7);

        interpreter = new QComboBox(groupBox);
        interpreter->setObjectName(QStringLiteral("interpreter"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(interpreter->sizePolicy().hasHeightForWidth());
        interpreter->setSizePolicy(sizePolicy);
        interpreter->setEditable(true);

        formLayout_3->setWidget(0, QFormLayout::FieldRole, interpreter);


        verticalLayout->addWidget(groupBox);

        groupBox_4 = new QGroupBox(ScriptAppPage);
        groupBox_4->setObjectName(QStringLiteral("groupBox_4"));
        verticalLayout_2 = new QVBoxLayout(groupBox_4);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        runCurrentFile = new QRadioButton(groupBox_4);
        runCurrentFile->setObjectName(QStringLiteral("runCurrentFile"));
        runCurrentFile->setChecked(true);

        verticalLayout_2->addWidget(runCurrentFile);

        runFixedFile = new QRadioButton(groupBox_4);
        runFixedFile->setObjectName(QStringLiteral("runFixedFile"));

        verticalLayout_2->addWidget(runFixedFile);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        scriptLabel = new QLabel(groupBox_4);
        scriptLabel->setObjectName(QStringLiteral("scriptLabel"));
        scriptLabel->setEnabled(false);

        horizontalLayout_2->addWidget(scriptLabel);

        executablePath = new KUrlRequester(groupBox_4);
        executablePath->setObjectName(QStringLiteral("executablePath"));
        executablePath->setEnabled(false);

        horizontalLayout_2->addWidget(executablePath);


        verticalLayout_2->addLayout(horizontalLayout_2);


        verticalLayout->addWidget(groupBox_4);

        groupBox_2 = new QGroupBox(ScriptAppPage);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        formLayout = new QFormLayout(groupBox_2);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        formLayout->setLabelAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        label_3 = new QLabel(groupBox_2);
        label_3->setObjectName(QStringLiteral("label_3"));

        formLayout->setWidget(0, QFormLayout::LabelRole, label_3);

        arguments = new QLineEdit(groupBox_2);
        arguments->setObjectName(QStringLiteral("arguments"));

        formLayout->setWidget(0, QFormLayout::FieldRole, arguments);

        label_4 = new QLabel(groupBox_2);
        label_4->setObjectName(QStringLiteral("label_4"));

        formLayout->setWidget(1, QFormLayout::LabelRole, label_4);

        workingDirectory = new KUrlRequester(groupBox_2);
        workingDirectory->setObjectName(QStringLiteral("workingDirectory"));

        formLayout->setWidget(1, QFormLayout::FieldRole, workingDirectory);

        label_5 = new QLabel(groupBox_2);
        label_5->setObjectName(QStringLiteral("label_5"));

        formLayout->setWidget(2, QFormLayout::LabelRole, label_5);

        environment = new KDevelop::EnvironmentSelectionWidget(groupBox_2);
        environment->setObjectName(QStringLiteral("environment"));

        formLayout->setWidget(2, QFormLayout::FieldRole, environment);

        label_6 = new QLabel(groupBox_2);
        label_6->setObjectName(QStringLiteral("label_6"));

        formLayout->setWidget(3, QFormLayout::LabelRole, label_6);

        outputFilteringMode = new QComboBox(groupBox_2);
        outputFilteringMode->setObjectName(QStringLiteral("outputFilteringMode"));

        formLayout->setWidget(3, QFormLayout::FieldRole, outputFilteringMode);


        verticalLayout->addWidget(groupBox_2);

        groupBox_3 = new QGroupBox(ScriptAppPage);
        groupBox_3->setObjectName(QStringLiteral("groupBox_3"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(groupBox_3->sizePolicy().hasHeightForWidth());
        groupBox_3->setSizePolicy(sizePolicy1);
        verticalLayout_3 = new QVBoxLayout(groupBox_3);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        remoteHostCheckbox = new QCheckBox(groupBox_3);
        remoteHostCheckbox->setObjectName(QStringLiteral("remoteHostCheckbox"));

        verticalLayout_3->addWidget(remoteHostCheckbox);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        remoteHostLabel = new QLabel(groupBox_3);
        remoteHostLabel->setObjectName(QStringLiteral("remoteHostLabel"));
        remoteHostLabel->setEnabled(false);

        horizontalLayout_3->addWidget(remoteHostLabel);

        remoteHost = new QLineEdit(groupBox_3);
        remoteHost->setObjectName(QStringLiteral("remoteHost"));
        remoteHost->setEnabled(false);

        horizontalLayout_3->addWidget(remoteHost);


        verticalLayout_3->addLayout(horizontalLayout_3);


        verticalLayout->addWidget(groupBox_3);

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

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        label_3->setBuddy(arguments);
        label_4->setBuddy(workingDirectory);
        label_5->setBuddy(environment);
        remoteHostLabel->setBuddy(remoteHost);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(arguments, workingDirectory);
        QWidget::setTabOrder(workingDirectory, environment);
        QWidget::setTabOrder(environment, outputFilteringMode);
        QWidget::setTabOrder(outputFilteringMode, remoteHost);

        retranslateUi(ScriptAppPage);
        QObject::connect(runFixedFile, SIGNAL(toggled(bool)), executablePath, SLOT(setEnabled(bool)));
        QObject::connect(remoteHostCheckbox, SIGNAL(toggled(bool)), remoteHostLabel, SLOT(setEnabled(bool)));
        QObject::connect(remoteHostCheckbox, SIGNAL(toggled(bool)), remoteHost, SLOT(setEnabled(bool)));
        QObject::connect(runFixedFile, SIGNAL(toggled(bool)), scriptLabel, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *ScriptAppPage)
    {
        groupBox->setTitle(tr2i18n("Interpreter", 0));
        label_7->setText(tr2i18n("Script interpreter:", 0));
        interpreter->clear();
        interpreter->insertItems(0, QStringList()
         << QString()
         << tr2i18n("python", 0)
         << tr2i18n("ruby", 0)
         << tr2i18n("bash", 0)
         << tr2i18n("php", 0)
        );
        groupBox_4->setTitle(tr2i18n("Script file", 0));
        runCurrentFile->setText(tr2i18n("Run the file currently open in the editor", 0));
        runFixedFile->setText(tr2i18n("Always run the same file", 0));
        scriptLabel->setText(tr2i18n("Script file:", 0));
        executablePath->setProperty("placeholderText", QVariant(tr2i18n("Enter the absolute path to the script to run", 0)));
        groupBox_2->setTitle(tr2i18n("Behavior", 0));
        label_3->setText(tr2i18n("Arguments:", 0));
#ifndef UI_QT_NO_TOOLTIP
        arguments->setToolTip(tr2i18n("Enter arguments to give to the executable", 0));
#endif // QT_NO_TOOLTIP
        arguments->setPlaceholderText(QString());
        arguments->setProperty("placeholderText", QVariant(tr2i18n("Enter arguments to give to the executable", 0)));
        label_4->setText(tr2i18n("Working Directory:", 0));
#ifndef UI_QT_NO_TOOLTIP
        workingDirectory->setToolTip(tr2i18n("Select a working directory for the executable", 0));
#endif // QT_NO_TOOLTIP
        workingDirectory->setProperty("placeholderText", QVariant(tr2i18n("Select a working directory for the executable", 0)));
        label_5->setText(tr2i18n("Environment:", 0));
#ifndef UI_QT_NO_TOOLTIP
        environment->setToolTip(tr2i18n("Select an environment to be used", 0));
#endif // QT_NO_TOOLTIP
        label_6->setText(tr2i18n("Output Filter:", 0));
        outputFilteringMode->clear();
        outputFilteringMode->insertItems(0, QStringList()
         << tr2i18n("No Filter", 0)
         << tr2i18n("Compiler Filter", 0)
         << tr2i18n("Script Error Filter", 0)
         << tr2i18n("Static Analysis Filter", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        outputFilteringMode->setToolTip(tr2i18n("Select the filter to applied to the output. E.g. to mark errors with red text", 0));
#endif // QT_NO_TOOLTIP
        groupBox_3->setTitle(tr2i18n("Execute on Host", 0));
        remoteHostCheckbox->setText(tr2i18n("Execute on remote host", 0));
        remoteHostLabel->setText(tr2i18n("Remote host (ssh):", 0));
        remoteHost->setProperty("placeholderText", QVariant(tr2i18n("Enter a remote host (user@example.com)", 0)));
        Q_UNUSED(ScriptAppPage);
    } // retranslateUi

};

namespace Ui {
    class ScriptAppPage: public Ui_ScriptAppPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SCRIPTAPPCONFIG_H

