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

/********************************************************************************
** Form generated from reading UI file 'fifteenPuzzleConfig.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_FIFTEENPUZZLECONFIG_H
#define UI_FIFTEENPUZZLECONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QWidget>
#include "kcolorcombo.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_fifteenPuzzleConfig
{
public:
    QGridLayout *gridLayout;
    QLabel *label_2;
    QSpinBox *size;
    QRadioButton *rb_identical;
    KColorCombo *color;
    QRadioButton *rb_split;
    KUrlRequester *urlRequester;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_4;
    QLabel *lb_showNumbers;
    QCheckBox *cb_showNumerals;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *fifteenPuzzleConfig)
    {
        if (fifteenPuzzleConfig->objectName().isEmpty())
            fifteenPuzzleConfig->setObjectName(QString::fromUtf8("fifteenPuzzleConfig"));
        fifteenPuzzleConfig->resize(306, 112);
        gridLayout = new QGridLayout(fifteenPuzzleConfig);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_2 = new QLabel(fifteenPuzzleConfig);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        size = new QSpinBox(fifteenPuzzleConfig);
        size->setObjectName(QString::fromUtf8("size"));
        size->setMinimum(4);

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

        rb_identical = new QRadioButton(fifteenPuzzleConfig);
        rb_identical->setObjectName(QString::fromUtf8("rb_identical"));
        rb_identical->setChecked(true);

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

        color = new KColorCombo(fifteenPuzzleConfig);
        color->setObjectName(QString::fromUtf8("color"));

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

        rb_split = new QRadioButton(fifteenPuzzleConfig);
        rb_split->setObjectName(QString::fromUtf8("rb_split"));

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

        urlRequester = new KUrlRequester(fifteenPuzzleConfig);
        urlRequester->setObjectName(QString::fromUtf8("urlRequester"));
        urlRequester->setEnabled(false);
        urlRequester->setFileDialogModality(Qt::NonModal);

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

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalSpacer_4 = new QSpacerItem(13, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer_4);

        lb_showNumbers = new QLabel(fifteenPuzzleConfig);
        lb_showNumbers->setObjectName(QString::fromUtf8("lb_showNumbers"));
        lb_showNumbers->setEnabled(false);
        lb_showNumbers->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout->addWidget(lb_showNumbers);


        gridLayout->addLayout(horizontalLayout, 3, 0, 1, 2);

        cb_showNumerals = new QCheckBox(fifteenPuzzleConfig);
        cb_showNumerals->setObjectName(QString::fromUtf8("cb_showNumerals"));
        cb_showNumerals->setEnabled(false);

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

        verticalSpacer = new QSpacerItem(70, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(verticalSpacer, 4, 1, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        label_2->setBuddy(size);
        lb_showNumbers->setBuddy(cb_showNumerals);
#endif // QT_NO_SHORTCUT

        retranslateUi(fifteenPuzzleConfig);
        QObject::connect(rb_split, SIGNAL(toggled(bool)), urlRequester, SLOT(setEnabled(bool)));
        QObject::connect(rb_split, SIGNAL(toggled(bool)), color, SLOT(setDisabled(bool)));
        QObject::connect(rb_split, SIGNAL(toggled(bool)), cb_showNumerals, SLOT(setEnabled(bool)));
        QObject::connect(rb_split, SIGNAL(toggled(bool)), lb_showNumbers, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *fifteenPuzzleConfig)
    {
        fifteenPuzzleConfig->setWindowTitle(tr2i18n("Configure Fifteen Puzzle", 0));
        label_2->setText(tr2i18n("Size:", 0));
        size->setSuffix(tr2i18n(" pieces wide", 0));
        rb_identical->setText(tr2i18n("Use plain pieces:", 0));
        rb_split->setText(tr2i18n("Use custom image:", 0));
        lb_showNumbers->setText(tr2i18n("Show numerals:", 0));
        cb_showNumerals->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class fifteenPuzzleConfig: public Ui_fifteenPuzzleConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // FIFTEENPUZZLECONFIG_H

