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

/*
Enables to choose the number of players and the game skin used
*/

/********************************************************************************
** Form generated from reading UI file 'newGameDialog.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_NEWGAMEDIALOG_H
#define UI_NEWGAMEDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QFrame>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "knuminput.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_NewGameDialog
{
public:
    QVBoxLayout *verticalLayout_4;
    QHBoxLayout *horizontalLayout;
    QVBoxLayout *verticalLayout_2;
    QLabel *textLabel1;
    KIntSpinBox *playersNumberEntry;
    QVBoxLayout *verticalLayout;
    QLabel *localPlayersNumberLabel;
    KIntSpinBox *localPlayersNumberEntry;
    QVBoxLayout *verticalLayout_3;
    QLabel *tcpPortLabel;
    KIntSpinBox *tcpPortEntry;
    QFrame *line1;
    QHBoxLayout *horizontalLayout_4;
    QLabel *textLabel2;
    QComboBox *skinCombo;
    KPushButton *ghnsbutton;
    QLabel *skinDescLabel;
    QHBoxLayout *horizontalLayout_3;
    QGroupBox *goalGroup;
    QVBoxLayout *vboxLayout;
    QRadioButton *radioWorld;
    QRadioButton *radioGoal;
    QSpacerItem *spacerItem;
    QLabel *skinSnapshotPixmap;
    QHBoxLayout *horizontalLayout_2;
    KPushButton *cancelButton;
    QSpacerItem *horizontalSpacer;
    KPushButton *nextButton;

    void setupUi(QWidget *NewGameDialog)
    {
        if (NewGameDialog->objectName().isEmpty())
            NewGameDialog->setObjectName(QString::fromUtf8("NewGameDialog"));
        NewGameDialog->resize(615, 417);
        NewGameDialog->setProperty("sizeGripEnabled", QVariant(true));
        verticalLayout_4 = new QVBoxLayout(NewGameDialog);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        textLabel1 = new QLabel(NewGameDialog);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

        verticalLayout_2->addWidget(textLabel1);

        playersNumberEntry = new KIntSpinBox(NewGameDialog);
        playersNumberEntry->setObjectName(QString::fromUtf8("playersNumberEntry"));

        verticalLayout_2->addWidget(playersNumberEntry);


        horizontalLayout->addLayout(verticalLayout_2);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        localPlayersNumberLabel = new QLabel(NewGameDialog);
        localPlayersNumberLabel->setObjectName(QString::fromUtf8("localPlayersNumberLabel"));

        verticalLayout->addWidget(localPlayersNumberLabel);

        localPlayersNumberEntry = new KIntSpinBox(NewGameDialog);
        localPlayersNumberEntry->setObjectName(QString::fromUtf8("localPlayersNumberEntry"));

        verticalLayout->addWidget(localPlayersNumberEntry);


        horizontalLayout->addLayout(verticalLayout);

        verticalLayout_3 = new QVBoxLayout();
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        tcpPortLabel = new QLabel(NewGameDialog);
        tcpPortLabel->setObjectName(QString::fromUtf8("tcpPortLabel"));

        verticalLayout_3->addWidget(tcpPortLabel);

        tcpPortEntry = new KIntSpinBox(NewGameDialog);
        tcpPortEntry->setObjectName(QString::fromUtf8("tcpPortEntry"));
        tcpPortEntry->setMinimum(1);
        tcpPortEntry->setMaximum(32767);
        tcpPortEntry->setValue(20000);

        verticalLayout_3->addWidget(tcpPortEntry);


        horizontalLayout->addLayout(verticalLayout_3);


        verticalLayout_4->addLayout(horizontalLayout);

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

        verticalLayout_4->addWidget(line1);

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        textLabel2 = new QLabel(NewGameDialog);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setWordWrap(false);

        horizontalLayout_4->addWidget(textLabel2);

        skinCombo = new QComboBox(NewGameDialog);
        skinCombo->setObjectName(QString::fromUtf8("skinCombo"));

        horizontalLayout_4->addWidget(skinCombo);

        ghnsbutton = new KPushButton(NewGameDialog);
        ghnsbutton->setObjectName(QString::fromUtf8("ghnsbutton"));

        horizontalLayout_4->addWidget(ghnsbutton);


        verticalLayout_4->addLayout(horizontalLayout_4);

        skinDescLabel = new QLabel(NewGameDialog);
        skinDescLabel->setObjectName(QString::fromUtf8("skinDescLabel"));
        skinDescLabel->setAlignment(Qt::AlignVCenter);
        skinDescLabel->setWordWrap(false);

        verticalLayout_4->addWidget(skinDescLabel);

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        goalGroup = new QGroupBox(NewGameDialog);
        goalGroup->setObjectName(QString::fromUtf8("goalGroup"));
        vboxLayout = new QVBoxLayout(goalGroup);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        radioWorld = new QRadioButton(goalGroup);
        radioWorld->setObjectName(QString::fromUtf8("radioWorld"));

        vboxLayout->addWidget(radioWorld);

        radioGoal = new QRadioButton(goalGroup);
        radioGoal->setObjectName(QString::fromUtf8("radioGoal"));
        radioGoal->setChecked(true);

        vboxLayout->addWidget(radioGoal);

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

        vboxLayout->addItem(spacerItem);


        horizontalLayout_3->addWidget(goalGroup);

        skinSnapshotPixmap = new QLabel(NewGameDialog);
        skinSnapshotPixmap->setObjectName(QString::fromUtf8("skinSnapshotPixmap"));
        QSizePolicy sizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(skinSnapshotPixmap->sizePolicy().hasHeightForWidth());
        skinSnapshotPixmap->setSizePolicy(sizePolicy);
        skinSnapshotPixmap->setScaledContents(true);
        skinSnapshotPixmap->setWordWrap(false);

        horizontalLayout_3->addWidget(skinSnapshotPixmap);


        verticalLayout_4->addLayout(horizontalLayout_3);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        cancelButton = new KPushButton(NewGameDialog);
        cancelButton->setObjectName(QString::fromUtf8("cancelButton"));

        horizontalLayout_2->addWidget(cancelButton);

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

        horizontalLayout_2->addItem(horizontalSpacer);

        nextButton = new KPushButton(NewGameDialog);
        nextButton->setObjectName(QString::fromUtf8("nextButton"));

        horizontalLayout_2->addWidget(nextButton);


        verticalLayout_4->addLayout(horizontalLayout_2);

        QWidget::setTabOrder(skinCombo, playersNumberEntry);
        QWidget::setTabOrder(playersNumberEntry, radioWorld);
        QWidget::setTabOrder(radioWorld, radioGoal);

        retranslateUi(NewGameDialog);

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

    void retranslateUi(QWidget *NewGameDialog)
    {
        NewGameDialog->setWindowTitle(tr2i18n("Ksirk - New game properties", 0));
        textLabel1->setText(tr2i18n("Total number of players:", 0));
#ifndef UI_QT_NO_TOOLTIP
        playersNumberEntry->setToolTip(tr2i18n("Spin this to choose the number of players.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        playersNumberEntry->setWhatsThis(tr2i18n("A spin box to choose the number of players", 0));
#endif // QT_NO_WHATSTHIS
        localPlayersNumberLabel->setText(tr2i18n("Number of local players:", 0));
        tcpPortLabel->setText(tr2i18n("TCP port on which to offer connections:", 0));
        textLabel2->setText(tr2i18n("Skin:", 0));
#ifndef UI_QT_NO_TOOLTIP
        skinCombo->setToolTip(tr2i18n("Choose the skin (map, nationalities, etc.) to use for this game.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        skinCombo->setWhatsThis(tr2i18n("A combo listing all the available skins.", 0));
#endif // QT_NO_WHATSTHIS
        ghnsbutton->setText(tr2i18n("Download New Skins", 0));
        skinDescLabel->setText(tr2i18n("skinDescLabel", 0));
        goalGroup->setTitle(tr2i18n("Goal Type", 0));
#ifndef UI_QT_NO_TOOLTIP
        radioWorld->setToolTip(tr2i18n("Choose this for players to have to conquer all the world to win.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        radioWorld->setWhatsThis(tr2i18n("In this mode, a player will have to conquer all the world to win.", 0));
#endif // QT_NO_WHATSTHIS
        radioWorld->setText(tr2i18n("World con&quest", 0));
#ifndef UI_QT_NO_TOOLTIP
        radioGoal->setToolTip(tr2i18n("Choose this to have a goal assigned to each player.", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        radioGoal->setWhatsThis(tr2i18n("In this mode, a goal will be assigned to each player, which he will have to reach in order to win.", 0));
#endif // QT_NO_WHATSTHIS
        radioGoal->setText(tr2i18n("Reach a goa&l", 0));
        radioGoal->setShortcut(QString());
        skinSnapshotPixmap->setText(QString());
        cancelButton->setText(tr2i18n("Cancel", 0));
        nextButton->setText(tr2i18n("Next >>", 0));
    } // retranslateUi

};

namespace Ui {
    class NewGameDialog: public Ui_NewGameDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NEWGAMEDIALOG_H

