#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/QComboBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QTabWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "kkeysequencewidget.h"
#include "kmessagewidget.h"
#include "kpluginselector.h"
#include "kpushbutton.h"
#include "ktitlewidget.h"

QT_BEGIN_NAMESPACE

class Ui_KWinCompositingConfig
{
public:
    QVBoxLayout *verticalLayout_4;
    KMessageWidget *messageBox;
    QTabWidget *tabWidget;
    QWidget *tab;
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout_4;
    QSpacerItem *horizontalSpacer_9;
    KTitleWidget *statusTitleWidget;
    QSpacerItem *horizontalSpacer_8;
    QWidget *rearmGlSupport;
    QGridLayout *gridLayout_3;
    QLabel *label_9;
    QSpacerItem *horizontalSpacer_14;
    QCheckBox *rearmSafetyCheck;
    QSpacerItem *horizontalSpacer_15;
    QPushButton *rearmGlSupportButton;
    QHBoxLayout *horizontalLayout_2;
    QSpacerItem *horizontalSpacer_6;
    QWidget *compositingOptionsContainer;
    QVBoxLayout *verticalLayout_3;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout;
    QCheckBox *useCompositing;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_5;
    QLabel *label_6;
    KKeySequenceWidget *toggleEffectsShortcut;
    QSpacerItem *horizontalSpacer_4;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QCheckBox *effectWinManagement;
    QCheckBox *effectAnimations;
    QLabel *label_4;
    KComboBox *desktopSwitchingCombo;
    QSpacerItem *horizontalSpacer_2;
    QLabel *label_5;
    KComboBox *animationSpeedCombo;
    QSpacerItem *horizontalSpacer;
    QFrame *line;
    QLabel *label;
    QSpacerItem *horizontalSpacer_7;
    QSpacerItem *spacerItem;
    QWidget *tab_2;
    QVBoxLayout *vboxLayout;
    QLabel *label_2;
    QHBoxLayout *horizontalLayout_5;
    KPluginSelector *effectSelector;
    QVBoxLayout *verticalLayout_6;
    KPushButton *ghns;
    QSpacerItem *verticalSpacer_4;
    QWidget *tab_4;
    QGridLayout *gridLayout_6;
    QSpacerItem *verticalSpacer_2;
    QSpacerItem *horizontalSpacer_11;
    QSpacerItem *horizontalSpacer_13;
    QGroupBox *glGroup;
    QGridLayout *gridLayout_4;
    QCheckBox *glColorCorrection;
    QHBoxLayout *horizontalLayout_6;
    QLabel *glSwapStrategyLabel;
    QComboBox *glSwapStrategy;
    QSpacerItem *horizontalSpacer_3;
    QSpacerItem *verticalSpacer_3;
    QGroupBox *groupBox_3;
    QGridLayout *gridLayout_2;
    QLabel *label_8;
    KComboBox *windowThumbnails;
    QLabel *scaleMethodLabel;
    QHBoxLayout *horizontalLayout_3;
    QComboBox *xrScaleFilter;
    QComboBox *glScaleFilter;
    QCheckBox *unredirectFullscreen;
    QSpacerItem *horizontalSpacer_10;
    QSpacerItem *verticalSpacer;
    QGridLayout *gridLayout_5;
    QLabel *label_7;
    KComboBox *compositingType;
    QLabel *label_3;
    QComboBox *graphicsSystem;
    QSpacerItem *horizontalSpacer_12;

