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

/********************************************************************************
** Form generated from reading UI file 'ksirkgoaldefinition.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_KSIRKGOALDEFINITION_H
#define UI_KSIRKGOALDEFINITION_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDockWidget>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QListWidget>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QTextEdit>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_KsirkGoalDefinition
{
public:
    QWidget *dockWidgetContents;
    QVBoxLayout *verticalLayout_2;
    QGroupBox *groupBox;
    QWidget *layoutWidget;
    QVBoxLayout *verticalLayout;
    QRadioButton *worldtype;
    QRadioButton *playertype;
    QRadioButton *countriestype;
    QRadioButton *continentstype;
    QLabel *label_3;
    QTextEdit *description;
    QFrame *line_2;
    QGridLayout *gridLayout;
    QLabel *label;
    QLabel *label_2;
    KIntSpinBox *nbcountries;
    KIntSpinBox *armiesbycountry;
    QFrame *line;
    QHBoxLayout *horizontalLayout;
    QPushButton *selectcontinentsbutton;
    QCheckBox *anycontinent;
    QListWidget *continentslist;

    void setupUi(QDockWidget *KsirkGoalDefinition)
    {
        if (KsirkGoalDefinition->objectName().isEmpty())
            KsirkGoalDefinition->setObjectName(QString::fromUtf8("KsirkGoalDefinition"));
        KsirkGoalDefinition->resize(288, 772);
        dockWidgetContents = new QWidget();
        dockWidgetContents->setObjectName(QString::fromUtf8("dockWidgetContents"));
        verticalLayout_2 = new QVBoxLayout(dockWidgetContents);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        groupBox = new QGroupBox(dockWidgetContents);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth());
        groupBox->setSizePolicy(sizePolicy);
        layoutWidget = new QWidget(groupBox);
        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
        layoutWidget->setGeometry(QRect(20, 40, 221, 118));
        verticalLayout = new QVBoxLayout(layoutWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        worldtype = new QRadioButton(layoutWidget);
        worldtype->setObjectName(QString::fromUtf8("worldtype"));

        verticalLayout->addWidget(worldtype);

        playertype = new QRadioButton(layoutWidget);
        playertype->setObjectName(QString::fromUtf8("playertype"));

        verticalLayout->addWidget(playertype);

        countriestype = new QRadioButton(layoutWidget);
        countriestype->setObjectName(QString::fromUtf8("countriestype"));

        verticalLayout->addWidget(countriestype);

        continentstype = new QRadioButton(layoutWidget);
        continentstype->setObjectName(QString::fromUtf8("continentstype"));

        verticalLayout->addWidget(continentstype);


        verticalLayout_2->addWidget(groupBox);

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

        verticalLayout_2->addWidget(label_3);

        description = new QTextEdit(dockWidgetContents);
        description->setObjectName(QString::fromUtf8("description"));

        verticalLayout_2->addWidget(description);

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

        verticalLayout_2->addWidget(line_2);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(dockWidgetContents);
        label->setObjectName(QString::fromUtf8("label"));

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

        label_2 = new QLabel(dockWidgetContents);
        label_2->setObjectName(QString::fromUtf8("label_2"));

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

        nbcountries = new KIntSpinBox(dockWidgetContents);
        nbcountries->setObjectName(QString::fromUtf8("nbcountries"));

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

        armiesbycountry = new KIntSpinBox(dockWidgetContents);
        armiesbycountry->setObjectName(QString::fromUtf8("armiesbycountry"));

        gridLayout->addWidget(armiesbycountry, 1, 1, 1, 1);


        verticalLayout_2->addLayout(gridLayout);

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

        verticalLayout_2->addWidget(line);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        selectcontinentsbutton = new QPushButton(dockWidgetContents);
        selectcontinentsbutton->setObjectName(QString::fromUtf8("selectcontinentsbutton"));

        horizontalLayout->addWidget(selectcontinentsbutton);

        anycontinent = new QCheckBox(dockWidgetContents);
        anycontinent->setObjectName(QString::fromUtf8("anycontinent"));

        horizontalLayout->addWidget(anycontinent);


        verticalLayout_2->addLayout(horizontalLayout);

        continentslist = new QListWidget(dockWidgetContents);
        continentslist->setObjectName(QString::fromUtf8("continentslist"));

        verticalLayout_2->addWidget(continentslist);

        KsirkGoalDefinition->setWidget(dockWidgetContents);

        retranslateUi(KsirkGoalDefinition);

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

    void retranslateUi(QDockWidget *KsirkGoalDefinition)
    {
        KsirkGoalDefinition->setWindowTitle(tr2i18n("Goal", 0));
        groupBox->setTitle(tr2i18n("Goal Type", 0));
#ifndef UI_QT_NO_TOOLTIP
        worldtype->setToolTip(tr2i18n("Conquer all the world", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        worldtype->setWhatsThis(tr2i18n("Conquer all the world", 0));
#endif // QT_NO_WHATSTHIS
        worldtype->setText(tr2i18n("World conquest", 0));
#ifndef UI_QT_NO_TOOLTIP
        playertype->setToolTip(tr2i18n("Eliminate a given player", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        playertype->setWhatsThis(tr2i18n("<p>Eliminate a given player. If it is eliminated by another one, you will fall back to a <emphasis>Countries</emphasis> type of goal.</p>", 0));
#endif // QT_NO_WHATSTHIS
        playertype->setText(tr2i18n("Player", 0));
#ifndef UI_QT_NO_TOOLTIP
        countriestype->setToolTip(tr2i18n("Conquer a given number of countries", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        countriestype->setWhatsThis(tr2i18n("Conquer a given number of countries.\n"
"\n"
"You can also make the player to have to put a given number of armies on each country.", 0));
#endif // QT_NO_WHATSTHIS
        countriestype->setText(tr2i18n("Countries", 0));
#ifndef UI_QT_NO_TOOLTIP
        continentstype->setToolTip(tr2i18n("Conquer a given list of continents", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        continentstype->setWhatsThis(tr2i18n("Conquer a given list of continents. You can also let the player choose one of their target continents.", 0));
#endif // QT_NO_WHATSTHIS
        continentstype->setText(tr2i18n("Continents", 0));
        label_3->setText(tr2i18n("Description:", 0));
#ifndef UI_QT_NO_TOOLTIP
        description->setToolTip(tr2i18n("Text describing the goal", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        description->setWhatsThis(tr2i18n("<p>Text describing the goal. It should include several placeholders for various data depending on the goal type:</p><ul><li><i>World Conquest</i>: none</li><li><i>Player</i>: one for the player name and one for the number of countries fallback</li><li><i>Countries</i>: one for the number of countries and possibly a second one for the number of armies to put on each country</li><li><i>Continents</i>: one for each continent to conquer</li></ul>", 0));
#endif // QT_NO_WHATSTHIS
        label->setText(tr2i18n("Countries nb:", 0));
        label_2->setText(tr2i18n("Armies by country:", 0));
#ifndef UI_QT_NO_TOOLTIP
        nbcountries->setToolTip(tr2i18n("Number of countries to conquer", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        nbcountries->setWhatsThis(tr2i18n("<p>Number of countries to conquer in a <i>Countries</i> goal or as a fallback in a <i>Player</i> goal.</p>", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        armiesbycountry->setToolTip(tr2i18n("Number of armies to put on each country", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        armiesbycountry->setWhatsThis(tr2i18n("<p>Number of armies to put on each country in a <i>Countries</i> goal.</p>", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_TOOLTIP
        selectcontinentsbutton->setToolTip(tr2i18n("Select the continents to conquer", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        selectcontinentsbutton->setWhatsThis(tr2i18n("<p>Click this button to select the continents to conquer in a <i>Continents</i> goal.</p><p>You will be prompted with a list of this world's continents. Select those to conquer with the mouse and the Ctrl and Shift keys.</p>", 0));
#endif // QT_NO_WHATSTHIS
        selectcontinentsbutton->setText(tr2i18n("Select Continents", 0));
#ifndef UI_QT_NO_TOOLTIP
        anycontinent->setToolTip(tr2i18n("Check to let the player choose one of the continents to conquer", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        anycontinent->setWhatsThis(tr2i18n("Check to let the player choose one of the continents to conquer", 0));
#endif // QT_NO_WHATSTHIS
        anycontinent->setText(tr2i18n("Any", 0));
#ifndef UI_QT_NO_TOOLTIP
        continentslist->setToolTip(tr2i18n("List of the continents to conquer", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        continentslist->setWhatsThis(tr2i18n("<p>List of the continents to conquer in a <i>Continents</i> goal.</p><p>You can change this list by clicking on the \"Select continents\" button above.</p>", 0));
#endif // QT_NO_WHATSTHIS
    } // retranslateUi

};

namespace Ui {
    class KsirkGoalDefinition: public Ui_KsirkGoalDefinition {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSIRKGOALDEFINITION_H

