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

/********************************************************************************
** Form generated from reading UI file 'knewequityentrydecl.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_KNEWEQUITYENTRYDECL_H
#define UI_KNEWEQUITYENTRYDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <kcombobox.h>
#include <klineedit.h>
#include <kpushbutton.h>
#include "../widgets/kmymoneyedit.h"

QT_BEGIN_NAMESPACE

class Ui_kNewEquityEntryDecl
{
public:
    QVBoxLayout *vboxLayout;
    QGridLayout *gridLayout;
    QLabel *lblEquityName;
    QLabel *lblType;
    KLineEdit *edtMarketSymbol;
    QHBoxLayout *hboxLayout;
    QLabel *textLabel1_2;
    kMyMoneyEdit *edtFraction;
    QLabel *lblSymbol;
    QLabel *textLabel1;
    KComboBox *cmbInvestmentType;
    KLineEdit *edtEquityName;
    QSpacerItem *spacer6;
    QHBoxLayout *hboxLayout1;
    QSpacerItem *spacer5;
    KPushButton *btnOK;
    KPushButton *btnCancel;

    void setupUi(QDialog *kNewEquityEntryDecl)
    {
        if (kNewEquityEntryDecl->objectName().isEmpty())
            kNewEquityEntryDecl->setObjectName(QString::fromUtf8("kNewEquityEntryDecl"));
        kNewEquityEntryDecl->resize(417, 208);
        kNewEquityEntryDecl->setSizeGripEnabled(true);
        vboxLayout = new QVBoxLayout(kNewEquityEntryDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        lblEquityName = new QLabel(kNewEquityEntryDecl);
        lblEquityName->setObjectName(QString::fromUtf8("lblEquityName"));
        lblEquityName->setWordWrap(false);

        gridLayout->addWidget(lblEquityName, 0, 0, 1, 1);

        lblType = new QLabel(kNewEquityEntryDecl);
        lblType->setObjectName(QString::fromUtf8("lblType"));
        lblType->setWordWrap(false);

        gridLayout->addWidget(lblType, 2, 0, 1, 1);

        edtMarketSymbol = new KLineEdit(kNewEquityEntryDecl);
        edtMarketSymbol->setObjectName(QString::fromUtf8("edtMarketSymbol"));

        gridLayout->addWidget(edtMarketSymbol, 1, 1, 1, 1);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        textLabel1_2 = new QLabel(kNewEquityEntryDecl);
        textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(1), static_cast<QSizePolicy::Policy>(5));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(textLabel1_2->sizePolicy().hasHeightForWidth());
        textLabel1_2->setSizePolicy(sizePolicy);
        textLabel1_2->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
        textLabel1_2->setWordWrap(false);

        hboxLayout->addWidget(textLabel1_2);

        edtFraction = new kMyMoneyEdit(kNewEquityEntryDecl);
        edtFraction->setObjectName(QString::fromUtf8("edtFraction"));

        hboxLayout->addWidget(edtFraction);


        gridLayout->addLayout(hboxLayout, 3, 1, 1, 1);

        lblSymbol = new QLabel(kNewEquityEntryDecl);
        lblSymbol->setObjectName(QString::fromUtf8("lblSymbol"));
        lblSymbol->setWordWrap(false);

        gridLayout->addWidget(lblSymbol, 1, 0, 1, 1);

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

        gridLayout->addWidget(textLabel1, 3, 0, 1, 1);

        cmbInvestmentType = new KComboBox(kNewEquityEntryDecl);
        cmbInvestmentType->setObjectName(QString::fromUtf8("cmbInvestmentType"));

        gridLayout->addWidget(cmbInvestmentType, 2, 1, 1, 1);

        edtEquityName = new KLineEdit(kNewEquityEntryDecl);
        edtEquityName->setObjectName(QString::fromUtf8("edtEquityName"));

        gridLayout->addWidget(edtEquityName, 0, 1, 1, 1);


        vboxLayout->addLayout(gridLayout);

        spacer6 = new QSpacerItem(20, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacer6);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        spacer5 = new QSpacerItem(81, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacer5);

        btnOK = new KPushButton(kNewEquityEntryDecl);
        btnOK->setObjectName(QString::fromUtf8("btnOK"));

        hboxLayout1->addWidget(btnOK);

        btnCancel = new KPushButton(kNewEquityEntryDecl);
        btnCancel->setObjectName(QString::fromUtf8("btnCancel"));

        hboxLayout1->addWidget(btnCancel);


        vboxLayout->addLayout(hboxLayout1);

        QWidget::setTabOrder(edtEquityName, edtMarketSymbol);
        QWidget::setTabOrder(edtMarketSymbol, cmbInvestmentType);
        QWidget::setTabOrder(cmbInvestmentType, btnOK);
        QWidget::setTabOrder(btnOK, btnCancel);

        retranslateUi(kNewEquityEntryDecl);

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

    void retranslateUi(QDialog *kNewEquityEntryDecl)
    {
        kNewEquityEntryDecl->setWindowTitle(tr2i18n("New Equity", 0));
        lblEquityName->setText(tr2i18n("Equity Name:", 0));
        lblType->setText(tr2i18n("Investment Type:", 0));
#ifndef UI_QT_NO_TOOLTIP
        edtMarketSymbol->setProperty("toolTip", QVariant(tr2i18n("Trading Symbol of the stock or mutual fund, not required.", 0)));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        edtMarketSymbol->setProperty("whatsThis", QVariant(tr2i18n("Trading Symbol of the stock or mutual fund, not required.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel1_2->setText(tr2i18n("1 /", 0));
        lblSymbol->setText(tr2i18n("Market Symbol:", 0));
        textLabel1->setText(tr2i18n("Smallest fraction:", 0));
        cmbInvestmentType->clear();
        cmbInvestmentType->insertItems(0, QStringList()
         << tr2i18n("Stock", 0)
         << tr2i18n("Mutual Fund", 0)
         << tr2i18n("Bond", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        edtEquityName->setProperty("toolTip", QVariant(tr2i18n("Name of the company, or mutual fund.", 0)));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        edtEquityName->setProperty("whatsThis", QVariant(tr2i18n("Name of the company, or mutual fund.", 0)));
#endif // QT_NO_WHATSTHIS
        btnOK->setText(tr2i18n("OK", 0));
        btnCancel->setText(tr2i18n("Cancel", 0));
    } // retranslateUi


protected:
    enum IconID
    {
        image0_ID,
        unknown_ID
    };
    static QPixmap qt_get_icon(IconID id)
    {
    static const unsigned char img0_knewequityentrydecl[] = { 
    0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d,
    0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x16, 0x00, 0x00, 0x00, 0x16,
    0x08, 0x06, 0x00, 0x00, 0x00, 0xc4, 0xb4, 0x6c, 0x3b, 0x00, 0x00, 0x00,
    0xc7, 0x49, 0x44, 0x41, 0x54, 0x78, 0x9c, 0xad, 0x55, 0xdb, 0x11, 0x84,
    0x20, 0x0c, 0x4c, 0x18, 0x0b, 0xb0, 0x05, 0xea, 0xb1, 0xcd, 0x6b, 0x81,
    0x12, 0xb4, 0x0d, 0x4b, 0xf1, 0xbe, 0xe2, 0x48, 0x6e, 0xf3, 0x00, 0x6f,
    0xbf, 0x1c, 0x93, 0xec, 0xe6, 0x05, 0xf0, 0x7e, 0xec, 0xe4, 0xe1, 0xa4,
    0xed, 0x42, 0xff, 0x2b, 0x35, 0xf6, 0xe2, 0x96, 0x11, 0x32, 0xe4, 0x63,
    0x09, 0x94, 0x19, 0x52, 0xed, 0x8f, 0x62, 0x8a, 0x76, 0x1a, 0x21, 0xf5,
    0x62, 0x17, 0xcb, 0x20, 0xb0, 0x4a, 0x45, 0xfe, 0x27, 0x6d, 0x97, 0xf8,
    0xff, 0xb4, 0x22, 0x43, 0x1a, 0xd9, 0x6e, 0x62, 0xa4, 0xee, 0x05, 0x7a,
    0x83, 0x13, 0x1b, 0xcc, 0x38, 0x43, 0x1a, 0x6d, 0x05, 0x7f, 0x8e, 0xb5,
    0xcb, 0x36, 0x43, 0x8a, 0xfc, 0xb5, 0xcd, 0xed, 0x71, 0x96, 0x14, 0x01,
    0x1e, 0x90, 0x88, 0x30, 0x83, 0x74, 0xc6, 0x1a, 0xa9, 0xad, 0xb0, 0xe0,
    0x65, 0x1b, 0x55, 0x52, 0xb4, 0xb2, 0x9e, 0xfa, 0xac, 0xb0, 0x99, 0x31,
    0x2a, 0xd5, 0xda, 0x5b, 0x2d, 0x50, 0xa9, 0x31, 0x24, 0x46, 0x3b, 0x2a,
    0xdf, 0x51, 0x6f, 0xbb, 0x8c, 0xbd, 0x13, 0x54, 0xa9, 0xb1, 0xb6, 0x67,
    0xc8, 0xa7, 0x87, 0x67, 0x41, 0x44, 0xf9, 0xf9, 0x82, 0xbc, 0xb9, 0x36,
    0x35, 0xba, 0x8c, 0xb3, 0xfd, 0x1b, 0x26, 0x16, 0xf2, 0x51, 0x01, 0x34,
    0x03, 0xfe, 0xe7, 0x63, 0xfa, 0xbc, 0xe8, 0xbf, 0xf0, 0xaa, 0x6c, 0x98,
    0x9d, 0x7e, 0x67, 0x44, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44,
    0xae, 0x42, 0x60, 0x82
};

    switch (id) {
        case image0_ID:  { QImage img; img.loadFromData(img0_knewequityentrydecl, sizeof(img0_knewequityentrydecl), "PNG"); return QPixmap::fromImage(img); }
        default: return QPixmap();
    } // switch
    } // icon

};

namespace Ui {
    class kNewEquityEntryDecl: public Ui_kNewEquityEntryDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KNEWEQUITYENTRYDECL_H

