#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'ruleswidgetbase.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_RULESWIDGETBASE_H
#define UI_RULESWIDGETBASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFrame>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "klineedit.h"
#include "yesnobox.h"

namespace KWin {

class Ui_RulesWidgetBase
{
public:
    QGridLayout *gridLayout_3;
    QTabWidget *tabs;
    QWidget *TabPage1;
    QGridLayout *gridLayout_2;
    QLabel *textLabel1;
    KLineEdit *description;
    QLabel *textLabel2;
    QComboBox *wmclass_match;
    KLineEdit *wmclass;
    QPushButton *edit_reg_wmclass;
    QCheckBox *whole_wmclass;
    QLabel *textLabel3;
    KComboBox *role_match;
    KLineEdit *role;
    QPushButton *edit_reg_role;
    QLabel *textLabel4;
    QLabel *textLabel5;
    QComboBox *title_match;
    QPushButton *edit_reg_title;
    QLabel *textLabel7;
    KComboBox *machine_match;
    QPushButton *edit_reg_machine;
    QSpacerItem *verticalSpacer;
    KLineEdit *machine;
    KLineEdit *title;
    QHBoxLayout *hboxLayout;
    QSpacerItem *horizontalSpacer_6;
    QPushButton *detect;
    QSpinBox *detection_delay;
    QSpacerItem *spacerItem;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *verticalSpacer_3;
    QListWidget *types;
    QFrame *line_13;
    QWidget *TabPage3;
    QGridLayout *gridLayout_5;
    QCheckBox *enable_position;
    QComboBox *rule_position;
    QLineEdit *position;
    QCheckBox *enable_size;
    QComboBox *rule_size;
    QLineEdit *size;
    QFrame *line_5;
    QCheckBox *enable_maximizehoriz;
    QComboBox *rule_maximizehoriz;
    YesNoBox *maximizehoriz;
    QCheckBox *enable_maximizevert;
    QComboBox *rule_maximizevert;
    YesNoBox *maximizevert;
    QFrame *line_4;
    QSpacerItem *horizontalSpacer_7;
    QCheckBox *enable_desktop;
    QComboBox *rule_desktop;
    QComboBox *desktop;
    QSpacerItem *horizontalSpacer;
    QCheckBox *enable_activity;
    QComboBox *rule_activity;
    QComboBox *activity;
    QSpinBox *screen;
    QFrame *line_3;
    QCheckBox *enable_fullscreen;
    QComboBox *rule_fullscreen;
    YesNoBox *fullscreen;
    QCheckBox *enable_minimize;
    QComboBox *rule_minimize;
    YesNoBox *minimize;
    QCheckBox *enable_shade;
    QComboBox *rule_shade;
    YesNoBox *shade;
    QFrame *line;
    QComboBox *rule_placement;
    QComboBox *placement;
    QCheckBox *enable_placement;
    QCheckBox *enable_ignoregeometry;
    QComboBox *rule_ignoregeometry;
    YesNoBox *ignoregeometry;
    QFrame *line_2;
    QComboBox *rule_minsize;
    QCheckBox *enable_minsize;
    QLineEdit *minsize;
    QCheckBox *enable_maxsize;
    QComboBox *rule_maxsize;
    QLineEdit *maxsize;
    QCheckBox *enable_strictgeometry;
    QComboBox *rule_strictgeometry;
    YesNoBox *strictgeometry;
    QSpacerItem *spacerItem1;
    QComboBox *rule_screen;
    QCheckBox *enable_screen;
    QWidget *TabPage4;
    QGridLayout *gridLayout_4;
    QComboBox *rule_below;
    QCheckBox *enable_skippager;
    QComboBox *rule_shortcut;
    YesNoBox *skippager;
    YesNoBox *below;
    QCheckBox *enable_skiptaskbar;
    KLineEdit *autogroupid;
    QCheckBox *enable_skipswitcher;
    QPushButton *shortcut_edit;
    QSpacerItem *verticalSpacer_6;
    QComboBox *rule_autogroup;
    QComboBox *rule_skippager;
    QFrame *line_8;
    QSpacerItem *verticalSpacer_8;
    YesNoBox *skipswitcher;
    YesNoBox *autogroup;
    QCheckBox *enable_shortcut;
    QComboBox *rule_skipswitcher;
    QComboBox *rule_skiptaskbar;
    QLineEdit *shortcut;
    YesNoBox *skiptaskbar;
    QCheckBox *enable_above;
    QSpacerItem *horizontalSpacer_2;
    QCheckBox *enable_autogroupfg;
    QComboBox *rule_autogroupfg;
    YesNoBox *above;
    QFrame *line_11;
    QCheckBox *enable_below;
    QSpacerItem *horizontalSpacer_8;
    QComboBox *rule_autogroupid;
    QFrame *line_14;
    QCheckBox *enable_autogroupid;
    QCheckBox *enable_autogroup;
    QComboBox *rule_above;
    YesNoBox *autogroupfg;
    QWidget *tab;
    QGridLayout *gridLayout;
    YesNoBox *acceptfocus;
    QComboBox *rule_opacityactive;
    QCheckBox *enable_blockcompositing;
    QCheckBox *enable_noborder;
    QComboBox *rule_noborder;
    QFrame *line_9;
    QCheckBox *enable_opacityactive;
    QSpacerItem *horizontalSpacer_10;
    QSpinBox *opacityactive;
    QCheckBox *enable_opacityinactive;
    QComboBox *rule_opacityinactive;
    QSpinBox *opacityinactive;
    QSpacerItem *verticalSpacer_9;
    QCheckBox *enable_acceptfocus;
    QComboBox *rule_acceptfocus;
    QFrame *line_6;
    QCheckBox *enable_disableglobalshortcuts;
    QComboBox *rule_disableglobalshortcuts;
    QCheckBox *enable_closeable;
    QCheckBox *enable_type;
    YesNoBox *closeable;
    QFrame *line_7;
    QComboBox *rule_type;
    QComboBox *type;
    QSpacerItem *verticalSpacer_4;
    QFrame *line_15;
    YesNoBox *blockcompositing;
    QSpacerItem *verticalSpacer_5;
    YesNoBox *disableglobalshortcuts;
    QSpacerItem *horizontalSpacer_4;
    YesNoBox *noborder;
    QComboBox *rule_closeable;
    KComboBox *fsplevel;
    QComboBox *rule_blockcompositing;
    QComboBox *rule_fsplevel;
    QCheckBox *enable_fsplevel;
    QCheckBox *enable_decocolor;
    QComboBox *decocolor;
    QComboBox *rule_decocolor;

