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

/********************************************************************************
** Form generated from reading UI file 'flipswitch_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_FLIPSWITCH_CONFIG_H
#define UI_FLIPSWITCH_CONFIG_H

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

namespace KWin {

class Ui_FlipSwitchEffectConfigForm
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *groupBox;
    QFormLayout *formLayout;
    QLabel *label_3;
    KIntSpinBox *kcfg_Duration;
    QLabel *label;
    KIntSpinBox *kcfg_Angle;
    QLabel *label_2;
    QVBoxLayout *verticalLayout_2;
    QSlider *kcfg_XPosition;
    QHBoxLayout *horizontalLayout;
    QLabel *label_4;
    QSpacerItem *horizontalSpacer;
    QLabel *label_5;
    QLabel *label_6;
    QHBoxLayout *horizontalLayout_2;
    QSlider *kcfg_YPosition;
    QVBoxLayout *verticalLayout_3;
    QLabel *label_7;
    QSpacerItem *verticalSpacer;
    QLabel *label_8;
    QCheckBox *kcfg_WindowTitle;
    QGroupBox *groupBox_2;
    QGridLayout *gridLayout_2;
    KWin::GlobalShortcutsEditor *shortcutEditor;

    void setupUi(QWidget *KWin__FlipSwitchEffectConfigForm)
    {
        if (KWin__FlipSwitchEffectConfigForm->objectName().isEmpty())
            KWin__FlipSwitchEffectConfigForm->setObjectName(QString::fromUtf8("KWin__FlipSwitchEffectConfigForm"));
        KWin__FlipSwitchEffectConfigForm->resize(400, 316);
        vboxLayout = new QVBoxLayout(KWin__FlipSwitchEffectConfigForm);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        groupBox = new QGroupBox(KWin__FlipSwitchEffectConfigForm);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        formLayout = new QFormLayout(groupBox);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        formLayout->setWidget(0, QFormLayout::LabelRole, label_3);

        kcfg_Duration = new KIntSpinBox(groupBox);
        kcfg_Duration->setObjectName(QString::fromUtf8("kcfg_Duration"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_Duration->sizePolicy().hasHeightForWidth());
        kcfg_Duration->setSizePolicy(sizePolicy);
        kcfg_Duration->setMaximum(5000);
        kcfg_Duration->setSingleStep(10);

        formLayout->setWidget(0, QFormLayout::FieldRole, kcfg_Duration);

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

        formLayout->setWidget(1, QFormLayout::LabelRole, label);

        kcfg_Angle = new KIntSpinBox(groupBox);
        kcfg_Angle->setObjectName(QString::fromUtf8("kcfg_Angle"));
        sizePolicy.setHeightForWidth(kcfg_Angle->sizePolicy().hasHeightForWidth());
        kcfg_Angle->setSizePolicy(sizePolicy);
        kcfg_Angle->setMaximum(360);

        formLayout->setWidget(1, QFormLayout::FieldRole, kcfg_Angle);

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

        formLayout->setWidget(3, QFormLayout::LabelRole, label_2);

        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        kcfg_XPosition = new QSlider(groupBox);
        kcfg_XPosition->setObjectName(QString::fromUtf8("kcfg_XPosition"));
        kcfg_XPosition->setMaximum(100);
        kcfg_XPosition->setOrientation(Qt::Horizontal);

        verticalLayout_2->addWidget(kcfg_XPosition);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));

        horizontalLayout->addWidget(label_4);

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

        horizontalLayout->addItem(horizontalSpacer);

        label_5 = new QLabel(groupBox);
        label_5->setObjectName(QString::fromUtf8("label_5"));

        horizontalLayout->addWidget(label_5);


        verticalLayout_2->addLayout(horizontalLayout);


        formLayout->setLayout(3, QFormLayout::FieldRole, verticalLayout_2);

        label_6 = new QLabel(groupBox);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        formLayout->setWidget(7, QFormLayout::LabelRole, label_6);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        kcfg_YPosition = new QSlider(groupBox);
        kcfg_YPosition->setObjectName(QString::fromUtf8("kcfg_YPosition"));
        kcfg_YPosition->setMaximum(100);
        kcfg_YPosition->setOrientation(Qt::Vertical);

        horizontalLayout_2->addWidget(kcfg_YPosition);

        verticalLayout_3 = new QVBoxLayout();
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        label_7 = new QLabel(groupBox);
        label_7->setObjectName(QString::fromUtf8("label_7"));

        verticalLayout_3->addWidget(label_7);

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

        verticalLayout_3->addItem(verticalSpacer);

        label_8 = new QLabel(groupBox);
        label_8->setObjectName(QString::fromUtf8("label_8"));

        verticalLayout_3->addWidget(label_8);


        horizontalLayout_2->addLayout(verticalLayout_3);


        formLayout->setLayout(7, QFormLayout::FieldRole, horizontalLayout_2);

        kcfg_WindowTitle = new QCheckBox(groupBox);
        kcfg_WindowTitle->setObjectName(QString::fromUtf8("kcfg_WindowTitle"));

        formLayout->setWidget(2, QFormLayout::SpanningRole, kcfg_WindowTitle);


        vboxLayout->addWidget(groupBox);

        groupBox_2 = new QGroupBox(KWin__FlipSwitchEffectConfigForm);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        gridLayout_2 = new QGridLayout(groupBox_2);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        shortcutEditor = new KWin::GlobalShortcutsEditor(groupBox_2);
        shortcutEditor->setObjectName(QString::fromUtf8("shortcutEditor"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(shortcutEditor->sizePolicy().hasHeightForWidth());
        shortcutEditor->setSizePolicy(sizePolicy1);

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


        vboxLayout->addWidget(groupBox_2);

#ifndef UI_QT_NO_SHORTCUT
        label_3->setBuddy(kcfg_Duration);
        label->setBuddy(kcfg_Angle);
        label_2->setBuddy(kcfg_XPosition);
        label_6->setBuddy(kcfg_YPosition);
#endif // QT_NO_SHORTCUT

        retranslateUi(KWin__FlipSwitchEffectConfigForm);

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

    void retranslateUi(QWidget *KWin__FlipSwitchEffectConfigForm)
    {
        groupBox->setTitle(tr2i18n("Appearance", 0));
        label_3->setText(tr2i18n("Flip animation duration:", 0));
        kcfg_Duration->setSpecialValueText(tr2i18n("Default", "Duration of flip animation"));
        label->setText(tr2i18n("Angle:", 0));
        kcfg_Angle->setSuffix(tr2i18n(" \302\260", 0));
        label_2->setText(tr2i18n("Horizontal position of front:", 0));
        label_4->setText(tr2i18n("Left", 0));
        label_5->setText(tr2i18n("Right", 0));
        label_6->setText(tr2i18n("Vertical position of front:", 0));
        label_7->setText(tr2i18n("Top", 0));
        label_8->setText(tr2i18n("Bottom", 0));
        kcfg_WindowTitle->setText(tr2i18n("Display window &titles", 0));
        kcfg_WindowTitle->setShortcut(QString());
        groupBox_2->setTitle(tr2i18n("Activation", 0));
        Q_UNUSED(KWin__FlipSwitchEffectConfigForm);
    } // retranslateUi

};

} // namespace KWin

namespace KWin {
namespace Ui {
    class FlipSwitchEffectConfigForm: public Ui_FlipSwitchEffectConfigForm {};
} // namespace Ui
} // namespace KWin

#endif // FLIPSWITCH_CONFIG_H

