#include <klocalizedstring.h>

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

#ifndef UI_CSSCUSTOM_H
#define UI_CSSCUSTOM_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QFontComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include <kcolorbutton.h>
#include "kcolorbutton.h"

QT_BEGIN_NAMESPACE

class Ui_CSSCustomDialog
{
public:
    QVBoxLayout *vboxLayout;
    QGridLayout *gridLayout;
    QGroupBox *GroupBox7;
    QGridLayout *gridLayout1;
    QLabel *txtBaseFontFamily;
    QFontComboBox *fontFamily;
    QCheckBox *sameFamily;
    QGroupBox *GroupBox3;
    QGridLayout *gridLayout2;
    QLabel *txtFontsize;
    QComboBox *basefontsize;
    QCheckBox *dontScale;
    QGroupBox *ButtonGroup2;
    QGridLayout *gridLayout3;
    QSpacerItem *spacerItem;
    QRadioButton *blackOnWhite;
    QRadioButton *whiteOnBlack;
    QRadioButton *customColor;
    QLabel *txtBackground;
    KColorButton *backgroundColorButton;
    QCheckBox *sameColor;
    QLabel *txtForeground;
    KColorButton *foregroundColorButton;
    QGroupBox *GroupBox3_2;
    QGridLayout *gridLayout4;
    QCheckBox *hideImages;
    QCheckBox *hideBackground;
    QSpacerItem *verticalSpacer;
    QGroupBox *previewBox;
    QHBoxLayout *hboxLayout;
    QHBoxLayout *hboxLayout1;

    void setupUi(QWidget *CSSCustomDialog)
    {
        if (CSSCustomDialog->objectName().isEmpty())
            CSSCustomDialog->setObjectName(QStringLiteral("CSSCustomDialog"));
        CSSCustomDialog->resize(633, 526);
        vboxLayout = new QVBoxLayout(CSSCustomDialog);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        GroupBox7 = new QGroupBox(CSSCustomDialog);
        GroupBox7->setObjectName(QStringLiteral("GroupBox7"));
        gridLayout1 = new QGridLayout(GroupBox7);
        gridLayout1->setObjectName(QStringLiteral("gridLayout1"));
        txtBaseFontFamily = new QLabel(GroupBox7);
        txtBaseFontFamily->setObjectName(QStringLiteral("txtBaseFontFamily"));

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

        fontFamily = new QFontComboBox(GroupBox7);
        fontFamily->setObjectName(QStringLiteral("fontFamily"));

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

        sameFamily = new QCheckBox(GroupBox7);
        sameFamily->setObjectName(QStringLiteral("sameFamily"));

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


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

        GroupBox3 = new QGroupBox(CSSCustomDialog);
        GroupBox3->setObjectName(QStringLiteral("GroupBox3"));
        gridLayout2 = new QGridLayout(GroupBox3);
        gridLayout2->setObjectName(QStringLiteral("gridLayout2"));
        txtFontsize = new QLabel(GroupBox3);
        txtFontsize->setObjectName(QStringLiteral("txtFontsize"));
        txtFontsize->setWordWrap(false);

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

        basefontsize = new QComboBox(GroupBox3);
        basefontsize->setObjectName(QStringLiteral("basefontsize"));
        basefontsize->setEditable(true);

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

        dontScale = new QCheckBox(GroupBox3);
        dontScale->setObjectName(QStringLiteral("dontScale"));

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


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

        ButtonGroup2 = new QGroupBox(CSSCustomDialog);
        ButtonGroup2->setObjectName(QStringLiteral("ButtonGroup2"));
        gridLayout3 = new QGridLayout(ButtonGroup2);
        gridLayout3->setObjectName(QStringLiteral("gridLayout3"));
        spacerItem = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        gridLayout3->addItem(spacerItem, 3, 0, 1, 1);

        blackOnWhite = new QRadioButton(ButtonGroup2);
        blackOnWhite->setObjectName(QStringLiteral("blackOnWhite"));
        blackOnWhite->setChecked(true);

        gridLayout3->addWidget(blackOnWhite, 0, 0, 1, 5);

        whiteOnBlack = new QRadioButton(ButtonGroup2);
        whiteOnBlack->setObjectName(QStringLiteral("whiteOnBlack"));

        gridLayout3->addWidget(whiteOnBlack, 1, 0, 1, 5);

        customColor = new QRadioButton(ButtonGroup2);
        customColor->setObjectName(QStringLiteral("customColor"));

        gridLayout3->addWidget(customColor, 2, 0, 1, 5);

        txtBackground = new QLabel(ButtonGroup2);
        txtBackground->setObjectName(QStringLiteral("txtBackground"));
        txtBackground->setEnabled(false);
        txtBackground->setWordWrap(false);

        gridLayout3->addWidget(txtBackground, 3, 1, 1, 1);

        backgroundColorButton = new KColorButton(ButtonGroup2);
        backgroundColorButton->setObjectName(QStringLiteral("backgroundColorButton"));
        backgroundColorButton->setEnabled(false);

        gridLayout3->addWidget(backgroundColorButton, 3, 2, 1, 1);

        sameColor = new QCheckBox(ButtonGroup2);
        sameColor->setObjectName(QStringLiteral("sameColor"));

        gridLayout3->addWidget(sameColor, 4, 0, 1, 5);

        txtForeground = new QLabel(ButtonGroup2);
        txtForeground->setObjectName(QStringLiteral("txtForeground"));
        txtForeground->setEnabled(false);
        txtForeground->setWordWrap(false);

        gridLayout3->addWidget(txtForeground, 3, 3, 1, 1);

        foregroundColorButton = new KColorButton(ButtonGroup2);
        foregroundColorButton->setObjectName(QStringLiteral("foregroundColorButton"));
        foregroundColorButton->setEnabled(false);

        gridLayout3->addWidget(foregroundColorButton, 3, 4, 1, 1);


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

        GroupBox3_2 = new QGroupBox(CSSCustomDialog);
        GroupBox3_2->setObjectName(QStringLiteral("GroupBox3_2"));
        gridLayout4 = new QGridLayout(GroupBox3_2);
        gridLayout4->setObjectName(QStringLiteral("gridLayout4"));
        hideImages = new QCheckBox(GroupBox3_2);
        hideImages->setObjectName(QStringLiteral("hideImages"));

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

        hideBackground = new QCheckBox(GroupBox3_2);
        hideBackground->setObjectName(QStringLiteral("hideBackground"));
        hideBackground->setChecked(true);

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

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

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


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

        previewBox = new QGroupBox(CSSCustomDialog);
        previewBox->setObjectName(QStringLiteral("previewBox"));
        previewBox->setMinimumSize(QSize(0, 200));

        gridLayout->addWidget(previewBox, 5, 0, 1, 2);


        vboxLayout->addLayout(gridLayout);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));

        vboxLayout->addLayout(hboxLayout);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));

        vboxLayout->addLayout(hboxLayout1);