    void setupUi(QWidget *KWinCompositingConfig)
    {
        if (KWinCompositingConfig->objectName().isEmpty())
            KWinCompositingConfig->setObjectName(QString::fromUtf8("KWinCompositingConfig"));
        KWinCompositingConfig->resize(583, 550);
        verticalLayout_4 = new QVBoxLayout(KWinCompositingConfig);
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        messageBox = new KMessageWidget(KWinCompositingConfig);
        messageBox->setObjectName(QString::fromUtf8("messageBox"));
        messageBox->setFrameShape(QFrame::StyledPanel);
        messageBox->setFrameShadow(QFrame::Raised);

        verticalLayout_4->addWidget(messageBox);

        tabWidget = new QTabWidget(KWinCompositingConfig);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        tab = new QWidget();
        tab->setObjectName(QString::fromUtf8("tab"));
        verticalLayout_2 = new QVBoxLayout(tab);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        horizontalSpacer_9 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_4->addItem(horizontalSpacer_9);

        statusTitleWidget = new KTitleWidget(tab);
        statusTitleWidget->setObjectName(QString::fromUtf8("statusTitleWidget"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(statusTitleWidget->sizePolicy().hasHeightForWidth());
        statusTitleWidget->setSizePolicy(sizePolicy);
        statusTitleWidget->setMinimumSize(QSize(0, 0));

        horizontalLayout_4->addWidget(statusTitleWidget);

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

        horizontalLayout_4->addItem(horizontalSpacer_8);


        verticalLayout_2->addLayout(horizontalLayout_4);

        rearmGlSupport = new QWidget(tab);
        rearmGlSupport->setObjectName(QString::fromUtf8("rearmGlSupport"));
        gridLayout_3 = new QGridLayout(rearmGlSupport);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        label_9 = new QLabel(rearmGlSupport);
        label_9->setObjectName(QString::fromUtf8("label_9"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label_9->setFont(font);
        label_9->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        gridLayout_3->addWidget(label_9, 0, 1, 1, 2);

        horizontalSpacer_14 = new QSpacerItem(125, 71, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_14, 0, 0, 3, 1);

        rearmSafetyCheck = new QCheckBox(rearmGlSupport);
        rearmSafetyCheck->setObjectName(QString::fromUtf8("rearmSafetyCheck"));

        gridLayout_3->addWidget(rearmSafetyCheck, 1, 1, 1, 2);

        horizontalSpacer_15 = new QSpacerItem(125, 71, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_3->addItem(horizontalSpacer_15, 0, 3, 3, 1);

        rearmGlSupportButton = new QPushButton(rearmGlSupport);
        rearmGlSupportButton->setObjectName(QString::fromUtf8("rearmGlSupportButton"));
        rearmGlSupportButton->setEnabled(false);

        gridLayout_3->addWidget(rearmGlSupportButton, 2, 1, 1, 2);


        verticalLayout_2->addWidget(rearmGlSupport);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(0);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(horizontalSpacer_6);

        compositingOptionsContainer = new QWidget(tab);
        compositingOptionsContainer->setObjectName(QString::fromUtf8("compositingOptionsContainer"));
        verticalLayout_3 = new QVBoxLayout(compositingOptionsContainer);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        groupBox_2 = new QGroupBox(compositingOptionsContainer);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        groupBox_2->setFlat(true);
        verticalLayout = new QVBoxLayout(groupBox_2);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        useCompositing = new QCheckBox(groupBox_2);
        useCompositing->setObjectName(QString::fromUtf8("useCompositing"));
        useCompositing->setChecked(true);

        verticalLayout->addWidget(useCompositing);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalSpacer_5 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer_5);

        label_6 = new QLabel(groupBox_2);
        label_6->setObjectName(QString::fromUtf8("label_6"));
        QSizePolicy sizePolicy1(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
        label_6->setSizePolicy(sizePolicy1);
        label_6->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout->addWidget(label_6);

        toggleEffectsShortcut = new KKeySequenceWidget(groupBox_2);
        toggleEffectsShortcut->setObjectName(QString::fromUtf8("toggleEffectsShortcut"));

        horizontalLayout->addWidget(toggleEffectsShortcut);

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

        horizontalLayout->addItem(horizontalSpacer_4);


        verticalLayout->addLayout(horizontalLayout);


        verticalLayout_3->addWidget(groupBox_2);

        groupBox = new QGroupBox(compositingOptionsContainer);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        groupBox->setFlat(true);
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        effectWinManagement = new QCheckBox(groupBox);
        effectWinManagement->setObjectName(QString::fromUtf8("effectWinManagement"));
        effectWinManagement->setChecked(true);

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

        effectAnimations = new QCheckBox(groupBox);
        effectAnimations->setObjectName(QString::fromUtf8("effectAnimations"));
        effectAnimations->setChecked(true);

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

        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        desktopSwitchingCombo = new KComboBox(groupBox);
        desktopSwitchingCombo->setObjectName(QString::fromUtf8("desktopSwitchingCombo"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(desktopSwitchingCombo->sizePolicy().hasHeightForWidth());
        desktopSwitchingCombo->setSizePolicy(sizePolicy2);

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

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

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

        label_5 = new QLabel(groupBox);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        label_5->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        animationSpeedCombo = new KComboBox(groupBox);
        animationSpeedCombo->setObjectName(QString::fromUtf8("animationSpeedCombo"));
        sizePolicy2.setHeightForWidth(animationSpeedCombo->sizePolicy().hasHeightForWidth());
        animationSpeedCombo->setSizePolicy(sizePolicy2);

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

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

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

        line = new QFrame(groupBox);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        gridLayout->addWidget(line, 4, 0, 1, 3);

        label = new QLabel(groupBox);
        label->setObjectName(QString::fromUtf8("label"));
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(0);
        sizePolicy3.setHeightForWidth(label->sizePolicy().hasHeightForWidth());
        label->setSizePolicy(sizePolicy3);
        label->setAlignment(Qt::AlignCenter);
        label->setWordWrap(true);

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


        verticalLayout_3->addWidget(groupBox);


        horizontalLayout_2->addWidget(compositingOptionsContainer);

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

        horizontalLayout_2->addItem(horizontalSpacer_7);


        verticalLayout_2->addLayout(horizontalLayout_2);

        spacerItem = new QSpacerItem(512, 75, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_2->addItem(spacerItem);

        tabWidget->addTab(tab, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName(QString::fromUtf8("tab_2"));
        vboxLayout = new QVBoxLayout(tab_2);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        label_2 = new QLabel(tab_2);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setWordWrap(true);

        vboxLayout->addWidget(label_2);

        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
        effectSelector = new KPluginSelector(tab_2);
        effectSelector->setObjectName(QString::fromUtf8("effectSelector"));
        QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy4.setHorizontalStretch(0);
        sizePolicy4.setVerticalStretch(0);
        sizePolicy4.setHeightForWidth(effectSelector->sizePolicy().hasHeightForWidth());
        effectSelector->setSizePolicy(sizePolicy4);
        effectSelector->setFocusPolicy(Qt::WheelFocus);

        horizontalLayout_5->addWidget(effectSelector);

        verticalLayout_6 = new QVBoxLayout();
        verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
        ghns = new KPushButton(tab_2);
        ghns->setObjectName(QString::fromUtf8("ghns"));

        verticalLayout_6->addWidget(ghns);

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

        verticalLayout_6->addItem(verticalSpacer_4);


        horizontalLayout_5->addLayout(verticalLayout_6);


        vboxLayout->addLayout(horizontalLayout_5);

        tabWidget->addTab(tab_2, QString());
        tab_4 = new QWidget();
        tab_4->setObjectName(QString::fromUtf8("tab_4"));
        gridLayout_6 = new QGridLayout(tab_4);
        gridLayout_6->setObjectName(QString::fromUtf8("gridLayout_6"));
        verticalSpacer_2 = new QSpacerItem(20, 8, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout_6->addItem(verticalSpacer_2, 0, 2, 1, 1);

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

        gridLayout_6->addItem(horizontalSpacer_11, 0, 4, 7, 1);

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

        gridLayout_6->addItem(horizontalSpacer_13, 1, 3, 1, 1);

        glGroup = new QGroupBox(tab_4);
        glGroup->setObjectName(QString::fromUtf8("glGroup"));
        sizePolicy1.setHeightForWidth(glGroup->sizePolicy().hasHeightForWidth());
        glGroup->setSizePolicy(sizePolicy1);
        glGroup->setFlat(true);
        gridLayout_4 = new QGridLayout(glGroup);
        gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
        glColorCorrection = new QCheckBox(glGroup);
        glColorCorrection->setObjectName(QString::fromUtf8("glColorCorrection"));
        glColorCorrection->setEnabled(false);

        gridLayout_4->addWidget(glColorCorrection, 3, 0, 1, 1);

        horizontalLayout_6 = new QHBoxLayout();
        horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
        glSwapStrategyLabel = new QLabel(glGroup);
        glSwapStrategyLabel->setObjectName(QString::fromUtf8("glSwapStrategyLabel"));
        glSwapStrategyLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout_6->addWidget(glSwapStrategyLabel);

        glSwapStrategy = new QComboBox(glGroup);
        glSwapStrategy->setObjectName(QString::fromUtf8("glSwapStrategy"));

        horizontalLayout_6->addWidget(glSwapStrategy);

        horizontalLayout_6->setStretch(0, 1);
        horizontalLayout_6->setStretch(1, 5);

        gridLayout_4->addLayout(horizontalLayout_6, 0, 0, 1, 1);

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

        gridLayout_4->addItem(horizontalSpacer_3, 0, 1, 1, 1);


        gridLayout_6->addWidget(glGroup, 5, 1, 1, 3);

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

        gridLayout_6->addItem(verticalSpacer_3, 6, 2, 1, 1);

        groupBox_3 = new QGroupBox(tab_4);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        sizePolicy1.setHeightForWidth(groupBox_3->sizePolicy().hasHeightForWidth());
        groupBox_3->setSizePolicy(sizePolicy1);
        groupBox_3->setFlat(true);
        gridLayout_2 = new QGridLayout(groupBox_3);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        label_8 = new QLabel(groupBox_3);
        label_8->setObjectName(QString::fromUtf8("label_8"));
        QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy5.setHorizontalStretch(1);
        sizePolicy5.setVerticalStretch(0);
        sizePolicy5.setHeightForWidth(label_8->sizePolicy().hasHeightForWidth());
        label_8->setSizePolicy(sizePolicy5);
        label_8->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        windowThumbnails = new KComboBox(groupBox_3);
        windowThumbnails->setObjectName(QString::fromUtf8("windowThumbnails"));
        QSizePolicy sizePolicy6(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy6.setHorizontalStretch(3);
        sizePolicy6.setVerticalStretch(0);
        sizePolicy6.setHeightForWidth(windowThumbnails->sizePolicy().hasHeightForWidth());
        windowThumbnails->setSizePolicy(sizePolicy6);

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

        scaleMethodLabel = new QLabel(groupBox_3);
        scaleMethodLabel->setObjectName(QString::fromUtf8("scaleMethodLabel"));
        sizePolicy5.setHeightForWidth(scaleMethodLabel->sizePolicy().hasHeightForWidth());
        scaleMethodLabel->setSizePolicy(sizePolicy5);
        scaleMethodLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setSpacing(0);
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        xrScaleFilter = new QComboBox(groupBox_3);
        xrScaleFilter->setObjectName(QString::fromUtf8("xrScaleFilter"));

        horizontalLayout_3->addWidget(xrScaleFilter);

        glScaleFilter = new QComboBox(groupBox_3);
        glScaleFilter->setObjectName(QString::fromUtf8("glScaleFilter"));

        horizontalLayout_3->addWidget(glScaleFilter);


        gridLayout_2->addLayout(horizontalLayout_3, 1, 1, 1, 1);

        unredirectFullscreen = new QCheckBox(groupBox_3);
        unredirectFullscreen->setObjectName(QString::fromUtf8("unredirectFullscreen"));

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


        gridLayout_6->addWidget(groupBox_3, 4, 1, 1, 3);

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

        gridLayout_6->addItem(horizontalSpacer_10, 0, 0, 7, 1);

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

        gridLayout_6->addItem(verticalSpacer, 2, 2, 1, 1);

        gridLayout_5 = new QGridLayout();
        gridLayout_5->setObjectName(QString::fromUtf8("gridLayout_5"));
        label_7 = new QLabel(tab_4);
        label_7->setObjectName(QString::fromUtf8("label_7"));
        sizePolicy5.setHeightForWidth(label_7->sizePolicy().hasHeightForWidth());
        label_7->setSizePolicy(sizePolicy5);
        label_7->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        compositingType = new KComboBox(tab_4);
        compositingType->setObjectName(QString::fromUtf8("compositingType"));
        sizePolicy6.setHeightForWidth(compositingType->sizePolicy().hasHeightForWidth());
        compositingType->setSizePolicy(sizePolicy6);

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

        label_3 = new QLabel(tab_4);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        graphicsSystem = new QComboBox(tab_4);
        graphicsSystem->setObjectName(QString::fromUtf8("graphicsSystem"));

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


        gridLayout_6->addLayout(gridLayout_5, 1, 2, 1, 1);

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

        gridLayout_6->addItem(horizontalSpacer_12, 1, 1, 1, 1);

        gridLayout_6->setRowStretch(0, 1);
        gridLayout_6->setRowStretch(2, 2);
        gridLayout_6->setRowStretch(6, 10);
        tabWidget->addTab(tab_4, QString());
        groupBox_3->raise();
        glGroup->raise();

        verticalLayout_4->addWidget(tabWidget);

#ifndef UI_QT_NO_SHORTCUT
        label_5->setBuddy(animationSpeedCombo);
        glSwapStrategyLabel->setBuddy(glSwapStrategy);
        label_8->setBuddy(windowThumbnails);
        scaleMethodLabel->setBuddy(xrScaleFilter);
        label_7->setBuddy(compositingType);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(tabWidget, rearmSafetyCheck);
        QWidget::setTabOrder(rearmSafetyCheck, rearmGlSupportButton);
        QWidget::setTabOrder(rearmGlSupportButton, useCompositing);
        QWidget::setTabOrder(useCompositing, effectWinManagement);
        QWidget::setTabOrder(effectWinManagement, effectAnimations);
        QWidget::setTabOrder(effectAnimations, desktopSwitchingCombo);
        QWidget::setTabOrder(desktopSwitchingCombo, animationSpeedCombo);
        QWidget::setTabOrder(animationSpeedCombo, effectSelector);
        QWidget::setTabOrder(effectSelector, ghns);
        QWidget::setTabOrder(ghns, compositingType);
        QWidget::setTabOrder(compositingType, graphicsSystem);
        QWidget::setTabOrder(graphicsSystem, windowThumbnails);
        QWidget::setTabOrder(windowThumbnails, xrScaleFilter);
        QWidget::setTabOrder(xrScaleFilter, glScaleFilter);
        QWidget::setTabOrder(glScaleFilter, unredirectFullscreen);
        QWidget::setTabOrder(unredirectFullscreen, glSwapStrategy);
        QWidget::setTabOrder(glSwapStrategy, glColorCorrection);

        retranslateUi(KWinCompositingConfig);
        QObject::connect(rearmSafetyCheck, SIGNAL(toggled(bool)), rearmGlSupportButton, SLOT(setEnabled(bool)));

        tabWidget->setCurrentIndex(2);
        animationSpeedCombo->setCurrentIndex(3);
        xrScaleFilter->setCurrentIndex(0);
        glScaleFilter->setCurrentIndex(1);


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

    void retranslateUi(QWidget *KWinCompositingConfig)
    {
        label_9->setText(tr2i18n("Pressing this button can crash the desktop.", 0));
        rearmSafetyCheck->setText(tr2i18n("I have saved my data.", 0));
        rearmGlSupportButton->setText(tr2i18n("Re-enable OpenGL detection", 0));
        groupBox_2->setTitle(tr2i18n("Activation", 0));
        useCompositing->setText(tr2i18n("Enable desktop effects at startup", "@option:check"));
        label_6->setText(tr2i18n("Desktop effects can be toggled anytime using this shortcut:", 0));
        groupBox->setTitle(tr2i18n("Simple effect setup", "@title:group a few general options to set up desktop effects"));
        effectWinManagement->setText(tr2i18n("Improved window management", 0));
        effectAnimations->setText(tr2i18n("Various animations", 0));
        label_4->setText(tr2i18n("Effect for desktop switching:", 0));
        label_5->setText(tr2i18n("Animation speed:", 0));
        animationSpeedCombo->clear();
        animationSpeedCombo->insertItems(0, QStringList()
         << tr2i18n("Instant", 0)
         << tr2i18n("Very Fast", 0)
         << tr2i18n("Fast", 0)
         << tr2i18n("Normal", 0)
         << tr2i18n("Slow", 0)
         << tr2i18n("Very Slow", 0)
         << tr2i18n("Extremely Slow", 0)
        );
        label->setText(tr2i18n("You can find more effects, as well as effect-specific settings, in the \"All Effects\" tab above.", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab), tr2i18n("General", 0));
        label_2->setText(tr2i18n("Hint: To find out or configure how to activate an effect, look at the effect's settings.", 0));
        ghns->setText(tr2i18n("Get New Effects ...", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab_2), tr2i18n("All Effects", 0));
        glGroup->setTitle(tr2i18n("OpenGL Options", 0));
#ifndef UI_QT_NO_TOOLTIP
        glColorCorrection->setToolTip(tr2i18n("<p>Activates color correction if possible, using the Kolor-Manager. Requires OpenGL 2 Shaders to be enabled and Kolor-Manager to be installed. May fail silently.</p><p><strong>Experimental</strong>.</p>", 0));
#endif // QT_NO_TOOLTIP
        glColorCorrection->setText(tr2i18n("Enable color correction (experimental)", 0));
        glSwapStrategyLabel->setText(tr2i18n("Tearing Prevention (VSync)", 0));
        groupBox_3->setTitle(tr2i18n("General Options", 0));
        label_8->setText(tr2i18n("Keep window thumbnails:", 0));
        windowThumbnails->clear();
        windowThumbnails->insertItems(0, QStringList()
         << tr2i18n("Always (Breaks minimization)", "A window thumbnail requires to have the corresponding window mapped. To have thumbnails at all time, windows are not unmapped. This can break window minimization as it is modelled as unmapping of windows.")
         << tr2i18n("Only for Shown Windows", "Windows are not unmapped if the window is somewhere visible on any of the virtual desktops.")
         << tr2i18n("Never", "Windows are unmapped as they are requested. This can lead to not having updated thumbnials for windows on other desktops.")
        );
        scaleMethodLabel->setText(tr2i18n("Scale method:", 0));
        xrScaleFilter->clear();
        xrScaleFilter->insertItems(0, QStringList()
         << tr2i18n("Crisp", 0)
         << tr2i18n("Smooth (slower)", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        xrScaleFilter->setToolTip(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Segoe'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Crisp:</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">XRenderSetPictureFilter(&quot;fast&quot;)</span> -  Pretty fast on all GPUs but looks bricky</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; t"
                        "ext-indent:0px;\"><span style=\" font-weight:600;\">Smooth:</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">XRenderSetPictureFilter(&quot;good&quot;) </span>- linear blending.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Fast enough on newer nvidia GPUs and maybe others but also can be <span style=\" text-decoration: underline;\">very</span> slow, you will have to try it.</p></body></html>", 0));
#endif // QT_NO_TOOLTIP
        glScaleFilter->clear();
        glScaleFilter->insertItems(0, QStringList()
         << tr2i18n("Crisp", 0)
         << tr2i18n("Smooth", 0)
         << tr2i18n("Accurate", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        glScaleFilter->setToolTip(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Segoe'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Crisp:</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">GL_NEAREST</span> -  (very) fast on all GPUs but looks bricky</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\""
                        " font-weight:600;\">Smooth:</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-style:italic;\">GL_LINEAR</span> - fast on most GPUs but a little blurry</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Accurate:</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Lanczos filter, requires glsl shader support.</p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Might be slow on weaker GPUs and even cause various troubles with broken drivers (from overbrightening to segfaults).</p>\n"
"<p "
                        "style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Fall back to &quot;Smooth&quot; if you have problems.</p></body></html>", 0));
#endif // QT_NO_TOOLTIP
        unredirectFullscreen->setText(tr2i18n("Suspend desktop effects for fullscreen windows", 0));
        label_7->setText(tr2i18n("Compositing type:", 0));
        compositingType->clear();
        compositingType->insertItems(0, QStringList()
         << tr2i18n("OpenGL 3.1", 0)
         << tr2i18n("OpenGL 2.0", 0)
         << tr2i18n("OpenGL 1.2", 0)
         << tr2i18n("XRender", 0)
        );
        label_3->setText(tr2i18n("Qt graphics system:", 0));
        graphicsSystem->clear();
        graphicsSystem->insertItems(0, QStringList()
         << tr2i18n("Native", 0)
         << tr2i18n("Raster", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        graphicsSystem->setToolTip(tr2i18n("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Segoe'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">It is <span style=\" font-weight:600;\">strongly recommended</span> to use the <span style=\" font-weight:600;\">native</span> system when using the <span style=\" font-weight:600;\">XRender</span> backend.</p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">On the other hand, many decorations perform better with the <span style=\" font-w"
                        "eight:600;\">raster</span> system on the <span style=\" font-weight:600;\">default and generally preferred OpenGL</span> backend (though some don't - also the impact here can be anything between &quot;slight&quot; and &quot;incredible&quot; depending on the GPU and driver)</p></body></html>", 0));
#endif // QT_NO_TOOLTIP
        tabWidget->setTabText(tabWidget->indexOf(tab_4), tr2i18n("Advanced", 0));
        Q_UNUSED(KWinCompositingConfig);
    } // retranslateUi

};

namespace Ui {
    class KWinCompositingConfig: public Ui_KWinCompositingConfig {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MAIN_H

