#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kcategoriesview.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_KCATEGORIESVIEW_H
#define UI_KCATEGORIESVIEW_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "klineedit.h"
#include "kmymoneyaccounttreeview.h"

QT_BEGIN_NAMESPACE

class Ui_KCategoriesView
{
public:
    QVBoxLayout *vboxLayout;
    KMyMoneyAccountTreeView *m_accountTree;
    QHBoxLayout *hboxLayout;
    KLineEdit *m_searchWidget;
    QPushButton *m_collapseButton;
    QPushButton *m_expandButton;
    QLabel *m_hiddenCategories;
    QHBoxLayout *hboxLayout1;
    QSpacerItem *Spacer1;
    QLabel *m_totalProfitsLabel;

    void setupUi(QWidget *KCategoriesView)
    {
        if (KCategoriesView->objectName().isEmpty())
            KCategoriesView->setObjectName(QStringLiteral("KCategoriesView"));
        KCategoriesView->resize(405, 209);
        vboxLayout = new QVBoxLayout(KCategoriesView);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        m_accountTree = new KMyMoneyAccountTreeView(KCategoriesView);
        m_accountTree->setObjectName(QStringLiteral("m_accountTree"));

        vboxLayout->addWidget(m_accountTree);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        m_searchWidget = new KLineEdit(KCategoriesView);
        m_searchWidget->setObjectName(QStringLiteral("m_searchWidget"));
        m_searchWidget->setProperty("showClearButton", QVariant(true));

        hboxLayout->addWidget(m_searchWidget);

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

        hboxLayout->addWidget(m_collapseButton);

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

        hboxLayout->addWidget(m_expandButton);


        vboxLayout->addLayout(hboxLayout);

        m_hiddenCategories = new QLabel(KCategoriesView);
        m_hiddenCategories->setObjectName(QStringLiteral("m_hiddenCategories"));
        m_hiddenCategories->setWordWrap(false);

        vboxLayout->addWidget(m_hiddenCategories);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QStringLiteral("hboxLayout1"));
        Spacer1 = new QSpacerItem(310, 16, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout1->addItem(Spacer1);

        m_totalProfitsLabel = new QLabel(KCategoriesView);
        m_totalProfitsLabel->setObjectName(QStringLiteral("m_totalProfitsLabel"));
        m_totalProfitsLabel->setMinimumSize(QSize(150, 0));
        m_totalProfitsLabel->setTextFormat(Qt::RichText);
        m_totalProfitsLabel->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        m_totalProfitsLabel->setWordWrap(true);

        hboxLayout1->addWidget(m_totalProfitsLabel);


        vboxLayout->addLayout(hboxLayout1);


        retranslateUi(KCategoriesView);
        QObject::connect(m_collapseButton, SIGNAL(clicked()), m_accountTree, SLOT(collapseAll()));
        QObject::connect(m_expandButton, SIGNAL(clicked()), m_accountTree, SLOT(expandAll()));

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

    void retranslateUi(QWidget *KCategoriesView)
    {
#ifndef UI_QT_NO_TOOLTIP
        m_collapseButton->setToolTip(tr2i18n("Collapse all accounts in the list", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_collapseButton->setText(QString());
#ifndef UI_QT_NO_TOOLTIP
        m_expandButton->setToolTip(tr2i18n("Expand all accounts in the list", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        m_expandButton->setText(QString());
        m_hiddenCategories->setText(tr2i18n("Note: Unused categories are not shown as selected by settings.", Q_NULLPTR));
        m_totalProfitsLabel->setText(tr2i18n("Total Profits:", Q_NULLPTR));
        Q_UNUSED(KCategoriesView);
    } // retranslateUi

};

namespace Ui {
    class KCategoriesView: public Ui_KCategoriesView {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KCATEGORIESVIEW_H

