#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'compositing.ui'
**
** Created by: Qt User Interface Compiler version 5.9.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_COMPOSITING_H
#define UI_COMPOSITING_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QFrame>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSlider>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <kmessagewidget.h>

QT_BEGIN_NAMESPACE

class Ui_CompositingForm
{
public:
    QFormLayout *formLayout;
    QCheckBox *compositingEnabled;
    QLabel *label;
    QVBoxLayout *verticalLayout_3;
    QSlider *animationSpeed;
    QHBoxLayout *horizontalLayout;
    QLabel *label_3;
    QSpacerItem *horizontalSpacer;
    QLabel *label_4;
    QLabel *glScaleFilterLabel;
    QComboBox *glScaleFilter;
    QLabel *xrScaleFilterLabel;
    QComboBox *xrScaleFilter;
    QFrame *line;
    QLabel *label_2;
    QComboBox *type;
    QLabel *openGLPlatformInterfaceLabel;
    QComboBox *openGLPlatformInterface;
    QLabel *label_5;
    QComboBox *tearingPrevention;
    QLabel *label_6;
    QComboBox *windowThumbnail;
    QLabel *label_8;
    QCheckBox *unredirectFullscreen;
    QLabel *label_9;
    QCheckBox *colorCorrection;
    QFrame *line_2;
    QVBoxLayout *verticalLayout_4;
    KMessageWidget *glCrashedWarning;
    KMessageWidget *interfaceWarning;
    KMessageWidget *scaleWarning;
    KMessageWidget *tearingWarning;
    KMessageWidget *windowThumbnailWarning;
    KMessageWidget *unredirectInformation;

