#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'knewequityentrydlg.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_KNEWEQUITYENTRYDLG_H
#define UI_KNEWEQUITYENTRYDLG_H

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

QT_BEGIN_NAMESPACE

class Ui_KNewEquityEntryDlg
{
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;
    QDialogButtonBox *buttonBox;

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

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

        lblType = new QLabel(KNewEquityEntryDlg);
        lblType->setObjectName(QStringLiteral("lblType"));
        lblType->setWordWrap(false);

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

        edtMarketSymbol = new KLineEdit(KNewEquityEntryDlg);
        edtMarketSymbol->setObjectName(QStringLiteral("edtMarketSymbol"));

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        textLabel1_2 = new QLabel(KNewEquityEntryDlg);
        textLabel1_2->setObjectName(QStringLiteral("textLabel1_2"));
        QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(textLabel1_2->sizePolicy().hasHeightForWidth());
        textLabel1_2->setSizePolicy(sizePolicy);
        textLabel1_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        textLabel1_2->setWordWrap(false);

        hboxLayout->addWidget(textLabel1_2);

        edtFraction = new KMyMoneyEdit(KNewEquityEntryDlg);
        edtFraction->setObjectName(QStringLiteral("edtFraction"));

        hboxLayout->addWidget(edtFraction);


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

        lblSymbol = new QLabel(KNewEquityEntryDlg);
        lblSymbol->setObjectName(QStringLiteral("lblSymbol"));
        lblSymbol->setWordWrap(false);

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

        textLabel1 = new QLabel(KNewEquityEntryDlg);
        textLabel1->setObjectName(QStringLiteral("textLabel1"));
        textLabel1->setWordWrap(false);

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

        cmbInvestmentType = new KComboBox(KNewEquityEntryDlg);
        cmbInvestmentType->setObjectName(QStringLiteral("cmbInvestmentType"));

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

        edtEquityName = new KLineEdit(KNewEquityEntryDlg);
        edtEquityName->setObjectName(QStringLiteral("edtEquityName"));

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


        vboxLayout->addLayout(gridLayout);

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

        vboxLayout->addItem(spacer6);

        buttonBox = new QDialogButtonBox(KNewEquityEntryDlg);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);

        vboxLayout->addWidget(buttonBox);

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

        retranslateUi(KNewEquityEntryDlg);
        QObject::connect(buttonBox, SIGNAL(rejected()), KNewEquityEntryDlg, SLOT(reject()));

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

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

};

namespace Ui {
    class KNewEquityEntryDlg: public Ui_KNewEquityEntryDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KNEWEQUITYENTRYDLG_H

