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

/********************************************************************************
** Form generated from reading UI file 'generalconfig.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_GENERALCONFIG_H
#define UI_GENERALCONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kled.h"
#include "klineedit.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_GeneralConfig
{
public:
    QVBoxLayout *verticalLayout_2;
    QGroupBox *backendGroupBox;
    QGridLayout *gridLayout;
    QLabel *label_3;
    KUrlRequester *engineExecutable;
    QLabel *label;
    KLineEdit *engineParameters;
    KLineEdit *kcfg_EngineCommand;
    KLed *engineLed;
    QLabel *label_4;
    QFrame *line_2;
    QGroupBox *appearanceGroupBox;
    QGridLayout *gridLayout_2;
    QCheckBox *kcfg_ShowBoardLabels;
    QLabel *label_2;
    QDoubleSpinBox *kcfg_HintVisibleTime;
    QFrame *line;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *GeneralConfig)
    {
        if (GeneralConfig->objectName().isEmpty())
            GeneralConfig->setObjectName(QString::fromUtf8("GeneralConfig"));
        GeneralConfig->resize(361, 406);
        verticalLayout_2 = new QVBoxLayout(GeneralConfig);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        backendGroupBox = new QGroupBox(GeneralConfig);
        backendGroupBox->setObjectName(QString::fromUtf8("backendGroupBox"));
        gridLayout = new QGridLayout(backendGroupBox);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_3 = new QLabel(backendGroupBox);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        engineExecutable = new KUrlRequester(backendGroupBox);
        engineExecutable->setObjectName(QString::fromUtf8("engineExecutable"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(engineExecutable->sizePolicy().hasHeightForWidth());
        engineExecutable->setSizePolicy(sizePolicy);

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

        label = new QLabel(backendGroupBox);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(label, 3, 0, 1, 1);

        engineParameters = new KLineEdit(backendGroupBox);
        engineParameters->setObjectName(QString::fromUtf8("engineParameters"));

        gridLayout->addWidget(engineParameters, 3, 1, 1, 1);

        kcfg_EngineCommand = new KLineEdit(backendGroupBox);
        kcfg_EngineCommand->setObjectName(QString::fromUtf8("kcfg_EngineCommand"));
        kcfg_EngineCommand->setEnabled(false);
        kcfg_EngineCommand->setFocusPolicy(Qt::NoFocus);
        kcfg_EngineCommand->setReadOnly(true);
        kcfg_EngineCommand->setUrlDropsEnabled(false);

        gridLayout->addWidget(kcfg_EngineCommand, 4, 1, 1, 2);

        engineLed = new KLed(backendGroupBox);
        engineLed->setObjectName(QString::fromUtf8("engineLed"));
        QSizePolicy sizePolicy1(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(engineLed->sizePolicy().hasHeightForWidth());
        engineLed->setSizePolicy(sizePolicy1);
        engineLed->setState(KLed::Off);

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

        label_4 = new QLabel(backendGroupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setWordWrap(true);

        gridLayout->addWidget(label_4, 0, 0, 1, 3);

        line_2 = new QFrame(backendGroupBox);
        line_2->setObjectName(QString::fromUtf8("line_2"));
        line_2->setFrameShape(QFrame::HLine);
        line_2->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line_2, 1, 0, 1, 3);


        verticalLayout_2->addWidget(backendGroupBox);

        appearanceGroupBox = new QGroupBox(GeneralConfig);
        appearanceGroupBox->setObjectName(QString::fromUtf8("appearanceGroupBox"));
        appearanceGroupBox->setCheckable(false);
        gridLayout_2 = new QGridLayout(appearanceGroupBox);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        kcfg_ShowBoardLabels = new QCheckBox(appearanceGroupBox);
        kcfg_ShowBoardLabels->setObjectName(QString::fromUtf8("kcfg_ShowBoardLabels"));

        gridLayout_2->addWidget(kcfg_ShowBoardLabels, 0, 0, 1, 2);

        label_2 = new QLabel(appearanceGroupBox);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label_2, 4, 0, 1, 1);

        kcfg_HintVisibleTime = new QDoubleSpinBox(appearanceGroupBox);
        kcfg_HintVisibleTime->setObjectName(QString::fromUtf8("kcfg_HintVisibleTime"));
        QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(kcfg_HintVisibleTime->sizePolicy().hasHeightForWidth());
        kcfg_HintVisibleTime->setSizePolicy(sizePolicy2);
        kcfg_HintVisibleTime->setDecimals(1);
        kcfg_HintVisibleTime->setMinimum(1);
        kcfg_HintVisibleTime->setMaximum(10);
        kcfg_HintVisibleTime->setSingleStep(0.5);
        kcfg_HintVisibleTime->setValue(5);

        gridLayout_2->addWidget(kcfg_HintVisibleTime, 4, 1, 1, 1);

        line = new QFrame(appearanceGroupBox);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        gridLayout_2->addWidget(line, 3, 0, 1, 2);


        verticalLayout_2->addWidget(appearanceGroupBox);

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

        verticalLayout_2->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        label_3->setBuddy(engineExecutable);
        label->setBuddy(engineParameters);
        label_2->setBuddy(kcfg_HintVisibleTime);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_ShowBoardLabels, kcfg_HintVisibleTime);

        retranslateUi(GeneralConfig);

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

    void retranslateUi(QWidget *GeneralConfig)
    {
        backendGroupBox->setTitle(tr2i18n("Backend", 0));
        label_3->setText(tr2i18n("Executable:", 0));
#ifndef UI_QT_NO_TOOLTIP
        engineExecutable->setToolTip(tr2i18n("Select the executable file to start the Go engine", 0));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("Parameters:", 0));
#ifndef UI_QT_NO_TOOLTIP
        engineParameters->setToolTip(tr2i18n("Add here the necessary parameters to start the Engine in GTP mode", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        kcfg_EngineCommand->setToolTip(tr2i18n("This is the resulting engine command which will be used by Kigo", 0));
#endif // QT_NO_TOOLTIP
        kcfg_EngineCommand->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        engineLed->setToolTip(tr2i18n("Indicates whether the Go engine works correctly", 0));
#endif // QT_NO_TOOLTIP
        label_4->setText(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Please select a Go engine that supports the <span style=\" font-style:italic;\">GnuGo Text Protocol (GTP)</span>. The indicator light turns green when the selected backend is working.</p></body></html>", 0));
        appearanceGroupBox->setTitle(tr2i18n("Appearance", 0));
        kcfg_ShowBoardLabels->setText(tr2i18n("Display Board Labels", 0));
        label_2->setText(tr2i18n("Hint Visibility Time:", 0));
        kcfg_HintVisibleTime->setSuffix(tr2i18n(" Seconds", 0));
        Q_UNUSED(GeneralConfig);
    } // retranslateUi

};

namespace Ui {
    class GeneralConfig: public Ui_GeneralConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERALCONFIG_H

