#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'osd_configui.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_OSD_CONFIGUI_H
#define UI_OSD_CONFIGUI_H

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

QT_BEGIN_NAMESPACE

class Ui_OSD_ConfigUI
{
public:
    QGridLayout *gridLayout;
    QSpacerItem *spacer1;
    QCheckBox *kcfg_UseOSD;
    QGroupBox *groupBox2;
    QGridLayout *gridLayout1;
    QCheckBox *kcfg_OSDDrawShadow;
    QLabel *textLabel1;
    KFontRequester *kcfg_OSDFont;
    QSpinBox *kcfg_OSDOffsetX;
    QSpinBox *kcfg_OSDOffsetY;
    QSpinBox *kcfg_OSDAlignment;
    QGroupBox *groupBox3;
    QGridLayout *gridLayout2;
    QCheckBox *kcfg_OSDShowOwnNick;
    QCheckBox *kcfg_OSDShowChannel;
    QCheckBox *kcfg_OSDShowQuery;
    QCheckBox *kcfg_OSDShowChannelEvent;
    QGroupBox *kcfg_OSDUseCustomColors;
    QGridLayout *gridLayout3;
    QLabel *textLabel2;
    QLabel *textLabel3;
    KColorButton *kcfg_OSDBackgroundColor;
    KColorButton *kcfg_OSDTextColor;
    QSpacerItem *spacer2;
    QGroupBox *groupBox4;
    QGridLayout *gridLayout4;
    QLabel *textLabel1_2;
    QLabel *textLabel2_2;
    QSpinBox *kcfg_OSDDuration;
    KComboBox *kcfg_OSDScreen;
    QSpacerItem *spacer3;

