#include <kdialog.h>
#include <klocale.h>

/********************************************************************************
** Form generated from reading UI file 'config.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_CONFIG_H
#define UI_CONFIG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "kcolorbutton.h"
#include "kcombobox.h"
#include "kfontcombobox.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_config
{
public:
    QGridLayout *gridLayout;
    QLabel *fontGroupLabel;
    QLabel *fontStyleLabel;
    QHBoxLayout *horizontalLayout_4;
    KFontComboBox *fontStyleComboBox;
    QSpacerItem *horizontalSpacer_4;
    QCheckBox *fontBoldCheckBox;
    QCheckBox *fontItalicCheckBox;
    QLabel *fontSizeLabel;
    QHBoxLayout *horizontalLayout_3;
    QRadioButton *autoFont;
    KIntSpinBox *autoFontPercent;
    QSpacerItem *horizontalSpacer_2;
    QHBoxLayout *horizontalLayout;
    QRadioButton *customFont;
    KIntSpinBox *customFontSizeSpinBox;
    QSpacerItem *horizontalSpacer;
    QLabel *fontColorLabel;
    QRadioButton *useThemeColor;
    QHBoxLayout *horizontalLayout_2;
    QRadioButton *useCustomColor;
    KColorButton *textColorButton;
    QSpacerItem *horizontalSpacer_6;
    QLabel *fontBackgroundColorLabel;
    QRadioButton *useNoColor;
    QHBoxLayout *horizontalLayout_8;
    QRadioButton *useCustomBackgroundColor;
    KColorButton *textBackgroundColorButton;
    QSpacerItem *horizontalSpacer_61;
    QSpacerItem *verticalSpacer_3;
    QLabel *themeGroupLabel;
    QLabel *notesColorLabel;
    QHBoxLayout *horizontalLayout_6;
    KComboBox *notesColorComboBox;
    QSpacerItem *horizontalSpacer_5;
    QSpacerItem *verticalSpacer_2;
    QLabel *spellCheckLabel;
    QLabel *checkSpellingLabel;
    QHBoxLayout *horizontalLayout_5;
    QCheckBox *checkSpelling;
    QSpacerItem *horizontalSpacer_3;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *config)
    {
        if (config->objectName().isEmpty())
            config->setObjectName(QString::fromUtf8("config"));
        config->resize(417, 409);
        gridLayout = new QGridLayout(config);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        fontGroupLabel = new QLabel(config);
        fontGroupLabel->setObjectName(QString::fromUtf8("fontGroupLabel"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        fontGroupLabel->setFont(font);

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

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

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

        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        fontStyleComboBox = new KFontComboBox(config);
        fontStyleComboBox->setObjectName(QString::fromUtf8("fontStyleComboBox"));

        horizontalLayout_4->addWidget(fontStyleComboBox);

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

        horizontalLayout_4->addItem(horizontalSpacer_4);


        gridLayout->addLayout(horizontalLayout_4, 1, 2, 1, 1);

        fontBoldCheckBox = new QCheckBox(config);
        fontBoldCheckBox->setObjectName(QString::fromUtf8("fontBoldCheckBox"));

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

        fontItalicCheckBox = new QCheckBox(config);
        fontItalicCheckBox->setObjectName(QString::fromUtf8("fontItalicCheckBox"));

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

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

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

        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        autoFont = new QRadioButton(config);
        autoFont->setObjectName(QString::fromUtf8("autoFont"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(autoFont->sizePolicy().hasHeightForWidth());
        autoFont->setSizePolicy(sizePolicy);

        horizontalLayout_3->addWidget(autoFont);

        autoFontPercent = new KIntSpinBox(config);
        autoFontPercent->setObjectName(QString::fromUtf8("autoFontPercent"));

        horizontalLayout_3->addWidget(autoFontPercent);

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

        horizontalLayout_3->addItem(horizontalSpacer_2);


        gridLayout->addLayout(horizontalLayout_3, 4, 2, 1, 1);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        customFont = new QRadioButton(config);
        customFont->setObjectName(QString::fromUtf8("customFont"));
        sizePolicy.setHeightForWidth(customFont->sizePolicy().hasHeightForWidth());
        customFont->setSizePolicy(sizePolicy);

        horizontalLayout->addWidget(customFont);

        customFontSizeSpinBox = new KIntSpinBox(config);
        customFontSizeSpinBox->setObjectName(QString::fromUtf8("customFontSizeSpinBox"));

        horizontalLayout->addWidget(customFontSizeSpinBox);

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

        horizontalLayout->addItem(horizontalSpacer);


        gridLayout->addLayout(horizontalLayout, 5, 2, 1, 1);

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

        gridLayout->addWidget(fontColorLabel, 6, 1, 1, 1);

        useThemeColor = new QRadioButton(config);
        useThemeColor->setObjectName(QString::fromUtf8("useThemeColor"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(useThemeColor->sizePolicy().hasHeightForWidth());
        useThemeColor->setSizePolicy(sizePolicy1);
        useThemeColor->setChecked(false);

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

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        useCustomColor = new QRadioButton(config);
        useCustomColor->setObjectName(QString::fromUtf8("useCustomColor"));
        QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(useCustomColor->sizePolicy().hasHeightForWidth());
        useCustomColor->setSizePolicy(sizePolicy2);

        horizontalLayout_2->addWidget(useCustomColor);

        textColorButton = new KColorButton(config);
        textColorButton->setObjectName(QString::fromUtf8("textColorButton"));
        textColorButton->setEnabled(false);

        horizontalLayout_2->addWidget(textColorButton);

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

        horizontalLayout_2->addItem(horizontalSpacer_6);


        gridLayout->addLayout(horizontalLayout_2, 7, 2, 1, 1);

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

        gridLayout->addWidget(fontBackgroundColorLabel, 8, 1, 1, 1);

        useNoColor = new QRadioButton(config);
        useNoColor->setObjectName(QString::fromUtf8("useNoColor"));
        sizePolicy1.setHeightForWidth(useNoColor->sizePolicy().hasHeightForWidth());
        useNoColor->setSizePolicy(sizePolicy1);
        useNoColor->setChecked(false);

        gridLayout->addWidget(useNoColor, 8, 2, 1, 1);

        horizontalLayout_8 = new QHBoxLayout();
        horizontalLayout_8->setObjectName(QString::fromUtf8("horizontalLayout_8"));
        useCustomBackgroundColor = new QRadioButton(config);
        useCustomBackgroundColor->setObjectName(QString::fromUtf8("useCustomBackgroundColor"));
        sizePolicy2.setHeightForWidth(useCustomBackgroundColor->sizePolicy().hasHeightForWidth());
        useCustomBackgroundColor->setSizePolicy(sizePolicy2);

        horizontalLayout_8->addWidget(useCustomBackgroundColor);

        textBackgroundColorButton = new KColorButton(config);
        textBackgroundColorButton->setObjectName(QString::fromUtf8("textBackgroundColorButton"));
        textBackgroundColorButton->setEnabled(false);

        horizontalLayout_8->addWidget(textBackgroundColorButton);

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

        horizontalLayout_8->addItem(horizontalSpacer_61);


        gridLayout->addLayout(horizontalLayout_8, 9, 2, 1, 1);

        verticalSpacer_3 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_3, 10, 0, 1, 1);

        themeGroupLabel = new QLabel(config);
        themeGroupLabel->setObjectName(QString::fromUtf8("themeGroupLabel"));
        themeGroupLabel->setFont(font);

        gridLayout->addWidget(themeGroupLabel, 11, 0, 1, 1);

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

        gridLayout->addWidget(notesColorLabel, 12, 1, 1, 1);

        horizontalLayout_6 = new QHBoxLayout();
        horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
        notesColorComboBox = new KComboBox(config);
        notesColorComboBox->setObjectName(QString::fromUtf8("notesColorComboBox"));
        sizePolicy.setHeightForWidth(notesColorComboBox->sizePolicy().hasHeightForWidth());
        notesColorComboBox->setSizePolicy(sizePolicy);
        notesColorComboBox->setMinimumSize(QSize(200, 0));

        horizontalLayout_6->addWidget(notesColorComboBox);

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

        horizontalLayout_6->addItem(horizontalSpacer_5);


        gridLayout->addLayout(horizontalLayout_6, 12, 2, 1, 1);

        verticalSpacer_2 = new QSpacerItem(20, 13, QSizePolicy::Minimum, QSizePolicy::Fixed);

        gridLayout->addItem(verticalSpacer_2, 13, 0, 1, 1);

        spellCheckLabel = new QLabel(config);
        spellCheckLabel->setObjectName(QString::fromUtf8("spellCheckLabel"));
        spellCheckLabel->setFont(font);

        gridLayout->addWidget(spellCheckLabel, 14, 0, 1, 2);

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

        gridLayout->addWidget(checkSpellingLabel, 15, 1, 1, 1);

        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
        checkSpelling = new QCheckBox(config);
        checkSpelling->setObjectName(QString::fromUtf8("checkSpelling"));
        checkSpelling->setChecked(true);

        horizontalLayout_5->addWidget(checkSpelling);

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

        horizontalLayout_5->addItem(horizontalSpacer_3);


        gridLayout->addLayout(horizontalLayout_5, 15, 2, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 16, 1, 1, 2);

#ifndef UI_QT_NO_SHORTCUT
        fontStyleLabel->setBuddy(fontStyleComboBox);
        notesColorLabel->setBuddy(notesColorComboBox);
        checkSpellingLabel->setBuddy(checkSpelling);
#endif // QT_NO_SHORTCUT

        retranslateUi(config);
        QObject::connect(customFont, SIGNAL(toggled(bool)), customFontSizeSpinBox, SLOT(setEnabled(bool)));
        QObject::connect(autoFont, SIGNAL(toggled(bool)), autoFontPercent, SLOT(setEnabled(bool)));
        QObject::connect(useCustomColor, SIGNAL(toggled(bool)), textColorButton, SLOT(setEnabled(bool)));
        QObject::connect(useCustomBackgroundColor, SIGNAL(toggled(bool)), textBackgroundColorButton, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *config)
    {
        fontGroupLabel->setText(tr2i18n("Font", 0));
        fontStyleLabel->setText(tr2i18n("Style:", 0));
        fontBoldCheckBox->setText(tr2i18n("&Bold", 0));
        fontItalicCheckBox->setText(tr2i18n("&Italic", 0));
        fontSizeLabel->setText(tr2i18n("Size:", 0));
        autoFont->setText(tr2i18n("Scale font size by:", 0));
        autoFontPercent->setSuffix(tr2i18n("%", 0));
        customFont->setText(tr2i18n("Use custom font size:", 0));
        fontColorLabel->setText(tr2i18n("Color:", 0));
        useThemeColor->setText(tr2i18n("Use theme color", 0));
        useCustomColor->setText(tr2i18n("Use custom color:", 0));
        fontBackgroundColorLabel->setText(tr2i18n("Active line highlight color:", 0));
        useNoColor->setText(tr2i18n("Use no color", 0));
        useCustomBackgroundColor->setText(tr2i18n("Use custom color:", 0));
        themeGroupLabel->setText(tr2i18n("Theme", 0));
        notesColorLabel->setText(tr2i18n("Notes color:", 0));
        spellCheckLabel->setText(tr2i18n("Spell Check", 0));
        checkSpellingLabel->setText(tr2i18n("Enable spell check:", 0));
        checkSpelling->setText(QString());
        Q_UNUSED(config);
    } // retranslateUi

};

namespace Ui {
    class config: public Ui_config {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONFIG_H

