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

/*
This file is part of the KDE project.
Copyright 2010 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 'ConsolidateWidget.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_CONSOLIDATEWIDGET_H
#define UI_CONSOLIDATEWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "klineedit.h"
#include "klistwidget.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_ConsolidateWidget
{
public:
    QFormLayout *formLayout;
    QLabel *label;
    KComboBox *m_function;
    QLabel *label_2;
    KLineEdit *m_sourceRange;
    QLabel *label_3;
    QGridLayout *gridLayout;
    KPushButton *m_addButton;
    KPushButton *m_removeButton;
    KListWidget *m_sourceRanges;

    void setupUi(QWidget *ConsolidateWidget)
    {
        if (ConsolidateWidget->objectName().isEmpty())
            ConsolidateWidget->setObjectName(QString::fromUtf8("ConsolidateWidget"));
        ConsolidateWidget->resize(270, 134);
        formLayout = new QFormLayout(ConsolidateWidget);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        label = new QLabel(ConsolidateWidget);
        label->setObjectName(QString::fromUtf8("label"));

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

        m_function = new KComboBox(ConsolidateWidget);
        m_function->setObjectName(QString::fromUtf8("m_function"));

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

        label_2 = new QLabel(ConsolidateWidget);
        label_2->setObjectName(QString::fromUtf8("label_2"));

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

        m_sourceRange = new KLineEdit(ConsolidateWidget);
        m_sourceRange->setObjectName(QString::fromUtf8("m_sourceRange"));

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

        label_3 = new QLabel(ConsolidateWidget);
        label_3->setObjectName(QString::fromUtf8("label_3"));

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

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        m_addButton = new KPushButton(ConsolidateWidget);
        m_addButton->setObjectName(QString::fromUtf8("m_addButton"));

        gridLayout->addWidget(m_addButton, 0, 1, 1, 1);

        m_removeButton = new KPushButton(ConsolidateWidget);
        m_removeButton->setObjectName(QString::fromUtf8("m_removeButton"));

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

        m_sourceRanges = new KListWidget(ConsolidateWidget);
        m_sourceRanges->setObjectName(QString::fromUtf8("m_sourceRanges"));

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


        formLayout->setLayout(2, QFormLayout::FieldRole, gridLayout);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(m_function);
        label_2->setBuddy(m_sourceRange);
        label_3->setBuddy(m_sourceRanges);
#endif // QT_NO_SHORTCUT

        retranslateUi(ConsolidateWidget);

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

    void retranslateUi(QWidget *ConsolidateWidget)
    {
        label->setText(tr2i18n("Function:", 0));
        label_2->setText(tr2i18n("Reference:", 0));
        label_3->setText(tr2i18n("Entered references:", 0));
        m_addButton->setText(tr2i18n("Add", 0));
        m_removeButton->setText(tr2i18n("Remove", 0));
        Q_UNUSED(ConsolidateWidget);
    } // retranslateUi

};

namespace Ui {
    class ConsolidateWidget: public Ui_ConsolidateWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CONSOLIDATEWIDGET_H

