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

/********************************************************************************
** Form generated from reading UI file 'main.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_MAIN_H
#define UI_MAIN_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QFrame>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "desktopnameswidget.h"
#include "kcombobox.h"
#include "knuminput.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_KWinDesktopConfigForm
{
public:
    QHBoxLayout *horizontalLayout;
    QTabWidget *tabWidget;
    QWidget *desktop;
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout_2;
    QLabel *numberLabel;
    KIntSpinBox *numberSpinBox;
    QLabel *label;
    KIntSpinBox *rowsSpinBox;
    QCheckBox *activityCheckBox;
    QGroupBox *nameGroup;
    QVBoxLayout *verticalLayout_2;
    KWin::DesktopNamesWidget *desktopNames;
    QSpacerItem *verticalSpacer;
    QLabel *messageLabel;
    QWidget *switching;
    QVBoxLayout *verticalLayout_4;
    QCheckBox *wrapAroundBox;
    QGroupBox *groupBox_3;
    QFormLayout *formLayout_3;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_2;
    KComboBox *effectComboBox;
    KPushButton *effectConfigButton;
    KPushButton *effectInfoButton;
    QGroupBox *popupInfoCheckBox;
    QFormLayout *formLayout;
    QLabel *hideLabel;
    KIntSpinBox *popupHideSpinBox;
    QCheckBox *desktopLayoutIndicatorCheckBox;
    QGroupBox *shortcutsGroupBox;
    QVBoxLayout *verticalLayout_3;
    QFrame *editorFrame;
    QCheckBox *allShortcutsCheckBox;

    void setupUi(QWidget *KWinDesktopConfigForm)
    {
        if (KWinDesktopConfigForm->objectName().isEmpty())
            KWinDesktopConfigForm->setObjectName(QString::fromUtf8("KWinDesktopConfigForm"));
        KWinDesktopConfigForm->resize(572, 310);
        horizontalLayout = new QHBoxLayout(KWinDesktopConfigForm);
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        tabWidget = new QTabWidget(KWinDesktopConfigForm);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        desktop = new QWidget();
        desktop->setObjectName(QString::fromUtf8("desktop"));
        verticalLayout = new QVBoxLayout(desktop);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        groupBox_2 = new QGroupBox(desktop);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        formLayout_2 = new QFormLayout(groupBox_2);
        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
        formLayout_2->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        numberLabel = new QLabel(groupBox_2);
        numberLabel->setObjectName(QString::fromUtf8("numberLabel"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, numberLabel);

        numberSpinBox = new KIntSpinBox(groupBox_2);
        numberSpinBox->setObjectName(QString::fromUtf8("numberSpinBox"));
        numberSpinBox->setMinimum(1);
        numberSpinBox->setMaximum(20);
        numberSpinBox->setValue(4);

        formLayout_2->setWidget(0, QFormLayout::FieldRole, numberSpinBox);

        label = new QLabel(groupBox_2);
        label->setObjectName(QString::fromUtf8("label"));
        label->setEnabled(true);

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

        rowsSpinBox = new KIntSpinBox(groupBox_2);
        rowsSpinBox->setObjectName(QString::fromUtf8("rowsSpinBox"));
        rowsSpinBox->setEnabled(true);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, rowsSpinBox);

        activityCheckBox = new QCheckBox(groupBox_2);
        activityCheckBox->setObjectName(QString::fromUtf8("activityCheckBox"));

        formLayout_2->setWidget(2, QFormLayout::SpanningRole, activityCheckBox);


        verticalLayout->addWidget(groupBox_2);

        nameGroup = new QGroupBox(desktop);
        nameGroup->setObjectName(QString::fromUtf8("nameGroup"));
        verticalLayout_2 = new QVBoxLayout(nameGroup);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        desktopNames = new KWin::DesktopNamesWidget(nameGroup);
        desktopNames->setObjectName(QString::fromUtf8("desktopNames"));

        verticalLayout_2->addWidget(desktopNames);


        verticalLayout->addWidget(nameGroup);

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

        verticalLayout->addItem(verticalSpacer);

        messageLabel = new QLabel(desktop);
        messageLabel->setObjectName(QString::fromUtf8("messageLabel"));

        verticalLayout->addWidget(messageLabel);

        tabWidget->addTab(desktop, QString());
        switching = new QWidget();
        switching->setObjectName(QString::fromUtf8("switching"));
        verticalLayout_4 = new QVBoxLayout(switching);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        wrapAroundBox = new QCheckBox(switching);
        wrapAroundBox->setObjectName(QString::fromUtf8("wrapAroundBox"));

        verticalLayout_4->addWidget(wrapAroundBox);

        groupBox_3 = new QGroupBox(switching);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        formLayout_3 = new QFormLayout(groupBox_3);
        formLayout_3->setObjectName(QString::fromUtf8("formLayout_3"));
        formLayout_3->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label_2 = new QLabel(groupBox_3);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        formLayout_3->setWidget(0, QFormLayout::LabelRole, label_2);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        effectComboBox = new KComboBox(groupBox_3);
        effectComboBox->setObjectName(QString::fromUtf8("effectComboBox"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(effectComboBox->sizePolicy().hasHeightForWidth());
        effectComboBox->setSizePolicy(sizePolicy);

        horizontalLayout_2->addWidget(effectComboBox);

        effectConfigButton = new KPushButton(groupBox_3);
        effectConfigButton->setObjectName(QString::fromUtf8("effectConfigButton"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(effectConfigButton->sizePolicy().hasHeightForWidth());
        effectConfigButton->setSizePolicy(sizePolicy1);

        horizontalLayout_2->addWidget(effectConfigButton);

        effectInfoButton = new KPushButton(groupBox_3);
        effectInfoButton->setObjectName(QString::fromUtf8("effectInfoButton"));

        horizontalLayout_2->addWidget(effectInfoButton);


        formLayout_3->setLayout(0, QFormLayout::FieldRole, horizontalLayout_2);


        verticalLayout_4->addWidget(groupBox_3);

        popupInfoCheckBox = new QGroupBox(switching);
        popupInfoCheckBox->setObjectName(QString::fromUtf8("popupInfoCheckBox"));
        popupInfoCheckBox->setCheckable(true);
        popupInfoCheckBox->setChecked(false);
        formLayout = new QFormLayout(popupInfoCheckBox);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        hideLabel = new QLabel(popupInfoCheckBox);
        hideLabel->setObjectName(QString::fromUtf8("hideLabel"));

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

        popupHideSpinBox = new KIntSpinBox(popupInfoCheckBox);
        popupHideSpinBox->setObjectName(QString::fromUtf8("popupHideSpinBox"));
        popupHideSpinBox->setMaximum(5000);
        popupHideSpinBox->setSingleStep(50);

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

        desktopLayoutIndicatorCheckBox = new QCheckBox(popupInfoCheckBox);
        desktopLayoutIndicatorCheckBox->setObjectName(QString::fromUtf8("desktopLayoutIndicatorCheckBox"));

        formLayout->setWidget(1, QFormLayout::SpanningRole, desktopLayoutIndicatorCheckBox);


        verticalLayout_4->addWidget(popupInfoCheckBox);

        shortcutsGroupBox = new QGroupBox(switching);
        shortcutsGroupBox->setObjectName(QString::fromUtf8("shortcutsGroupBox"));
        verticalLayout_3 = new QVBoxLayout(shortcutsGroupBox);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        editorFrame = new QFrame(shortcutsGroupBox);
        editorFrame->setObjectName(QString::fromUtf8("editorFrame"));
        editorFrame->setFrameShape(QFrame::NoFrame);
        editorFrame->setFrameShadow(QFrame::Plain);
        editorFrame->setLineWidth(0);

        verticalLayout_3->addWidget(editorFrame);

        allShortcutsCheckBox = new QCheckBox(shortcutsGroupBox);
        allShortcutsCheckBox->setObjectName(QString::fromUtf8("allShortcutsCheckBox"));

        verticalLayout_3->addWidget(allShortcutsCheckBox);


        verticalLayout_4->addWidget(shortcutsGroupBox);

        tabWidget->addTab(switching, QString());

        horizontalLayout->addWidget(tabWidget);

#ifndef UI_QT_NO_SHORTCUT
        numberLabel->setBuddy(numberSpinBox);
        label->setBuddy(rowsSpinBox);
        label_2->setBuddy(effectComboBox);
        hideLabel->setBuddy(popupHideSpinBox);
#endif // QT_NO_SHORTCUT

        retranslateUi(KWinDesktopConfigForm);
        QObject::connect(numberSpinBox, SIGNAL(valueChanged(int)), desktopNames, SLOT(numberChanged(int)));

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KWinDesktopConfigForm)
    {
        groupBox_2->setTitle(tr2i18n("Layout", 0));
#ifndef UI_QT_NO_WHATSTHIS
        numberLabel->setWhatsThis(tr2i18n("Here you can set how many virtual desktops you want on your KDE desktop.", 0));
#endif // QT_NO_WHATSTHIS
        numberLabel->setText(tr2i18n("Number of desktops:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        numberSpinBox->setWhatsThis(tr2i18n("Here you can set how many virtual desktops you want on your KDE desktop.", 0));
#endif // QT_NO_WHATSTHIS
        label->setText(tr2i18n("Number of rows:", 0));
        activityCheckBox->setText(tr2i18n("Different widgets for each desktop", 0));
        nameGroup->setTitle(tr2i18n("Desktop Names", 0));
        messageLabel->setText(QString());
        tabWidget->setTabText(tabWidget->indexOf(desktop), tr2i18n("Desktops", 0));
#ifndef UI_QT_NO_WHATSTHIS
        wrapAroundBox->setWhatsThis(tr2i18n("Enable this option if you want keyboard or active desktop border navigation beyond the edge of a desktop to take you to the opposite edge of the new desktop.", 0));
#endif // QT_NO_WHATSTHIS
        wrapAroundBox->setText(tr2i18n("Desktop navigation wraps around", 0));
        groupBox_3->setTitle(tr2i18n("Desktop Effect Animation", 0));
        label_2->setText(tr2i18n("Animation:", 0));
        popupInfoCheckBox->setTitle(tr2i18n("Desktop Switch On-Screen Display", 0));
        hideLabel->setText(tr2i18n("Duration:", 0));
        popupHideSpinBox->setSuffix(tr2i18n(" msec", 0));
#ifndef UI_QT_NO_TOOLTIP
        desktopLayoutIndicatorCheckBox->setToolTip(tr2i18n("Enabling this option will show a small preview of the desktop layout indicating the selected desktop.", 0));
#endif // QT_NO_TOOLTIP
        desktopLayoutIndicatorCheckBox->setText(tr2i18n("Show desktop layout indicators", 0));
        shortcutsGroupBox->setTitle(tr2i18n("Shortcuts", 0));
        allShortcutsCheckBox->setText(tr2i18n("Show shortcuts for all possible desktops", 0));
        tabWidget->setTabText(tabWidget->indexOf(switching), tr2i18n("Switching", 0));
        Q_UNUSED(KWinDesktopConfigForm);
    } // retranslateUi

};

namespace Ui {
    class KWinDesktopConfigForm: public Ui_KWinDesktopConfigForm {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MAIN_H

