#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/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "knuminput.h"
#include "monitor.h"

QT_BEGIN_NAMESPACE

class Ui_KWinScreenEdgesConfigForm
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox_3;
    QHBoxLayout *horizontalLayout;
    KWin::Monitor *monitor;
    QLabel *label_7;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_2;
    QCheckBox *quickMaximizeBox;
    QCheckBox *quickTileBox;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer;
    QLabel *label_3;
    QSpinBox *electricBorderCornerRatio;
    QLabel *label_4;
    QSpacerItem *horizontalSpacer_2;
    QGroupBox *groupBox_2;
    QFormLayout *formLayout;
    QLabel *desktopSwitchLabel;
    KComboBox *desktopSwitchCombo;
    QLabel *label;
    KIntSpinBox *activationDelaySpin;
    QLabel *label_2;
    KIntSpinBox *triggerCooldownSpin;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *KWinScreenEdgesConfigForm)
    {
        if (KWinScreenEdgesConfigForm->objectName().isEmpty())
            KWinScreenEdgesConfigForm->setObjectName(QString::fromUtf8("KWinScreenEdgesConfigForm"));
        KWinScreenEdgesConfigForm->resize(461, 511);
        verticalLayout = new QVBoxLayout(KWinScreenEdgesConfigForm);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        groupBox_3 = new QGroupBox(KWinScreenEdgesConfigForm);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        horizontalLayout = new QHBoxLayout(groupBox_3);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        monitor = new KWin::Monitor(groupBox_3);
        monitor->setObjectName(QString::fromUtf8("monitor"));
        monitor->setMinimumSize(QSize(200, 200));
        monitor->setFocusPolicy(Qt::StrongFocus);

        horizontalLayout->addWidget(monitor);

        label_7 = new QLabel(groupBox_3);
        label_7->setObjectName(QString::fromUtf8("label_7"));
        label_7->setAlignment(Qt::AlignCenter);
        label_7->setWordWrap(true);

        horizontalLayout->addWidget(label_7);


        verticalLayout->addWidget(groupBox_3);

        groupBox = new QGroupBox(KWinScreenEdgesConfigForm);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        quickMaximizeBox = new QCheckBox(groupBox);
        quickMaximizeBox->setObjectName(QString::fromUtf8("quickMaximizeBox"));

        verticalLayout_2->addWidget(quickMaximizeBox);

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

        verticalLayout_2->addWidget(quickTileBox);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer);

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setEnabled(false);

        horizontalLayout_2->addWidget(label_3);

        electricBorderCornerRatio = new QSpinBox(groupBox);
        electricBorderCornerRatio->setObjectName(QString::fromUtf8("electricBorderCornerRatio"));
        electricBorderCornerRatio->setEnabled(false);
        electricBorderCornerRatio->setMinimum(1);
        electricBorderCornerRatio->setMaximum(49);

        horizontalLayout_2->addWidget(electricBorderCornerRatio);

        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setEnabled(false);

        horizontalLayout_2->addWidget(label_4);

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

        horizontalLayout_2->addItem(horizontalSpacer_2);


        verticalLayout_2->addLayout(horizontalLayout_2);


        verticalLayout->addWidget(groupBox);

        groupBox_2 = new QGroupBox(KWinScreenEdgesConfigForm);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        groupBox_2->setEnabled(true);
        formLayout = new QFormLayout(groupBox_2);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        desktopSwitchLabel = new QLabel(groupBox_2);
        desktopSwitchLabel->setObjectName(QString::fromUtf8("desktopSwitchLabel"));

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

        desktopSwitchCombo = new KComboBox(groupBox_2);
        desktopSwitchCombo->setObjectName(QString::fromUtf8("desktopSwitchCombo"));

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

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

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

        activationDelaySpin = new KIntSpinBox(groupBox_2);
        activationDelaySpin->setObjectName(QString::fromUtf8("activationDelaySpin"));
        activationDelaySpin->setMaximum(1000);
        activationDelaySpin->setSingleStep(50);
        activationDelaySpin->setValue(0);

        formLayout->setWidget(2, QFormLayout::FieldRole, activationDelaySpin);

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

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

        triggerCooldownSpin = new KIntSpinBox(groupBox_2);
        triggerCooldownSpin->setObjectName(QString::fromUtf8("triggerCooldownSpin"));
        triggerCooldownSpin->setEnabled(true);
        triggerCooldownSpin->setMaximum(1000);
        triggerCooldownSpin->setSingleStep(50);
        triggerCooldownSpin->setValue(0);

        formLayout->setWidget(3, QFormLayout::FieldRole, triggerCooldownSpin);

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

        formLayout->setItem(4, QFormLayout::LabelRole, verticalSpacer_2);


        verticalLayout->addWidget(groupBox_2);

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

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        label_3->setBuddy(electricBorderCornerRatio);
        desktopSwitchLabel->setBuddy(desktopSwitchCombo);
        label->setBuddy(activationDelaySpin);
        label_2->setBuddy(triggerCooldownSpin);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(monitor, desktopSwitchCombo);
        QWidget::setTabOrder(desktopSwitchCombo, activationDelaySpin);
        QWidget::setTabOrder(activationDelaySpin, triggerCooldownSpin);

        retranslateUi(KWinScreenEdgesConfigForm);
        QObject::connect(quickTileBox, SIGNAL(toggled(bool)), label_3, SLOT(setEnabled(bool)));
        QObject::connect(quickTileBox, SIGNAL(toggled(bool)), electricBorderCornerRatio, SLOT(setEnabled(bool)));
        QObject::connect(quickTileBox, SIGNAL(toggled(bool)), label_4, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *KWinScreenEdgesConfigForm)
    {
        groupBox_3->setTitle(tr2i18n("Active Screen Edge Actions", 0));
        label_7->setText(tr2i18n("To trigger an action push your mouse cursor against the edge of the screen in the action's direction.", 0));
        groupBox->setTitle(tr2i18n("Window Management", 0));
        quickMaximizeBox->setText(tr2i18n("Maximize windows by dragging them to the top of the screen", 0));
        quickTileBox->setText(tr2i18n("Tile windows by dragging them to the side of the screen", 0));
        label_3->setText(tr2i18n("Quarter tiling triggered in the outer", 0));
        electricBorderCornerRatio->setSuffix(tr2i18n("%", 0));
        label_4->setText(tr2i18n("of the screen", 0));
        groupBox_2->setTitle(tr2i18n("Other Settings", 0));
#ifndef UI_QT_NO_TOOLTIP
        desktopSwitchLabel->setToolTip(tr2i18n("Change desktop when the mouse cursor is pushed against the edge of the screen", 0));
#endif // QT_NO_TOOLTIP
        desktopSwitchLabel->setText(tr2i18n("&Switch desktop on edge:", 0));
        desktopSwitchCombo->clear();
        desktopSwitchCombo->insertItems(0, QStringList()
         << tr2i18n("Disabled", "Switch desktop on edge")
         << tr2i18n("Only When Moving Windows", 0)
         << tr2i18n("Always Enabled", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        label->setToolTip(tr2i18n("Amount of time required for the mouse cursor to be pushed against the edge of the screen before the action is triggered", 0));
#endif // QT_NO_TOOLTIP
        label->setText(tr2i18n("Activation &delay:", 0));
        activationDelaySpin->setSuffix(tr2i18n(" ms", 0));
#ifndef UI_QT_NO_TOOLTIP
        label_2->setToolTip(tr2i18n("Amount of time required after triggering an action until the next trigger can occur", 0));
#endif // QT_NO_TOOLTIP
        label_2->setText(tr2i18n("&Reactivation delay:", 0));
        triggerCooldownSpin->setSuffix(tr2i18n(" ms", 0));
        Q_UNUSED(KWinScreenEdgesConfigForm);
    } // retranslateUi

};

namespace Ui {
    class KWinScreenEdgesConfigForm: public Ui_KWinScreenEdgesConfigForm {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MAIN_H

