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

/********************************************************************************
** Form generated from reading UI file 'lifeConfig.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_LIFECONFIG_H
#define UI_LIFECONFIG_H

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

QT_BEGIN_NAMESPACE

class Ui_lifeConfig
{
public:
    QGridLayout *gridLayout;
    QLabel *label;
    QSpacerItem *horizontalSpacer;
    QLabel *horizontalCellsLabel;
    KIntSpinBox *horizontalCells;
    QLabel *verticalCellsNumber;
    KIntSpinBox *verticalCells;
    QLabel *label_4;
    QCheckBox *vertReflectCheckbox;
    QCheckBox *horizReflectCheckbox;
    QLabel *label_3;
    KIntSpinBox *popDensityNumber;
    QLabel *label_2;
    QLabel *stepIntervalLabel;
    KIntSpinBox *stepInterval;
    QLabel *maxGensNumberLabel;
    KIntSpinBox *maxGensNumber;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *lifeConfig)
    {
        if (lifeConfig->objectName().isEmpty())
            lifeConfig->setObjectName(QString::fromUtf8("lifeConfig"));
        lifeConfig->resize(593, 409);
        gridLayout = new QGridLayout(lifeConfig);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(lifeConfig);
        label->setObjectName(QString::fromUtf8("label"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label->setFont(font);

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

        horizontalSpacer = new QSpacerItem(13, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer, 1, 0, 1, 1);

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

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

        horizontalCells = new KIntSpinBox(lifeConfig);
        horizontalCells->setObjectName(QString::fromUtf8("horizontalCells"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(horizontalCells->sizePolicy().hasHeightForWidth());
        horizontalCells->setSizePolicy(sizePolicy);
        horizontalCells->setMinimumSize(QSize(150, 0));
        horizontalCells->setMinimum(3);
        horizontalCells->setMaximum(999);

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

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

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

        verticalCells = new KIntSpinBox(lifeConfig);
        verticalCells->setObjectName(QString::fromUtf8("verticalCells"));
        sizePolicy.setHeightForWidth(verticalCells->sizePolicy().hasHeightForWidth());
        verticalCells->setSizePolicy(sizePolicy);
        verticalCells->setMinimumSize(QSize(150, 0));
        verticalCells->setMinimum(3);
        verticalCells->setMaximum(999);

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

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

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

        vertReflectCheckbox = new QCheckBox(lifeConfig);
        vertReflectCheckbox->setObjectName(QString::fromUtf8("vertReflectCheckbox"));

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

        horizReflectCheckbox = new QCheckBox(lifeConfig);
        horizReflectCheckbox->setObjectName(QString::fromUtf8("horizReflectCheckbox"));

        gridLayout->addWidget(horizReflectCheckbox, 4, 3, 1, 1);

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

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

        popDensityNumber = new KIntSpinBox(lifeConfig);
        popDensityNumber->setObjectName(QString::fromUtf8("popDensityNumber"));
        sizePolicy.setHeightForWidth(popDensityNumber->sizePolicy().hasHeightForWidth());
        popDensityNumber->setSizePolicy(sizePolicy);
        popDensityNumber->setMinimumSize(QSize(150, 0));
        popDensityNumber->setMinimum(0);
        popDensityNumber->setMaximum(100);

        gridLayout->addWidget(popDensityNumber, 5, 3, 1, 2);

        label_2 = new QLabel(lifeConfig);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setFont(font);

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

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

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

        stepInterval = new KIntSpinBox(lifeConfig);
        stepInterval->setObjectName(QString::fromUtf8("stepInterval"));
        sizePolicy.setHeightForWidth(stepInterval->sizePolicy().hasHeightForWidth());
        stepInterval->setSizePolicy(sizePolicy);
        stepInterval->setMinimumSize(QSize(150, 0));
        stepInterval->setMinimum(1);

        gridLayout->addWidget(stepInterval, 7, 3, 1, 2);

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

        gridLayout->addWidget(maxGensNumberLabel, 8, 1, 1, 2);

        maxGensNumber = new KIntSpinBox(lifeConfig);
        maxGensNumber->setObjectName(QString::fromUtf8("maxGensNumber"));
        sizePolicy.setHeightForWidth(maxGensNumber->sizePolicy().hasHeightForWidth());
        maxGensNumber->setSizePolicy(sizePolicy);
        maxGensNumber->setMinimumSize(QSize(150, 0));
        maxGensNumber->setMinimum(10);
        maxGensNumber->setMaximum(999999);

        gridLayout->addWidget(maxGensNumber, 8, 3, 1, 2);

        verticalSpacer = new QSpacerItem(83, 244, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer, 10, 2, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        horizontalCellsLabel->setBuddy(horizontalCells);
        verticalCellsNumber->setBuddy(verticalCells);
        stepIntervalLabel->setBuddy(stepInterval);
        maxGensNumberLabel->setBuddy(maxGensNumber);
#endif // QT_NO_SHORTCUT

        retranslateUi(lifeConfig);

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

    void retranslateUi(QWidget *lifeConfig)
    {
        label->setText(tr2i18n("Cells Array", 0));
        horizontalCellsLabel->setText(tr2i18n("Horizontal cells:", 0));
        verticalCellsNumber->setText(tr2i18n("Vertical cells:", 0));
        label_4->setText(tr2i18n("Reflect About:", 0));
        vertReflectCheckbox->setText(tr2i18n("Vertical Axis", 0));
        horizReflectCheckbox->setText(tr2i18n("Horizontal Axis", 0));
        label_3->setText(tr2i18n("Initial Population Density:", 0));
        popDensityNumber->setSuffix(tr2i18n(" %", 0));
        label_2->setText(tr2i18n("Update and Restart", 0));
        stepIntervalLabel->setText(tr2i18n("Update every:", 0));
        maxGensNumberLabel->setText(tr2i18n("Restart game every:", 0));
        Q_UNUSED(lifeConfig);
    } // retranslateUi

};

namespace Ui {
    class lifeConfig: public Ui_lifeConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // LIFECONFIG_H