    void setupUi(QWidget *CompositingForm)
    {
        if (CompositingForm->objectName().isEmpty())
            CompositingForm->setObjectName(QStringLiteral("CompositingForm"));
        CompositingForm->resize(402, 335);
        formLayout = new QFormLayout(CompositingForm);
        formLayout->setObjectName(QStringLiteral("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        compositingEnabled = new QCheckBox(CompositingForm);
        compositingEnabled->setObjectName(QStringLiteral("compositingEnabled"));

        formLayout->setWidget(1, QFormLayout::SpanningRole, compositingEnabled);

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

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

        verticalLayout_3 = new QVBoxLayout();
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        animationSpeed = new QSlider(CompositingForm);
        animationSpeed->setObjectName(QStringLiteral("animationSpeed"));
        animationSpeed->setMaximum(6);
        animationSpeed->setOrientation(Qt::Horizontal);
        animationSpeed->setTickPosition(QSlider::TicksBelow);
        animationSpeed->setTickInterval(1);

        verticalLayout_3->addWidget(animationSpeed);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        label_3 = new QLabel(CompositingForm);
        label_3->setObjectName(QStringLiteral("label_3"));

        horizontalLayout->addWidget(label_3);

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

        horizontalLayout->addItem(horizontalSpacer);

        label_4 = new QLabel(CompositingForm);
        label_4->setObjectName(QStringLiteral("label_4"));

        horizontalLayout->addWidget(label_4);


        verticalLayout_3->addLayout(horizontalLayout);


        formLayout->setLayout(2, QFormLayout::FieldRole, verticalLayout_3);

        glScaleFilterLabel = new QLabel(CompositingForm);
        glScaleFilterLabel->setObjectName(QStringLiteral("glScaleFilterLabel"));

        formLayout->setWidget(4, QFormLayout::LabelRole, glScaleFilterLabel);

        glScaleFilter = new QComboBox(CompositingForm);
        glScaleFilter->setObjectName(QStringLiteral("glScaleFilter"));

        formLayout->setWidget(4, QFormLayout::FieldRole, glScaleFilter);

        xrScaleFilterLabel = new QLabel(CompositingForm);
        xrScaleFilterLabel->setObjectName(QStringLiteral("xrScaleFilterLabel"));

        formLayout->setWidget(5, QFormLayout::LabelRole, xrScaleFilterLabel);

        xrScaleFilter = new QComboBox(CompositingForm);
        xrScaleFilter->setObjectName(QStringLiteral("xrScaleFilter"));

        formLayout->setWidget(5, QFormLayout::FieldRole, xrScaleFilter);

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

        formLayout->setWidget(6, QFormLayout::SpanningRole, line);

        label_2 = new QLabel(CompositingForm);
        label_2->setObjectName(QStringLiteral("label_2"));

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

        type = new QComboBox(CompositingForm);
        type->setObjectName(QStringLiteral("type"));

        formLayout->setWidget(7, QFormLayout::FieldRole, type);

        openGLPlatformInterfaceLabel = new QLabel(CompositingForm);
        openGLPlatformInterfaceLabel->setObjectName(QStringLiteral("openGLPlatformInterfaceLabel"));

        formLayout->setWidget(8, QFormLayout::LabelRole, openGLPlatformInterfaceLabel);

        openGLPlatformInterface = new QComboBox(CompositingForm);
        openGLPlatformInterface->setObjectName(QStringLiteral("openGLPlatformInterface"));

        formLayout->setWidget(8, QFormLayout::FieldRole, openGLPlatformInterface);

        label_5 = new QLabel(CompositingForm);
        label_5->setObjectName(QStringLiteral("label_5"));

        formLayout->setWidget(10, QFormLayout::LabelRole, label_5);

        tearingPrevention = new QComboBox(CompositingForm);
        tearingPrevention->setObjectName(QStringLiteral("tearingPrevention"));

        formLayout->setWidget(10, QFormLayout::FieldRole, tearingPrevention);

        label_6 = new QLabel(CompositingForm);
        label_6->setObjectName(QStringLiteral("label_6"));

        formLayout->setWidget(11, QFormLayout::LabelRole, label_6);

        windowThumbnail = new QComboBox(CompositingForm);
        windowThumbnail->setObjectName(QStringLiteral("windowThumbnail"));

        formLayout->setWidget(11, QFormLayout::FieldRole, windowThumbnail);

        label_8 = new QLabel(CompositingForm);
        label_8->setObjectName(QStringLiteral("label_8"));

        formLayout->setWidget(13, QFormLayout::LabelRole, label_8);

        unredirectFullscreen = new QCheckBox(CompositingForm);
        unredirectFullscreen->setObjectName(QStringLiteral("unredirectFullscreen"));

        formLayout->setWidget(13, QFormLayout::FieldRole, unredirectFullscreen);

        label_9 = new QLabel(CompositingForm);
        label_9->setObjectName(QStringLiteral("label_9"));

        formLayout->setWidget(14, QFormLayout::LabelRole, label_9);

        colorCorrection = new QCheckBox(CompositingForm);
        colorCorrection->setObjectName(QStringLiteral("colorCorrection"));

        formLayout->setWidget(14, QFormLayout::FieldRole, colorCorrection);

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

        formLayout->setWidget(9, QFormLayout::SpanningRole, line_2);

        verticalLayout_4 = new QVBoxLayout();
        verticalLayout_4->setObjectName(QStringLiteral("verticalLayout_4"));
        glCrashedWarning = new KMessageWidget(CompositingForm);
        glCrashedWarning->setObjectName(QStringLiteral("glCrashedWarning"));
        glCrashedWarning->setWordWrap(true);
        glCrashedWarning->setVisible(false);
        glCrashedWarning->setMessageType(KMessageWidget::Warning);

        verticalLayout_4->addWidget(glCrashedWarning);

        interfaceWarning = new KMessageWidget(CompositingForm);
        interfaceWarning->setObjectName(QStringLiteral("interfaceWarning"));
        interfaceWarning->setWordWrap(true);
        interfaceWarning->setVisible(false);
        interfaceWarning->setMessageType(KMessageWidget::Warning);

        verticalLayout_4->addWidget(interfaceWarning);

        scaleWarning = new KMessageWidget(CompositingForm);
        scaleWarning->setObjectName(QStringLiteral("scaleWarning"));
        scaleWarning->setWordWrap(true);
        scaleWarning->setVisible(false);
        scaleWarning->setMessageType(KMessageWidget::Warning);

        verticalLayout_4->addWidget(scaleWarning);

        tearingWarning = new KMessageWidget(CompositingForm);
        tearingWarning->setObjectName(QStringLiteral("tearingWarning"));
        tearingWarning->setWordWrap(true);
        tearingWarning->setVisible(false);
        tearingWarning->setMessageType(KMessageWidget::Warning);

        verticalLayout_4->addWidget(tearingWarning);

        windowThumbnailWarning = new KMessageWidget(CompositingForm);
        windowThumbnailWarning->setObjectName(QStringLiteral("windowThumbnailWarning"));
        windowThumbnailWarning->setWordWrap(true);
        windowThumbnailWarning->setVisible(false);
        windowThumbnailWarning->setMessageType(KMessageWidget::Warning);

        verticalLayout_4->addWidget(windowThumbnailWarning);

        unredirectInformation = new KMessageWidget(CompositingForm);
        unredirectInformation->setObjectName(QStringLiteral("unredirectInformation"));
        unredirectInformation->setWordWrap(true);
        unredirectInformation->setVisible(false);
        unredirectInformation->setMessageType(KMessageWidget::Information);

        verticalLayout_4->addWidget(unredirectInformation);


        formLayout->setLayout(0, QFormLayout::SpanningRole, verticalLayout_4);


        retranslateUi(CompositingForm);

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

    void retranslateUi(QWidget *CompositingForm)
    {
        compositingEnabled->setText(tr2i18n("Enable compositor on startup", Q_NULLPTR));
        label->setText(tr2i18n("Animation speed:", Q_NULLPTR));
        label_3->setText(tr2i18n("Instant", Q_NULLPTR));
        label_4->setText(tr2i18n("Very slow", Q_NULLPTR));
        glScaleFilterLabel->setText(tr2i18n("Scale method:", Q_NULLPTR));
        glScaleFilter->clear();
        glScaleFilter->insertItems(0, QStringList()
         << tr2i18n("Crisp", Q_NULLPTR)
         << tr2i18n("Smooth", Q_NULLPTR)
         << tr2i18n("Accurate", Q_NULLPTR)
        );
        xrScaleFilterLabel->setText(tr2i18n("Scale method:", Q_NULLPTR));
        xrScaleFilter->clear();
        xrScaleFilter->insertItems(0, QStringList()
         << tr2i18n("Crisp", Q_NULLPTR)
         << tr2i18n("Smooth (slower)", Q_NULLPTR)
        );
        label_2->setText(tr2i18n("Rendering backend:", Q_NULLPTR));
        openGLPlatformInterfaceLabel->setText(tr2i18n("OpenGL interface:", Q_NULLPTR));
        label_5->setText(tr2i18n("Tearing prevention (\"vsync\"):", Q_NULLPTR));
        tearingPrevention->clear();
        tearingPrevention->insertItems(0, QStringList()
         << tr2i18n("Never", Q_NULLPTR)
         << tr2i18n("Automatic", Q_NULLPTR)
         << tr2i18n("Only when cheap", Q_NULLPTR)
         << tr2i18n("Full screen repaints", Q_NULLPTR)
         << tr2i18n("Re-use screen content", Q_NULLPTR)
        );
        label_6->setText(tr2i18n("Keep window thumbnails:", Q_NULLPTR));
        windowThumbnail->clear();
        windowThumbnail->insertItems(0, QStringList()
         << tr2i18n("Never", Q_NULLPTR)
         << tr2i18n("Only for Shown Windows", Q_NULLPTR)
         << tr2i18n("Always", Q_NULLPTR)
        );
        label_8->setText(tr2i18n("Expert:", Q_NULLPTR));
        unredirectFullscreen->setText(tr2i18n("Suspend compositor for full screen windows", Q_NULLPTR));
        label_9->setText(tr2i18n("Experimental:", Q_NULLPTR));
        colorCorrection->setText(tr2i18n("Enable color correction", Q_NULLPTR));
        glCrashedWarning->setText(tr2i18n("OpenGL compositing (the default) has crashed KWin in the past.\n"
"This was most likely due to a driver bug.\n"
"If you think that you have meanwhile upgraded to a stable driver,\n"
"you can reset this protection but be aware that this might result in an immediate crash!\n"
"Alternatively, you might want to use the XRender backend instead.", Q_NULLPTR));
        interfaceWarning->setText(tr2i18n("EGL is not supported by all OpenGL drivers. If not supported the Compositor will be disabled.", Q_NULLPTR));
        scaleWarning->setText(tr2i18n("Scale method \"Accurate\" is not supported by all hardware and can cause performance regressions and rendering artifacts.", Q_NULLPTR));
        windowThumbnailWarning->setText(tr2i18n("Keeping the window thumbnail always interferes with the minimized state of windows. This can result in windows not suspending their work when minimized.", Q_NULLPTR));
        unredirectInformation->setText(tr2i18n("Having full screen windows bypass the compositor is not supported on every hardware.", Q_NULLPTR));
        Q_UNUSED(CompositingForm);
    } // retranslateUi

};

namespace Ui {
    class CompositingForm: public Ui_CompositingForm {};
} // namespace Ui

QT_END_NAMESPACE

#endif // COMPOSITING_H

