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

/********************************************************************************
** Form generated from reading UI file 'general.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_GENERAL_H
#define UI_GENERAL_H

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

QT_BEGIN_NAMESPACE

class Ui_General
{
public:
    QVBoxLayout *vboxLayout;
    QFrame *generalFrame;
    QVBoxLayout *vboxLayout1;
    QGroupBox *gameTypeGroup;
    QGridLayout *gridLayout;
    KComboBox *kcfg_GameType;
    QLabel *gameTypeLabel;
    QGroupBox *behaviorGroup;
    QVBoxLayout *vboxLayout2;
    QCheckBox *kcfg_AcceleratorBlocked;
    QGroupBox *playerNamesGroup;
    QGridLayout *gridLayout1;
    KLineEdit *kcfg_NamePlayer1;
    KLineEdit *kcfg_NamePlayer2;
    QLabel *namePlayer1Label;
    QLabel *namePlayer2Label;

    void setupUi(QWidget *General)
    {
        if (General->objectName().isEmpty())
            General->setObjectName(QString::fromUtf8("General"));
        General->resize(400, 379);
        vboxLayout = new QVBoxLayout(General);
        vboxLayout->setSpacing(0);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        generalFrame = new QFrame(General);
        generalFrame->setObjectName(QString::fromUtf8("generalFrame"));
        generalFrame->setFrameShape(QFrame::StyledPanel);
        generalFrame->setFrameShadow(QFrame::Plain);
        generalFrame->setLineWidth(0);
        vboxLayout1 = new QVBoxLayout(generalFrame);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        gameTypeGroup = new QGroupBox(generalFrame);
        gameTypeGroup->setObjectName(QString::fromUtf8("gameTypeGroup"));
        gridLayout = new QGridLayout(gameTypeGroup);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        kcfg_GameType = new KComboBox(gameTypeGroup);
        kcfg_GameType->setObjectName(QString::fromUtf8("kcfg_GameType"));

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

        gameTypeLabel = new QLabel(gameTypeGroup);
        gameTypeLabel->setObjectName(QString::fromUtf8("gameTypeLabel"));
        gameTypeLabel->setWordWrap(false);

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


        vboxLayout1->addWidget(gameTypeGroup);

        behaviorGroup = new QGroupBox(generalFrame);
        behaviorGroup->setObjectName(QString::fromUtf8("behaviorGroup"));
        vboxLayout2 = new QVBoxLayout(behaviorGroup);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        kcfg_AcceleratorBlocked = new QCheckBox(behaviorGroup);
        kcfg_AcceleratorBlocked->setObjectName(QString::fromUtf8("kcfg_AcceleratorBlocked"));

        vboxLayout2->addWidget(kcfg_AcceleratorBlocked);


        vboxLayout1->addWidget(behaviorGroup);

        playerNamesGroup = new QGroupBox(generalFrame);
        playerNamesGroup->setObjectName(QString::fromUtf8("playerNamesGroup"));
        gridLayout1 = new QGridLayout(playerNamesGroup);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        kcfg_NamePlayer1 = new KLineEdit(playerNamesGroup);
        kcfg_NamePlayer1->setObjectName(QString::fromUtf8("kcfg_NamePlayer1"));

        gridLayout1->addWidget(kcfg_NamePlayer1, 0, 1, 1, 1);

        kcfg_NamePlayer2 = new KLineEdit(playerNamesGroup);
        kcfg_NamePlayer2->setObjectName(QString::fromUtf8("kcfg_NamePlayer2"));

        gridLayout1->addWidget(kcfg_NamePlayer2, 1, 1, 1, 1);

        namePlayer1Label = new QLabel(playerNamesGroup);
        namePlayer1Label->setObjectName(QString::fromUtf8("namePlayer1Label"));
        namePlayer1Label->setWordWrap(false);

        gridLayout1->addWidget(namePlayer1Label, 0, 0, 1, 1);

        namePlayer2Label = new QLabel(playerNamesGroup);
        namePlayer2Label->setObjectName(QString::fromUtf8("namePlayer2Label"));
        namePlayer2Label->setWordWrap(false);

        gridLayout1->addWidget(namePlayer2Label, 1, 0, 1, 1);


        vboxLayout1->addWidget(playerNamesGroup);


        vboxLayout->addWidget(generalFrame);


        retranslateUi(General);

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

    void retranslateUi(QWidget *General)
    {
        gameTypeGroup->setTitle(tr2i18n("Game Type", 0));
        kcfg_GameType->clear();
        kcfg_GameType->insertItems(0, QStringList()
         << tr2i18n("KSnakeDuel: Player vs Computer", 0)
         << tr2i18n("KSnakeDuel: Player vs Player", 0)
         << tr2i18n("KSnake: Single player", 0)
        );
        gameTypeLabel->setText(tr2i18n("Game type:", 0));
        behaviorGroup->setTitle(tr2i18n("Behavior", 0));
        kcfg_AcceleratorBlocked->setText(tr2i18n("&Disable acceleration", 0));
        playerNamesGroup->setTitle(tr2i18n("Player Names", 0));
        namePlayer1Label->setText(tr2i18n("Right player / KSnake:", 0));
        namePlayer2Label->setText(tr2i18n("Left player:", 0));
        Q_UNUSED(General);
    } // retranslateUi

};

namespace Ui {
    class General: public Ui_General {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERAL_H

