#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'showfps_config.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_SHOWFPS_CONFIG_H
#define UI_SHOWFPS_CONFIG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDoubleSpinBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcolorbutton.h"
#include "kcombobox.h"
#include "kfontrequester.h"

namespace KWin {

class Ui_ShowFpsEffectConfigForm
{
public:
    QVBoxLayout *vboxLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *label;
    KComboBox *kcfg_TextPosition;
    QLabel *label_2;
    KFontRequester *kcfg_TextFont;
    QLabel *label_3;
    KColorButton *kcfg_TextColor;
    QLabel *label_4;
    QDoubleSpinBox *kcfg_TextAlpha;

    void setupUi(QWidget *KWin__ShowFpsEffectConfigForm)
    {
        if (KWin__ShowFpsEffectConfigForm->objectName().isEmpty())
            KWin__ShowFpsEffectConfigForm->setObjectName(QStringLiteral("KWin__ShowFpsEffectConfigForm"));
        KWin__ShowFpsEffectConfigForm->resize(356, 180);
        vboxLayout = new QVBoxLayout(KWin__ShowFpsEffectConfigForm);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        groupBox = new QGroupBox(KWin__ShowFpsEffectConfigForm);
        groupBox->setObjectName(QStringLiteral("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        label = new QLabel(groupBox);
        label->setObjectName(QStringLiteral("label"));
        label->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

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

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

        label_2 = new QLabel(groupBox);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_TextFont = new KFontRequester(groupBox);
        kcfg_TextFont->setObjectName(QStringLiteral("kcfg_TextFont"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(kcfg_TextFont->sizePolicy().hasHeightForWidth());
        kcfg_TextFont->setSizePolicy(sizePolicy1);

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

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QStringLiteral("label_3"));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_TextColor = new KColorButton(groupBox);
        kcfg_TextColor->setObjectName(QStringLiteral("kcfg_TextColor"));
        sizePolicy.setHeightForWidth(kcfg_TextColor->sizePolicy().hasHeightForWidth());
        kcfg_TextColor->setSizePolicy(sizePolicy);

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

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

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

        kcfg_TextAlpha = new QDoubleSpinBox(groupBox);
        kcfg_TextAlpha->setObjectName(QStringLiteral("kcfg_TextAlpha"));
        sizePolicy.setHeightForWidth(kcfg_TextAlpha->sizePolicy().hasHeightForWidth());
        kcfg_TextAlpha->setSizePolicy(sizePolicy);
        kcfg_TextAlpha->setDecimals(2);
        kcfg_TextAlpha->setMaximum(1);
        kcfg_TextAlpha->setSingleStep(0.1);
        kcfg_TextAlpha->setValue(1);

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


        vboxLayout->addWidget(groupBox);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(kcfg_TextPosition);
        label_3->setBuddy(kcfg_TextColor);
        label_4->setBuddy(kcfg_TextAlpha);
#endif // QT_NO_SHORTCUT

        retranslateUi(KWin__ShowFpsEffectConfigForm);

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

    void retranslateUi(QWidget *KWin__ShowFpsEffectConfigForm)
    {
        groupBox->setTitle(tr2i18n("Text", 0));
        label->setText(tr2i18n("Text position:", 0));
        kcfg_TextPosition->clear();
        kcfg_TextPosition->insertItems(0, QStringList()
         << tr2i18n("Inside Graph", 0)
         << tr2i18n("Nowhere", 0)
         << tr2i18n("Top Left", 0)
         << tr2i18n("Top Right", 0)
         << tr2i18n("Bottom Left", 0)
         << tr2i18n("Bottom Right", 0)
        );
        label_2->setText(tr2i18n("Text font:", 0));
        label_3->setText(tr2i18n("Text color:", 0));
        label_4->setText(tr2i18n("Text alpha:", 0));
        Q_UNUSED(KWin__ShowFpsEffectConfigForm);
    } // retranslateUi

};

} // namespace KWin

namespace KWin {
namespace Ui {
    class ShowFpsEffectConfigForm: public Ui_ShowFpsEffectConfigForm {};
} // namespace Ui
} // namespace KWin

#endif // SHOWFPS_CONFIG_H

