#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/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QWidget>
#include "itemsview.h"
#include "kcolorbutton.h"

QT_BEGIN_NAMESPACE

class Ui_PatternSettingsWidget
{
public:
    QGridLayout *gridLayout_2;
    QLabel *label_2;
    KColorButton *m_fgColor;
    QSpacerItem *horizontalSpacer;
    QLabel *label_3;
    KColorButton *m_bgColor;
    ItemsView *m_pattern;

    void setupUi(QWidget *PatternSettingsWidget)
    {
        if (PatternSettingsWidget->objectName().isEmpty())
            PatternSettingsWidget->setObjectName(QString::fromUtf8("PatternSettingsWidget"));
        PatternSettingsWidget->resize(481, 425);
        gridLayout_2 = new QGridLayout(PatternSettingsWidget);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        label_2 = new QLabel(PatternSettingsWidget);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setMinimumSize(QSize(125, 0));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        m_fgColor = new KColorButton(PatternSettingsWidget);
        m_fgColor->setObjectName(QString::fromUtf8("m_fgColor"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_fgColor->sizePolicy().hasHeightForWidth());
        m_fgColor->setSizePolicy(sizePolicy);

        gridLayout_2->addWidget(m_fgColor, 0, 1, 1, 1);

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

        gridLayout_2->addItem(horizontalSpacer, 0, 2, 1, 1);

        label_3 = new QLabel(PatternSettingsWidget);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setMinimumSize(QSize(125, 0));
        label_3->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(label_3, 1, 0, 1, 1);

        m_bgColor = new KColorButton(PatternSettingsWidget);
        m_bgColor->setObjectName(QString::fromUtf8("m_bgColor"));
        sizePolicy.setHeightForWidth(m_bgColor->sizePolicy().hasHeightForWidth());
        m_bgColor->setSizePolicy(sizePolicy);

        gridLayout_2->addWidget(m_bgColor, 1, 1, 1, 1);

        m_pattern = new ItemsView(PatternSettingsWidget);
        m_pattern->setObjectName(QString::fromUtf8("m_pattern"));
        m_pattern->setMovement(QListView::Static);
        m_pattern->setFlow(QListView::LeftToRight);
        m_pattern->setProperty("isWrapping", QVariant(true));
        m_pattern->setResizeMode(QListView::Adjust);
        m_pattern->setLayoutMode(QListView::Batched);
        m_pattern->setSpacing(2);
        m_pattern->setViewMode(QListView::IconMode);

        gridLayout_2->addWidget(m_pattern, 2, 0, 1, 3);

#ifndef UI_QT_NO_SHORTCUT
        label_2->setBuddy(m_fgColor);
        label_3->setBuddy(m_bgColor);
#endif // QT_NO_SHORTCUT

        retranslateUi(PatternSettingsWidget);

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

    void retranslateUi(QWidget *PatternSettingsWidget)
    {
        label_2->setText(tr2i18n("&Foreground:", 0));
        m_fgColor->setText(tr2i18n("m_fgColor", 0));
        label_3->setText(tr2i18n("&Background:", 0));
        m_bgColor->setText(tr2i18n("m_bgColor", 0));
        Q_UNUSED(PatternSettingsWidget);
    } // retranslateUi

};

namespace Ui {
    class PatternSettingsWidget: public Ui_PatternSettingsWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONFIG_H

