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

/********************************************************************************
** Form generated from reading UI file 'wobblywindows_config.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_WOBBLYWINDOWS_CONFIG_H
#define UI_WOBBLYWINDOWS_CONFIG_H

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

QT_BEGIN_NAMESPACE

class Ui_WobblyWindowsEffectConfigForm
{
public:
    QGridLayout *gridLayout;
    QGroupBox *advancedGroup;
    QGridLayout *gridLayout_3;
    QLabel *label_4;
    QSlider *kcfg_Stiffness;
    KIntSpinBox *stiffnessSpin;
    QLabel *label_5;
    QLabel *label_6;
    QSlider *kcfg_Drag;
    KIntSpinBox *dragSpin;
    QSlider *kcfg_MoveFactor;
    KIntSpinBox *moveFactorSpin;
    QCheckBox *kcfg_MoveWobble;
    QCheckBox *kcfg_ResizeWobble;
    QSpacerItem *verticalSpacer;
    QCheckBox *kcfg_AdvancedMode;
    QGroupBox *basicGroup;
    QGridLayout *gridLayout_2;
    QLabel *label;
    QSlider *kcfg_WobblynessLevel;
    QLabel *label_2;
    QSpacerItem *verticalSpacer_2;

    void setupUi(QWidget *WobblyWindowsEffectConfigForm)
    {
        if (WobblyWindowsEffectConfigForm->objectName().isEmpty())
            WobblyWindowsEffectConfigForm->setObjectName(QString::fromUtf8("WobblyWindowsEffectConfigForm"));
        WobblyWindowsEffectConfigForm->resize(399, 229);
        gridLayout = new QGridLayout(WobblyWindowsEffectConfigForm);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        advancedGroup = new QGroupBox(WobblyWindowsEffectConfigForm);
        advancedGroup->setObjectName(QString::fromUtf8("advancedGroup"));
        advancedGroup->setEnabled(false);
        gridLayout_3 = new QGridLayout(advancedGroup);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        label_4 = new QLabel(advancedGroup);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_3->addWidget(label_4, 0, 0, 1, 1);

        kcfg_Stiffness = new QSlider(advancedGroup);
        kcfg_Stiffness->setObjectName(QString::fromUtf8("kcfg_Stiffness"));
        kcfg_Stiffness->setMinimum(1);
        kcfg_Stiffness->setMaximum(50);
        kcfg_Stiffness->setValue(15);
        kcfg_Stiffness->setOrientation(Qt::Horizontal);

        gridLayout_3->addWidget(kcfg_Stiffness, 0, 1, 1, 1);

        stiffnessSpin = new KIntSpinBox(advancedGroup);
        stiffnessSpin->setObjectName(QString::fromUtf8("stiffnessSpin"));
        stiffnessSpin->setMinimum(1);
        stiffnessSpin->setMaximum(50);
        stiffnessSpin->setValue(15);

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

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

        gridLayout_3->addWidget(label_5, 1, 0, 1, 1);

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

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

        kcfg_Drag = new QSlider(advancedGroup);
        kcfg_Drag->setObjectName(QString::fromUtf8("kcfg_Drag"));
        kcfg_Drag->setMinimum(50);
        kcfg_Drag->setMaximum(100);
        kcfg_Drag->setValue(85);
        kcfg_Drag->setOrientation(Qt::Horizontal);

        gridLayout_3->addWidget(kcfg_Drag, 1, 1, 1, 1);

        dragSpin = new KIntSpinBox(advancedGroup);
        dragSpin->setObjectName(QString::fromUtf8("dragSpin"));
        dragSpin->setMinimum(50);
        dragSpin->setMaximum(100);
        dragSpin->setValue(85);

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

        kcfg_MoveFactor = new QSlider(advancedGroup);
        kcfg_MoveFactor->setObjectName(QString::fromUtf8("kcfg_MoveFactor"));
        kcfg_MoveFactor->setMinimum(1);
        kcfg_MoveFactor->setMaximum(25);
        kcfg_MoveFactor->setValue(10);
        kcfg_MoveFactor->setOrientation(Qt::Horizontal);

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

        moveFactorSpin = new KIntSpinBox(advancedGroup);
        moveFactorSpin->setObjectName(QString::fromUtf8("moveFactorSpin"));
        moveFactorSpin->setMinimum(1);
        moveFactorSpin->setMaximum(25);
        moveFactorSpin->setValue(10);

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


        gridLayout->addWidget(advancedGroup, 6, 0, 1, 2);

        kcfg_MoveWobble = new QCheckBox(WobblyWindowsEffectConfigForm);
        kcfg_MoveWobble->setObjectName(QString::fromUtf8("kcfg_MoveWobble"));

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

        kcfg_ResizeWobble = new QCheckBox(WobblyWindowsEffectConfigForm);
        kcfg_ResizeWobble->setObjectName(QString::fromUtf8("kcfg_ResizeWobble"));

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

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

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

        kcfg_AdvancedMode = new QCheckBox(WobblyWindowsEffectConfigForm);
        kcfg_AdvancedMode->setObjectName(QString::fromUtf8("kcfg_AdvancedMode"));

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

        basicGroup = new QGroupBox(WobblyWindowsEffectConfigForm);
        basicGroup->setObjectName(QString::fromUtf8("basicGroup"));
        basicGroup->setEnabled(true);
        basicGroup->setCheckable(false);
        gridLayout_2 = new QGridLayout(basicGroup);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        label = new QLabel(basicGroup);
        label->setObjectName(QString::fromUtf8("label"));

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

        kcfg_WobblynessLevel = new QSlider(basicGroup);
        kcfg_WobblynessLevel->setObjectName(QString::fromUtf8("kcfg_WobblynessLevel"));
        kcfg_WobblynessLevel->setMinimumSize(QSize(120, 0));
        kcfg_WobblynessLevel->setMaximum(4);
        kcfg_WobblynessLevel->setOrientation(Qt::Horizontal);

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

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

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

        verticalSpacer_2 = new QSpacerItem(20, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout_2->addItem(verticalSpacer_2, 1, 1, 1, 1);


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

#ifndef UI_QT_NO_SHORTCUT
        label_4->setBuddy(kcfg_Stiffness);
        label_5->setBuddy(kcfg_Drag);
        label_6->setBuddy(kcfg_MoveFactor);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_WobblynessLevel, kcfg_MoveWobble);
        QWidget::setTabOrder(kcfg_MoveWobble, kcfg_ResizeWobble);
        QWidget::setTabOrder(kcfg_ResizeWobble, kcfg_AdvancedMode);
        QWidget::setTabOrder(kcfg_AdvancedMode, kcfg_Stiffness);
        QWidget::setTabOrder(kcfg_Stiffness, stiffnessSpin);
        QWidget::setTabOrder(stiffnessSpin, kcfg_Drag);
        QWidget::setTabOrder(kcfg_Drag, dragSpin);
        QWidget::setTabOrder(dragSpin, kcfg_MoveFactor);
        QWidget::setTabOrder(kcfg_MoveFactor, moveFactorSpin);

        retranslateUi(WobblyWindowsEffectConfigForm);
        QObject::connect(kcfg_Stiffness, SIGNAL(valueChanged(int)), stiffnessSpin, SLOT(setValue(int)));
        QObject::connect(stiffnessSpin, SIGNAL(valueChanged(int)), kcfg_Stiffness, SLOT(setValue(int)));
        QObject::connect(kcfg_Drag, SIGNAL(valueChanged(int)), dragSpin, SLOT(setValue(int)));
        QObject::connect(dragSpin, SIGNAL(valueChanged(int)), kcfg_Drag, SLOT(setValue(int)));
        QObject::connect(kcfg_MoveFactor, SIGNAL(valueChanged(int)), moveFactorSpin, SLOT(setValue(int)));
        QObject::connect(moveFactorSpin, SIGNAL(valueChanged(int)), kcfg_MoveFactor, SLOT(setValue(int)));
        QObject::connect(kcfg_AdvancedMode, SIGNAL(toggled(bool)), advancedGroup, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *WobblyWindowsEffectConfigForm)
    {
        advancedGroup->setTitle(tr2i18n("Advanced", 0));
        label_4->setText(tr2i18n("&Stiffness:", 0));
        label_5->setText(tr2i18n("Dra&g:", 0));
        label_6->setText(tr2i18n("&Move factor:", 0));
        kcfg_MoveWobble->setText(tr2i18n("Wo&bble when moving", 0));
        kcfg_ResizeWobble->setText(tr2i18n("Wobble when &resizing", 0));
        kcfg_AdvancedMode->setText(tr2i18n("Enable &advanced mode", 0));
        basicGroup->setTitle(tr2i18n("&Wobbliness", 0));
        label->setText(tr2i18n("Less", 0));
        label_2->setText(tr2i18n("More", 0));
        Q_UNUSED(WobblyWindowsEffectConfigForm);
    } // retranslateUi

};

namespace Ui {
    class WobblyWindowsEffectConfigForm: public Ui_WobblyWindowsEffectConfigForm {};
} // namespace Ui

QT_END_NAMESPACE

#endif // WOBBLYWINDOWS_CONFIG_H

