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

/********************************************************************************
** Form generated from reading UI file 'bballConfig.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_BBALLCONFIG_H
#define UI_BBALLCONFIG_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/QSlider>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "kcolorbutton.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_bballConfig
{
public:
    QGridLayout *gridLayout;
    QLabel *label_5;
    KUrlRequester *imageUrl;
    QHBoxLayout *hboxLayout;
    KColorButton *colourize;
    QCheckBox *colourizeEnabled;
    QSpacerItem *horizontalSpacer_2;
    QLabel *colourizeOpacityLabel;
    QSlider *colourizeOpacitySlider;
    QLabel *label_6;
    QSlider *gravity;
    QSlider *friction;
    QSlider *resitution;
    QLabel *label_7;
    QCheckBox *soundEnabled;
    QSlider *soundVolume;
    QLabel *soundFileLabel;
    KUrlRequester *soundFile;
    QLabel *label_9;
    QSpacerItem *verticalSpacer;
    QLabel *label_4;
    QLabel *colourizeLabel;
    QLabel *label;
    QLabel *label_2;
    QLabel *label_3;
    QLabel *label_8;
    QLabel *soundVolumeLabel;
    QCheckBox *autoBounceEnabled;
    QLabel *label_10;
    QLabel *autoBounceStrengthLabel;
    QSpacerItem *horizontalSpacer;
    QSlider *autoBounceStrength;

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

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

        imageUrl = new KUrlRequester(bballConfig);
        imageUrl->setObjectName(QString::fromUtf8("imageUrl"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(imageUrl->sizePolicy().hasHeightForWidth());
        imageUrl->setSizePolicy(sizePolicy);
        imageUrl->setFileDialogModality(Qt::NonModal);

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        colourize = new KColorButton(bballConfig);
        colourize->setObjectName(QString::fromUtf8("colourize"));
        colourize->setEnabled(false);

        hboxLayout->addWidget(colourize);

        colourizeEnabled = new QCheckBox(bballConfig);
        colourizeEnabled->setObjectName(QString::fromUtf8("colourizeEnabled"));

        hboxLayout->addWidget(colourizeEnabled);

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

        hboxLayout->addItem(horizontalSpacer_2);


        gridLayout->addLayout(hboxLayout, 2, 2, 1, 2);

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

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

        colourizeOpacitySlider = new QSlider(bballConfig);
        colourizeOpacitySlider->setObjectName(QString::fromUtf8("colourizeOpacitySlider"));
        colourizeOpacitySlider->setOrientation(Qt::Horizontal);

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

        label_6 = new QLabel(bballConfig);
        label_6->setObjectName(QString::fromUtf8("label_6"));
        label_6->setFont(font);

        gridLayout->addWidget(label_6, 4, 0, 1, 3);

        gravity = new QSlider(bballConfig);
        gravity->setObjectName(QString::fromUtf8("gravity"));
        gravity->setMaximum(500);
        gravity->setOrientation(Qt::Horizontal);

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

        friction = new QSlider(bballConfig);
        friction->setObjectName(QString::fromUtf8("friction"));
        friction->setMaximum(30);
        friction->setOrientation(Qt::Horizontal);

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

        resitution = new QSlider(bballConfig);
        resitution->setObjectName(QString::fromUtf8("resitution"));
        resitution->setMaximum(100);
        resitution->setOrientation(Qt::Horizontal);

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

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

        gridLayout->addWidget(label_7, 10, 1, 1, 1);

        soundEnabled = new QCheckBox(bballConfig);
        soundEnabled->setObjectName(QString::fromUtf8("soundEnabled"));

        gridLayout->addWidget(soundEnabled, 10, 2, 1, 1);

        soundVolume = new QSlider(bballConfig);
        soundVolume->setObjectName(QString::fromUtf8("soundVolume"));
        soundVolume->setEnabled(false);
        soundVolume->setOrientation(Qt::Horizontal);

        gridLayout->addWidget(soundVolume, 11, 2, 1, 2);

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

        gridLayout->addWidget(soundFileLabel, 12, 1, 1, 1);

        soundFile = new KUrlRequester(bballConfig);
        soundFile->setObjectName(QString::fromUtf8("soundFile"));
        soundFile->setEnabled(false);
        sizePolicy.setHeightForWidth(soundFile->sizePolicy().hasHeightForWidth());
        soundFile->setSizePolicy(sizePolicy);

        gridLayout->addWidget(soundFile, 12, 2, 1, 2);

        label_9 = new QLabel(bballConfig);
        label_9->setObjectName(QString::fromUtf8("label_9"));
        label_9->setFont(font);

        gridLayout->addWidget(label_9, 13, 0, 1, 2);

        verticalSpacer = new QSpacerItem(361, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);

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

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

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

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

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

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

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

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

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

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

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

        label_8 = new QLabel(bballConfig);
        label_8->setObjectName(QString::fromUtf8("label_8"));
        label_8->setFont(font);

        gridLayout->addWidget(label_8, 9, 0, 1, 3);

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

        gridLayout->addWidget(soundVolumeLabel, 11, 1, 1, 1);

        autoBounceEnabled = new QCheckBox(bballConfig);
        autoBounceEnabled->setObjectName(QString::fromUtf8("autoBounceEnabled"));

        gridLayout->addWidget(autoBounceEnabled, 15, 2, 1, 1);

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

        gridLayout->addWidget(label_10, 15, 1, 1, 1);

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

        gridLayout->addWidget(autoBounceStrengthLabel, 17, 1, 1, 1);

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

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

        autoBounceStrength = new QSlider(bballConfig);
        autoBounceStrength->setObjectName(QString::fromUtf8("autoBounceStrength"));
        autoBounceStrength->setEnabled(false);
        autoBounceStrength->setMaximum(50);
        autoBounceStrength->setOrientation(Qt::Horizontal);

        gridLayout->addWidget(autoBounceStrength, 17, 2, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        colourizeOpacityLabel->setBuddy(colourizeOpacitySlider);
        label_7->setBuddy(soundEnabled);
        soundFileLabel->setBuddy(soundFile);
        label_4->setBuddy(imageUrl);
        colourizeLabel->setBuddy(colourize);
        label->setBuddy(gravity);
        label_2->setBuddy(friction);
        label_3->setBuddy(resitution);
        soundVolumeLabel->setBuddy(soundVolume);
        label_10->setBuddy(autoBounceEnabled);
        autoBounceStrengthLabel->setBuddy(autoBounceStrength);
#endif // QT_NO_SHORTCUT

        retranslateUi(bballConfig);
        QObject::connect(colourizeEnabled, SIGNAL(clicked(bool)), colourize, SLOT(setEnabled(bool)));
        QObject::connect(colourizeEnabled, SIGNAL(clicked(bool)), colourizeOpacitySlider, SLOT(setEnabled(bool)));
        QObject::connect(autoBounceEnabled, SIGNAL(clicked(bool)), autoBounceStrength, SLOT(setEnabled(bool)));
        QObject::connect(autoBounceEnabled, SIGNAL(clicked(bool)), autoBounceStrengthLabel, SLOT(setEnabled(bool)));
        QObject::connect(colourizeEnabled, SIGNAL(clicked(bool)), colourizeLabel, SLOT(setEnabled(bool)));
        QObject::connect(colourizeEnabled, SIGNAL(clicked(bool)), colourizeOpacityLabel, SLOT(setEnabled(bool)));
        QObject::connect(soundEnabled, SIGNAL(clicked(bool)), soundVolumeLabel, SLOT(setEnabled(bool)));
        QObject::connect(soundEnabled, SIGNAL(clicked(bool)), soundVolume, SLOT(setEnabled(bool)));
        QObject::connect(soundEnabled, SIGNAL(clicked(bool)), soundFileLabel, SLOT(setEnabled(bool)));
        QObject::connect(soundEnabled, SIGNAL(clicked(bool)), soundFile, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *bballConfig)
    {
        bballConfig->setWindowTitle(tr2i18n("Configure BbalL!", 0));
        label_5->setText(tr2i18n("Appearance", 0));
        imageUrl->setFilter(tr2i18n("*.png *.gif *.svg *.svgz *.jpeg *.jpg", 0));
        colourizeEnabled->setText(tr2i18n("Enabled", 0));
        colourizeOpacityLabel->setText(tr2i18n("Colorize opacity:", 0));
        label_6->setText(tr2i18n("Physics", 0));
        label_7->setText(tr2i18n("Sound enabled:", 0));
        soundEnabled->setText(QString());
        soundFileLabel->setText(tr2i18n("Bounce effect:", 0));
        label_9->setText(tr2i18n("Auto Bounce", 0));
        label_4->setText(tr2i18n("Image:", 0));
        colourizeLabel->setText(tr2i18n("Colorize:", 0));
        label->setText(tr2i18n("Gravity:", 0));
        label_2->setText(tr2i18n("Friction:", 0));
        label_3->setText(tr2i18n("Restitution:", 0));
        label_8->setText(tr2i18n("Sound", 0));
        soundVolumeLabel->setText(tr2i18n("Volume:", 0));
        autoBounceEnabled->setText(QString());
        label_10->setText(tr2i18n("Auto bounce:", 0));
        autoBounceStrengthLabel->setText(tr2i18n("Auto bounce strength:", 0));
    } // retranslateUi

};

namespace Ui {
    class bballConfig: public Ui_bballConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BBALLCONFIG_H