    void setupUi(QWidget *KWin__RulesWidgetBase)
    {
        if (KWin__RulesWidgetBase->objectName().isEmpty())
            KWin__RulesWidgetBase->setObjectName(QStringLiteral("KWin__RulesWidgetBase"));
        KWin__RulesWidgetBase->resize(592, 588);
        gridLayout_3 = new QGridLayout(KWin__RulesWidgetBase);
        gridLayout_3->setObjectName(QStringLiteral("gridLayout_3"));
        tabs = new QTabWidget(KWin__RulesWidgetBase);
        tabs->setObjectName(QStringLiteral("tabs"));
        TabPage1 = new QWidget();
        TabPage1->setObjectName(QStringLiteral("TabPage1"));
        gridLayout_2 = new QGridLayout(TabPage1);
        gridLayout_2->setObjectName(QStringLiteral("gridLayout_2"));
        textLabel1 = new QLabel(TabPage1);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel1->setWordWrap(false);

        gridLayout_2->addWidget(textLabel1, 0, 0, 1, 1);

        description = new KLineEdit(TabPage1);
        description->setObjectName(QStringLiteral("description"));

        gridLayout_2->addWidget(description, 0, 1, 1, 4);

        textLabel2 = new QLabel(TabPage1);
        textLabel2->setObjectName(QStringLiteral("textLabel2"));
        textLabel2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel2->setWordWrap(false);

        gridLayout_2->addWidget(textLabel2, 4, 0, 1, 1);

        wmclass_match = new QComboBox(TabPage1);
        wmclass_match->setObjectName(QStringLiteral("wmclass_match"));

        gridLayout_2->addWidget(wmclass_match, 4, 1, 1, 1);

        wmclass = new KLineEdit(TabPage1);
        wmclass->setObjectName(QStringLiteral("wmclass"));

        gridLayout_2->addWidget(wmclass, 4, 2, 1, 2);

        edit_reg_wmclass = new QPushButton(TabPage1);
        edit_reg_wmclass->setObjectName(QStringLiteral("edit_reg_wmclass"));
        edit_reg_wmclass->setEnabled(false);

        gridLayout_2->addWidget(edit_reg_wmclass, 4, 4, 1, 1);

        whole_wmclass = new QCheckBox(TabPage1);
        whole_wmclass->setObjectName(QStringLiteral("whole_wmclass"));

        gridLayout_2->addWidget(whole_wmclass, 5, 2, 1, 3);

        textLabel3 = new QLabel(TabPage1);
        textLabel3->setObjectName(QStringLiteral("textLabel3"));
        textLabel3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel3->setWordWrap(false);

        gridLayout_2->addWidget(textLabel3, 6, 0, 1, 1);

        role_match = new KComboBox(TabPage1);
        role_match->setObjectName(QStringLiteral("role_match"));

        gridLayout_2->addWidget(role_match, 6, 1, 1, 1);

        role = new KLineEdit(TabPage1);
        role->setObjectName(QStringLiteral("role"));

        gridLayout_2->addWidget(role, 6, 2, 1, 2);

        edit_reg_role = new QPushButton(TabPage1);
        edit_reg_role->setObjectName(QStringLiteral("edit_reg_role"));
        edit_reg_role->setEnabled(false);

        gridLayout_2->addWidget(edit_reg_role, 6, 4, 1, 1);

        textLabel4 = new QLabel(TabPage1);
        textLabel4->setObjectName(QStringLiteral("textLabel4"));
        textLabel4->setAlignment(Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing);
        textLabel4->setWordWrap(false);

        gridLayout_2->addWidget(textLabel4, 8, 0, 2, 1);

        textLabel5 = new QLabel(TabPage1);
        textLabel5->setObjectName(QStringLiteral("textLabel5"));
        textLabel5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel5->setWordWrap(false);

        gridLayout_2->addWidget(textLabel5, 10, 0, 1, 1);

        title_match = new QComboBox(TabPage1);
        title_match->setObjectName(QStringLiteral("title_match"));

        gridLayout_2->addWidget(title_match, 10, 1, 1, 1);

        edit_reg_title = new QPushButton(TabPage1);
        edit_reg_title->setObjectName(QStringLiteral("edit_reg_title"));
        edit_reg_title->setEnabled(false);

        gridLayout_2->addWidget(edit_reg_title, 10, 4, 1, 1);

        textLabel7 = new QLabel(TabPage1);
        textLabel7->setObjectName(QStringLiteral("textLabel7"));
        textLabel7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel7->setWordWrap(false);

        gridLayout_2->addWidget(textLabel7, 11, 0, 1, 1);

        machine_match = new KComboBox(TabPage1);
        machine_match->setObjectName(QStringLiteral("machine_match"));

        gridLayout_2->addWidget(machine_match, 11, 1, 1, 1);

        edit_reg_machine = new QPushButton(TabPage1);
        edit_reg_machine->setObjectName(QStringLiteral("edit_reg_machine"));
        edit_reg_machine->setEnabled(false);

        gridLayout_2->addWidget(edit_reg_machine, 11, 4, 1, 1);

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

        gridLayout_2->addItem(verticalSpacer, 12, 0, 1, 5);

        machine = new KLineEdit(TabPage1);
        machine->setObjectName(QStringLiteral("machine"));

        gridLayout_2->addWidget(machine, 11, 2, 1, 2);

        title = new KLineEdit(TabPage1);
        title->setObjectName(QStringLiteral("title"));

        gridLayout_2->addWidget(title, 10, 2, 1, 2);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(horizontalSpacer_6);

        detect = new QPushButton(TabPage1);
        detect->setObjectName(QStringLiteral("detect"));

        hboxLayout->addWidget(detect);

        detection_delay = new QSpinBox(TabPage1);
        detection_delay->setObjectName(QStringLiteral("detection_delay"));
        detection_delay->setMaximum(30);

        hboxLayout->addWidget(detection_delay);

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

        hboxLayout->addItem(spacerItem);


        gridLayout_2->addLayout(hboxLayout, 2, 0, 1, 5);

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

        gridLayout_2->addItem(verticalSpacer_2, 3, 0, 1, 5);

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

        gridLayout_2->addItem(verticalSpacer_3, 1, 0, 1, 5);

        types = new QListWidget(TabPage1);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        new QListWidgetItem(types);
        types->setObjectName(QStringLiteral("types"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(types->sizePolicy().hasHeightForWidth());
        types->setSizePolicy(sizePolicy);
        types->setAutoFillBackground(false);
        types->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
        types->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
        types->setAutoScroll(true);
        types->setProperty("showDropIndicator", QVariant(false));
        types->setDragDropMode(QAbstractItemView::NoDragDrop);
        types->setAlternatingRowColors(false);
        types->setSelectionMode(QAbstractItemView::ExtendedSelection);
        types->setMovement(QListView::Static);
        types->setFlow(QListView::TopToBottom);
        types->setProperty("isWrapping", QVariant(true));
        types->setResizeMode(QListView::Adjust);
        types->setSpacing(0);
        types->setViewMode(QListView::ListMode);
        types->setUniformItemSizes(true);

        gridLayout_2->addWidget(types, 8, 1, 2, 3);

        line_13 = new QFrame(TabPage1);
        line_13->setObjectName(QStringLiteral("line_13"));
        line_13->setFrameShape(QFrame::HLine);
        line_13->setFrameShadow(QFrame::Sunken);

        gridLayout_2->addWidget(line_13, 7, 0, 1, 5);

        tabs->addTab(TabPage1, QString());
        TabPage3 = new QWidget();
        TabPage3->setObjectName(QStringLiteral("TabPage3"));
        gridLayout_5 = new QGridLayout(TabPage3);
        gridLayout_5->setObjectName(QStringLiteral("gridLayout_5"));
        enable_position = new QCheckBox(TabPage3);
        enable_position->setObjectName(QStringLiteral("enable_position"));

        gridLayout_5->addWidget(enable_position, 0, 1, 1, 1);

        rule_position = new QComboBox(TabPage3);
        rule_position->setObjectName(QStringLiteral("rule_position"));
        rule_position->setEnabled(false);

        gridLayout_5->addWidget(rule_position, 0, 3, 1, 1);

        position = new QLineEdit(TabPage3);
        position->setObjectName(QStringLiteral("position"));
        position->setEnabled(false);

        gridLayout_5->addWidget(position, 0, 4, 1, 1);

        enable_size = new QCheckBox(TabPage3);
        enable_size->setObjectName(QStringLiteral("enable_size"));

        gridLayout_5->addWidget(enable_size, 1, 1, 1, 1);

        rule_size = new QComboBox(TabPage3);
        rule_size->setObjectName(QStringLiteral("rule_size"));
        rule_size->setEnabled(false);

        gridLayout_5->addWidget(rule_size, 1, 3, 1, 1);

        size = new QLineEdit(TabPage3);
        size->setObjectName(QStringLiteral("size"));
        size->setEnabled(false);

        gridLayout_5->addWidget(size, 1, 4, 1, 1);

        line_5 = new QFrame(TabPage3);
        line_5->setObjectName(QStringLiteral("line_5"));
        line_5->setFrameShape(QFrame::HLine);
        line_5->setFrameShadow(QFrame::Sunken);

        gridLayout_5->addWidget(line_5, 2, 1, 1, 4);

        enable_maximizehoriz = new QCheckBox(TabPage3);
        enable_maximizehoriz->setObjectName(QStringLiteral("enable_maximizehoriz"));

        gridLayout_5->addWidget(enable_maximizehoriz, 3, 1, 1, 1);

        rule_maximizehoriz = new QComboBox(TabPage3);
        rule_maximizehoriz->setObjectName(QStringLiteral("rule_maximizehoriz"));
        rule_maximizehoriz->setEnabled(false);

        gridLayout_5->addWidget(rule_maximizehoriz, 3, 3, 1, 1);

        maximizehoriz = new YesNoBox(TabPage3);
        maximizehoriz->setObjectName(QStringLiteral("maximizehoriz"));
        maximizehoriz->setEnabled(false);

        gridLayout_5->addWidget(maximizehoriz, 3, 4, 1, 1);

        enable_maximizevert = new QCheckBox(TabPage3);
        enable_maximizevert->setObjectName(QStringLiteral("enable_maximizevert"));

        gridLayout_5->addWidget(enable_maximizevert, 4, 1, 1, 1);

        rule_maximizevert = new QComboBox(TabPage3);
        rule_maximizevert->setObjectName(QStringLiteral("rule_maximizevert"));
        rule_maximizevert->setEnabled(false);

        gridLayout_5->addWidget(rule_maximizevert, 4, 3, 1, 1);

        maximizevert = new YesNoBox(TabPage3);
        maximizevert->setObjectName(QStringLiteral("maximizevert"));
        maximizevert->setEnabled(false);

        gridLayout_5->addWidget(maximizevert, 4, 4, 1, 1);

        line_4 = new QFrame(TabPage3);
        line_4->setObjectName(QStringLiteral("line_4"));
        line_4->setFrameShape(QFrame::HLine);
        line_4->setFrameShadow(QFrame::Sunken);

        gridLayout_5->addWidget(line_4, 5, 1, 1, 4);

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

        gridLayout_5->addItem(horizontalSpacer_7, 6, 0, 1, 1);

        enable_desktop = new QCheckBox(TabPage3);
        enable_desktop->setObjectName(QStringLiteral("enable_desktop"));

        gridLayout_5->addWidget(enable_desktop, 6, 1, 1, 1);

        rule_desktop = new QComboBox(TabPage3);
        rule_desktop->setObjectName(QStringLiteral("rule_desktop"));
        rule_desktop->setEnabled(false);

        gridLayout_5->addWidget(rule_desktop, 6, 3, 1, 1);

        desktop = new QComboBox(TabPage3);
        desktop->setObjectName(QStringLiteral("desktop"));
        desktop->setEnabled(false);

        gridLayout_5->addWidget(desktop, 6, 4, 1, 1);

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

        gridLayout_5->addItem(horizontalSpacer, 6, 5, 1, 1);

        enable_activity = new QCheckBox(TabPage3);
        enable_activity->setObjectName(QStringLiteral("enable_activity"));

        gridLayout_5->addWidget(enable_activity, 7, 1, 1, 2);

        rule_activity = new QComboBox(TabPage3);
        rule_activity->setObjectName(QStringLiteral("rule_activity"));
        rule_activity->setEnabled(false);

        gridLayout_5->addWidget(rule_activity, 7, 3, 1, 1);

        activity = new QComboBox(TabPage3);
        activity->setObjectName(QStringLiteral("activity"));
        activity->setEnabled(false);

        gridLayout_5->addWidget(activity, 7, 4, 1, 1);

        screen = new QSpinBox(TabPage3);
        screen->setObjectName(QStringLiteral("screen"));
        screen->setEnabled(false);
        screen->setMinimum(1);

        gridLayout_5->addWidget(screen, 8, 4, 1, 1);

        line_3 = new QFrame(TabPage3);
        line_3->setObjectName(QStringLiteral("line_3"));
        line_3->setFrameShape(QFrame::HLine);
        line_3->setFrameShadow(QFrame::Sunken);

        gridLayout_5->addWidget(line_3, 9, 1, 1, 4);

        enable_fullscreen = new QCheckBox(TabPage3);
        enable_fullscreen->setObjectName(QStringLiteral("enable_fullscreen"));

        gridLayout_5->addWidget(enable_fullscreen, 10, 1, 1, 2);

        rule_fullscreen = new QComboBox(TabPage3);
        rule_fullscreen->setObjectName(QStringLiteral("rule_fullscreen"));
        rule_fullscreen->setEnabled(false);

        gridLayout_5->addWidget(rule_fullscreen, 10, 3, 1, 1);

        fullscreen = new YesNoBox(TabPage3);
        fullscreen->setObjectName(QStringLiteral("fullscreen"));
        fullscreen->setEnabled(false);

        gridLayout_5->addWidget(fullscreen, 10, 4, 1, 1);

        enable_minimize = new QCheckBox(TabPage3);
        enable_minimize->setObjectName(QStringLiteral("enable_minimize"));

        gridLayout_5->addWidget(enable_minimize, 11, 1, 1, 1);

        rule_minimize = new QComboBox(TabPage3);
        rule_minimize->setObjectName(QStringLiteral("rule_minimize"));
        rule_minimize->setEnabled(false);

        gridLayout_5->addWidget(rule_minimize, 11, 3, 1, 1);

        minimize = new YesNoBox(TabPage3);
        minimize->setObjectName(QStringLiteral("minimize"));
        minimize->setEnabled(false);

        gridLayout_5->addWidget(minimize, 11, 4, 1, 1);

        enable_shade = new QCheckBox(TabPage3);
        enable_shade->setObjectName(QStringLiteral("enable_shade"));

        gridLayout_5->addWidget(enable_shade, 12, 1, 1, 2);

        rule_shade = new QComboBox(TabPage3);
        rule_shade->setObjectName(QStringLiteral("rule_shade"));
        rule_shade->setEnabled(false);

        gridLayout_5->addWidget(rule_shade, 12, 3, 1, 1);

        shade = new YesNoBox(TabPage3);
        shade->setObjectName(QStringLiteral("shade"));
        shade->setEnabled(false);

        gridLayout_5->addWidget(shade, 12, 4, 1, 1);

        line = new QFrame(TabPage3);
        line->setObjectName(QStringLiteral("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        gridLayout_5->addWidget(line, 13, 1, 2, 4);

        rule_placement = new QComboBox(TabPage3);
        rule_placement->setObjectName(QStringLiteral("rule_placement"));
        rule_placement->setEnabled(false);

        gridLayout_5->addWidget(rule_placement, 14, 3, 2, 1);

        placement = new QComboBox(TabPage3);
        placement->setObjectName(QStringLiteral("placement"));
        placement->setEnabled(false);

        gridLayout_5->addWidget(placement, 14, 4, 2, 1);

        enable_placement = new QCheckBox(TabPage3);
        enable_placement->setObjectName(QStringLiteral("enable_placement"));

        gridLayout_5->addWidget(enable_placement, 15, 1, 1, 1);

        enable_ignoregeometry = new QCheckBox(TabPage3);
        enable_ignoregeometry->setObjectName(QStringLiteral("enable_ignoregeometry"));

        gridLayout_5->addWidget(enable_ignoregeometry, 16, 1, 1, 2);

        rule_ignoregeometry = new QComboBox(TabPage3);
        rule_ignoregeometry->setObjectName(QStringLiteral("rule_ignoregeometry"));
        rule_ignoregeometry->setEnabled(false);

        gridLayout_5->addWidget(rule_ignoregeometry, 16, 3, 1, 1);

        ignoregeometry = new YesNoBox(TabPage3);
        ignoregeometry->setObjectName(QStringLiteral("ignoregeometry"));
        ignoregeometry->setEnabled(false);

        gridLayout_5->addWidget(ignoregeometry, 16, 4, 1, 1);

        line_2 = new QFrame(TabPage3);
        line_2->setObjectName(QStringLiteral("line_2"));
        line_2->setFrameShape(QFrame::HLine);
        line_2->setFrameShadow(QFrame::Sunken);

        gridLayout_5->addWidget(line_2, 17, 1, 2, 4);

        rule_minsize = new QComboBox(TabPage3);
        rule_minsize->setObjectName(QStringLiteral("rule_minsize"));
        rule_minsize->setEnabled(false);

        gridLayout_5->addWidget(rule_minsize, 18, 3, 2, 1);

        enable_minsize = new QCheckBox(TabPage3);
        enable_minsize->setObjectName(QStringLiteral("enable_minsize"));

        gridLayout_5->addWidget(enable_minsize, 19, 1, 1, 1);

        minsize = new QLineEdit(TabPage3);
        minsize->setObjectName(QStringLiteral("minsize"));
        minsize->setEnabled(false);

        gridLayout_5->addWidget(minsize, 19, 4, 1, 1);

        enable_maxsize = new QCheckBox(TabPage3);
        enable_maxsize->setObjectName(QStringLiteral("enable_maxsize"));

        gridLayout_5->addWidget(enable_maxsize, 20, 1, 1, 1);

        rule_maxsize = new QComboBox(TabPage3);
        rule_maxsize->setObjectName(QStringLiteral("rule_maxsize"));
        rule_maxsize->setEnabled(false);

        gridLayout_5->addWidget(rule_maxsize, 20, 3, 1, 1);

        maxsize = new QLineEdit(TabPage3);
        maxsize->setObjectName(QStringLiteral("maxsize"));
        maxsize->setEnabled(false);

        gridLayout_5->addWidget(maxsize, 20, 4, 1, 1);

        enable_strictgeometry = new QCheckBox(TabPage3);
        enable_strictgeometry->setObjectName(QStringLiteral("enable_strictgeometry"));
        enable_strictgeometry->setLayoutDirection(Qt::LeftToRight);

        gridLayout_5->addWidget(enable_strictgeometry, 21, 1, 1, 2);

        rule_strictgeometry = new QComboBox(TabPage3);
        rule_strictgeometry->setObjectName(QStringLiteral("rule_strictgeometry"));
        rule_strictgeometry->setEnabled(false);

        gridLayout_5->addWidget(rule_strictgeometry, 21, 3, 1, 1);

        strictgeometry = new YesNoBox(TabPage3);
        strictgeometry->setObjectName(QStringLiteral("strictgeometry"));
        strictgeometry->setEnabled(false);

        gridLayout_5->addWidget(strictgeometry, 21, 4, 1, 1);

        spacerItem1 = new QSpacerItem(20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout_5->addItem(spacerItem1, 22, 3, 1, 1);

        rule_screen = new QComboBox(TabPage3);
        rule_screen->setObjectName(QStringLiteral("rule_screen"));
        rule_screen->setEnabled(false);

        gridLayout_5->addWidget(rule_screen, 8, 3, 1, 1);

        enable_screen = new QCheckBox(TabPage3);
        enable_screen->setObjectName(QStringLiteral("enable_screen"));

        gridLayout_5->addWidget(enable_screen, 8, 1, 1, 2);

        tabs->addTab(TabPage3, QString());
        TabPage4 = new QWidget();
        TabPage4->setObjectName(QStringLiteral("TabPage4"));
        gridLayout_4 = new QGridLayout(TabPage4);
        gridLayout_4->setObjectName(QStringLiteral("gridLayout_4"));
        rule_below = new QComboBox(TabPage4);
        rule_below->setObjectName(QStringLiteral("rule_below"));
        rule_below->setEnabled(false);

        gridLayout_4->addWidget(rule_below, 1, 2, 1, 2);

        enable_skippager = new QCheckBox(TabPage4);
        enable_skippager->setObjectName(QStringLiteral("enable_skippager"));

        gridLayout_4->addWidget(enable_skippager, 13, 1, 1, 1);

        rule_shortcut = new QComboBox(TabPage4);
        rule_shortcut->setObjectName(QStringLiteral("rule_shortcut"));
        rule_shortcut->setEnabled(false);

        gridLayout_4->addWidget(rule_shortcut, 16, 2, 1, 2);

        skippager = new YesNoBox(TabPage4);
        skippager->setObjectName(QStringLiteral("skippager"));
        skippager->setEnabled(false);

        gridLayout_4->addWidget(skippager, 13, 4, 1, 3);

        below = new YesNoBox(TabPage4);
        below->setObjectName(QStringLiteral("below"));
        below->setEnabled(false);

        gridLayout_4->addWidget(below, 1, 4, 1, 3);

        enable_skiptaskbar = new QCheckBox(TabPage4);
        enable_skiptaskbar->setObjectName(QStringLiteral("enable_skiptaskbar"));

        gridLayout_4->addWidget(enable_skiptaskbar, 12, 1, 1, 1);

        autogroupid = new KLineEdit(TabPage4);
        autogroupid->setObjectName(QStringLiteral("autogroupid"));
        autogroupid->setEnabled(false);

        gridLayout_4->addWidget(autogroupid, 7, 4, 1, 3);

        enable_skipswitcher = new QCheckBox(TabPage4);
        enable_skipswitcher->setObjectName(QStringLiteral("enable_skipswitcher"));

        gridLayout_4->addWidget(enable_skipswitcher, 14, 1, 1, 1);

        shortcut_edit = new QPushButton(TabPage4);
        shortcut_edit->setObjectName(QStringLiteral("shortcut_edit"));
        shortcut_edit->setEnabled(false);

        gridLayout_4->addWidget(shortcut_edit, 16, 6, 1, 1);

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

        gridLayout_4->addItem(verticalSpacer_6, 17, 0, 1, 8);

        rule_autogroup = new QComboBox(TabPage4);
        rule_autogroup->setObjectName(QStringLiteral("rule_autogroup"));
        rule_autogroup->setEnabled(false);

        gridLayout_4->addWidget(rule_autogroup, 5, 2, 1, 2);

        rule_skippager = new QComboBox(TabPage4);
        rule_skippager->setObjectName(QStringLiteral("rule_skippager"));
        rule_skippager->setEnabled(false);

        gridLayout_4->addWidget(rule_skippager, 13, 2, 1, 2);

        line_8 = new QFrame(TabPage4);
        line_8->setObjectName(QStringLiteral("line_8"));
        line_8->setFrameShape(QFrame::HLine);
        line_8->setFrameShadow(QFrame::Sunken);

        gridLayout_4->addWidget(line_8, 15, 1, 1, 6);

        verticalSpacer_8 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout_4->addItem(verticalSpacer_8, 11, 2, 1, 1);

        skipswitcher = new YesNoBox(TabPage4);
        skipswitcher->setObjectName(QStringLiteral("skipswitcher"));
        skipswitcher->setEnabled(false);

        gridLayout_4->addWidget(skipswitcher, 14, 4, 1, 3);

        autogroup = new YesNoBox(TabPage4);
        autogroup->setObjectName(QStringLiteral("autogroup"));
        autogroup->setEnabled(false);

        gridLayout_4->addWidget(autogroup, 5, 4, 1, 3);

        enable_shortcut = new QCheckBox(TabPage4);
        enable_shortcut->setObjectName(QStringLiteral("enable_shortcut"));

        gridLayout_4->addWidget(enable_shortcut, 16, 1, 1, 1);

        rule_skipswitcher = new QComboBox(TabPage4);
        rule_skipswitcher->setObjectName(QStringLiteral("rule_skipswitcher"));
        rule_skipswitcher->setEnabled(false);

        gridLayout_4->addWidget(rule_skipswitcher, 14, 2, 1, 2);

        rule_skiptaskbar = new QComboBox(TabPage4);
        rule_skiptaskbar->setObjectName(QStringLiteral("rule_skiptaskbar"));
        rule_skiptaskbar->setEnabled(false);

        gridLayout_4->addWidget(rule_skiptaskbar, 12, 2, 1, 2);

        shortcut = new QLineEdit(TabPage4);
        shortcut->setObjectName(QStringLiteral("shortcut"));
        shortcut->setEnabled(false);

        gridLayout_4->addWidget(shortcut, 16, 4, 1, 2);

        skiptaskbar = new YesNoBox(TabPage4);
        skiptaskbar->setObjectName(QStringLiteral("skiptaskbar"));
        skiptaskbar->setEnabled(false);

        gridLayout_4->addWidget(skiptaskbar, 12, 4, 1, 3);

        enable_above = new QCheckBox(TabPage4);
        enable_above->setObjectName(QStringLiteral("enable_above"));

        gridLayout_4->addWidget(enable_above, 0, 1, 1, 1);

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

        gridLayout_4->addItem(horizontalSpacer_2, 7, 7, 2, 1);

        enable_autogroupfg = new QCheckBox(TabPage4);
        enable_autogroupfg->setObjectName(QStringLiteral("enable_autogroupfg"));

        gridLayout_4->addWidget(enable_autogroupfg, 6, 1, 1, 1);

        rule_autogroupfg = new QComboBox(TabPage4);
        rule_autogroupfg->setObjectName(QStringLiteral("rule_autogroupfg"));
        rule_autogroupfg->setEnabled(false);

        gridLayout_4->addWidget(rule_autogroupfg, 6, 2, 1, 2);

        above = new YesNoBox(TabPage4);
        above->setObjectName(QStringLiteral("above"));
        above->setEnabled(false);

        gridLayout_4->addWidget(above, 0, 4, 1, 3);

        line_11 = new QFrame(TabPage4);
        line_11->setObjectName(QStringLiteral("line_11"));
        line_11->setFrameShape(QFrame::HLine);
        line_11->setFrameShadow(QFrame::Sunken);

        gridLayout_4->addWidget(line_11, 2, 1, 3, 6);

        enable_below = new QCheckBox(TabPage4);
        enable_below->setObjectName(QStringLiteral("enable_below"));

        gridLayout_4->addWidget(enable_below, 1, 1, 1, 1);

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

        gridLayout_4->addItem(horizontalSpacer_8, 7, 0, 2, 1);

        rule_autogroupid = new QComboBox(TabPage4);
        rule_autogroupid->setObjectName(QStringLiteral("rule_autogroupid"));
        rule_autogroupid->setEnabled(false);

        gridLayout_4->addWidget(rule_autogroupid, 7, 2, 1, 2);

        line_14 = new QFrame(TabPage4);
        line_14->setObjectName(QStringLiteral("line_14"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(line_14->sizePolicy().hasHeightForWidth());
        line_14->setSizePolicy(sizePolicy1);
        line_14->setFrameShape(QFrame::HLine);
        line_14->setFrameShadow(QFrame::Sunken);

        gridLayout_4->addWidget(line_14, 9, 0, 1, 8);

        enable_autogroupid = new QCheckBox(TabPage4);
        enable_autogroupid->setObjectName(QStringLiteral("enable_autogroupid"));

        gridLayout_4->addWidget(enable_autogroupid, 7, 1, 1, 1);

        enable_autogroup = new QCheckBox(TabPage4);
        enable_autogroup->setObjectName(QStringLiteral("enable_autogroup"));

        gridLayout_4->addWidget(enable_autogroup, 5, 1, 1, 1);

        rule_above = new QComboBox(TabPage4);
        rule_above->setObjectName(QStringLiteral("rule_above"));
        rule_above->setEnabled(false);

        gridLayout_4->addWidget(rule_above, 0, 2, 1, 2);

        autogroupfg = new YesNoBox(TabPage4);
        autogroupfg->setObjectName(QStringLiteral("autogroupfg"));
        autogroupfg->setEnabled(false);

        gridLayout_4->addWidget(autogroupfg, 6, 4, 1, 3);

        tabs->addTab(TabPage4, QString());
        tab = new QWidget();
        tab->setObjectName(QStringLiteral("tab"));
        gridLayout = new QGridLayout(tab);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        acceptfocus = new YesNoBox(tab);
        acceptfocus->setObjectName(QStringLiteral("acceptfocus"));
        acceptfocus->setEnabled(false);

        gridLayout->addWidget(acceptfocus, 11, 5, 2, 2);

        rule_opacityactive = new QComboBox(tab);
        rule_opacityactive->setObjectName(QStringLiteral("rule_opacityactive"));
        rule_opacityactive->setEnabled(false);

        gridLayout->addWidget(rule_opacityactive, 3, 2, 2, 3);

        enable_blockcompositing = new QCheckBox(tab);
        enable_blockcompositing->setObjectName(QStringLiteral("enable_blockcompositing"));

        gridLayout->addWidget(enable_blockcompositing, 23, 1, 2, 1);

        enable_noborder = new QCheckBox(tab);
        enable_noborder->setObjectName(QStringLiteral("enable_noborder"));

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

        rule_noborder = new QComboBox(tab);
        rule_noborder->setObjectName(QStringLiteral("rule_noborder"));
        rule_noborder->setEnabled(false);

        gridLayout->addWidget(rule_noborder, 0, 2, 1, 3);

        line_9 = new QFrame(tab);
        line_9->setObjectName(QStringLiteral("line_9"));
        line_9->setFrameShape(QFrame::HLine);
        line_9->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line_9, 2, 1, 2, 6);

        enable_opacityactive = new QCheckBox(tab);
        enable_opacityactive->setObjectName(QStringLiteral("enable_opacityactive"));

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

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

        gridLayout->addItem(horizontalSpacer_10, 10, 0, 3, 1);

        opacityactive = new QSpinBox(tab);
        opacityactive->setObjectName(QStringLiteral("opacityactive"));
        opacityactive->setEnabled(false);
        opacityactive->setMaximum(100);
        opacityactive->setValue(100);

        gridLayout->addWidget(opacityactive, 4, 5, 1, 2);

        enable_opacityinactive = new QCheckBox(tab);
        enable_opacityinactive->setObjectName(QStringLiteral("enable_opacityinactive"));

        gridLayout->addWidget(enable_opacityinactive, 5, 1, 1, 1);

        rule_opacityinactive = new QComboBox(tab);
        rule_opacityinactive->setObjectName(QStringLiteral("rule_opacityinactive"));
        rule_opacityinactive->setEnabled(false);

        gridLayout->addWidget(rule_opacityinactive, 5, 2, 1, 3);

        opacityinactive = new QSpinBox(tab);
        opacityinactive->setObjectName(QStringLiteral("opacityinactive"));
        opacityinactive->setEnabled(false);
        opacityinactive->setMaximum(100);
        opacityinactive->setValue(100);

        gridLayout->addWidget(opacityinactive, 5, 5, 1, 2);

        verticalSpacer_9 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_9, 9, 3, 1, 1);

        enable_acceptfocus = new QCheckBox(tab);
        enable_acceptfocus->setObjectName(QStringLiteral("enable_acceptfocus"));

        gridLayout->addWidget(enable_acceptfocus, 11, 1, 2, 1);

        rule_acceptfocus = new QComboBox(tab);
        rule_acceptfocus->setObjectName(QStringLiteral("rule_acceptfocus"));
        rule_acceptfocus->setEnabled(false);

        gridLayout->addWidget(rule_acceptfocus, 11, 2, 2, 3);

        line_6 = new QFrame(tab);
        line_6->setObjectName(QStringLiteral("line_6"));
        line_6->setFrameShape(QFrame::HLine);
        line_6->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line_6, 14, 1, 3, 6);

        enable_disableglobalshortcuts = new QCheckBox(tab);
        enable_disableglobalshortcuts->setObjectName(QStringLiteral("enable_disableglobalshortcuts"));

        gridLayout->addWidget(enable_disableglobalshortcuts, 13, 1, 1, 1);

        rule_disableglobalshortcuts = new QComboBox(tab);
        rule_disableglobalshortcuts->setObjectName(QStringLiteral("rule_disableglobalshortcuts"));
        rule_disableglobalshortcuts->setEnabled(false);

        gridLayout->addWidget(rule_disableglobalshortcuts, 13, 2, 1, 3);

        enable_closeable = new QCheckBox(tab);
        enable_closeable->setObjectName(QStringLiteral("enable_closeable"));

        gridLayout->addWidget(enable_closeable, 17, 1, 2, 1);

        enable_type = new QCheckBox(tab);
        enable_type->setObjectName(QStringLiteral("enable_type"));

        gridLayout->addWidget(enable_type, 19, 1, 1, 1);

        closeable = new YesNoBox(tab);
        closeable->setObjectName(QStringLiteral("closeable"));
        closeable->setEnabled(false);

        gridLayout->addWidget(closeable, 17, 5, 2, 2);

        line_7 = new QFrame(tab);
        line_7->setObjectName(QStringLiteral("line_7"));
        line_7->setFrameShape(QFrame::HLine);
        line_7->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line_7, 20, 1, 3, 6);

        rule_type = new QComboBox(tab);
        rule_type->setObjectName(QStringLiteral("rule_type"));
        rule_type->setEnabled(false);

        gridLayout->addWidget(rule_type, 19, 2, 1, 3);

        type = new QComboBox(tab);
        type->setObjectName(QStringLiteral("type"));
        type->setEnabled(false);

        gridLayout->addWidget(type, 19, 5, 1, 2);

        verticalSpacer_4 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_4, 7, 3, 1, 1);

        line_15 = new QFrame(tab);
        line_15->setObjectName(QStringLiteral("line_15"));
        line_15->setFrameShape(QFrame::HLine);
        line_15->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line_15, 8, 0, 1, 8);

        blockcompositing = new YesNoBox(tab);
        blockcompositing->setObjectName(QStringLiteral("blockcompositing"));
        blockcompositing->setEnabled(false);

        gridLayout->addWidget(blockcompositing, 23, 5, 2, 2);

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

        gridLayout->addItem(verticalSpacer_5, 25, 2, 1, 2);

        disableglobalshortcuts = new YesNoBox(tab);
        disableglobalshortcuts->setObjectName(QStringLiteral("disableglobalshortcuts"));
        disableglobalshortcuts->setEnabled(false);

        gridLayout->addWidget(disableglobalshortcuts, 13, 5, 1, 2);

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

        gridLayout->addItem(horizontalSpacer_4, 10, 7, 3, 1);

        noborder = new YesNoBox(tab);
        noborder->setObjectName(QStringLiteral("noborder"));
        noborder->setEnabled(false);

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

        rule_closeable = new QComboBox(tab);
        rule_closeable->setObjectName(QStringLiteral("rule_closeable"));
        rule_closeable->setEnabled(false);

        gridLayout->addWidget(rule_closeable, 17, 2, 2, 3);

        fsplevel = new KComboBox(tab);
        fsplevel->setObjectName(QStringLiteral("fsplevel"));
        fsplevel->setEnabled(false);

        gridLayout->addWidget(fsplevel, 10, 5, 1, 2);

        rule_blockcompositing = new QComboBox(tab);
        rule_blockcompositing->setObjectName(QStringLiteral("rule_blockcompositing"));
        rule_blockcompositing->setEnabled(false);

        gridLayout->addWidget(rule_blockcompositing, 23, 2, 2, 3);

        rule_fsplevel = new QComboBox(tab);
        rule_fsplevel->setObjectName(QStringLiteral("rule_fsplevel"));
        rule_fsplevel->setEnabled(false);

        gridLayout->addWidget(rule_fsplevel, 10, 2, 1, 3);

        enable_fsplevel = new QCheckBox(tab);
        enable_fsplevel->setObjectName(QStringLiteral("enable_fsplevel"));

        gridLayout->addWidget(enable_fsplevel, 10, 1, 1, 1);

        enable_decocolor = new QCheckBox(tab);
        enable_decocolor->setObjectName(QStringLiteral("enable_decocolor"));

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

        decocolor = new QComboBox(tab);
        decocolor->setObjectName(QStringLiteral("decocolor"));
        decocolor->setEnabled(false);

        gridLayout->addWidget(decocolor, 1, 5, 1, 2);

        rule_decocolor = new QComboBox(tab);
        rule_decocolor->setObjectName(QStringLiteral("rule_decocolor"));
        rule_decocolor->setEnabled(false);

        gridLayout->addWidget(rule_decocolor, 1, 2, 1, 3);

        tabs->addTab(tab, QString());

        gridLayout_3->addWidget(tabs, 0, 1, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        textLabel1->setBuddy(description);
        textLabel2->setBuddy(wmclass);
        textLabel3->setBuddy(role);
        textLabel4->setBuddy(types);
        textLabel5->setBuddy(title);
        textLabel7->setBuddy(machine);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(description, detect);
        QWidget::setTabOrder(detect, detection_delay);
        QWidget::setTabOrder(detection_delay, wmclass_match);
        QWidget::setTabOrder(wmclass_match, wmclass);
        QWidget::setTabOrder(wmclass, edit_reg_wmclass);
        QWidget::setTabOrder(edit_reg_wmclass, whole_wmclass);
        QWidget::setTabOrder(whole_wmclass, role_match);
        QWidget::setTabOrder(role_match, role);
        QWidget::setTabOrder(role, edit_reg_role);
        QWidget::setTabOrder(edit_reg_role, types);
        QWidget::setTabOrder(types, title_match);
        QWidget::setTabOrder(title_match, title);
        QWidget::setTabOrder(title, edit_reg_title);
        QWidget::setTabOrder(edit_reg_title, machine_match);
        QWidget::setTabOrder(machine_match, machine);
        QWidget::setTabOrder(machine, edit_reg_machine);
        QWidget::setTabOrder(edit_reg_machine, enable_position);
        QWidget::setTabOrder(enable_position, rule_position);
        QWidget::setTabOrder(rule_position, position);
        QWidget::setTabOrder(position, enable_size);
        QWidget::setTabOrder(enable_size, rule_size);
        QWidget::setTabOrder(rule_size, size);
        QWidget::setTabOrder(size, enable_maximizehoriz);
        QWidget::setTabOrder(enable_maximizehoriz, rule_maximizehoriz);
        QWidget::setTabOrder(rule_maximizehoriz, enable_maximizevert);
        QWidget::setTabOrder(enable_maximizevert, rule_maximizevert);
        QWidget::setTabOrder(rule_maximizevert, enable_desktop);
        QWidget::setTabOrder(enable_desktop, rule_desktop);
        QWidget::setTabOrder(rule_desktop, desktop);
        QWidget::setTabOrder(desktop, enable_activity);
        QWidget::setTabOrder(enable_activity, rule_activity);
        QWidget::setTabOrder(rule_activity, activity);
        QWidget::setTabOrder(activity, enable_screen);
        QWidget::setTabOrder(enable_screen, rule_screen);
        QWidget::setTabOrder(rule_screen, screen);
        QWidget::setTabOrder(screen, enable_fullscreen);
        QWidget::setTabOrder(enable_fullscreen, rule_fullscreen);
        QWidget::setTabOrder(rule_fullscreen, enable_minimize);
        QWidget::setTabOrder(enable_minimize, rule_minimize);
        QWidget::setTabOrder(rule_minimize, enable_shade);
        QWidget::setTabOrder(enable_shade, rule_shade);
        QWidget::setTabOrder(rule_shade, enable_placement);
        QWidget::setTabOrder(enable_placement, rule_placement);
        QWidget::setTabOrder(rule_placement, placement);
        QWidget::setTabOrder(placement, enable_ignoregeometry);
        QWidget::setTabOrder(enable_ignoregeometry, rule_ignoregeometry);
        QWidget::setTabOrder(rule_ignoregeometry, enable_minsize);
        QWidget::setTabOrder(enable_minsize, rule_minsize);
        QWidget::setTabOrder(rule_minsize, minsize);
        QWidget::setTabOrder(minsize, enable_maxsize);
        QWidget::setTabOrder(enable_maxsize, rule_maxsize);
        QWidget::setTabOrder(rule_maxsize, maxsize);
        QWidget::setTabOrder(maxsize, enable_strictgeometry);
        QWidget::setTabOrder(enable_strictgeometry, rule_strictgeometry);
        QWidget::setTabOrder(rule_strictgeometry, enable_above);
        QWidget::setTabOrder(enable_above, rule_above);
        QWidget::setTabOrder(rule_above, enable_below);
        QWidget::setTabOrder(enable_below, rule_below);
        QWidget::setTabOrder(rule_below, enable_autogroup);
        QWidget::setTabOrder(enable_autogroup, rule_autogroup);
        QWidget::setTabOrder(rule_autogroup, enable_autogroupfg);
        QWidget::setTabOrder(enable_autogroupfg, rule_autogroupfg);
        QWidget::setTabOrder(rule_autogroupfg, enable_autogroupid);
        QWidget::setTabOrder(enable_autogroupid, rule_autogroupid);
        QWidget::setTabOrder(rule_autogroupid, autogroupid);
        QWidget::setTabOrder(autogroupid, enable_skiptaskbar);
        QWidget::setTabOrder(enable_skiptaskbar, rule_skiptaskbar);
        QWidget::setTabOrder(rule_skiptaskbar, enable_skippager);
        QWidget::setTabOrder(enable_skippager, rule_skippager);
        QWidget::setTabOrder(rule_skippager, enable_skipswitcher);
        QWidget::setTabOrder(enable_skipswitcher, rule_skipswitcher);
        QWidget::setTabOrder(rule_skipswitcher, enable_shortcut);
        QWidget::setTabOrder(enable_shortcut, rule_shortcut);
        QWidget::setTabOrder(rule_shortcut, shortcut);
        QWidget::setTabOrder(shortcut, shortcut_edit);
        QWidget::setTabOrder(shortcut_edit, enable_noborder);
        QWidget::setTabOrder(enable_noborder, rule_noborder);
        QWidget::setTabOrder(rule_noborder, enable_opacityactive);
        QWidget::setTabOrder(enable_opacityactive, rule_opacityactive);
        QWidget::setTabOrder(rule_opacityactive, opacityactive);
        QWidget::setTabOrder(opacityactive, enable_opacityinactive);
        QWidget::setTabOrder(enable_opacityinactive, rule_opacityinactive);
        QWidget::setTabOrder(rule_opacityinactive, opacityinactive);
        QWidget::setTabOrder(opacityinactive, enable_fsplevel);
        QWidget::setTabOrder(enable_fsplevel, rule_fsplevel);
        QWidget::setTabOrder(rule_fsplevel, fsplevel);
        QWidget::setTabOrder(fsplevel, enable_acceptfocus);
        QWidget::setTabOrder(enable_acceptfocus, rule_acceptfocus);
        QWidget::setTabOrder(rule_acceptfocus, enable_disableglobalshortcuts);
        QWidget::setTabOrder(enable_disableglobalshortcuts, rule_disableglobalshortcuts);
        QWidget::setTabOrder(rule_disableglobalshortcuts, enable_closeable);
        QWidget::setTabOrder(enable_closeable, rule_closeable);
        QWidget::setTabOrder(rule_closeable, enable_type);
        QWidget::setTabOrder(enable_type, rule_type);
        QWidget::setTabOrder(rule_type, type);
        QWidget::setTabOrder(type, enable_blockcompositing);
        QWidget::setTabOrder(enable_blockcompositing, rule_blockcompositing);
        QWidget::setTabOrder(rule_blockcompositing, tabs);

        retranslateUi(KWin__RulesWidgetBase);
        QObject::connect(detect, SIGNAL(clicked()), KWin__RulesWidgetBase, SLOT(detectClicked()));
        QObject::connect(wmclass_match, SIGNAL(activated(int)), KWin__RulesWidgetBase, SLOT(wmclassMatchChanged()));
        QObject::connect(role_match, SIGNAL(activated(int)), KWin__RulesWidgetBase, SLOT(roleMatchChanged()));
        QObject::connect(title_match, SIGNAL(activated(int)), KWin__RulesWidgetBase, SLOT(titleMatchChanged()));
        QObject::connect(machine_match, SIGNAL(activated(int)), KWin__RulesWidgetBase, SLOT(machineMatchChanged()));

        tabs->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KWin__RulesWidgetBase)
    {
        textLabel1->setText(tr2i18n("&Description:", 0));
        textLabel2->setText(tr2i18n("Window &class (application):", 0));
        wmclass_match->clear();
        wmclass_match->insertItems(0, QStringList()
         << tr2i18n("Unimportant", 0)
         << tr2i18n("Exact Match", 0)
         << tr2i18n("Substring Match", 0)
         << tr2i18n("Regular Expression", 0)
        );
        edit_reg_wmclass->setText(tr2i18n("Edit", 0));
        edit_reg_wmclass->setShortcut(QString());
        whole_wmclass->setText(tr2i18n("Match w&hole window class", 0));
        textLabel3->setText(tr2i18n("Window ro&le:", 0));
        role_match->clear();
        role_match->insertItems(0, QStringList()
         << tr2i18n("Unimportant", 0)
         << tr2i18n("Exact Match", 0)
         << tr2i18n("Substring Match", 0)
         << tr2i18n("Regular Expression", 0)
        );
        edit_reg_role->setText(tr2i18n("Edit", 0));
        textLabel4->setText(tr2i18n("Window &types:", 0));
        textLabel5->setText(tr2i18n("Window t&itle:", 0));
        title_match->clear();
        title_match->insertItems(0, QStringList()
         << tr2i18n("Unimportant", 0)
         << tr2i18n("Exact Match", 0)
         << tr2i18n("Substring Match", 0)
         << tr2i18n("Regular Expression", 0)
        );
        edit_reg_title->setText(tr2i18n("Edit", 0));
        edit_reg_title->setShortcut(QString());
        textLabel7->setText(tr2i18n("&Machine (hostname):", 0));
        machine_match->clear();
        machine_match->insertItems(0, QStringList()
         << tr2i18n("Unimportant", 0)
         << tr2i18n("Exact Match", 0)
         << tr2i18n("Substring Match", 0)
         << tr2i18n("Regular Expression", 0)
        );
        edit_reg_machine->setText(tr2i18n("Edit", 0));
        edit_reg_machine->setShortcut(QString());
        detect->setText(tr2i18n("&Detect Window Properties", 0));
        detection_delay->setSuffix(tr2i18n("s delay", 0));

        const bool __sortingEnabled = types->isSortingEnabled();
        types->setSortingEnabled(false);
        QListWidgetItem *___qlistwidgetitem = types->item(0);
        ___qlistwidgetitem->setText(tr2i18n("Normal Window", 0));
        QListWidgetItem *___qlistwidgetitem1 = types->item(1);
        ___qlistwidgetitem1->setText(tr2i18n("Dialog Window", 0));
        QListWidgetItem *___qlistwidgetitem2 = types->item(2);
        ___qlistwidgetitem2->setText(tr2i18n("Utility Window", 0));
        QListWidgetItem *___qlistwidgetitem3 = types->item(3);
        ___qlistwidgetitem3->setText(tr2i18n("Dock (panel)", 0));
        QListWidgetItem *___qlistwidgetitem4 = types->item(4);
        ___qlistwidgetitem4->setText(tr2i18n("Toolbar", 0));
        QListWidgetItem *___qlistwidgetitem5 = types->item(5);
        ___qlistwidgetitem5->setText(tr2i18n("Torn-Off Menu", 0));
        QListWidgetItem *___qlistwidgetitem6 = types->item(6);
        ___qlistwidgetitem6->setText(tr2i18n("Splash Screen", 0));
        QListWidgetItem *___qlistwidgetitem7 = types->item(7);
        ___qlistwidgetitem7->setText(tr2i18n("Desktop", 0));
        QListWidgetItem *___qlistwidgetitem8 = types->item(8);
        ___qlistwidgetitem8->setText(tr2i18n("Unmanaged Window", 0));
        QListWidgetItem *___qlistwidgetitem9 = types->item(9);
        ___qlistwidgetitem9->setText(tr2i18n("Standalone Menubar", 0));
        types->setSortingEnabled(__sortingEnabled);

        tabs->setTabText(tabs->indexOf(TabPage1), tr2i18n("&Window matching", 0));
        enable_position->setText(tr2i18n("&Position", 0));
        rule_position->clear();
        rule_position->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        position->setPlaceholderText(tr2i18n("x,y", 0));
        position->setProperty("validChars", QVariant(tr2i18n("0123456789-+,xX:", 0)));
        enable_size->setText(tr2i18n("&Size", 0));
        rule_size->clear();
        rule_size->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        size->setPlaceholderText(tr2i18n("width,height", 0));
        size->setProperty("validChars", QVariant(tr2i18n("0123456789-+,xX:", 0)));
        enable_maximizehoriz->setText(tr2i18n("Maximized &horizontally", 0));
        rule_maximizehoriz->clear();
        rule_maximizehoriz->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_maximizevert->setText(tr2i18n("Maximized &vertically", 0));
        rule_maximizevert->clear();
        rule_maximizevert->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_desktop->setText(tr2i18n("&Desktop", 0));
        rule_desktop->clear();
        rule_desktop->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_activity->setText(tr2i18n("Activit&y", 0));
        rule_activity->clear();
        rule_activity->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_fullscreen->setText(tr2i18n("&Fullscreen", 0));
        rule_fullscreen->clear();
        rule_fullscreen->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_minimize->setText(tr2i18n("M&inimized", 0));
        rule_minimize->clear();
        rule_minimize->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_shade->setText(tr2i18n("Sh&aded", 0));
        rule_shade->clear();
        rule_shade->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        rule_placement->clear();
        rule_placement->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        placement->clear();
        placement->insertItems(0, QStringList()
         << tr2i18n("Default", 0)
         << tr2i18n("No Placement", 0)
         << tr2i18n("Smart", 0)
         << tr2i18n("Maximizing", 0)
         << tr2i18n("Cascade", 0)
         << tr2i18n("Centered", 0)
         << tr2i18n("Random", 0)
         << tr2i18n("Top-Left Corner", 0)
         << tr2i18n("Under Mouse", 0)
         << tr2i18n("On Main Window", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        enable_placement->setToolTip(QString());
#endif // QT_NO_TOOLTIP
        enable_placement->setText(tr2i18n("Initial p&lacement", 0));
#ifndef UI_QT_NO_TOOLTIP
        enable_ignoregeometry->setToolTip(tr2i18n("Windows can ask to appear in a certain position.\n"
"By default this overrides the placement strategy\n"
"what might be nasty if the client abuses the feature\n"
"to unconditionally popup in the middle of your screen.", 0));
#endif // QT_NO_TOOLTIP
        enable_ignoregeometry->setText(tr2i18n("Ignore requested &geometry", 0));
        rule_ignoregeometry->clear();
        rule_ignoregeometry->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        rule_minsize->clear();
        rule_minsize->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_minsize->setText(tr2i18n("M&inimum size", 0));
        minsize->setPlaceholderText(tr2i18n("width,height", 0));
        minsize->setProperty("validChars", QVariant(tr2i18n("0123456789-+,xX:", 0)));
        enable_maxsize->setText(tr2i18n("M&aximum size", 0));
        rule_maxsize->clear();
        rule_maxsize->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        maxsize->setPlaceholderText(tr2i18n("width,height", 0));
        maxsize->setProperty("validChars", QVariant(tr2i18n("0123456789-+,xX:", 0)));
#ifndef UI_QT_NO_TOOLTIP
        enable_strictgeometry->setToolTip(tr2i18n("Eg. terminals or video players can ask to keep a certain aspect ratio\n"
"or only grow by values larger than one\n"
"(eg. by the dimensions of one character).\n"
"This may be pointless and the restriction prevents arbitrary dimensions\n"
"like your complete screen area.", 0));
#endif // QT_NO_TOOLTIP
        enable_strictgeometry->setText(tr2i18n("Obey geometry restrictions", 0));
        enable_strictgeometry->setShortcut(QString());
        rule_strictgeometry->clear();
        rule_strictgeometry->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        rule_screen->clear();
        rule_screen->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_screen->setText(tr2i18n("Screen", 0));
        tabs->setTabText(tabs->indexOf(TabPage3), tr2i18n("&Size && Position", 0));
        rule_below->clear();
        rule_below->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        enable_skippager->setToolTip(tr2i18n("Window shall (not) appear in the manager for virtual desktops", 0));
#endif // QT_NO_TOOLTIP
        enable_skippager->setText(tr2i18n("Skip pa&ger", 0));
        rule_shortcut->clear();
        rule_shortcut->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        enable_skiptaskbar->setToolTip(tr2i18n("Window shall (not) appear in the taskbar.", 0));
#endif // QT_NO_TOOLTIP
        enable_skiptaskbar->setText(tr2i18n("Skip &taskbar", 0));
#ifndef UI_QT_NO_TOOLTIP
        enable_skipswitcher->setToolTip(tr2i18n("Window shall (not) appear in the Alt+Tab list", 0));
#endif // QT_NO_TOOLTIP
        enable_skipswitcher->setText(tr2i18n("Skip &switcher", 0));
        shortcut_edit->setText(tr2i18n("Edit...", 0));
        rule_autogroup->clear();
        rule_autogroup->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        rule_skippager->clear();
        rule_skippager->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_shortcut->setText(tr2i18n("Shortcut", 0));
        enable_shortcut->setShortcut(QString());
        rule_skipswitcher->clear();
        rule_skipswitcher->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        rule_skiptaskbar->clear();
        rule_skiptaskbar->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_above->setText(tr2i18n("Keep &above", 0));
        enable_autogroupfg->setText(tr2i18n("Autog&roup in foreground", 0));
        rule_autogroupfg->clear();
        rule_autogroupfg->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_below->setText(tr2i18n("Keep &below", 0));
        rule_autogroupid->clear();
        rule_autogroupid->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_autogroupid->setText(tr2i18n("Autogroup by I&D", 0));
        enable_autogroup->setText(tr2i18n("Autogroup with &identical", 0));
        rule_above->clear();
        rule_above->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        tabs->setTabText(tabs->indexOf(TabPage4), tr2i18n("&Arrangement && Access", 0));
        rule_opacityactive->clear();
        rule_opacityactive->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_blockcompositing->setText(tr2i18n("Block compositing", 0));
        enable_noborder->setText(tr2i18n("&No titlebar and frame", 0));
        rule_noborder->clear();
        rule_noborder->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Apply Initially", 0)
         << tr2i18n("Remember", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Apply Now", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_opacityactive->setText(tr2i18n("A&ctive opacity", 0));
        opacityactive->setSuffix(tr2i18n("%", 0));
        enable_opacityinactive->setText(tr2i18n("I&nactive opacity", 0));
        rule_opacityinactive->clear();
        rule_opacityinactive->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        opacityinactive->setSuffix(tr2i18n("%", 0));
#ifndef UI_QT_NO_TOOLTIP
        enable_acceptfocus->setToolTip(tr2i18n("Windows may prevent to get the focus (activate) when being clicked.\n"
"On the other hand you might wish to prevent a window\n"
"from getting focused on a mouse click.", 0));
#endif // QT_NO_TOOLTIP
        enable_acceptfocus->setText(tr2i18n("Accept &focus", 0));
        rule_acceptfocus->clear();
        rule_acceptfocus->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        enable_disableglobalshortcuts->setToolTip(tr2i18n("When used, a window will receive\n"
"all keyboard inputs while it is active, including Alt+Tab etc.\n"
"This is especially interesting for emulators or virtual machines.\n"
"\n"
"Be warned:\n"
"you won't be able to Alt+Tab out of the window\n"
"nor use any other global shortcut (such as Alt+F2 to show KRunner)\n"
"while it's active!", 0));
#endif // QT_NO_TOOLTIP
        enable_disableglobalshortcuts->setText(tr2i18n("Ignore global shortcuts", 0));
        enable_disableglobalshortcuts->setShortcut(QString());
        rule_disableglobalshortcuts->clear();
        rule_disableglobalshortcuts->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        enable_closeable->setText(tr2i18n("&Closeable", 0));
        enable_type->setText(tr2i18n("Window &type", 0));
        rule_type->clear();
        rule_type->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        type->clear();
        type->insertItems(0, QStringList()
         << tr2i18n("Normal Window", 0)
         << tr2i18n("Dialog Window", 0)
         << tr2i18n("Utility Window", 0)
         << tr2i18n("Dock (panel)", 0)
         << tr2i18n("Toolbar", 0)
         << tr2i18n("Torn-Off Menu", 0)
         << tr2i18n("Splash Screen", 0)
         << tr2i18n("Desktop", 0)
         << tr2i18n("Standalone Menubar", 0)
        );
        rule_closeable->clear();
        rule_closeable->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        fsplevel->clear();
        fsplevel->insertItems(0, QStringList()
         << tr2i18n("None", "no focus stealing prevention")
         << tr2i18n("Low", 0)
         << tr2i18n("Normal", 0)
         << tr2i18n("High", 0)
         << tr2i18n("Extreme", 0)
        );
        rule_blockcompositing->clear();
        rule_blockcompositing->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        rule_fsplevel->clear();
        rule_fsplevel->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        enable_fsplevel->setToolTip(tr2i18n("KWin tries to prevent windows from taking the focus\n"
"(\"activate\") while you're working in another window,\n"
"but this may sometimes fail or superact.\n"
"\"None\" will unconditionally allow this window to get the focus while\n"
"\"Extreme\" will completely prevent it from taking the focus.", 0));
#endif // QT_NO_TOOLTIP
        enable_fsplevel->setText(tr2i18n("&Focus stealing prevention", 0));
        enable_decocolor->setText(tr2i18n("Titlebar color &scheme", 0));
        rule_decocolor->clear();
        rule_decocolor->insertItems(0, QStringList()
         << tr2i18n("Do Not Affect", 0)
         << tr2i18n("Force", 0)
         << tr2i18n("Force Temporarily", 0)
        );
        tabs->setTabText(tabs->indexOf(tab), tr2i18n("Appearance && &Fixes", 0));
        Q_UNUSED(KWin__RulesWidgetBase);
    } // retranslateUi

};

} // namespace KWin

namespace KWin {
namespace Ui {
    class RulesWidgetBase: public Ui_RulesWidgetBase {};
} // namespace Ui
} // namespace KWin

#endif // RULESWIDGETBASE_H

