#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'desktopgrid_config.ui'
**
** Created by: Qt User Interface Compiler version 5.6.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_DESKTOPGRID_CONFIG_H
#define UI_DESKTOPGRID_CONFIG_H

#include <KShortcutsEditor>
#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QWidget>
#include "kcombobox.h"

namespace KWin {

class Ui_DesktopGridEffectConfigForm
{
public:
    QHBoxLayout *horizontalLayout_2;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *label;
    QSpinBox *kcfg_ZoomDuration;
    QLabel *label_3;
    QSpinBox *kcfg_BorderWidth;
    QLabel *label_6;
    KComboBox *desktopNameAlignmentCombo;
    QLabel *label_7;
    KComboBox *kcfg_LayoutMode;
    QLabel *layoutRowsLabel;
    QSpinBox *kcfg_CustomLayoutRows;
    QSpacerItem *verticalSpacer;
    QCheckBox *kcfg_PresentWindows;
    QGroupBox *groupBox_2;
    QGridLayout *gridLayout_2;
    KShortcutsEditor *shortcutEditor;

    void setupUi(QWidget *KWin__DesktopGridEffectConfigForm)
    {
        if (KWin__DesktopGridEffectConfigForm->objectName().isEmpty())
            KWin__DesktopGridEffectConfigForm->setObjectName(QStringLiteral("KWin__DesktopGridEffectConfigForm"));
        KWin__DesktopGridEffectConfigForm->resize(574, 250);
        horizontalLayout_2 = new QHBoxLayout(KWin__DesktopGridEffectConfigForm);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        groupBox = new QGroupBox(KWin__DesktopGridEffectConfigForm);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        label = new QLabel(groupBox);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_ZoomDuration = new QSpinBox(groupBox);
        kcfg_ZoomDuration->setObjectName(QStringLiteral("kcfg_ZoomDuration"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_ZoomDuration->sizePolicy().hasHeightForWidth());
        kcfg_ZoomDuration->setSizePolicy(sizePolicy);
        kcfg_ZoomDuration->setMaximum(5000);
        kcfg_ZoomDuration->setSingleStep(10);

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

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QStringLiteral("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_BorderWidth = new QSpinBox(groupBox);
        kcfg_BorderWidth->setObjectName(QStringLiteral("kcfg_BorderWidth"));
        sizePolicy.setHeightForWidth(kcfg_BorderWidth->sizePolicy().hasHeightForWidth());
        kcfg_BorderWidth->setSizePolicy(sizePolicy);
        kcfg_BorderWidth->setMaximum(100);
        kcfg_BorderWidth->setValue(10);

        gridLayout->addWidget(kcfg_BorderWidth, 1, 1, 1, 1);

        label_6 = new QLabel(groupBox);
        label_6->setObjectName(QStringLiteral("label_6"));
        label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        desktopNameAlignmentCombo = new KComboBox(groupBox);
        desktopNameAlignmentCombo->setObjectName(QStringLiteral("desktopNameAlignmentCombo"));
        sizePolicy.setHeightForWidth(desktopNameAlignmentCombo->sizePolicy().hasHeightForWidth());
        desktopNameAlignmentCombo->setSizePolicy(sizePolicy);

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

        label_7 = new QLabel(groupBox);
        label_7->setObjectName(QStringLiteral("label_7"));
        label_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_LayoutMode = new KComboBox(groupBox);
        kcfg_LayoutMode->setObjectName(QStringLiteral("kcfg_LayoutMode"));
        sizePolicy.setHeightForWidth(kcfg_LayoutMode->sizePolicy().hasHeightForWidth());
        kcfg_LayoutMode->setSizePolicy(sizePolicy);

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

        layoutRowsLabel = new QLabel(groupBox);
        layoutRowsLabel->setObjectName(QStringLiteral("layoutRowsLabel"));
        layoutRowsLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout->addWidget(layoutRowsLabel, 4, 0, 1, 1);

        kcfg_CustomLayoutRows = new QSpinBox(groupBox);
        kcfg_CustomLayoutRows->setObjectName(QStringLiteral("kcfg_CustomLayoutRows"));
        sizePolicy.setHeightForWidth(kcfg_CustomLayoutRows->sizePolicy().hasHeightForWidth());
        kcfg_CustomLayoutRows->setSizePolicy(sizePolicy);
        kcfg_CustomLayoutRows->setMinimum(1);
        kcfg_CustomLayoutRows->setMaximum(20);
        kcfg_CustomLayoutRows->setValue(2);

        gridLayout->addWidget(kcfg_CustomLayoutRows, 4, 1, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 7, 0, 1, 2);

        kcfg_PresentWindows = new QCheckBox(groupBox);
        kcfg_PresentWindows->setObjectName(QStringLiteral("kcfg_PresentWindows"));

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


        horizontalLayout_2->addWidget(groupBox);

        groupBox_2 = new QGroupBox(KWin__DesktopGridEffectConfigForm);
        groupBox_2->setObjectName(QStringLiteral("groupBox_2"));
        gridLayout_2 = new QGridLayout(groupBox_2);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        shortcutEditor = new KShortcutsEditor(groupBox_2);
        shortcutEditor->setObjectName(QStringLiteral("shortcutEditor"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(shortcutEditor->sizePolicy().hasHeightForWidth());
        shortcutEditor->setSizePolicy(sizePolicy1);
        shortcutEditor->setActionTypes(KShortcutsEditor::GlobalAction);

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


        horizontalLayout_2->addWidget(groupBox_2);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(kcfg_ZoomDuration);
        label_3->setBuddy(kcfg_BorderWidth);
        label_6->setBuddy(desktopNameAlignmentCombo);
        label_7->setBuddy(kcfg_LayoutMode);
        layoutRowsLabel->setBuddy(kcfg_CustomLayoutRows);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_ZoomDuration, kcfg_BorderWidth);
        QWidget::setTabOrder(kcfg_BorderWidth, desktopNameAlignmentCombo);
        QWidget::setTabOrder(desktopNameAlignmentCombo, kcfg_LayoutMode);
        QWidget::setTabOrder(kcfg_LayoutMode, kcfg_CustomLayoutRows);

        retranslateUi(KWin__DesktopGridEffectConfigForm);

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

    void retranslateUi(QWidget *KWin__DesktopGridEffectConfigForm)
    {
        groupBox->setTitle(tr2i18n("Appearance", 0));
        label->setText(tr2i18n("Zoom &duration:", 0));
        kcfg_ZoomDuration->setSpecialValueText(tr2i18n("Default", "Duration of zoom"));
        label_3->setText(tr2i18n("&Border width:", 0));
        label_6->setText(tr2i18n("Desktop &name alignment:", 0));
        label_7->setText(tr2i18n("&Layout mode:", 0));
        kcfg_LayoutMode->clear();
        kcfg_LayoutMode->insertItems(0, QStringList()
         << tr2i18n("Pager", 0)
         << tr2i18n("Automatic", 0)
         << tr2i18n("Custom", 0)
        );
        layoutRowsLabel->setText(tr2i18n("Number of &rows:", 0));
        kcfg_PresentWindows->setText(tr2i18n("Use Present Windows effect to layout the windows", 0));
        groupBox_2->setTitle(tr2i18n("Activation", 0));
        Q_UNUSED(KWin__DesktopGridEffectConfigForm);
    } // retranslateUi

};

} // namespace KWin

namespace KWin {
namespace Ui {
    class DesktopGridEffectConfigForm: public Ui_DesktopGridEffectConfigForm {};
} // namespace Ui
} // namespace KWin

#endif // DESKTOPGRID_CONFIG_H

