#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_SHELLOPTIONS_H
#define UI_SHELLOPTIONS_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_shellOptions
{
public:
    QGridLayout *gridLayout;
    QHBoxLayout *hboxLayout;
    QFrame *gbAdvanced;
    QGridLayout *gridLayout1;
    QLabel *lbUsername;
    KLineEdit *lePassword;
    QLabel *lbPassword;
    QCheckBox *cbRunInTerminal;
    KLineEdit *leUsername;
    QCheckBox *cbRunAsOther;
    QSpacerItem *spacerItem;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *shellOptions)
    {
        if (shellOptions->objectName().isEmpty())
            shellOptions->setObjectName(QString::fromUtf8("shellOptions"));
        shellOptions->resize(325, 112);
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(shellOptions->sizePolicy().hasHeightForWidth());
        shellOptions->setSizePolicy(sizePolicy);
        gridLayout = new QGridLayout(shellOptions);
        gridLayout->setSpacing(3);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(3);
#ifndef UI_Q_OS_MAC
        hboxLayout->setContentsMargins(0, 0, 0, 0);
#endif
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        gbAdvanced = new QFrame(shellOptions);
        gbAdvanced->setObjectName(QString::fromUtf8("gbAdvanced"));
        gbAdvanced->setFrameShape(QFrame::NoFrame);
        gbAdvanced->setFrameShadow(QFrame::Raised);
        gridLayout1 = new QGridLayout(gbAdvanced);
        gridLayout1->setSpacing(3);
        gridLayout1->setContentsMargins(0, 0, 0, 0);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        lbUsername = new QLabel(gbAdvanced);
        lbUsername->setObjectName(QString::fromUtf8("lbUsername"));
        lbUsername->setEnabled(false);
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(lbUsername->sizePolicy().hasHeightForWidth());
        lbUsername->setSizePolicy(sizePolicy1);

        gridLayout1->addWidget(lbUsername, 3, 1, 1, 1);

        lePassword = new KLineEdit(gbAdvanced);
        lePassword->setObjectName(QString::fromUtf8("lePassword"));
        lePassword->setEnabled(false);
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(5);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(lePassword->sizePolicy().hasHeightForWidth());
        lePassword->setSizePolicy(sizePolicy2);
        lePassword->setEchoMode(QLineEdit::Password);

        gridLayout1->addWidget(lePassword, 4, 2, 1, 2);

        lbPassword = new QLabel(gbAdvanced);
        lbPassword->setObjectName(QString::fromUtf8("lbPassword"));
        lbPassword->setEnabled(false);
        sizePolicy1.setHeightForWidth(lbPassword->sizePolicy().hasHeightForWidth());
        lbPassword->setSizePolicy(sizePolicy1);

        gridLayout1->addWidget(lbPassword, 4, 1, 1, 1);

        cbRunInTerminal = new QCheckBox(gbAdvanced);
        cbRunInTerminal->setObjectName(QString::fromUtf8("cbRunInTerminal"));

        gridLayout1->addWidget(cbRunInTerminal, 1, 0, 1, 4);

        leUsername = new KLineEdit(gbAdvanced);
        leUsername->setObjectName(QString::fromUtf8("leUsername"));
        leUsername->setEnabled(false);
        sizePolicy2.setHeightForWidth(leUsername->sizePolicy().hasHeightForWidth());
        leUsername->setSizePolicy(sizePolicy2);

        gridLayout1->addWidget(leUsername, 3, 2, 1, 2);

        cbRunAsOther = new QCheckBox(gbAdvanced);
        cbRunAsOther->setObjectName(QString::fromUtf8("cbRunAsOther"));

        gridLayout1->addWidget(cbRunAsOther, 2, 0, 1, 4);

        spacerItem = new QSpacerItem(20, 40, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout1->addItem(spacerItem, 3, 0, 2, 1);

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

        gridLayout1->addItem(verticalSpacer, 5, 1, 1, 1);


        hboxLayout->addWidget(gbAdvanced);


        gridLayout->addLayout(hboxLayout, 0, 0, 5, 2);

#ifndef UI_QT_NO_SHORTCUT
        lbUsername->setBuddy(leUsername);
        lbPassword->setBuddy(lePassword);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(cbRunInTerminal, cbRunAsOther);
        QWidget::setTabOrder(cbRunAsOther, leUsername);
        QWidget::setTabOrder(leUsername, lePassword);

        retranslateUi(shellOptions);
        QObject::connect(cbRunAsOther, SIGNAL(toggled(bool)), lbUsername, SLOT(setEnabled(bool)));
        QObject::connect(cbRunAsOther, SIGNAL(toggled(bool)), leUsername, SLOT(setEnabled(bool)));
        QObject::connect(cbRunAsOther, SIGNAL(toggled(bool)), lbPassword, SLOT(setEnabled(bool)));
        QObject::connect(cbRunAsOther, SIGNAL(toggled(bool)), lePassword, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *shellOptions)
    {
#ifndef UI_QT_NO_WHATSTHIS
        lbUsername->setWhatsThis(tr2i18n("Enter the user you want to run the application as here.", 0));
#endif // QT_NO_WHATSTHIS
        lbUsername->setText(tr2i18n("User&name:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        lePassword->setWhatsThis(tr2i18n("Enter the password here for the user you specified above.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        lbPassword->setWhatsThis(tr2i18n("Enter the password here for the user you specified above.", 0));
#endif // QT_NO_WHATSTHIS
        lbPassword->setText(tr2i18n("Pass&word:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        cbRunInTerminal->setWhatsThis(tr2i18n("Check this option if the application you want to run is a text mode application. The application will then be run in a terminal emulator window.", 0));
#endif // QT_NO_WHATSTHIS
        cbRunInTerminal->setText(tr2i18n("Run in &terminal window", 0));
#ifndef UI_QT_NO_WHATSTHIS
        leUsername->setWhatsThis(tr2i18n("Enter the user you want to run the application as here.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        cbRunAsOther->setWhatsThis(tr2i18n("Check this option if you want to run the application with a different user id. Every process has a user id associated with it. This id code determines file access and other permissions. The password of the user is required to do this.", 0));
#endif // QT_NO_WHATSTHIS
        cbRunAsOther->setText(tr2i18n("Run as a different &user", 0));
        Q_UNUSED(shellOptions);
    } // retranslateUi

};

namespace Ui {
    class shellOptions: public Ui_shellOptions {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SHELLOPTIONS_H

