/********************************************************************************
** Form generated from reading ui file 'ColorScaleConfigDialog.ui'
**
** Created: Tue Sep 29 01:27:34 2009
**      by: Qt User Interface Compiler version 4.5.2
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/

#ifndef COLORSCALECONFIGDIALOGDATA_H
#define COLORSCALECONFIGDIALOGDATA_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QListWidget>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QTabWidget>
#include <QtGui/QTableWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>

QT_BEGIN_NAMESPACE

class Ui_ColorScaleDialog
{
public:
    QVBoxLayout *verticalLayout;
    QTabWidget *tabWidget;
    QWidget *tab_2;
    QHBoxLayout *horizontalLayout_6;
    QVBoxLayout *verticalLayout_7;
    QHBoxLayout *horizontalLayout_5;
    QLabel *label;
    QSpinBox *nbColors;
    QCheckBox *gradientCB;
    QTableWidget *colorsTable;
    QVBoxLayout *verticalLayout_5;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout_6;
    QHBoxLayout *horizontalLayout_4;
    QSpacerItem *horizontalSpacer1;
    QLabel *userGradientPreview;
    QSpacerItem *horizontalSpacer_21;
    QWidget *tab;
    QHBoxLayout *horizontalLayout_2;
    QVBoxLayout *verticalLayout_2;
    QRadioButton *predefinedColorScaleRb;
    QListWidget *predefinedGradientsList;
    QRadioButton *userColorScaleImageRb;
    QHBoxLayout *horizontalLayout;
    QLineEdit *userGradientFile;
    QPushButton *browseButton;
    QVBoxLayout *verticalLayout_4;
    QGroupBox *groupBox;
    QVBoxLayout *verticalLayout_3;
    QHBoxLayout *horizontalLayout_3;
    QSpacerItem *horizontalSpacer;
    QLabel *imageGradientPreview;
    QSpacerItem *horizontalSpacer_2;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *ColorScaleDialog)
    {
        if (ColorScaleDialog->objectName().isEmpty())
            ColorScaleDialog->setObjectName(QString::fromUtf8("ColorScaleDialog"));
        ColorScaleDialog->resize(433, 373);
        verticalLayout = new QVBoxLayout(ColorScaleDialog);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        tabWidget = new QTabWidget(ColorScaleDialog);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        tabWidget->setMinimumSize(QSize(400, 300));
        tab_2 = new QWidget();
        tab_2->setObjectName(QString::fromUtf8("tab_2"));
        horizontalLayout_6 = new QHBoxLayout(tab_2);
        horizontalLayout_6->setObjectName(QString::fromUtf8("horizontalLayout_6"));
        verticalLayout_7 = new QVBoxLayout();
        verticalLayout_7->setObjectName(QString::fromUtf8("verticalLayout_7"));
        horizontalLayout_5 = new QHBoxLayout();
        horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
        label = new QLabel(tab_2);
        label->setObjectName(QString::fromUtf8("label"));

        horizontalLayout_5->addWidget(label);

        nbColors = new QSpinBox(tab_2);
        nbColors->setObjectName(QString::fromUtf8("nbColors"));
        nbColors->setMinimum(2);

        horizontalLayout_5->addWidget(nbColors);


        verticalLayout_7->addLayout(horizontalLayout_5);

        gradientCB = new QCheckBox(tab_2);
        gradientCB->setObjectName(QString::fromUtf8("gradientCB"));
        gradientCB->setChecked(true);

        verticalLayout_7->addWidget(gradientCB);

        colorsTable = new QTableWidget(tab_2);
        if (colorsTable->columnCount() < 1)
            colorsTable->setColumnCount(1);
        if (colorsTable->rowCount() < 2)
            colorsTable->setRowCount(2);
        colorsTable->setObjectName(QString::fromUtf8("colorsTable"));
        colorsTable->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
        colorsTable->setSelectionMode(QAbstractItemView::NoSelection);
        colorsTable->setShowGrid(true);
        colorsTable->setGridStyle(Qt::SolidLine);
        colorsTable->setRowCount(2);
        colorsTable->setColumnCount(1);

        verticalLayout_7->addWidget(colorsTable);


        horizontalLayout_6->addLayout(verticalLayout_7);

        verticalLayout_5 = new QVBoxLayout();
        verticalLayout_5->setObjectName(QString::fromUtf8("verticalLayout_5"));
        groupBox_2 = new QGroupBox(tab_2);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        groupBox_2->setMinimumSize(QSize(30, 200));
        verticalLayout_6 = new QVBoxLayout(groupBox_2);
        verticalLayout_6->setObjectName(QString::fromUtf8("verticalLayout_6"));
        horizontalLayout_4 = new QHBoxLayout();
        horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
        horizontalSpacer1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_4->addItem(horizontalSpacer1);

        userGradientPreview = new QLabel(groupBox_2);
        userGradientPreview->setObjectName(QString::fromUtf8("userGradientPreview"));
        userGradientPreview->setMinimumSize(QSize(30, 200));
        userGradientPreview->setMaximumSize(QSize(30, 16777215));

        horizontalLayout_4->addWidget(userGradientPreview);

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

        horizontalLayout_4->addItem(horizontalSpacer_21);


        verticalLayout_6->addLayout(horizontalLayout_4);


        verticalLayout_5->addWidget(groupBox_2);


        horizontalLayout_6->addLayout(verticalLayout_5);

        tabWidget->addTab(tab_2, QString());
        tab = new QWidget();
        tab->setObjectName(QString::fromUtf8("tab"));
        horizontalLayout_2 = new QHBoxLayout(tab);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        predefinedColorScaleRb = new QRadioButton(tab);
        predefinedColorScaleRb->setObjectName(QString::fromUtf8("predefinedColorScaleRb"));
        predefinedColorScaleRb->setChecked(true);

        verticalLayout_2->addWidget(predefinedColorScaleRb);

        predefinedGradientsList = new QListWidget(tab);
        predefinedGradientsList->setObjectName(QString::fromUtf8("predefinedGradientsList"));

        verticalLayout_2->addWidget(predefinedGradientsList);

        userColorScaleImageRb = new QRadioButton(tab);
        userColorScaleImageRb->setObjectName(QString::fromUtf8("userColorScaleImageRb"));

        verticalLayout_2->addWidget(userColorScaleImageRb);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        userGradientFile = new QLineEdit(tab);
        userGradientFile->setObjectName(QString::fromUtf8("userGradientFile"));
        userGradientFile->setEnabled(false);

        horizontalLayout->addWidget(userGradientFile);

        browseButton = new QPushButton(tab);
        browseButton->setObjectName(QString::fromUtf8("browseButton"));
        browseButton->setEnabled(false);
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/i_open.png"), QSize(), QIcon::Normal, QIcon::Off);
        browseButton->setIcon(icon);

        horizontalLayout->addWidget(browseButton);


        verticalLayout_2->addLayout(horizontalLayout);


        horizontalLayout_2->addLayout(verticalLayout_2);

        verticalLayout_4 = new QVBoxLayout();
        verticalLayout_4->setObjectName(QString::fromUtf8("verticalLayout_4"));
        groupBox = new QGroupBox(tab);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        groupBox->setMinimumSize(QSize(30, 200));
        verticalLayout_3 = new QVBoxLayout(groupBox);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        horizontalLayout_3 = new QHBoxLayout();
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout_3->addItem(horizontalSpacer);

        imageGradientPreview = new QLabel(groupBox);
        imageGradientPreview->setObjectName(QString::fromUtf8("imageGradientPreview"));
        imageGradientPreview->setMinimumSize(QSize(30, 200));
        imageGradientPreview->setMaximumSize(QSize(30, 16777215));

        horizontalLayout_3->addWidget(imageGradientPreview);

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

        horizontalLayout_3->addItem(horizontalSpacer_2);


        verticalLayout_3->addLayout(horizontalLayout_3);


        verticalLayout_4->addWidget(groupBox);


        horizontalLayout_2->addLayout(verticalLayout_4);

        tabWidget->addTab(tab, QString());

        verticalLayout->addWidget(tabWidget);

        buttonBox = new QDialogButtonBox(ColorScaleDialog);
        buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
        buttonBox->setOrientation(Qt::Horizontal);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(ColorScaleDialog);
        QObject::connect(buttonBox, SIGNAL(accepted()), ColorScaleDialog, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), ColorScaleDialog, SLOT(reject()));

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QDialog *ColorScaleDialog)
    {
        ColorScaleDialog->setWindowTitle(QApplication::translate("ColorScaleDialog", "Color Scale Configuration", 0, QApplication::UnicodeUTF8));
        label->setText(QApplication::translate("ColorScaleDialog", "Number of colors :", 0, QApplication::UnicodeUTF8));
        gradientCB->setText(QApplication::translate("ColorScaleDialog", "gradient scale", 0, QApplication::UnicodeUTF8));
        groupBox_2->setTitle(QApplication::translate("ColorScaleDialog", "Color scale preview", 0, QApplication::UnicodeUTF8));
        userGradientPreview->setText(QString());
        tabWidget->setTabText(tabWidget->indexOf(tab_2), QApplication::translate("ColorScaleDialog", "Color scale creation", 0, QApplication::UnicodeUTF8));
        predefinedColorScaleRb->setText(QApplication::translate("ColorScaleDialog", "Use predefined color scale", 0, QApplication::UnicodeUTF8));
        userColorScaleImageRb->setText(QApplication::translate("ColorScaleDialog", "Load color scale from image file :", 0, QApplication::UnicodeUTF8));
        browseButton->setText(QString());
        groupBox->setTitle(QApplication::translate("ColorScaleDialog", "Color scale preview", 0, QApplication::UnicodeUTF8));
        imageGradientPreview->setText(QString());
        tabWidget->setTabText(tabWidget->indexOf(tab), QApplication::translate("ColorScaleDialog", "Color scale from image file", 0, QApplication::UnicodeUTF8));
        Q_UNUSED(ColorScaleDialog);
    } // retranslateUi

};

namespace Ui {
    class ColorScaleDialog: public Ui_ColorScaleDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // COLORSCALECONFIGDIALOGDATA_H
