#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kinstitutionsview.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_KINSTITUTIONSVIEW_H
#define UI_KINSTITUTIONSVIEW_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_KInstitutionsView
{
public:
    QVBoxLayout *verticalLayout_2;
    QVBoxLayout *verticalLayout;
    KMyMoneyAccountTreeView *m_accountTree;
    QHBoxLayout *searchLayout;
    KLineEdit *m_searchWidget;
    QPushButton *m_collapseButton;
    QPushButton *m_expandButton;
    QHBoxLayout *hboxLayout;
    QSpacerItem *Spacer1_2;
    QLabel *m_totalProfitsLabel;

    void setupUi(QWidget *KInstitutionsView)
    {
        if (KInstitutionsView->objectName().isEmpty())
            KInstitutionsView->setObjectName(QStringLiteral("KInstitutionsView"));
        KInstitutionsView->resize(244, 164);
        verticalLayout_2 = new QVBoxLayout(KInstitutionsView);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setContentsMargins(11, 11, 11, 11);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        verticalLayout = new QVBoxLayout();
        verticalLayout->setSpacing(6);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        m_accountTree = new KMyMoneyAccountTreeView(KInstitutionsView);
        m_accountTree->setObjectName(QStringLiteral("m_accountTree"));

        verticalLayout->addWidget(m_accountTree);

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

        searchLayout->addWidget(m_searchWidget);

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

        searchLayout->addWidget(m_collapseButton);

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

        searchLayout->addWidget(m_expandButton);


        verticalLayout->addLayout(searchLayout);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        Spacer1_2 = new QSpacerItem(20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(Spacer1_2);

        m_totalProfitsLabel = new QLabel(KInstitutionsView);
        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);

        hboxLayout->addWidget(m_totalProfitsLabel);


        verticalLayout->addLayout(hboxLayout);


        verticalLayout_2->addLayout(verticalLayout);


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

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

    void retranslateUi(QWidget *KInstitutionsView)
    {
#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_totalProfitsLabel->setText(tr2i18n("Total Profits:", Q_NULLPTR));
        Q_UNUSED(KInstitutionsView);
    } // retranslateUi

};

namespace Ui {
    class KInstitutionsView: public Ui_KInstitutionsView {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KINSTITUTIONSVIEW_H

