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

/********************************************************************************
** 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/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpinBox>
#include <QtGui/QTreeView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "knuminput.h"
#include "minimapview.h"

QT_BEGIN_NAMESPACE

class Ui_newGameDialog
{
public:
    QHBoxLayout *horizontalLayout;
    QGroupBox *groupBox_2;
    QGridLayout *gridLayout_2;
    QTreeView *playerList;
    QPushButton *addPlayerButton;
    QPushButton *removePlayerButton;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *label_2;
    KIntSpinBox *neutralPlanetsSB;
    QLabel *label_3;
    KIntSpinBox *widthSB;
    QLabel *label_4;
    KIntSpinBox *heightSB;
    MiniMapView *map;
    QLabel *label_6;
    QSpinBox *ProductionSB;
    QDoubleSpinBox *KillPercentageSB;
    QLabel *label_5;
    QPushButton *randomizeMap;
    QLabel *label;
    QComboBox *OwnerCB;
    QGroupBox *groupBox_3;
    QVBoxLayout *verticalLayout;
    QCheckBox *BlindMapCB;
    QCheckBox *CumulativeProductionCB;
    QCheckBox *ProductionAfterConquereCB;
    QGroupBox *groupBox_4;
    QGridLayout *gridLayout_3;
    QCheckBox *NeutralsShowShipsCB;
    QCheckBox *NeutralsShowStatsCB;
    QLabel *label_7;
    QSpinBox *NeutralsProductionSB;

    void setupUi(QWidget *newGameDialog)
    {
        if (newGameDialog->objectName().isEmpty())
            newGameDialog->setObjectName(QString::fromUtf8("newGameDialog"));
        newGameDialog->resize(857, 329);
        horizontalLayout = new QHBoxLayout(newGameDialog);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        groupBox_2 = new QGroupBox(newGameDialog);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth());
        groupBox_2->setSizePolicy(sizePolicy);
        gridLayout_2 = new QGridLayout(groupBox_2);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        playerList = new QTreeView(groupBox_2);
        playerList->setObjectName(QString::fromUtf8("playerList"));
        playerList->setRootIsDecorated(false);
        playerList->setUniformRowHeights(true);
        playerList->setItemsExpandable(false);

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

        addPlayerButton = new QPushButton(groupBox_2);
        addPlayerButton->setObjectName(QString::fromUtf8("addPlayerButton"));

        gridLayout_2->addWidget(addPlayerButton, 1, 0, 1, 1);

        removePlayerButton = new QPushButton(groupBox_2);
        removePlayerButton->setObjectName(QString::fromUtf8("removePlayerButton"));

        gridLayout_2->addWidget(removePlayerButton, 1, 1, 1, 1);


        horizontalLayout->addWidget(groupBox_2);

        groupBox = new QGroupBox(newGameDialog);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy1);
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_2 = new QLabel(groupBox);
        label_2->setObjectName(QString::fromUtf8("label_2"));

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

        neutralPlanetsSB = new KIntSpinBox(groupBox);
        neutralPlanetsSB->setObjectName(QString::fromUtf8("neutralPlanetsSB"));
        neutralPlanetsSB->setMinimum(0);
        neutralPlanetsSB->setMaximum(90);
        neutralPlanetsSB->setValue(5);

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

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QString::fromUtf8("label_3"));

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

        widthSB = new KIntSpinBox(groupBox);
        widthSB->setObjectName(QString::fromUtf8("widthSB"));
        widthSB->setMinimum(4);
        widthSB->setMaximum(30);
        widthSB->setValue(16);

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

        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));

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

        heightSB = new KIntSpinBox(groupBox);
        heightSB->setObjectName(QString::fromUtf8("heightSB"));
        heightSB->setMinimum(4);
        heightSB->setMaximum(30);
        heightSB->setValue(16);

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

        map = new MiniMapView(groupBox);
        map->setObjectName(QString::fromUtf8("map"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(map->sizePolicy().hasHeightForWidth());
        map->setSizePolicy(sizePolicy2);

        gridLayout->addWidget(map, 3, 0, 2, 3);

        label_6 = new QLabel(groupBox);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        gridLayout->addWidget(label_6, 7, 0, 1, 1);

        ProductionSB = new QSpinBox(groupBox);
        ProductionSB->setObjectName(QString::fromUtf8("ProductionSB"));
        ProductionSB->setMinimum(-100);
        ProductionSB->setMaximum(100);
        ProductionSB->setValue(10);

        gridLayout->addWidget(ProductionSB, 7, 2, 1, 1);

        KillPercentageSB = new QDoubleSpinBox(groupBox);
        KillPercentageSB->setObjectName(QString::fromUtf8("KillPercentageSB"));
        KillPercentageSB->setDecimals(3);
        KillPercentageSB->setMaximum(1);
        KillPercentageSB->setSingleStep(0.05);
        KillPercentageSB->setValue(0.4);

        gridLayout->addWidget(KillPercentageSB, 6, 2, 1, 1);

        label_5 = new QLabel(groupBox);
        label_5->setObjectName(QString::fromUtf8("label_5"));

        gridLayout->addWidget(label_5, 6, 0, 1, 1);

        randomizeMap = new QPushButton(groupBox);
        randomizeMap->setObjectName(QString::fromUtf8("randomizeMap"));

        gridLayout->addWidget(randomizeMap, 8, 0, 1, 1);

        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));

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

        OwnerCB = new QComboBox(groupBox);
        OwnerCB->setObjectName(QString::fromUtf8("OwnerCB"));

        gridLayout->addWidget(OwnerCB, 5, 2, 1, 1);


        horizontalLayout->addWidget(groupBox);

        groupBox_3 = new QGroupBox(newGameDialog);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        sizePolicy1.setHeightForWidth(groupBox_3->sizePolicy().hasHeightForWidth());
        groupBox_3->setSizePolicy(sizePolicy1);
        verticalLayout = new QVBoxLayout(groupBox_3);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        BlindMapCB = new QCheckBox(groupBox_3);
        BlindMapCB->setObjectName(QString::fromUtf8("BlindMapCB"));

        verticalLayout->addWidget(BlindMapCB);

        CumulativeProductionCB = new QCheckBox(groupBox_3);
        CumulativeProductionCB->setObjectName(QString::fromUtf8("CumulativeProductionCB"));

        verticalLayout->addWidget(CumulativeProductionCB);

        ProductionAfterConquereCB = new QCheckBox(groupBox_3);
        ProductionAfterConquereCB->setObjectName(QString::fromUtf8("ProductionAfterConquereCB"));
        ProductionAfterConquereCB->setChecked(true);

        verticalLayout->addWidget(ProductionAfterConquereCB);

        groupBox_4 = new QGroupBox(groupBox_3);
        groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
        groupBox_4->setFlat(false);
        groupBox_4->setCheckable(false);
        groupBox_4->setChecked(false);
        gridLayout_3 = new QGridLayout(groupBox_4);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        NeutralsShowShipsCB = new QCheckBox(groupBox_4);
        NeutralsShowShipsCB->setObjectName(QString::fromUtf8("NeutralsShowShipsCB"));

        gridLayout_3->addWidget(NeutralsShowShipsCB, 0, 0, 1, 2);

        NeutralsShowStatsCB = new QCheckBox(groupBox_4);
        NeutralsShowStatsCB->setObjectName(QString::fromUtf8("NeutralsShowStatsCB"));

        gridLayout_3->addWidget(NeutralsShowStatsCB, 1, 0, 1, 2);

        label_7 = new QLabel(groupBox_4);
        label_7->setObjectName(QString::fromUtf8("label_7"));

        gridLayout_3->addWidget(label_7, 2, 0, 1, 1);

        NeutralsProductionSB = new QSpinBox(groupBox_4);
        NeutralsProductionSB->setObjectName(QString::fromUtf8("NeutralsProductionSB"));
        NeutralsProductionSB->setMaximum(100);
        NeutralsProductionSB->setValue(1);

        gridLayout_3->addWidget(NeutralsProductionSB, 2, 1, 1, 1);


        verticalLayout->addWidget(groupBox_4);


        horizontalLayout->addWidget(groupBox_3);

#ifndef UI_QT_NO_SHORTCUT
        label_2->setBuddy(neutralPlanetsSB);
        label_3->setBuddy(widthSB);
        label_4->setBuddy(heightSB);
        label_6->setBuddy(neutralPlanetsSB);
        label_5->setBuddy(neutralPlanetsSB);
#endif // QT_NO_SHORTCUT

        retranslateUi(newGameDialog);

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

    void retranslateUi(QWidget *newGameDialog)
    {
        newGameDialog->setWindowTitle(tr2i18n("Dialog", 0));
        groupBox_2->setTitle(tr2i18n("Players", 0));
        addPlayerButton->setText(tr2i18n("&Add", 0));
        removePlayerButton->setText(tr2i18n("&Remove", 0));
        groupBox->setTitle(tr2i18n("Map", 0));
        label_2->setText(tr2i18n("&Neutral planets:", 0));
        label_3->setText(tr2i18n("&Width:", 0));
        label_4->setText(tr2i18n("&Height:", 0));
        label_6->setText(tr2i18n("Production:", 0));
        label_5->setText(tr2i18n("Kill Percentage:", 0));
        randomizeMap->setText(tr2i18n("&Randomize", 0));
        label->setText(tr2i18n("Owner", 0));
        groupBox_3->setTitle(tr2i18n("Options", 0));
        BlindMapCB->setText(tr2i18n("Blind Map", 0));
        CumulativeProductionCB->setText(tr2i18n("Cumulative Production", 0));
        ProductionAfterConquereCB->setText(tr2i18n("Production After Capture", 0));
        groupBox_4->setTitle(tr2i18n("Neutrals", 0));
        NeutralsShowShipsCB->setText(tr2i18n("Show Ships", 0));
        NeutralsShowStatsCB->setText(tr2i18n("Show Stats", 0));
        label_7->setText(tr2i18n("Production", 0));
    } // retranslateUi

};

namespace Ui {
    class newGameDialog: public Ui_newGameDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // NEWGAMEDIALOG_H

