#include <klocalizedstring.h>

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

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.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;
    QSpinBox *activationDelaySpin;
    QLabel *label_2;
    QSpinBox *triggerCooldownSpin;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *verticalSpacer;

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

        horizontalLayout->addWidget(monitor);

        label_7 = new QLabel(groupBox_3);
        label_7->setObjectName(QStringLiteral("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(QStringLiteral("groupBox"));
        verticalLayout_2 = new QVBoxLayout(groupBox);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        quickMaximizeBox = new QCheckBox(groupBox);
        quickMaximizeBox->setObjectName(QStringLiteral("quickMaximizeBox"));

        verticalLayout_2->addWidget(quickMaximizeBox);

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

        verticalLayout_2->addWidget(quickTileBox);

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

        horizontalLayout_2->addItem(horizontalSpacer);

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QStringLiteral("label_3"));
        label_3->setEnabled(false);

        horizontalLayout_2->addWidget(label_3);

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

        horizontalLayout_2->addWidget(electricBorderCornerRatio);

        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QStringLiteral("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(QStringLiteral("groupBox_2"));
        groupBox_2->setEnabled(true);
        formLayout = new QFormLayout(groupBox_2);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        formLayout->setVerticalSpacing(0);
        desktopSwitchLabel = new QLabel(groupBox_2);
        desktopSwitchLabel->setObjectName(QStringLiteral("desktopSwitchLabel"));

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

        desktopSwitchCombo = new KComboBox(groupBox_2);
        desktopSwitchCombo->setObjectName(QStringLiteral("desktopSwitchCombo"));

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

        label = new QLabel(groupBox_2);
        label->setObjectName(QStringLiteral("label"));

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

        activationDelaySpin = new QSpinBox(groupBox_2);
        activationDelaySpin->setObjectName(QStringLiteral("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(QStringLiteral("label_2"));
        label_2->setEnabled(true);

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

        triggerCooldownSpin = new QSpinBox(groupBox_2);
        triggerCooldownSpin->setObjectName(QStringLiteral("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

