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

/********************************************************************************
** Form generated from reading UI file 'advanced.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_ADVANCED_H
#define UI_ADVANCED_H

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

QT_BEGIN_NAMESPACE

class Ui_KWinAdvancedConfigForm
{
public:
    QGridLayout *gridLayout;
    QSpacerItem *horizontalSpacer_3;
    QSpacerItem *horizontalSpacer;
    KButtonGroup *wtBox;
    QVBoxLayout *wtLay;
    QCheckBox *inactiveTabsSkipTaskbar;
    QCheckBox *autogroupSimilarWindows;
    QCheckBox *autogroupInForeground;
    QSpacerItem *verticalSpacer;
    QGroupBox *groupBox;
    QHBoxLayout *horizontalLayout;
    KComboBox *placementCombo;
    KButtonGroup *shBox;
    QGridLayout *gridLayout_2;
    QLabel *shadeHoverLabel;
    QSpacerItem *horizontalSpacer_2;
    QCheckBox *shadeHoverOn;
    KIntNumInput *shadeHover;
    QGroupBox *groupBox_2;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *hideUtilityWindowsForInactive;

    void setupUi(QWidget *KWinAdvancedConfigForm)
    {
        if (KWinAdvancedConfigForm->objectName().isEmpty())
            KWinAdvancedConfigForm->setObjectName(QString::fromUtf8("KWinAdvancedConfigForm"));
        KWinAdvancedConfigForm->resize(504, 387);
        gridLayout = new QGridLayout(KWinAdvancedConfigForm);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer_3, 2, 2, 1, 1);

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

        gridLayout->addItem(horizontalSpacer, 2, 0, 1, 1);

        wtBox = new KButtonGroup(KWinAdvancedConfigForm);
        wtBox->setObjectName(QString::fromUtf8("wtBox"));
        wtBox->setFlat(true);
        wtLay = new QVBoxLayout(wtBox);
        wtLay->setObjectName(QString::fromUtf8("wtLay"));
        inactiveTabsSkipTaskbar = new QCheckBox(wtBox);
        inactiveTabsSkipTaskbar->setObjectName(QString::fromUtf8("inactiveTabsSkipTaskbar"));

        wtLay->addWidget(inactiveTabsSkipTaskbar);

        autogroupSimilarWindows = new QCheckBox(wtBox);
        autogroupSimilarWindows->setObjectName(QString::fromUtf8("autogroupSimilarWindows"));

        wtLay->addWidget(autogroupSimilarWindows);

        autogroupInForeground = new QCheckBox(wtBox);
        autogroupInForeground->setObjectName(QString::fromUtf8("autogroupInForeground"));

        wtLay->addWidget(autogroupInForeground);


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

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

        gridLayout->addItem(verticalSpacer, 4, 1, 1, 1);

        groupBox = new QGroupBox(KWinAdvancedConfigForm);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        groupBox->setFlat(true);
        horizontalLayout = new QHBoxLayout(groupBox);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        placementCombo = new KComboBox(groupBox);
        placementCombo->setObjectName(QString::fromUtf8("placementCombo"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(placementCombo->sizePolicy().hasHeightForWidth());
        placementCombo->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(placementCombo);


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

        shBox = new KButtonGroup(KWinAdvancedConfigForm);
        shBox->setObjectName(QString::fromUtf8("shBox"));
        shBox->setFlat(true);
        gridLayout_2 = new QGridLayout(shBox);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        shadeHoverLabel = new QLabel(shBox);
        shadeHoverLabel->setObjectName(QString::fromUtf8("shadeHoverLabel"));
        shadeHoverLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(shadeHoverLabel, 3, 1, 1, 1);

        horizontalSpacer_2 = new QSpacerItem(24, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout_2->addItem(horizontalSpacer_2, 3, 0, 1, 1);

        shadeHoverOn = new QCheckBox(shBox);
        shadeHoverOn->setObjectName(QString::fromUtf8("shadeHoverOn"));

        gridLayout_2->addWidget(shadeHoverOn, 0, 0, 3, 5);

        shadeHover = new KIntNumInput(shBox);
        shadeHover->setObjectName(QString::fromUtf8("shadeHover"));
        shadeHover->setValue(500);
        shadeHover->setMinimum(0);
        shadeHover->setMaximum(3000);
        shadeHover->setSingleStep(100);

        gridLayout_2->addWidget(shadeHover, 3, 2, 1, 3);


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

        groupBox_2 = new QGroupBox(KWinAdvancedConfigForm);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        groupBox_2->setFlat(true);
        horizontalLayout_2 = new QHBoxLayout(groupBox_2);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        hideUtilityWindowsForInactive = new QCheckBox(groupBox_2);
        hideUtilityWindowsForInactive->setObjectName(QString::fromUtf8("hideUtilityWindowsForInactive"));

        horizontalLayout_2->addWidget(hideUtilityWindowsForInactive);


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

        gridLayout->setColumnStretch(0, 2);
        gridLayout->setColumnStretch(1, 1);
        gridLayout->setColumnStretch(2, 5);
#ifndef UI_QT_NO_SHORTCUT
        shadeHoverLabel->setBuddy(shadeHover);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(shadeHoverOn, shadeHover);
        QWidget::setTabOrder(shadeHover, inactiveTabsSkipTaskbar);
        QWidget::setTabOrder(inactiveTabsSkipTaskbar, autogroupSimilarWindows);
        QWidget::setTabOrder(autogroupSimilarWindows, autogroupInForeground);
        QWidget::setTabOrder(autogroupInForeground, placementCombo);
        QWidget::setTabOrder(placementCombo, hideUtilityWindowsForInactive);

        retranslateUi(KWinAdvancedConfigForm);

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

    void retranslateUi(QWidget *KWinAdvancedConfigForm)
    {
        wtBox->setTitle(tr2i18n("Window Tabbing", 0));
#ifndef UI_QT_NO_WHATSTHIS
        inactiveTabsSkipTaskbar->setWhatsThis(tr2i18n("When turned on hide all tabs that are not active from the taskbar.", 0));
#endif // QT_NO_WHATSTHIS
        inactiveTabsSkipTaskbar->setText(tr2i18n("Hide inactive window tabs from the taskbar", 0));
#ifndef UI_QT_NO_WHATSTHIS
        autogroupSimilarWindows->setWhatsThis(tr2i18n("When turned on attempt to automatically detect when a newly opened window is related to an existing one and place them in the same window group.", 0));
#endif // QT_NO_WHATSTHIS
        autogroupSimilarWindows->setText(tr2i18n("Automatically group similar windows", 0));
#ifndef UI_QT_NO_WHATSTHIS
        autogroupInForeground->setWhatsThis(tr2i18n("When turned on immediately switch to any new window tabs that were automatically added to the current group.", 0));
#endif // QT_NO_WHATSTHIS
        autogroupInForeground->setText(tr2i18n("Switch to automatically grouped windows immediately", 0));
        groupBox->setTitle(tr2i18n("&Placement:", 0));
        placementCombo->clear();
        placementCombo->insertItems(0, QStringList()
         << tr2i18n("Smart", 0)
         << tr2i18n("Maximizing", 0)
         << tr2i18n("Cascade", 0)
         << tr2i18n("Random", 0)
         << tr2i18n("Centered", 0)
         << tr2i18n("Zero-Cornered", 0)
         << tr2i18n("Under Mouse", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        placementCombo->setWhatsThis(tr2i18n("The placement policy determines where a new window will appear on the desktop.\n"
"<ul>\n"
"<li><em>Smart</em> will try to achieve a minimum overlap of windows</li>\n"
"<li><em>Maximizing</em> will try to maximize every window to fill the whole screen. It might be useful to selectively affect placement of some windows using the window-specific settings.</li>\n"
"<li><em>Cascade</em> will cascade the windows</li>\n"
"<li><em>Random</em> will use a random position</li>\n"
"<li><em>Centered</em> will place the window centered</li>\n"
"<li><em>Zero-Cornered</em> will place the window in the top-left corner</li>\n"
"<li><em>Under Mouse</em> will place the window under the pointer</li>\n"
"</ul>", 0));
#endif // QT_NO_WHATSTHIS
        shBox->setTitle(tr2i18n("Shading", 0));
        shadeHoverLabel->setText(tr2i18n("Dela&y:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        shadeHoverOn->setWhatsThis(tr2i18n("If Shade Hover is enabled, a shaded window will un-shade automatically when the mouse pointer has been over the title bar for some time.", 0));
#endif // QT_NO_WHATSTHIS
        shadeHoverOn->setText(tr2i18n("&Enable hover", 0));
#ifndef UI_QT_NO_WHATSTHIS
        shadeHover->setWhatsThis(tr2i18n("Sets the time in milliseconds before the window unshades when the mouse pointer goes over the shaded window.", 0));
#endif // QT_NO_WHATSTHIS
        shadeHover->setSuffix(tr2i18n(" ms", 0));
        groupBox_2->setTitle(tr2i18n("Special Windows", 0));
#ifndef UI_QT_NO_WHATSTHIS
        hideUtilityWindowsForInactive->setWhatsThis(tr2i18n("When turned on, utility windows (tool windows, torn-off menus,...) of inactive applications will be hidden and will be shown only when the application becomes active. Note that applications have to mark the windows with the proper window type for this feature to work.", 0));
#endif // QT_NO_WHATSTHIS
        hideUtilityWindowsForInactive->setText(tr2i18n("Hide utility windows for inactive applications", 0));
        Q_UNUSED(KWinAdvancedConfigForm);
    } // retranslateUi

};

namespace Ui {
    class KWinAdvancedConfigForm: public Ui_KWinAdvancedConfigForm {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ADVANCED_H

