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

/*
This file is part of the KDE project.
Copyright 2009 Stefan Nikolaus <stefan.nikolaus@kdemail.net>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

*/

/********************************************************************************
** Form generated from reading UI file 'GoalSeekWidget.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_GOALSEEKWIDGET_H
#define UI_GOALSEEKWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QWidget>
#include <ui/RegionSelector.h>

namespace Calligra {
namespace Sheets {

class Ui_GoalSeekWidget
{
public:
    QFormLayout *formLayout;
    QLabel *label1;
    Calligra::Sheets::RegionSelector *selector1;
    QLabel *label2;
    Calligra::Sheets::RegionSelector *selector2;
    QLabel *label3;
    Calligra::Sheets::RegionSelector *selector3;
    QWidget *preview;
    QFormLayout *formLayout_preview;
    QLabel *label4;
    QLabel *label5;
    QLabel *newValue;
    QLabel *label6;
    QLabel *currentValue;

    void setupUi(QWidget *Calligra__Sheets__GoalSeekWidget)
    {
        if (Calligra__Sheets__GoalSeekWidget->objectName().isEmpty())
            Calligra__Sheets__GoalSeekWidget->setObjectName(QString::fromUtf8("Calligra__Sheets__GoalSeekWidget"));
        Calligra__Sheets__GoalSeekWidget->resize(262, 148);
        formLayout = new QFormLayout(Calligra__Sheets__GoalSeekWidget);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label1 = new QLabel(Calligra__Sheets__GoalSeekWidget);
        label1->setObjectName(QString::fromUtf8("label1"));

        formLayout->setWidget(0, QFormLayout::LabelRole, label1);

        selector1 = new Calligra::Sheets::RegionSelector(Calligra__Sheets__GoalSeekWidget);
        selector1->setObjectName(QString::fromUtf8("selector1"));

        formLayout->setWidget(0, QFormLayout::FieldRole, selector1);

        label2 = new QLabel(Calligra__Sheets__GoalSeekWidget);
        label2->setObjectName(QString::fromUtf8("label2"));

        formLayout->setWidget(1, QFormLayout::LabelRole, label2);

        selector2 = new Calligra::Sheets::RegionSelector(Calligra__Sheets__GoalSeekWidget);
        selector2->setObjectName(QString::fromUtf8("selector2"));

        formLayout->setWidget(1, QFormLayout::FieldRole, selector2);

        label3 = new QLabel(Calligra__Sheets__GoalSeekWidget);
        label3->setObjectName(QString::fromUtf8("label3"));

        formLayout->setWidget(2, QFormLayout::LabelRole, label3);

        selector3 = new Calligra::Sheets::RegionSelector(Calligra__Sheets__GoalSeekWidget);
        selector3->setObjectName(QString::fromUtf8("selector3"));

        formLayout->setWidget(2, QFormLayout::FieldRole, selector3);

        preview = new QWidget(Calligra__Sheets__GoalSeekWidget);
        preview->setObjectName(QString::fromUtf8("preview"));
        formLayout_preview = new QFormLayout(preview);
        formLayout_preview->setObjectName(QString::fromUtf8("formLayout_preview"));
        label4 = new QLabel(preview);
        label4->setObjectName(QString::fromUtf8("label4"));
        label4->setWordWrap(false);

        formLayout_preview->setWidget(0, QFormLayout::SpanningRole, label4);

        label5 = new QLabel(preview);
        label5->setObjectName(QString::fromUtf8("label5"));

        formLayout_preview->setWidget(1, QFormLayout::LabelRole, label5);

        newValue = new QLabel(preview);
        newValue->setObjectName(QString::fromUtf8("newValue"));

        formLayout_preview->setWidget(1, QFormLayout::FieldRole, newValue);

        label6 = new QLabel(preview);
        label6->setObjectName(QString::fromUtf8("label6"));

        formLayout_preview->setWidget(2, QFormLayout::LabelRole, label6);

        currentValue = new QLabel(preview);
        currentValue->setObjectName(QString::fromUtf8("currentValue"));

        formLayout_preview->setWidget(2, QFormLayout::FieldRole, currentValue);


        formLayout->setWidget(3, QFormLayout::SpanningRole, preview);


        retranslateUi(Calligra__Sheets__GoalSeekWidget);

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

    void retranslateUi(QWidget *Calligra__Sheets__GoalSeekWidget)
    {
        label1->setText(tr2i18n("Set cell:", 0));
        label2->setText(tr2i18n("To value:", 0));
        label3->setText(tr2i18n("By changing cell:", 0));
        label4->setText(tr2i18n("Goal seeking with cell <cell> found <a | no> solution:", 0));
        label5->setText(tr2i18n("New value:", 0));
        newValue->setText(QString());
        label6->setText(tr2i18n("Current value:", 0));
        currentValue->setText(QString());
        Q_UNUSED(Calligra__Sheets__GoalSeekWidget);
    } // retranslateUi

};

} // namespace Sheets
} // namespace Calligra

namespace Calligra {
namespace Sheets {
namespace Ui {
    class GoalSeekWidget: public Ui_GoalSeekWidget {};
} // namespace Ui
} // namespace Sheets
} // namespace Calligra

#endif // GOALSEEKWIDGET_H