#ifndef UI_QT_NO_SHORTCUT
        txtFontsize->setBuddy(basefontsize);
        txtBackground->setBuddy(backgroundColorButton);
        txtForeground->setBuddy(foregroundColorButton);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(sameFamily, basefontsize);
        QWidget::setTabOrder(basefontsize, dontScale);
        QWidget::setTabOrder(dontScale, blackOnWhite);
        QWidget::setTabOrder(blackOnWhite, backgroundColorButton);
        QWidget::setTabOrder(backgroundColorButton, sameColor);
        QWidget::setTabOrder(sameColor, hideImages);
        QWidget::setTabOrder(hideImages, hideBackground);

        retranslateUi(CSSCustomDialog);
        QObject::connect(customColor, SIGNAL(toggled(bool)), backgroundColorButton, SLOT(setEnabled(bool)));
        QObject::connect(customColor, SIGNAL(toggled(bool)), foregroundColorButton, SLOT(setEnabled(bool)));
        QObject::connect(customColor, SIGNAL(toggled(bool)), txtBackground, SLOT(setEnabled(bool)));
        QObject::connect(customColor, SIGNAL(toggled(bool)), txtForeground, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *CSSCustomDialog)
    {
#ifndef UI_QT_NO_WHATSTHIS
        CSSCustomDialog->setWhatsThis(tr2i18n("<b>Stylesheets</b><p>See http://www.w3.org/Style/CSS for further information on cascading style sheets.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        GroupBox7->setWhatsThis(tr2i18n("<b>Font family</b><p>A font family is a group of fonts that resemble one another, with family members that are e.g. bold, italic, or any number of the above.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        GroupBox7->setTitle(tr2i18n("Font Family", Q_NULLPTR));
        txtBaseFontFamily->setText(tr2i18n("Base family:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        fontFamily->setWhatsThis(tr2i18n("<p>This is the currently selected font family</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        sameFamily->setWhatsThis(tr2i18n("<b>Use same family for all text</b><p>Select this option to override custom fonts everywhere in favor of the base font.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        sameFamily->setText(tr2i18n("Use same family for all text", Q_NULLPTR));
        GroupBox3->setTitle(tr2i18n("Font Size", Q_NULLPTR));
        txtFontsize->setText(tr2i18n("Base font si&ze:", Q_NULLPTR));
        basefontsize->clear();
        basefontsize->insertItems(0, QStringList()
         << tr2i18n("7", Q_NULLPTR)
         << tr2i18n("8", Q_NULLPTR)
         << tr2i18n("9", Q_NULLPTR)
         << tr2i18n("10", Q_NULLPTR)
         << tr2i18n("11", Q_NULLPTR)
         << tr2i18n("12", Q_NULLPTR)
         << tr2i18n("14", Q_NULLPTR)
         << tr2i18n("16", Q_NULLPTR)
         << tr2i18n("20", Q_NULLPTR)
         << tr2i18n("24", Q_NULLPTR)
         << tr2i18n("32", Q_NULLPTR)
         << tr2i18n("48", Q_NULLPTR)
         << tr2i18n("64", Q_NULLPTR)
        );
#ifndef UI_QT_NO_WHATSTHIS
        dontScale->setWhatsThis(tr2i18n("<b>Use same size for all elements</b><p>Select this option to override custom font sizes in favor of the base font size. All fonts will be displayed in the same size.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        dontScale->setText(tr2i18n("&Use same size for all elements", Q_NULLPTR));
        ButtonGroup2->setTitle(tr2i18n("Colors", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        blackOnWhite->setWhatsThis(tr2i18n("<b>Black on White</b><p>This is what you normally see.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        blackOnWhite->setText(tr2i18n("&Black on white", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        whiteOnBlack->setWhatsThis(tr2i18n("<b>White on Black</b><p>This is your classic inverse color scheme.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        whiteOnBlack->setText(tr2i18n("&White on black", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        customColor->setWhatsThis(tr2i18n("<b>Custom</b><p>Select this option to define a custom color for the default font.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        customColor->setText(tr2i18n("Cus&tom", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        txtBackground->setWhatsThis(tr2i18n("<b>Background</b><p>This background color is the one displayed behind the text by default. A background image will override this.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        txtBackground->setText(tr2i18n("Bac&kground:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        backgroundColorButton->setWhatsThis(tr2i18n("<b>Background</b><p>Behind this door lays the ability to choose a custom default background.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        backgroundColorButton->setText(QString());
#ifndef UI_QT_NO_WHATSTHIS
        sameColor->setWhatsThis(tr2i18n("<b>Use same color for all text</b><p>Select this option to apply your chosen color to the default font as well as any custom fonts as specified in a stylesheet.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        sameColor->setText(tr2i18n("Use same color for all text", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        txtForeground->setWhatsThis(tr2i18n("<b>Foreground color</b><p>The foreground color is the color that the text is drawn in.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        txtForeground->setText(tr2i18n("&Foreground:", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        foregroundColorButton->setWhatsThis(tr2i18n("<b>Foreground color</b><p>The foreground color is the color that the text is drawn in.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        foregroundColorButton->setText(QString());
#ifndef UI_QT_NO_WHATSTHIS
        GroupBox3_2->setWhatsThis(tr2i18n("<b>Images</b>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        GroupBox3_2->setTitle(tr2i18n("Images", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        hideImages->setWhatsThis(tr2i18n("<b>Suppress images</b><p>Selecting this will prevent Konqueror from loading images.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        hideImages->setText(tr2i18n("&Suppress images", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        hideBackground->setWhatsThis(tr2i18n("<b>Suppress background images</b><p>Selecting this option will prevent Konqueror from loading background images.</p>", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        hideBackground->setText(tr2i18n("Suppress background images", Q_NULLPTR));
        previewBox->setTitle(tr2i18n("Preview", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class CSSCustomDialog: public Ui_CSSCustomDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CSSCUSTOM_H

