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

/********************************************************************************
** Form generated from reading UI file 'zoom_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_ZOOM_CONFIG_H
#define UI_ZOOM_CONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include <kwineffects.h>

namespace KWin {

class Ui_ZoomEffectConfigForm
{
public:
    QVBoxLayout *verticalLayout_2;
    QGroupBox *groupSize;
    QHBoxLayout *horizontalLayout;
    QGridLayout *gridLayout;
    QLabel *label;
    QDoubleSpinBox *kcfg_ZoomFactor;
    QCheckBox *kcfg_EnableFocusTracking;
    QCheckBox *kcfg_EnableFollowFocus;
    QLabel *label_2;
    QComboBox *kcfg_MousePointer;
    QComboBox *kcfg_MouseTracking;
    QLabel *label_3;
    KWin::GlobalShortcutsEditor *editor;

    void setupUi(QWidget *KWin__ZoomEffectConfigForm)
    {
        if (KWin__ZoomEffectConfigForm->objectName().isEmpty())
            KWin__ZoomEffectConfigForm->setObjectName(QString::fromUtf8("KWin__ZoomEffectConfigForm"));
        KWin__ZoomEffectConfigForm->resize(304, 212);
        verticalLayout_2 = new QVBoxLayout(KWin__ZoomEffectConfigForm);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        groupSize = new QGroupBox(KWin__ZoomEffectConfigForm);
        groupSize->setObjectName(QString::fromUtf8("groupSize"));
        horizontalLayout = new QHBoxLayout(groupSize);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(groupSize);
        label->setObjectName(QString::fromUtf8("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_ZoomFactor = new QDoubleSpinBox(groupSize);
        kcfg_ZoomFactor->setObjectName(QString::fromUtf8("kcfg_ZoomFactor"));
        kcfg_ZoomFactor->setDecimals(2);
        kcfg_ZoomFactor->setMaximum(9999);
        kcfg_ZoomFactor->setSingleStep(0.05);
        kcfg_ZoomFactor->setValue(1.25);

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

        kcfg_EnableFocusTracking = new QCheckBox(groupSize);
        kcfg_EnableFocusTracking->setObjectName(QString::fromUtf8("kcfg_EnableFocusTracking"));

        gridLayout->addWidget(kcfg_EnableFocusTracking, 4, 0, 1, 2);

        kcfg_EnableFollowFocus = new QCheckBox(groupSize);
        kcfg_EnableFollowFocus->setObjectName(QString::fromUtf8("kcfg_EnableFollowFocus"));
        kcfg_EnableFollowFocus->setEnabled(false);

        gridLayout->addWidget(kcfg_EnableFollowFocus, 5, 0, 1, 2);

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

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

        kcfg_MousePointer = new QComboBox(groupSize);
        kcfg_MousePointer->setObjectName(QString::fromUtf8("kcfg_MousePointer"));

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

        kcfg_MouseTracking = new QComboBox(groupSize);
        kcfg_MouseTracking->setObjectName(QString::fromUtf8("kcfg_MouseTracking"));

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

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

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


        horizontalLayout->addLayout(gridLayout);


        verticalLayout_2->addWidget(groupSize);

        editor = new KWin::GlobalShortcutsEditor(KWin__ZoomEffectConfigForm);
        editor->setObjectName(QString::fromUtf8("editor"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(editor->sizePolicy().hasHeightForWidth());
        editor->setSizePolicy(sizePolicy);

        verticalLayout_2->addWidget(editor);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(kcfg_ZoomFactor);
        label_2->setBuddy(kcfg_MousePointer);
        label_3->setBuddy(kcfg_MouseTracking);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_ZoomFactor, kcfg_MousePointer);
        QWidget::setTabOrder(kcfg_MousePointer, kcfg_MouseTracking);
        QWidget::setTabOrder(kcfg_MouseTracking, kcfg_EnableFocusTracking);
        QWidget::setTabOrder(kcfg_EnableFocusTracking, kcfg_EnableFollowFocus);

        retranslateUi(KWin__ZoomEffectConfigForm);
        QObject::connect(kcfg_EnableFocusTracking, SIGNAL(toggled(bool)), kcfg_EnableFollowFocus, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *KWin__ZoomEffectConfigForm)
    {
        groupSize->setTitle(QString());
#ifndef UI_QT_NO_WHATSTHIS
        label->setWhatsThis(tr2i18n("On zoom-in and zoom-out change the zoom by the defined zoom-factor.", 0));
#endif // QT_NO_WHATSTHIS
        label->setText(tr2i18n("Zoom Factor:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_ZoomFactor->setWhatsThis(tr2i18n("On zoom-in and zoom-out change the zoom by the defined zoom-factor.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_ZoomFactor->setSuffix(QString());
#ifndef UI_QT_NO_TOOLTIP
        kcfg_EnableFocusTracking->setToolTip(QString());
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_EnableFocusTracking->setWhatsThis(tr2i18n("Enable tracking of the focused location. This needs QAccessible to be enabled per application (\"export QT_ACCESSIBILITY=1\").", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_EnableFocusTracking->setText(tr2i18n("Enable Focus Tracking", 0));
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_EnableFollowFocus->setWhatsThis(tr2i18n("When the focus changes, move the zoom area to the focused location.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_EnableFollowFocus->setText(tr2i18n("Follow Focus", 0));
        label_2->setText(tr2i18n("Mouse Pointer:", 0));
        kcfg_MousePointer->clear();
        kcfg_MousePointer->insertItems(0, QStringList()
         << tr2i18n("Scale", 0)
         << tr2i18n("Keep", 0)
         << tr2i18n("Hide", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_MousePointer->setWhatsThis(tr2i18n("Visibility of the mouse-pointer.", 0));
#endif // QT_NO_WHATSTHIS
        kcfg_MouseTracking->clear();
        kcfg_MouseTracking->insertItems(0, QStringList()
         << tr2i18n("Proportional", 0)
         << tr2i18n("Centered", 0)
         << tr2i18n("Push", 0)
         << tr2i18n("Disabled", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        kcfg_MouseTracking->setWhatsThis(tr2i18n("Track moving of the mouse.", 0));
#endif // QT_NO_WHATSTHIS
        label_3->setText(tr2i18n("Mouse Tracking:", 0));
        Q_UNUSED(KWin__ZoomEffectConfigForm);
    } // retranslateUi

};

} // namespace KWin

namespace KWin {
namespace Ui {
    class ZoomEffectConfigForm: public Ui_ZoomEffectConfigForm {};
} // namespace Ui
} // namespace KWin

#endif // ZOOM_CONFIG_H

