#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kbudgetview.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_KBUDGETVIEW_H
#define UI_KBUDGETVIEW_H

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

QT_BEGIN_NAMESPACE

class Ui_KBudgetView
{
public:
    QVBoxLayout *verticalLayout_2;
    QSplitter *m_splitter;
    QGroupBox *groupBox1;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QPushButton *m_newButton;
    QPushButton *m_renameButton;
    QPushButton *m_deleteButton;
    QTreeWidget *m_budgetList;
    QWidget *layoutWidget;
    QVBoxLayout *verticalLayout;
    KMyMoneyAccountTreeView *m_accountTree;
    QLabel *m_balanceLabel;
    QHBoxLayout *horizontalLayout;
    QPushButton *m_updateButton;
    QPushButton *m_resetButton;
    QPushButton *m_collapseButton;
    QPushButton *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 *KBudgetView)
    {
        if (KBudgetView->objectName().isEmpty())
            KBudgetView->setObjectName(QStringLiteral("KBudgetView"));
        KBudgetView->resize(840, 302);
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(KBudgetView->sizePolicy().hasHeightForWidth());
        KBudgetView->setSizePolicy(sizePolicy);
        KBudgetView->setFocusPolicy(Qt::TabFocus);
        verticalLayout_2 = new QVBoxLayout(KBudgetView);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        m_splitter = new QSplitter(KBudgetView);
        m_splitter->setObjectName(QStringLiteral("m_splitter"));
        m_splitter->setOrientation(Qt::Horizontal);
        m_splitter->setChildrenCollapsible(false);
        groupBox1 = new QGroupBox(m_splitter);
        groupBox1->setObjectName(QStringLiteral("groupBox1"));
        sizePolicy.setHeightForWidth(groupBox1->sizePolicy().hasHeightForWidth());
        groupBox1->setSizePolicy(sizePolicy);
        vboxLayout = new QVBoxLayout(groupBox1);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        m_newButton = new QPushButton(groupBox1);
        m_newButton->setObjectName(QStringLiteral("m_newButton"));

        hboxLayout->addWidget(m_newButton);

        m_renameButton = new QPushButton(groupBox1);
        m_renameButton->setObjectName(QStringLiteral("m_renameButton"));

        hboxLayout->addWidget(m_renameButton);

        m_deleteButton = new QPushButton(groupBox1);
        m_deleteButton->setObjectName(QStringLiteral("m_deleteButton"));

        hboxLayout->addWidget(m_deleteButton);


        vboxLayout->addLayout(hboxLayout);

        m_budgetList = new QTreeWidget(groupBox1);
        m_budgetList->setObjectName(QStringLiteral("m_budgetList"));
        m_budgetList->setAlternatingRowColors(true);
        m_budgetList->setRootIsDecorated(false);
        m_budgetList->setAllColumnsShowFocus(true);

        vboxLayout->addWidget(m_budgetList);

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

        verticalLayout->addWidget(m_accountTree);

        m_balanceLabel = new QLabel(layoutWidget);
        m_balanceLabel->setObjectName(QStringLiteral("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(QStringLiteral("horizontalLayout"));
        m_updateButton = new QPushButton(layoutWidget);
        m_updateButton->setObjectName(QStringLiteral("m_updateButton"));
        m_updateButton->setEnabled(false);

        horizontalLayout->addWidget(m_updateButton);

        m_resetButton = new QPushButton(layoutWidget);
        m_resetButton->setObjectName(QStringLiteral("m_resetButton"));
        m_resetButton->setEnabled(false);

        horizontalLayout->addWidget(m_resetButton);

        m_collapseButton = new QPushButton(layoutWidget);
        m_collapseButton->setObjectName(QStringLiteral("m_collapseButton"));

        horizontalLayout->addWidget(m_collapseButton);

        m_expandButton = new QPushButton(layoutWidget);
        m_expandButton->setObjectName(QStringLiteral("m_expandButton"));

        horizontalLayout->addWidget(m_expandButton);

        m_hideUnusedButton = new QCheckBox(layoutWidget);
        m_hideUnusedButton->setObjectName(QStringLiteral("m_hideUnusedButton"));

        horizontalLayout->addWidget(m_hideUnusedButton);

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

        horizontalLayout->addWidget(m_searchWidget);


        verticalLayout->addLayout(horizontalLayout);

        m_assignmentBox = new QGroupBox(layoutWidget);
        m_assignmentBox->setObjectName(QStringLiteral("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(QStringLiteral("vboxLayout1"));
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
        textLabel3 = new QLabel(m_assignmentBox);
        textLabel3->setObjectName(QStringLiteral("textLabel3"));
        textLabel3->setWordWrap(false);

        hboxLayout1->addWidget(textLabel3);

        m_leAccounts = new KLineEdit(m_assignmentBox);
        m_leAccounts->setObjectName(QStringLiteral("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(QStringLiteral("textLabel1"));
        textLabel1->setWordWrap(false);

        hboxLayout1->addWidget(textLabel1);

        m_accountTotal = new KMyMoneyEdit(m_assignmentBox);
        m_accountTotal->setObjectName(QStringLiteral("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(QStringLiteral("m_cbBudgetSubaccounts"));

        vboxLayout1->addWidget(m_cbBudgetSubaccounts);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QStringLiteral("hboxLayout2"));
        m_budgetValue = new KBudgetValues(m_assignmentBox);
        m_budgetValue->setObjectName(QStringLiteral("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(KBudgetView);
        QObject::connect(m_collapseButton, SIGNAL(clicked()), m_accountTree, SLOT(collapseAll()));
        QObject::connect(m_expandButton, SIGNAL(clicked()), m_accountTree, SLOT(expandAll()));

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

    void retranslateUi(QWidget *KBudgetView)
    {
        groupBox1->setTitle(tr2i18n("Your budgets", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_newButton->setToolTip(tr2i18n("Creates a new budget", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_newButton->setWhatsThis(tr2i18n("Use this to create a new empty budget.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_newButton->setText(tr2i18n("New", "New budget"));
#ifndef UI_QT_NO_TOOLTIP
        m_renameButton->setToolTip(tr2i18n("Rename the current selected budget.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_renameButton->setWhatsThis(tr2i18n("Use this to start renaming the selected budget.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_renameButton->setText(tr2i18n("Ren", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_deleteButton->setToolTip(tr2i18n("Delete the current selected budget", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_deleteButton->setWhatsThis(tr2i18n("Use this to delete the selected budget.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_deleteButton->setText(tr2i18n("Del", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        m_deleteButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
        QTreeWidgetItem *___qtreewidgetitem = m_budgetList->headerItem();
        ___qtreewidgetitem->setText(1, tr2i18n("Year", Q_NULLPTR));
        ___qtreewidgetitem->setText(0, tr2i18n("Name", "@title header of the budget name column"));
#ifndef UI_QT_NO_TOOLTIP
        m_updateButton->setToolTip(tr2i18n("Accepts the entered values and stores the budget.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_updateButton->setWhatsThis(tr2i18n("Use this to store the modified data.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_updateButton->setText(tr2i18n("Upd", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        m_updateButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
#ifndef UI_QT_NO_TOOLTIP
        m_resetButton->setToolTip(tr2i18n("Revert budget to last saved state.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_resetButton->setWhatsThis(tr2i18n("Use this to discard the modified data.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        m_resetButton->setText(tr2i18n("Res", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        m_resetButton->setShortcut(QString());
#endif // QT_NO_SHORTCUT
        m_hideUnusedButton->setText(tr2i18n("Hide unused budget categories", Q_NULLPTR));
        m_assignmentBox->setTitle(tr2i18n("Assignments", Q_NULLPTR));
        textLabel3->setText(tr2i18n("Account", Q_NULLPTR));
        textLabel1->setText(tr2i18n("Total", "Budget total"));
        m_cbBudgetSubaccounts->setText(tr2i18n("Include subaccounts", Q_NULLPTR));
        Q_UNUSED(KBudgetView);
    } // retranslateUi

};

namespace Ui {
    class KBudgetView: public Ui_KBudgetView {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KBUDGETVIEW_H