    void setupUi(QWidget *OSD_ConfigUI)
    {
        if (OSD_ConfigUI->objectName().isEmpty())
            OSD_ConfigUI->setObjectName(QStringLiteral("OSD_ConfigUI"));
        OSD_ConfigUI->resize(447, 486);
        gridLayout = new QGridLayout(OSD_ConfigUI);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        spacer1 = new QSpacerItem(21, 10, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout->addItem(spacer1, 5, 0, 1, 1);

        kcfg_UseOSD = new QCheckBox(OSD_ConfigUI);
        kcfg_UseOSD->setObjectName(QStringLiteral("kcfg_UseOSD"));

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

        groupBox2 = new QGroupBox(OSD_ConfigUI);
        groupBox2->setObjectName(QStringLiteral("groupBox2"));
        groupBox2->setEnabled(false);
        gridLayout1 = new QGridLayout(groupBox2);
        gridLayout1->setSpacing(6);
        gridLayout1->setContentsMargins(11, 11, 11, 11);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        kcfg_OSDDrawShadow = new QCheckBox(groupBox2);
        kcfg_OSDDrawShadow->setObjectName(QStringLiteral("kcfg_OSDDrawShadow"));
        kcfg_OSDDrawShadow->setEnabled(false);

        gridLayout1->addWidget(kcfg_OSDDrawShadow, 0, 0, 1, 2);

        textLabel1 = new QLabel(groupBox2);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setEnabled(false);
        textLabel1->setFrameShadow(QFrame::Sunken);
        textLabel1->setWordWrap(false);

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

        kcfg_OSDFont = new KFontRequester(groupBox2);
        kcfg_OSDFont->setObjectName(QStringLiteral("kcfg_OSDFont"));
        kcfg_OSDFont->setEnabled(false);

        gridLayout1->addWidget(kcfg_OSDFont, 1, 1, 1, 1);

        kcfg_OSDOffsetX = new QSpinBox(groupBox2);
        kcfg_OSDOffsetX->setObjectName(QStringLiteral("kcfg_OSDOffsetX"));
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Maximum);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(kcfg_OSDOffsetX->sizePolicy().hasHeightForWidth());
        kcfg_OSDOffsetX->setSizePolicy(sizePolicy);
        kcfg_OSDOffsetX->setMinimum(-2048);
        kcfg_OSDOffsetX->setMaximum(2048);

        gridLayout1->addWidget(kcfg_OSDOffsetX, 0, 2, 1, 1);

        kcfg_OSDOffsetY = new QSpinBox(groupBox2);
        kcfg_OSDOffsetY->setObjectName(QStringLiteral("kcfg_OSDOffsetY"));
        sizePolicy.setHeightForWidth(kcfg_OSDOffsetY->sizePolicy().hasHeightForWidth());
        kcfg_OSDOffsetY->setSizePolicy(sizePolicy);
        kcfg_OSDOffsetY->setMinimum(-2048);
        kcfg_OSDOffsetY->setMaximum(2048);

        gridLayout1->addWidget(kcfg_OSDOffsetY, 0, 3, 1, 1);

        kcfg_OSDAlignment = new QSpinBox(groupBox2);
        kcfg_OSDAlignment->setObjectName(QStringLiteral("kcfg_OSDAlignment"));
        sizePolicy.setHeightForWidth(kcfg_OSDAlignment->sizePolicy().hasHeightForWidth());
        kcfg_OSDAlignment->setSizePolicy(sizePolicy);

        gridLayout1->addWidget(kcfg_OSDAlignment, 0, 4, 1, 1);


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

        groupBox3 = new QGroupBox(OSD_ConfigUI);
        groupBox3->setObjectName(QStringLiteral("groupBox3"));
        groupBox3->setEnabled(false);
        gridLayout2 = new QGridLayout(groupBox3);
        gridLayout2->setSpacing(6);
        gridLayout2->setContentsMargins(11, 11, 11, 11);
        gridLayout2->setObjectName(QStringLiteral("gridLayout2"));
        kcfg_OSDShowOwnNick = new QCheckBox(groupBox3);
        kcfg_OSDShowOwnNick->setObjectName(QStringLiteral("kcfg_OSDShowOwnNick"));

        gridLayout2->addWidget(kcfg_OSDShowOwnNick, 0, 0, 1, 1);

        kcfg_OSDShowChannel = new QCheckBox(groupBox3);
        kcfg_OSDShowChannel->setObjectName(QStringLiteral("kcfg_OSDShowChannel"));

        gridLayout2->addWidget(kcfg_OSDShowChannel, 1, 0, 1, 1);

        kcfg_OSDShowQuery = new QCheckBox(groupBox3);
        kcfg_OSDShowQuery->setObjectName(QStringLiteral("kcfg_OSDShowQuery"));

        gridLayout2->addWidget(kcfg_OSDShowQuery, 2, 0, 1, 1);

        kcfg_OSDShowChannelEvent = new QCheckBox(groupBox3);
        kcfg_OSDShowChannelEvent->setObjectName(QStringLiteral("kcfg_OSDShowChannelEvent"));

        gridLayout2->addWidget(kcfg_OSDShowChannelEvent, 3, 0, 1, 1);


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

        kcfg_OSDUseCustomColors = new QGroupBox(OSD_ConfigUI);
        kcfg_OSDUseCustomColors->setObjectName(QStringLiteral("kcfg_OSDUseCustomColors"));
        kcfg_OSDUseCustomColors->setEnabled(false);
        kcfg_OSDUseCustomColors->setCheckable(true);
        kcfg_OSDUseCustomColors->setChecked(false);
        gridLayout3 = new QGridLayout(kcfg_OSDUseCustomColors);
        gridLayout3->setSpacing(6);
        gridLayout3->setContentsMargins(11, 11, 11, 11);
        gridLayout3->setObjectName(QStringLiteral("gridLayout3"));
        textLabel2 = new QLabel(kcfg_OSDUseCustomColors);
        textLabel2->setObjectName(QStringLiteral("textLabel2"));
        textLabel2->setWordWrap(false);

        gridLayout3->addWidget(textLabel2, 1, 0, 1, 1);

        textLabel3 = new QLabel(kcfg_OSDUseCustomColors);
        textLabel3->setObjectName(QStringLiteral("textLabel3"));
        textLabel3->setWordWrap(false);

        gridLayout3->addWidget(textLabel3, 2, 0, 1, 1);

        kcfg_OSDBackgroundColor = new KColorButton(kcfg_OSDUseCustomColors);
        kcfg_OSDBackgroundColor->setObjectName(QStringLiteral("kcfg_OSDBackgroundColor"));

        gridLayout3->addWidget(kcfg_OSDBackgroundColor, 2, 1, 1, 1);

        kcfg_OSDTextColor = new KColorButton(kcfg_OSDUseCustomColors);
        kcfg_OSDTextColor->setObjectName(QStringLiteral("kcfg_OSDTextColor"));

        gridLayout3->addWidget(kcfg_OSDTextColor, 1, 1, 1, 1);

        spacer2 = new QSpacerItem(50, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout3->addItem(spacer2, 1, 2, 2, 1);


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

        groupBox4 = new QGroupBox(OSD_ConfigUI);
        groupBox4->setObjectName(QStringLiteral("groupBox4"));
        groupBox4->setEnabled(false);
        gridLayout4 = new QGridLayout(groupBox4);
        gridLayout4->setSpacing(6);
        gridLayout4->setContentsMargins(11, 11, 11, 11);
        gridLayout4->setObjectName(QStringLiteral("gridLayout4"));
        textLabel1_2 = new QLabel(groupBox4);
        textLabel1_2->setObjectName(QStringLiteral("textLabel1_2"));
        textLabel1_2->setWordWrap(false);

        gridLayout4->addWidget(textLabel1_2, 0, 0, 1, 1);

        textLabel2_2 = new QLabel(groupBox4);
        textLabel2_2->setObjectName(QStringLiteral("textLabel2_2"));
        textLabel2_2->setWordWrap(false);

        gridLayout4->addWidget(textLabel2_2, 1, 0, 1, 1);

        kcfg_OSDDuration = new QSpinBox(groupBox4);
        kcfg_OSDDuration->setObjectName(QStringLiteral("kcfg_OSDDuration"));
        kcfg_OSDDuration->setMinimum(500);
        kcfg_OSDDuration->setMaximum(10000);
        kcfg_OSDDuration->setSingleStep(100);

        gridLayout4->addWidget(kcfg_OSDDuration, 0, 1, 1, 1);

        kcfg_OSDScreen = new KComboBox(groupBox4);
        kcfg_OSDScreen->setObjectName(QStringLiteral("kcfg_OSDScreen"));

        gridLayout4->addWidget(kcfg_OSDScreen, 1, 1, 1, 1);

        spacer3 = new QSpacerItem(50, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout4->addItem(spacer3, 0, 2, 2, 1);


        gridLayout->addWidget(groupBox4, 4, 0, 1, 1);

#ifndef UI_QT_NO_SHORTCUT
        textLabel1->setBuddy(kcfg_OSDFont);
        textLabel2->setBuddy(kcfg_OSDTextColor);
        textLabel3->setBuddy(kcfg_OSDBackgroundColor);
        textLabel1_2->setBuddy(kcfg_OSDDuration);
        textLabel2_2->setBuddy(kcfg_OSDScreen);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_UseOSD, kcfg_OSDDrawShadow);
        QWidget::setTabOrder(kcfg_OSDDrawShadow, kcfg_OSDFont);
        QWidget::setTabOrder(kcfg_OSDFont, kcfg_OSDOffsetX);
        QWidget::setTabOrder(kcfg_OSDOffsetX, kcfg_OSDOffsetY);
        QWidget::setTabOrder(kcfg_OSDOffsetY, kcfg_OSDAlignment);
        QWidget::setTabOrder(kcfg_OSDAlignment, kcfg_OSDShowOwnNick);
        QWidget::setTabOrder(kcfg_OSDShowOwnNick, kcfg_OSDShowChannel);
        QWidget::setTabOrder(kcfg_OSDShowChannel, kcfg_OSDShowQuery);
        QWidget::setTabOrder(kcfg_OSDShowQuery, kcfg_OSDShowChannelEvent);
        QWidget::setTabOrder(kcfg_OSDShowChannelEvent, kcfg_OSDUseCustomColors);
        QWidget::setTabOrder(kcfg_OSDUseCustomColors, kcfg_OSDTextColor);
        QWidget::setTabOrder(kcfg_OSDTextColor, kcfg_OSDBackgroundColor);
        QWidget::setTabOrder(kcfg_OSDBackgroundColor, kcfg_OSDDuration);
        QWidget::setTabOrder(kcfg_OSDDuration, kcfg_OSDScreen);
        QWidget::setTabOrder(kcfg_OSDScreen, kcfg_OSDUseCustomColors);

        retranslateUi(OSD_ConfigUI);
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), kcfg_OSDDrawShadow, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), groupBox3, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), kcfg_OSDUseCustomColors, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), groupBox4, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), textLabel1, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), kcfg_OSDFont, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_UseOSD, SIGNAL(toggled(bool)), groupBox2, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *OSD_ConfigUI)
    {
        kcfg_UseOSD->setText(tr2i18n("&Enable On Screen Display", 0));
        groupBox2->setTitle(tr2i18n("On &Screen Display", 0));
        kcfg_OSDDrawShadow->setText(tr2i18n("&Draw shadows", 0));
        textLabel1->setText(tr2i18n("OSD font:", 0));
        groupBox3->setTitle(tr2i18n("Show &OSD Message", 0));
        kcfg_OSDShowOwnNick->setText(tr2i18n("&If own nick appears in channel message", 0));
        kcfg_OSDShowChannel->setText(tr2i18n("On an&y channel message", 0));
        kcfg_OSDShowQuery->setText(tr2i18n("On &query activity", 0));
        kcfg_OSDShowChannelEvent->setText(tr2i18n("On &Join/Part events", 0));
        kcfg_OSDUseCustomColors->setTitle(tr2i18n("Enable Custom Colors", 0));
        textLabel2->setText(tr2i18n("Te&xt color:", 0));
        textLabel3->setText(tr2i18n("&Background color:", 0));
        kcfg_OSDBackgroundColor->setText(QString());
        kcfg_OSDTextColor->setText(QString());
        groupBox4->setTitle(tr2i18n("O&ther Settings", 0));
        textLabel1_2->setText(tr2i18n("&Duration:", 0));
        textLabel2_2->setText(tr2i18n("S&creen:", 0));
        kcfg_OSDDuration->setSuffix(tr2i18n(" ms", 0));
        Q_UNUSED(OSD_ConfigUI);
    } // retranslateUi

};

namespace Ui {
    class OSD_ConfigUI: public Ui_OSD_ConfigUI {};
} // namespace Ui

QT_END_NAMESPACE

#endif // OSD_CONFIGUI_H

