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

/********************************************************************************
** Form generated from reading UI file 'diminactive_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_DIMINACTIVE_CONFIG_H
#define UI_DIMINACTIVE_CONFIG_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/QSlider>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "knuminput.h"

namespace KWin {

class Ui_DimInactiveEffectConfigForm
{
public:
    QGridLayout *gridLayout;
    QCheckBox *kcfg_DimPanels;
    QCheckBox *kcfg_DimDesktop;
    QCheckBox *kcfg_DimKeepAbove;
    QCheckBox *kcfg_DimByGroup;
    QLabel *label;
    QSlider *kcfg_sliderStrength;
    KIntSpinBox *kcfg_Strength;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *KWin__DimInactiveEffectConfigForm)
    {
        if (KWin__DimInactiveEffectConfigForm->objectName().isEmpty())
            KWin__DimInactiveEffectConfigForm->setObjectName(QString::fromUtf8("KWin__DimInactiveEffectConfigForm"));
        KWin__DimInactiveEffectConfigForm->resize(298, 161);
        gridLayout = new QGridLayout(KWin__DimInactiveEffectConfigForm);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        kcfg_DimPanels = new QCheckBox(KWin__DimInactiveEffectConfigForm);
        kcfg_DimPanels->setObjectName(QString::fromUtf8("kcfg_DimPanels"));

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

        kcfg_DimDesktop = new QCheckBox(KWin__DimInactiveEffectConfigForm);
        kcfg_DimDesktop->setObjectName(QString::fromUtf8("kcfg_DimDesktop"));

        gridLayout->addWidget(kcfg_DimDesktop, 2, 0, 1, 3);

        kcfg_DimKeepAbove = new QCheckBox(KWin__DimInactiveEffectConfigForm);
        kcfg_DimKeepAbove->setObjectName(QString::fromUtf8("kcfg_DimKeepAbove"));

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

        kcfg_DimByGroup = new QCheckBox(KWin__DimInactiveEffectConfigForm);
        kcfg_DimByGroup->setObjectName(QString::fromUtf8("kcfg_DimByGroup"));

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

        label = new QLabel(KWin__DimInactiveEffectConfigForm);
        label->setObjectName(QString::fromUtf8("label"));

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

        kcfg_sliderStrength = new QSlider(KWin__DimInactiveEffectConfigForm);
        kcfg_sliderStrength->setObjectName(QString::fromUtf8("kcfg_sliderStrength"));
        kcfg_sliderStrength->setMinimumSize(QSize(120, 0));
        kcfg_sliderStrength->setMinimum(1);
        kcfg_sliderStrength->setMaximum(100);
        kcfg_sliderStrength->setValue(25);
        kcfg_sliderStrength->setOrientation(Qt::Horizontal);

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

        kcfg_Strength = new KIntSpinBox(KWin__DimInactiveEffectConfigForm);
        kcfg_Strength->setObjectName(QString::fromUtf8("kcfg_Strength"));
        kcfg_Strength->setMinimum(1);
        kcfg_Strength->setMaximum(100);
        kcfg_Strength->setValue(25);

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

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

        gridLayout->addItem(verticalSpacer, 5, 0, 1, 3);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(kcfg_Strength);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_sliderStrength, kcfg_Strength);
        QWidget::setTabOrder(kcfg_Strength, kcfg_DimPanels);
        QWidget::setTabOrder(kcfg_DimPanels, kcfg_DimDesktop);
        QWidget::setTabOrder(kcfg_DimDesktop, kcfg_DimByGroup);

        retranslateUi(KWin__DimInactiveEffectConfigForm);
        QObject::connect(kcfg_Strength, SIGNAL(valueChanged(int)), kcfg_sliderStrength, SLOT(setValue(int)));
        QObject::connect(kcfg_sliderStrength, SIGNAL(valueChanged(int)), kcfg_Strength, SLOT(setValue(int)));

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

    void retranslateUi(QWidget *KWin__DimInactiveEffectConfigForm)
    {
        kcfg_DimPanels->setText(tr2i18n("Apply effect to &panels", 0));
        kcfg_DimDesktop->setText(tr2i18n("Apply effect to the desk&top", 0));
        kcfg_DimKeepAbove->setText(tr2i18n("Apply effect to &keep-above windows", 0));
        kcfg_DimByGroup->setText(tr2i18n("Apply effect to &groups", 0));
        label->setText(tr2i18n("&Strength:", 0));
        Q_UNUSED(KWin__DimInactiveEffectConfigForm);
    } // retranslateUi

};

} // namespace KWin

namespace KWin {
namespace Ui {
    class DimInactiveEffectConfigForm: public Ui_DimInactiveEffectConfigForm {};
} // namespace Ui
} // namespace KWin

#endif // DIMINACTIVE_CONFIG_H

