#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'nativeappconfig.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_NATIVEAPPCONFIG_H
#define UI_NATIVEAPPCONFIG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "kurlrequester.h"
#include "project/projectitemlineedit.h"
#include "projecttargetscombobox.h"
#include "shell/environmentconfigurebutton.h"
#include "util/environmentselectionwidget.h"

QT_BEGIN_NAMESPACE

class Ui_NativeAppPage
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox;
    QFormLayout *formLayout_2;
    QLabel *label;
    QHBoxLayout *horizontalLayout_2;
    QRadioButton *projectTargetRadio;
    ProjectTargetsComboBox *projectTarget;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_3;
    QRadioButton *executableRadio;
    KUrlRequester *executablePath;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout;
    QLabel *label_3;
    QLineEdit *arguments;
    QLabel *label_4;
    KUrlRequester *workingDirectory;
    QLabel *label_5;
    QHBoxLayout *horizontalLayout;
    KDevelop::EnvironmentSelectionWidget *environment;
    KDevelop::EnvironmentConfigureButton *configureEnvironment;
    QHBoxLayout *horizontalLayout_4;
    QSpacerItem *horizontalSpacer;
    QCheckBox *runInTerminal;
    KComboBox *terminal;
    QGroupBox *groupBox_3;
    QFormLayout *formLayout_3;
    QLabel *label_8;
    KComboBox *dependencyAction;
    QLabel *label_7;
    QGridLayout *gridLayout;
    ProjectItemLineEdit *targetDependency;
    QPushButton *browseProject;
    QPushButton *addDependency;
    QListWidget *dependencies;
    QPushButton *removeDependency;
    QPushButton *moveDepUp;
    QPushButton *moveDepDown;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *NativeAppPage)
    {
        if (NativeAppPage->objectName().isEmpty())
            NativeAppPage->setObjectName(QStringLiteral("NativeAppPage"));
        NativeAppPage->resize(511, 580);
        verticalLayout = new QVBoxLayout(NativeAppPage);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        groupBox = new QGroupBox(NativeAppPage);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        formLayout_2 = new QFormLayout(groupBox);
        formLayout_2->setObjectName(QStringLiteral("formLayout_2"));
        label = new QLabel(groupBox);
        label->setObjectName(QStringLiteral("label"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, label);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        projectTargetRadio = new QRadioButton(groupBox);
        projectTargetRadio->setObjectName(QStringLiteral("projectTargetRadio"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(projectTargetRadio->sizePolicy().hasHeightForWidth());
        projectTargetRadio->setSizePolicy(sizePolicy);
        projectTargetRadio->setChecked(true);

        horizontalLayout_2->addWidget(projectTargetRadio);

        projectTarget = new ProjectTargetsComboBox(groupBox);
        projectTarget->setObjectName(QStringLiteral("projectTarget"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(projectTarget->sizePolicy().hasHeightForWidth());
        projectTarget->setSizePolicy(sizePolicy1);

        horizontalLayout_2->addWidget(projectTarget);


        formLayout_2->setLayout(0, QFormLayout::FieldRole, horizontalLayout_2);

        label_2 = new QLabel(groupBox);
        label_2->setObjectName(QStringLiteral("label_2"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, label_2);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QStringLiteral("horizontalLayout_3"));
        executableRadio = new QRadioButton(groupBox);
        executableRadio->setObjectName(QStringLiteral("executableRadio"));
        executableRadio->setEnabled(true);

        horizontalLayout_3->addWidget(executableRadio);

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

        horizontalLayout_3->addWidget(executablePath);


        formLayout_2->setLayout(1, QFormLayout::FieldRole, horizontalLayout_3);


        verticalLayout->addWidget(groupBox);

        groupBox_2 = new QGroupBox(NativeAppPage);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        formLayout = new QFormLayout(groupBox_2);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        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);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        environment = new KDevelop::EnvironmentSelectionWidget(groupBox_2);
        environment->setObjectName(QStringLiteral("environment"));
        QSizePolicy sizePolicy2(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(environment->sizePolicy().hasHeightForWidth());
        environment->setSizePolicy(sizePolicy2);

        horizontalLayout->addWidget(environment);

        configureEnvironment = new KDevelop::EnvironmentConfigureButton(groupBox_2);
        configureEnvironment->setObjectName(QStringLiteral("configureEnvironment"));

        horizontalLayout->addWidget(configureEnvironment);


        formLayout->setLayout(2, QFormLayout::FieldRole, horizontalLayout);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
        horizontalSpacer = new QSpacerItem(12, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_4->addItem(horizontalSpacer);

        runInTerminal = new QCheckBox(groupBox_2);
        runInTerminal->setObjectName(QStringLiteral("runInTerminal"));

        horizontalLayout_4->addWidget(runInTerminal);


        formLayout->setLayout(3, QFormLayout::LabelRole, horizontalLayout_4);

        terminal = new KComboBox(groupBox_2);
        terminal->insertItems(0, QStringList()
         << QStringLiteral("konsole --noclose --workdir %workdir -e %exe")
         << QStringLiteral("xterm -hold -e %exe")
         << QStringLiteral("gnome-terminal -e %exe")
        );
        terminal->setObjectName(QStringLiteral("terminal"));
        terminal->setEnabled(false);
        sizePolicy1.setHeightForWidth(terminal->sizePolicy().hasHeightForWidth());
        terminal->setSizePolicy(sizePolicy1);
        terminal->setEditable(true);

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


        verticalLayout->addWidget(groupBox_2);

        groupBox_3 = new QGroupBox(NativeAppPage);
        groupBox_3->setObjectName(QStringLiteral("groupBox_3"));
        formLayout_3 = new QFormLayout(groupBox_3);
        formLayout_3->setObjectName(QStringLiteral("formLayout_3"));
        label_8 = new QLabel(groupBox_3);
        label_8->setObjectName(QStringLiteral("label_8"));

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

        dependencyAction = new KComboBox(groupBox_3);
        dependencyAction->setObjectName(QStringLiteral("dependencyAction"));
        dependencyAction->setFrame(true);

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

        label_7 = new QLabel(groupBox_3);
        label_7->setObjectName(QStringLiteral("label_7"));

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

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        targetDependency = new ProjectItemLineEdit(groupBox_3);
        targetDependency->setObjectName(QStringLiteral("targetDependency"));
        targetDependency->setEnabled(false);
        targetDependency->setProperty("showClearButton", QVariant(true));

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

        browseProject = new QPushButton(groupBox_3);
        browseProject->setObjectName(QStringLiteral("browseProject"));
        browseProject->setEnabled(false);

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

        addDependency = new QPushButton(groupBox_3);
        addDependency->setObjectName(QStringLiteral("addDependency"));
        addDependency->setEnabled(false);

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

        dependencies = new QListWidget(groupBox_3);
        dependencies->setObjectName(QStringLiteral("dependencies"));
        dependencies->setEnabled(false);
        dependencies->setAlternatingRowColors(true);
        dependencies->setUniformItemSizes(true);

        gridLayout->addWidget(dependencies, 1, 0, 4, 2);

        removeDependency = new QPushButton(groupBox_3);
        removeDependency->setObjectName(QStringLiteral("removeDependency"));
        removeDependency->setEnabled(false);

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

        moveDepUp = new QPushButton(groupBox_3);
        moveDepUp->setObjectName(QStringLiteral("moveDepUp"));
        moveDepUp->setEnabled(false);

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

        moveDepDown = new QPushButton(groupBox_3);
        moveDepDown->setObjectName(QStringLiteral("moveDepDown"));
        moveDepDown->setEnabled(false);

        gridLayout->addWidget(moveDepDown, 3, 2, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 4, 2, 1, 1);


        formLayout_3->setLayout(1, QFormLayout::FieldRole, gridLayout);


        verticalLayout->addWidget(groupBox_3);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(projectTargetRadio);
        label_2->setBuddy(executableRadio);
        label_3->setBuddy(arguments);
        label_4->setBuddy(workingDirectory);
        label_5->setBuddy(environment);
        label_8->setBuddy(dependencyAction);
        label_7->setBuddy(targetDependency);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(executablePath, arguments);
        QWidget::setTabOrder(arguments, workingDirectory);
        QWidget::setTabOrder(workingDirectory, environment);
        QWidget::setTabOrder(environment, targetDependency);
        QWidget::setTabOrder(targetDependency, addDependency);
        QWidget::setTabOrder(addDependency, dependencies);
        QWidget::setTabOrder(dependencies, removeDependency);
        QWidget::setTabOrder(removeDependency, moveDepUp);
        QWidget::setTabOrder(moveDepUp, moveDepDown);

        retranslateUi(NativeAppPage);
        QObject::connect(projectTargetRadio, SIGNAL(toggled(bool)), executablePath, SLOT(setDisabled(bool)));
        QObject::connect(executableRadio, SIGNAL(toggled(bool)), executablePath, SLOT(setEnabled(bool)));
        QObject::connect(runInTerminal, SIGNAL(toggled(bool)), terminal, SLOT(setEnabled(bool)));
        QObject::connect(projectTargetRadio, SIGNAL(toggled(bool)), projectTarget, SLOT(setEnabled(bool)));
        QObject::connect(executableRadio, SIGNAL(toggled(bool)), projectTarget, SLOT(setDisabled(bool)));

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

    void retranslateUi(QWidget *NativeAppPage)
    {
        groupBox->setTitle(tr2i18n("Executable", 0));
        label->setText(tr2i18n("Project Target:", 0));
        projectTargetRadio->setText(QString());
        label_2->setText(tr2i18n("Executable:", 0));
        executableRadio->setText(QString());
        executablePath->setPlaceholderText(tr2i18n("Enter the executable name or absolute path to an executable file", 0));
        groupBox_2->setTitle(tr2i18n("Behavior", 0));
        label_3->setText(tr2i18n("Arguments:", 0));
#ifndef UI_QT_NO_TOOLTIP
        arguments->setToolTip(tr2i18n("<html><head/><body><p>Enter arguments to give to the executable.<br/>You can pass arguments containing space characters by putting them in double-quotes.</p></body></html>", 0));
#endif // QT_NO_TOOLTIP
        arguments->setPlaceholderText(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->setPlaceholderText(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
#ifndef UI_QT_NO_TOOLTIP
        runInTerminal->setToolTip(tr2i18n("<p>By default applications will be run in the background and only their output will be displayed in a toolview. This makes it impossible to interact with applications requiring user input from a terminal emulator. To run such applications, you should use an external terminal.</p>", 0));
#endif // QT_NO_TOOLTIP
        runInTerminal->setText(tr2i18n("Use External Terminal:", 0));
#ifndef UI_QT_NO_TOOLTIP
        terminal->setToolTip(tr2i18n("<p>Defines the command to execute the external terminal emulator. Use the following placeholders:</p>\n"
"<dl>\n"
"<dt><code>%exe</code></dt>\n"
"<dd>The path to the executable selected above.</dd>\n"
"<dt><code>%workdir</code></dt>\n"
"<dd>The path to the working directory selected above.</dd>\n"
"</dl>\n"
"<p>The arguments defined above will get appended to this command.</p>", 0));
#endif // QT_NO_TOOLTIP
        groupBox_3->setTitle(tr2i18n("Dependencies", 0));
        label_8->setText(tr2i18n("Action:", 0));
        dependencyAction->clear();
        dependencyAction->insertItems(0, QStringList()
         << tr2i18n("Do Nothing", 0)
         << tr2i18n("Build", "@action")
         << tr2i18n("Build and Install", "@action")
        );
#ifndef UI_QT_NO_TOOLTIP
        dependencyAction->setToolTip(tr2i18n("Specifies the action to take for the dependencies before starting the executable.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        dependencyAction->setWhatsThis(tr2i18n("The selected action will be run before the executable is started.  This allows there to be parts of a project, upon which the executable does not directly depend, to be built and/or installed before running the application.", 0));
#endif // QT_NO_WHATSTHIS
        label_7->setText(tr2i18n("Targets:", 0));
#ifndef UI_QT_NO_TOOLTIP
        targetDependency->setToolTip(tr2i18n("Enter a dependency to add to the list", 0));
#endif // QT_NO_TOOLTIP
        targetDependency->setPlaceholderText(tr2i18n("Enter a dependency to add to the list", 0));
#ifndef UI_QT_NO_TOOLTIP
        addDependency->setToolTip(tr2i18n("Adds the listed target to the dependency list.", 0));
#endif // QT_NO_TOOLTIP
        addDependency->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        dependencies->setToolTip(tr2i18n("List of indirect dependent targets.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        dependencies->setWhatsThis(tr2i18n("This list should contain targets that the application does not directly depend on, but for which an action needs to be taken before running the application.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        removeDependency->setToolTip(tr2i18n("Removes the selected dependencies from the list.", 0));
#endif // QT_NO_TOOLTIP
        removeDependency->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        moveDepUp->setToolTip(tr2i18n("Move a dependency up in the list.", 0));
#endif // QT_NO_TOOLTIP
        moveDepUp->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        moveDepDown->setToolTip(tr2i18n("Moves the selected dependency down in the list.", 0));
#endif // QT_NO_TOOLTIP
        moveDepDown->setText(QString());
        Q_UNUSED(NativeAppPage);
    } // retranslateUi

};

namespace Ui {
    class NativeAppPage: public Ui_NativeAppPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NATIVEAPPCONFIG_H

