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

/********************************************************************************
** Form generated from reading UI file 'kbudgetviewdecl.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_KBUDGETVIEWDECL_H
#define UI_KBUDGETVIEWDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QSplitter>
#include <QtGui/QTreeWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kbudgetvalues.h"
#include "klineedit.h"
#include "kmymoneyaccounttreeview.h"
#include "kmymoneyedit.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_KBudgetViewDecl
{
public:
    QVBoxLayout *verticalLayout_2;
    QSplitter *m_splitter;
    QGroupBox *groupBox1;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    KPushButton *m_newButton;
    KPushButton *m_renameButton;
    KPushButton *m_deleteButton;
    QTreeWidget *m_budgetList;
    QWidget *layoutWidget;
    QVBoxLayout *verticalLayout;
    KMyMoneyAccountTreeView *m_accountTree;
    QLabel *m_balanceLabel;
    QHBoxLayout *horizontalLayout;
    KPushButton *m_updateButton;
    KPushButton *m_resetButton;
    KPushButton *m_collapseButton;
    KPushButton *m_expandButton;
    QCheckBox *m_hideUnusedButton;
    KLineEdit *m_searchWidget;
    QGroupBox *m_assignmentBox;
    QVBoxLayout *vboxLayout1;
    QHBoxLayout *hboxLayout1;
    QLabel *textLabel3;
    KLineEdit *m_leAccounts;
    QLabel *textLabel1;
    kMyMoneyEdit *m_accountTotal;
    QCheckBox *m_cbBudgetSubaccounts;
    QHBoxLayout *hboxLayout2;
    KBudgetValues *m_budgetValue;
    QSpacerItem *spacer2;

    void setupUi(QWidget *KBudgetViewDecl)
    {
        if (KBudgetViewDecl->objectName().isEmpty())
            KBudgetViewDecl->setObjectName(QString::fromUtf8("KBudgetViewDecl"));
        KBudgetViewDecl->resize(669, 248);
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(KBudgetViewDecl->sizePolicy().hasHeightForWidth());
        KBudgetViewDecl->setSizePolicy(sizePolicy);
        KBudgetViewDecl->setFocusPolicy(Qt::TabFocus);
        verticalLayout_2 = new QVBoxLayout(KBudgetViewDecl);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        m_splitter = new QSplitter(KBudgetViewDecl);
        m_splitter->setObjectName(QString::fromUtf8("m_splitter"));
        m_splitter->setOrientation(Qt::Horizontal);
        m_splitter->setChildrenCollapsible(false);
        groupBox1 = new QGroupBox(m_splitter);
        groupBox1->setObjectName(QString::fromUtf8("groupBox1"));
        sizePolicy.setHeightForWidth(groupBox1->sizePolicy().hasHeightForWidth());
        groupBox1->setSizePolicy(sizePolicy);
        vboxLayout = new QVBoxLayout(groupBox1);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_newButton = new KPushButton(groupBox1);
        m_newButton->setObjectName(QString::fromUtf8("m_newButton"));

        hboxLayout->addWidget(m_newButton);

        m_renameButton = new KPushButton(groupBox1);
        m_renameButton->setObjectName(QString::fromUtf8("m_renameButton"));

        hboxLayout->addWidget(m_renameButton);

        m_deleteButton = new KPushButton(groupBox1);
        m_deleteButton->setObjectName(QString::fromUtf8("m_deleteButton"));

        hboxLayout->addWidget(m_deleteButton);


        vboxLayout->addLayout(hboxLayout);

        m_budgetList = new QTreeWidget(groupBox1);
        m_budgetList->setObjectName(QString::fromUtf8("m_budgetList"));
        m_budgetList->setAlternatingRowColors(true);
        m_budgetList->setAllColumnsShowFocus(true);

        vboxLayout->addWidget(m_budgetList);

        m_splitter->addWidget(groupBox1);
        layoutWidget = new QWidget(m_splitter);
        layoutWidget->setObjectName(QString::fromUtf8("layoutWidget"));
        verticalLayout = new QVBoxLayout(layoutWidget);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        m_accountTree = new KMyMoneyAccountTreeView(layoutWidget);
        m_accountTree->setObjectName(QString::fromUtf8("m_accountTree"));

        verticalLayout->addWidget(m_accountTree);

        m_balanceLabel = new QLabel(layoutWidget);
        m_balanceLabel->setObjectName(QString::fromUtf8("m_balanceLabel"));
        m_balanceLabel->setTextFormat(Qt::RichText);
        m_balanceLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        verticalLayout->addWidget(m_balanceLabel);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(6);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        m_updateButton = new KPushButton(layoutWidget);
        m_updateButton->setObjectName(QString::fromUtf8("m_updateButton"));
        m_updateButton->setEnabled(false);

        horizontalLayout->addWidget(m_updateButton);

        m_resetButton = new KPushButton(layoutWidget);
        m_resetButton->setObjectName(QString::fromUtf8("m_resetButton"));
        m_resetButton->setEnabled(false);

        horizontalLayout->addWidget(m_resetButton);

        m_collapseButton = new KPushButton(layoutWidget);
        m_collapseButton->setObjectName(QString::fromUtf8("m_collapseButton"));

        horizontalLayout->addWidget(m_collapseButton);

        m_expandButton = new KPushButton(layoutWidget);
        m_expandButton->setObjectName(QString::fromUtf8("m_expandButton"));

        horizontalLayout->addWidget(m_expandButton);

        m_hideUnusedButton = new QCheckBox(layoutWidget);
        m_hideUnusedButton->setObjectName(QString::fromUtf8("m_hideUnusedButton"));

        horizontalLayout->addWidget(m_hideUnusedButton);

        m_searchWidget = new KLineEdit(layoutWidget);
        m_searchWidget->setObjectName(QString::fromUtf8("m_searchWidget"));
        m_searchWidget->setProperty("showClearButton", QVariant(true));

        horizontalLayout->addWidget(m_searchWidget);


        verticalLayout->addLayout(horizontalLayout);

        m_assignmentBox = new QGroupBox(layoutWidget);
        m_assignmentBox->setObjectName(QString::fromUtf8("m_assignmentBox"));
        QSizePolicy sizePolicy1(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(5);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(m_assignmentBox->sizePolicy().hasHeightForWidth());
        m_assignmentBox->setSizePolicy(sizePolicy1);
        vboxLayout1 = new QVBoxLayout(m_assignmentBox);
        vboxLayout1->setSpacing(6);
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        textLabel3 = new QLabel(m_assignmentBox);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        textLabel3->setWordWrap(false);

        hboxLayout1->addWidget(textLabel3);

        m_leAccounts = new KLineEdit(m_assignmentBox);
        m_leAccounts->setObjectName(QString::fromUtf8("m_leAccounts"));
        m_leAccounts->setEnabled(false);
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(1);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(m_leAccounts->sizePolicy().hasHeightForWidth());
        m_leAccounts->setSizePolicy(sizePolicy2);
        m_leAccounts->setFocusPolicy(Qt::NoFocus);

        hboxLayout1->addWidget(m_leAccounts);

        textLabel1 = new QLabel(m_assignmentBox);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

        hboxLayout1->addWidget(textLabel1);

        m_accountTotal = new kMyMoneyEdit(m_assignmentBox);
        m_accountTotal->setObjectName(QString::fromUtf8("m_accountTotal"));
        m_accountTotal->setFocusPolicy(Qt::NoFocus);
        m_accountTotal->setProperty("calculatorButtonVisibility", QVariant(false));
        m_accountTotal->setProperty("resetButtonVisibility", QVariant(false));
        m_accountTotal->setProperty("readOnly", QVariant(true));

        hboxLayout1->addWidget(m_accountTotal);


        vboxLayout1->addLayout(hboxLayout1);

        m_cbBudgetSubaccounts = new QCheckBox(m_assignmentBox);
        m_cbBudgetSubaccounts->setObjectName(QString::fromUtf8("m_cbBudgetSubaccounts"));

        vboxLayout1->addWidget(m_cbBudgetSubaccounts);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        m_budgetValue = new KBudgetValues(m_assignmentBox);
        m_budgetValue->setObjectName(QString::fromUtf8("m_budgetValue"));

        hboxLayout2->addWidget(m_budgetValue);

        spacer2 = new QSpacerItem(21, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout2->addItem(spacer2);


        vboxLayout1->addLayout(hboxLayout2);


        verticalLayout->addWidget(m_assignmentBox);

        m_splitter->addWidget(layoutWidget);

        verticalLayout_2->addWidget(m_splitter);


        retranslateUi(KBudgetViewDecl);

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

    void retranslateUi(QWidget *KBudgetViewDecl)
    {
        groupBox1->setTitle(tr2i18n("Your budgets", 0));
        m_newButton->setText(tr2i18n("New", "New budget"));
        m_renameButton->setText(tr2i18n("Ren", 0));
        m_deleteButton->setText(tr2i18n("Del", 0));
        m_deleteButton->setShortcut(QString());
        QTreeWidgetItem *___qtreewidgetitem = m_budgetList->headerItem();
        ___qtreewidgetitem->setText(1, tr2i18n("Year", 0));
        ___qtreewidgetitem->setText(0, tr2i18n("Name", "@title header of the budget name column"));
        m_updateButton->setText(tr2i18n("Upd", 0));
        m_updateButton->setShortcut(QString());
        m_resetButton->setText(tr2i18n("Res", 0));
        m_resetButton->setShortcut(QString());
        m_hideUnusedButton->setText(tr2i18n("Hide unused budget categories", 0));
        m_assignmentBox->setTitle(tr2i18n("Assignments", 0));
        textLabel3->setText(tr2i18n("Account", 0));
        textLabel1->setText(tr2i18n("Total", "Budget total"));
        m_cbBudgetSubaccounts->setText(tr2i18n("Include subaccounts", 0));
        Q_UNUSED(KBudgetViewDecl);
    } // retranslateUi

};

namespace Ui {
    class KBudgetViewDecl: public Ui_KBudgetViewDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KBUDGETVIEWDECL_H

