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

/********************************************************************************
** Form generated from reading UI file 'kforecastviewdecl.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_KFORECASTVIEWDECL_H
#define UI_KFORECASTVIEWDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QSplitter>
#include <QtGui/QTreeWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "kpushbutton.h"
#include "ktabwidget.h"
#include "ktextedit.h"

QT_BEGIN_NAMESPACE

class Ui_KForecastViewDecl
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *groupBox3;
    QHBoxLayout *horizontalLayout_3;
    QFormLayout *formLayout;
    QLabel *textLabel1;
    QSpinBox *m_forecastDays;
    QLabel *textLabel3;
    QSpinBox *m_accountsCycle;
    QLabel *textLabel5;
    QSpinBox *m_beginDay;
    QLabel *textLabel4;
    QSpinBox *m_forecastCycles;
    QLabel *textLabel6;
    KComboBox *m_comboDetail;
    QSpacerItem *horizontalSpacer;
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout_2;
    QLabel *textLabel2;
    QLabel *m_forecastMethod;
    QSpacerItem *spacer22;
    KPushButton *m_forecastButton;
    QGroupBox *m_historyMethodGroupBox;
    QVBoxLayout *vboxLayout;
    QRadioButton *radioButton11;
    QRadioButton *radioButton12;
    QRadioButton *radioButton13;
    KTabWidget *m_tab;
    QWidget *summary;
    QHBoxLayout *horizontalLayout;
    QSplitter *splitter;
    QTreeWidget *m_summaryList;
    KTextEdit *m_adviceText;
    QWidget *detail;
    QVBoxLayout *vboxLayout1;
    QTreeWidget *m_forecastList;
    QWidget *advanced;
    QVBoxLayout *vboxLayout2;
    QTreeWidget *m_advancedList;
    QWidget *budget;
    QVBoxLayout *vboxLayout3;
    QTreeWidget *m_budgetList;
    QWidget *m_tabChart;
    QVBoxLayout *vboxLayout4;
    QButtonGroup *m_historyMethod;

    void setupUi(QWidget *KForecastViewDecl)
    {
        if (KForecastViewDecl->objectName().isEmpty())
            KForecastViewDecl->setObjectName(QString::fromUtf8("KForecastViewDecl"));
        KForecastViewDecl->resize(631, 286);
        verticalLayout = new QVBoxLayout(KForecastViewDecl);
        verticalLayout->setSpacing(0);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        groupBox3 = new QGroupBox(KForecastViewDecl);
        groupBox3->setObjectName(QString::fromUtf8("groupBox3"));
        horizontalLayout_3 = new QHBoxLayout(groupBox3);
        horizontalLayout_3->setSpacing(0);
        horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
        horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
        formLayout = new QFormLayout();
        formLayout->setSpacing(0);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        formLayout->setLabelAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
        textLabel1 = new QLabel(groupBox3);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
        textLabel1->setSizePolicy(sizePolicy);
        textLabel1->setWordWrap(false);

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

        m_forecastDays = new QSpinBox(groupBox3);
        m_forecastDays->setObjectName(QString::fromUtf8("m_forecastDays"));
        QSizePolicy sizePolicy1(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_forecastDays->sizePolicy().hasHeightForWidth());
        m_forecastDays->setSizePolicy(sizePolicy1);
        m_forecastDays->setMinimum(1);
        m_forecastDays->setMaximum(999);

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

        textLabel3 = new QLabel(groupBox3);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        sizePolicy.setHeightForWidth(textLabel3->sizePolicy().hasHeightForWidth());
        textLabel3->setSizePolicy(sizePolicy);
        textLabel3->setWordWrap(false);

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

        m_accountsCycle = new QSpinBox(groupBox3);
        m_accountsCycle->setObjectName(QString::fromUtf8("m_accountsCycle"));
        sizePolicy1.setHeightForWidth(m_accountsCycle->sizePolicy().hasHeightForWidth());
        m_accountsCycle->setSizePolicy(sizePolicy1);
        m_accountsCycle->setMinimum(1);
        m_accountsCycle->setMaximum(999);

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

        textLabel5 = new QLabel(groupBox3);
        textLabel5->setObjectName(QString::fromUtf8("textLabel5"));
        textLabel5->setWordWrap(false);

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

        m_beginDay = new QSpinBox(groupBox3);
        m_beginDay->setObjectName(QString::fromUtf8("m_beginDay"));
        sizePolicy1.setHeightForWidth(m_beginDay->sizePolicy().hasHeightForWidth());
        m_beginDay->setSizePolicy(sizePolicy1);
        m_beginDay->setMinimum(0);
        m_beginDay->setMaximum(31);

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

        textLabel4 = new QLabel(groupBox3);
        textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
        textLabel4->setWordWrap(false);

        formLayout->setWidget(3, QFormLayout::LabelRole, textLabel4);

        m_forecastCycles = new QSpinBox(groupBox3);
        m_forecastCycles->setObjectName(QString::fromUtf8("m_forecastCycles"));
        sizePolicy1.setHeightForWidth(m_forecastCycles->sizePolicy().hasHeightForWidth());
        m_forecastCycles->setSizePolicy(sizePolicy1);
        m_forecastCycles->setMinimum(1);
        m_forecastCycles->setMaximum(999);

        formLayout->setWidget(3, QFormLayout::FieldRole, m_forecastCycles);

        textLabel6 = new QLabel(groupBox3);
        textLabel6->setObjectName(QString::fromUtf8("textLabel6"));
        textLabel6->setWordWrap(false);

        formLayout->setWidget(4, QFormLayout::LabelRole, textLabel6);

        m_comboDetail = new KComboBox(groupBox3);
        m_comboDetail->setObjectName(QString::fromUtf8("m_comboDetail"));

        formLayout->setWidget(4, QFormLayout::FieldRole, m_comboDetail);


        horizontalLayout_3->addLayout(formLayout);

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

        horizontalLayout_3->addItem(horizontalSpacer);

        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setSpacing(0);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(0);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        textLabel2 = new QLabel(groupBox3);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        sizePolicy.setHeightForWidth(textLabel2->sizePolicy().hasHeightForWidth());
        textLabel2->setSizePolicy(sizePolicy);
        textLabel2->setWordWrap(false);

        horizontalLayout_2->addWidget(textLabel2);

        m_forecastMethod = new QLabel(groupBox3);
        m_forecastMethod->setObjectName(QString::fromUtf8("m_forecastMethod"));
        QSizePolicy sizePolicy2(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(2);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(m_forecastMethod->sizePolicy().hasHeightForWidth());
        m_forecastMethod->setSizePolicy(sizePolicy2);
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        m_forecastMethod->setFont(font);
        m_forecastMethod->setWordWrap(false);

        horizontalLayout_2->addWidget(m_forecastMethod);

        spacer22 = new QSpacerItem(100, 21, QSizePolicy::Preferred, QSizePolicy::Minimum);

        horizontalLayout_2->addItem(spacer22);

        m_forecastButton = new KPushButton(groupBox3);
        m_forecastButton->setObjectName(QString::fromUtf8("m_forecastButton"));

        horizontalLayout_2->addWidget(m_forecastButton);


        verticalLayout_2->addLayout(horizontalLayout_2);

        m_historyMethodGroupBox = new QGroupBox(groupBox3);
        m_historyMethodGroupBox->setObjectName(QString::fromUtf8("m_historyMethodGroupBox"));
        vboxLayout = new QVBoxLayout(m_historyMethodGroupBox);
        vboxLayout->setSpacing(0);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        radioButton11 = new QRadioButton(m_historyMethodGroupBox);
        m_historyMethod = new QButtonGroup(KForecastViewDecl);
        m_historyMethod->setObjectName(QString::fromUtf8("m_historyMethod"));
        m_historyMethod->addButton(radioButton11);
        radioButton11->setObjectName(QString::fromUtf8("radioButton11"));

        vboxLayout->addWidget(radioButton11);

        radioButton12 = new QRadioButton(m_historyMethodGroupBox);
        m_historyMethod->addButton(radioButton12);
        radioButton12->setObjectName(QString::fromUtf8("radioButton12"));

        vboxLayout->addWidget(radioButton12);

        radioButton13 = new QRadioButton(m_historyMethodGroupBox);
        m_historyMethod->addButton(radioButton13);
        radioButton13->setObjectName(QString::fromUtf8("radioButton13"));

        vboxLayout->addWidget(radioButton13);


        verticalLayout_2->addWidget(m_historyMethodGroupBox);


        horizontalLayout_3->addLayout(verticalLayout_2);


        verticalLayout->addWidget(groupBox3);

        m_tab = new KTabWidget(KForecastViewDecl);
        m_tab->setObjectName(QString::fromUtf8("m_tab"));
        QSizePolicy sizePolicy3(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy3.setHorizontalStretch(0);
        sizePolicy3.setVerticalStretch(1);
        sizePolicy3.setHeightForWidth(m_tab->sizePolicy().hasHeightForWidth());
        m_tab->setSizePolicy(sizePolicy3);
        summary = new QWidget();
        summary->setObjectName(QString::fromUtf8("summary"));
        horizontalLayout = new QHBoxLayout(summary);
        horizontalLayout->setSpacing(0);
        horizontalLayout->setContentsMargins(0, 0, 0, 0);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        splitter = new QSplitter(summary);
        splitter->setObjectName(QString::fromUtf8("splitter"));
        splitter->setOrientation(Qt::Horizontal);
        m_summaryList = new QTreeWidget(splitter);
        QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem();
        __qtreewidgetitem->setText(0, QString::fromUtf8("1"));
        m_summaryList->setHeaderItem(__qtreewidgetitem);
        m_summaryList->setObjectName(QString::fromUtf8("m_summaryList"));
        QSizePolicy sizePolicy4(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy4.setHorizontalStretch(1);
        sizePolicy4.setVerticalStretch(1);
        sizePolicy4.setHeightForWidth(m_summaryList->sizePolicy().hasHeightForWidth());
        m_summaryList->setSizePolicy(sizePolicy4);
        m_summaryList->setAlternatingRowColors(true);
        splitter->addWidget(m_summaryList);
        m_adviceText = new KTextEdit(splitter);
        m_adviceText->setObjectName(QString::fromUtf8("m_adviceText"));
        m_adviceText->setReadOnly(true);
        splitter->addWidget(m_adviceText);

        horizontalLayout->addWidget(splitter);

        m_tab->addTab(summary, QString());
        detail = new QWidget();
        detail->setObjectName(QString::fromUtf8("detail"));
        vboxLayout1 = new QVBoxLayout(detail);
        vboxLayout1->setSpacing(0);
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        m_forecastList = new QTreeWidget(detail);
        QTreeWidgetItem *__qtreewidgetitem1 = new QTreeWidgetItem();
        __qtreewidgetitem1->setText(0, QString::fromUtf8("1"));
        m_forecastList->setHeaderItem(__qtreewidgetitem1);
        m_forecastList->setObjectName(QString::fromUtf8("m_forecastList"));
        QSizePolicy sizePolicy5(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy5.setHorizontalStretch(0);
        sizePolicy5.setVerticalStretch(0);
        sizePolicy5.setHeightForWidth(m_forecastList->sizePolicy().hasHeightForWidth());
        m_forecastList->setSizePolicy(sizePolicy5);
        m_forecastList->setAlternatingRowColors(true);

        vboxLayout1->addWidget(m_forecastList);

        m_tab->addTab(detail, QString());
        advanced = new QWidget();
        advanced->setObjectName(QString::fromUtf8("advanced"));
        vboxLayout2 = new QVBoxLayout(advanced);
        vboxLayout2->setSpacing(0);
        vboxLayout2->setContentsMargins(0, 0, 0, 0);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        m_advancedList = new QTreeWidget(advanced);
        QTreeWidgetItem *__qtreewidgetitem2 = new QTreeWidgetItem();
        __qtreewidgetitem2->setText(0, QString::fromUtf8("1"));
        m_advancedList->setHeaderItem(__qtreewidgetitem2);
        m_advancedList->setObjectName(QString::fromUtf8("m_advancedList"));
        m_advancedList->setAlternatingRowColors(true);
        m_advancedList->setRootIsDecorated(false);

        vboxLayout2->addWidget(m_advancedList);

        m_tab->addTab(advanced, QString());
        budget = new QWidget();
        budget->setObjectName(QString::fromUtf8("budget"));
        vboxLayout3 = new QVBoxLayout(budget);
        vboxLayout3->setSpacing(0);
        vboxLayout3->setContentsMargins(0, 0, 0, 0);
        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
        m_budgetList = new QTreeWidget(budget);
        QTreeWidgetItem *__qtreewidgetitem3 = new QTreeWidgetItem();
        __qtreewidgetitem3->setText(0, QString::fromUtf8("1"));
        m_budgetList->setHeaderItem(__qtreewidgetitem3);
        m_budgetList->setObjectName(QString::fromUtf8("m_budgetList"));
        m_budgetList->setAlternatingRowColors(true);

        vboxLayout3->addWidget(m_budgetList);

        m_tab->addTab(budget, QString());
        m_tabChart = new QWidget();
        m_tabChart->setObjectName(QString::fromUtf8("m_tabChart"));
        vboxLayout4 = new QVBoxLayout(m_tabChart);
        vboxLayout4->setSpacing(0);
        vboxLayout4->setContentsMargins(0, 0, 0, 0);
        vboxLayout4->setObjectName(QString::fromUtf8("vboxLayout4"));
        m_tab->addTab(m_tabChart, QString());

        verticalLayout->addWidget(m_tab);


        retranslateUi(KForecastViewDecl);

        m_comboDetail->setCurrentIndex(2);
        m_tab->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KForecastViewDecl)
    {
        groupBox3->setTitle(tr2i18n("Forecast Settings", 0));
        textLabel1->setText(tr2i18n("Days to Forecast:", 0));
        textLabel3->setText(tr2i18n("Days of Accounts Cycle:", 0));
        textLabel5->setText(tr2i18n("Day of Month to start Forecast:", 0));
        textLabel4->setText(tr2i18n("Historic Cycles:", 0));
        textLabel6->setText(tr2i18n("Chart Detail:", 0));
        m_comboDetail->clear();
        m_comboDetail->insertItems(0, QStringList()
         << tr2i18n("All", "Show all details")
         << tr2i18n("Top-Level", 0)
         << tr2i18n("Groups", 0)
         << tr2i18n("Totals", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        m_comboDetail->setToolTip(tr2i18n("<p>Choose what level of detail to show on the chart.</p>", 0));
#endif // QT_NO_TOOLTIP
        textLabel2->setText(tr2i18n("Current Forecast Method:", 0));
        m_forecastMethod->setText(tr2i18n("method", 0));
        m_forecastButton->setText(tr2i18n("Forecast", 0));
        m_historyMethodGroupBox->setTitle(tr2i18n("History Forecast Method", 0));
        radioButton11->setText(tr2i18n("Simple Moving Average", 0));
        radioButton12->setText(tr2i18n("Weighted Moving Average", 0));
        radioButton13->setText(tr2i18n("Linear Regression", 0));
        m_tab->setTabText(m_tab->indexOf(summary), tr2i18n("Summary", 0));
        m_tab->setTabText(m_tab->indexOf(detail), tr2i18n("Detail", 0));
        m_tab->setTabText(m_tab->indexOf(advanced), tr2i18n("Advanced", "Advanced forecast view"));
        m_tab->setTabText(m_tab->indexOf(budget), tr2i18n("Budget Forecast", 0));
        m_tab->setTabText(m_tab->indexOf(m_tabChart), tr2i18n("Chart", 0));
        Q_UNUSED(KForecastViewDecl);
    } // retranslateUi

};

namespace Ui {
    class KForecastViewDecl: public Ui_KForecastViewDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KFORECASTVIEWDECL_H

