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

/********************************************************************************
** Form generated from reading UI file 'kinvestmentviewdecl.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_KINVESTMENTVIEWDECL_H
#define UI_KINVESTMENTVIEWDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QTreeWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "kmymoneyaccountcombo.h"
#include "kpushbutton.h"
#include "ktabwidget.h"

QT_BEGIN_NAMESPACE

class Ui_KInvestmentViewDecl
{
public:
    QVBoxLayout *vboxLayout;
    KTabWidget *m_tab;
    QWidget *m_equitiesTab;
    QVBoxLayout *vboxLayout1;
    QHBoxLayout *hboxLayout;
    QLabel *textLabel1;
    KMyMoneyAccountCombo *m_accountComboBox;
    QSpacerItem *spacer1;
    QHBoxLayout *hboxLayout1;
    QTreeWidget *m_investmentsList;
    QWidget *m_securitiesTab;
    QHBoxLayout *hboxLayout2;
    QVBoxLayout *m_securitiesLayout;
    QTreeWidget *m_securitiesList;
    QCheckBox *m_showCurrencyButton;
    QVBoxLayout *vboxLayout2;
    KPushButton *m_editSecurityButton;
    KPushButton *m_deleteSecurityButton;
    QSpacerItem *spacer3;
    QSpacerItem *spacer7;

    void setupUi(QWidget *KInvestmentViewDecl)
    {
        if (KInvestmentViewDecl->objectName().isEmpty())
            KInvestmentViewDecl->setObjectName(QString::fromUtf8("KInvestmentViewDecl"));
        KInvestmentViewDecl->resize(439, 140);
        vboxLayout = new QVBoxLayout(KInvestmentViewDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        m_tab = new KTabWidget(KInvestmentViewDecl);
        m_tab->setObjectName(QString::fromUtf8("m_tab"));
        m_equitiesTab = new QWidget();
        m_equitiesTab->setObjectName(QString::fromUtf8("m_equitiesTab"));
        vboxLayout1 = new QVBoxLayout(m_equitiesTab);
        vboxLayout1->setSpacing(6);
        vboxLayout1->setContentsMargins(0, 0, 0, 0);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        textLabel1 = new QLabel(m_equitiesTab);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

        hboxLayout->addWidget(textLabel1);

        m_accountComboBox = new KMyMoneyAccountCombo(m_equitiesTab);
        m_accountComboBox->setObjectName(QString::fromUtf8("m_accountComboBox"));

        hboxLayout->addWidget(m_accountComboBox);

        spacer1 = new QSpacerItem(280, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacer1);

        hboxLayout->setStretch(0, 70);
        hboxLayout->setStretch(1, 250);
        hboxLayout->setStretch(2, 300);

        vboxLayout1->addLayout(hboxLayout);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_investmentsList = new QTreeWidget(m_equitiesTab);
        m_investmentsList->setObjectName(QString::fromUtf8("m_investmentsList"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(1);
        sizePolicy.setHeightForWidth(m_investmentsList->sizePolicy().hasHeightForWidth());
        m_investmentsList->setSizePolicy(sizePolicy);
        QFont font;
        m_investmentsList->setFont(font);
        m_investmentsList->setAlternatingRowColors(true);
        m_investmentsList->setSelectionMode(QAbstractItemView::SingleSelection);
        m_investmentsList->setRootIsDecorated(false);
        m_investmentsList->setAllColumnsShowFocus(true);

        hboxLayout1->addWidget(m_investmentsList);


        vboxLayout1->addLayout(hboxLayout1);

        m_tab->addTab(m_equitiesTab, QString());
        m_securitiesTab = new QWidget();
        m_securitiesTab->setObjectName(QString::fromUtf8("m_securitiesTab"));
        hboxLayout2 = new QHBoxLayout(m_securitiesTab);
        hboxLayout2->setSpacing(6);
        hboxLayout2->setContentsMargins(0, 0, 0, 0);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        m_securitiesLayout = new QVBoxLayout();
        m_securitiesLayout->setSpacing(6);
        m_securitiesLayout->setObjectName(QString::fromUtf8("m_securitiesLayout"));
        m_securitiesList = new QTreeWidget(m_securitiesTab);
        m_securitiesList->setObjectName(QString::fromUtf8("m_securitiesList"));
        sizePolicy.setHeightForWidth(m_securitiesList->sizePolicy().hasHeightForWidth());
        m_securitiesList->setSizePolicy(sizePolicy);
        m_securitiesList->setAlternatingRowColors(true);
        m_securitiesList->setSelectionMode(QAbstractItemView::SingleSelection);
        m_securitiesList->setRootIsDecorated(false);
        m_securitiesList->setAllColumnsShowFocus(true);

        m_securitiesLayout->addWidget(m_securitiesList);

        m_showCurrencyButton = new QCheckBox(m_securitiesTab);
        m_showCurrencyButton->setObjectName(QString::fromUtf8("m_showCurrencyButton"));

        m_securitiesLayout->addWidget(m_showCurrencyButton);


        hboxLayout2->addLayout(m_securitiesLayout);

        vboxLayout2 = new QVBoxLayout();
        vboxLayout2->setSpacing(6);
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        m_editSecurityButton = new KPushButton(m_securitiesTab);
        m_editSecurityButton->setObjectName(QString::fromUtf8("m_editSecurityButton"));

        vboxLayout2->addWidget(m_editSecurityButton);

        m_deleteSecurityButton = new KPushButton(m_securitiesTab);
        m_deleteSecurityButton->setObjectName(QString::fromUtf8("m_deleteSecurityButton"));

        vboxLayout2->addWidget(m_deleteSecurityButton);

        spacer3 = new QSpacerItem(20, 110, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout2->addItem(spacer3);

        spacer7 = new QSpacerItem(20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout2->addItem(spacer7);


        hboxLayout2->addLayout(vboxLayout2);

        m_tab->addTab(m_securitiesTab, QString());

        vboxLayout->addWidget(m_tab);


        retranslateUi(KInvestmentViewDecl);

        m_tab->setCurrentIndex(0);


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

    void retranslateUi(QWidget *KInvestmentViewDecl)
    {
        KInvestmentViewDecl->setWindowTitle(tr2i18n("Investment Summary", 0));
        textLabel1->setText(tr2i18n("Select Account:", 0));
        QTreeWidgetItem *___qtreewidgetitem = m_investmentsList->headerItem();
        ___qtreewidgetitem->setText(4, tr2i18n("Price", "Investment price"));
        ___qtreewidgetitem->setText(3, tr2i18n("Quantity", "Shares quantity"));
        ___qtreewidgetitem->setText(2, tr2i18n("Value", "Investment value"));
        ___qtreewidgetitem->setText(1, tr2i18n("Symbol", "Symbol name"));
        ___qtreewidgetitem->setText(0, tr2i18n("Name", "Investment name"));
#ifndef UI_QT_NO_TOOLTIP
        m_investmentsList->setToolTip(tr2i18n("Summary of the equities contained in this account, showing your holdings and their most recent price.", 0));
#endif // QT_NO_TOOLTIP
        m_tab->setTabText(m_tab->indexOf(m_equitiesTab), tr2i18n("Equities", 0));
        QTreeWidgetItem *___qtreewidgetitem1 = m_securitiesList->headerItem();
        ___qtreewidgetitem1->setText(7, tr2i18n("Cash Fraction", 0));
        ___qtreewidgetitem1->setText(6, tr2i18n("Fraction", 0));
        ___qtreewidgetitem1->setText(5, tr2i18n("Currency", 0));
        ___qtreewidgetitem1->setText(4, tr2i18n("Market", 0));
        ___qtreewidgetitem1->setText(3, tr2i18n("Symbol", 0));
        ___qtreewidgetitem1->setText(2, tr2i18n("Name", "name of the security"));
        ___qtreewidgetitem1->setText(1, tr2i18n("Type", 0));
        ___qtreewidgetitem1->setText(0, tr2i18n("ID", 0));
        m_showCurrencyButton->setText(tr2i18n("Show national currencies", 0));
        m_editSecurityButton->setText(tr2i18n("Edit...", 0));
        m_deleteSecurityButton->setText(tr2i18n("Delete...", 0));
        m_tab->setTabText(m_tab->indexOf(m_securitiesTab), tr2i18n("Securities", 0));
    } // retranslateUi

};

namespace Ui {
    class KInvestmentViewDecl: public Ui_KInvestmentViewDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KINVESTMENTVIEWDECL_H

