#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kinvestmentdetailswizardpage.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_KINVESTMENTDETAILSWIZARDPAGE_H
#define UI_KINVESTMENTDETAILSWIZARDPAGE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWizardPage>
#include "../widgets/kmymoneylineedit.h"
#include "kcombobox.h"
#include "kmymoneycurrencyselector.h"
#include "kmymoneyedit.h"
#include "kmymoneygeneralcombo.h"

QT_BEGIN_NAMESPACE

class Ui_KInvestmentDetailsWizardPage
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *textLabel3_2;
    QSpacerItem *spacer6;
    QGridLayout *gridLayout;
    QLabel *textLabel2_2;
    KMyMoneyLineEdit *m_investmentSymbol;
    QLabel *textLabel3;
    KMyMoneyLineEdit *m_investmentName;
    QLabel *textLabel2_2_2;
    QHBoxLayout *hboxLayout;
    QLabel *textLabel1_5;
    KMyMoneyEdit *m_fraction;
    QLabel *textLabel1_3;
    KComboBox *m_tradingMarket;
    QLabel *textLabel1_2;
    KMyMoneyLineEdit *m_investmentIdentification;
    QLabel *textLabel1_4;
    KMyMoneySecuritySelector *m_tradingCurrencyEdit;
    QLabel *textLabel2_5;
    KMyMoneyGeneralCombo *m_priceMode;
    QLabel *textLabel2_6;
    QSpinBox *m_pricePrecision;
    QComboBox *m_roundingMethod;
    QLabel *textLabel4;
    QSpacerItem *spacer5;

    void setupUi(QWizardPage *KInvestmentDetailsWizardPage)
    {
        if (KInvestmentDetailsWizardPage->objectName().isEmpty())
            KInvestmentDetailsWizardPage->setObjectName(QStringLiteral("KInvestmentDetailsWizardPage"));
        KInvestmentDetailsWizardPage->resize(216, 351);
        vboxLayout = new QVBoxLayout(KInvestmentDetailsWizardPage);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        textLabel3_2 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel3_2->setObjectName(QStringLiteral("textLabel3_2"));
        textLabel3_2->setAlignment(Qt::AlignTop);
        textLabel3_2->setWordWrap(true);

        vboxLayout->addWidget(textLabel3_2);

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

        vboxLayout->addItem(spacer6);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        textLabel2_2 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel2_2->setObjectName(QStringLiteral("textLabel2_2"));
        textLabel2_2->setWordWrap(false);

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

        m_investmentSymbol = new KMyMoneyLineEdit(KInvestmentDetailsWizardPage);
        m_investmentSymbol->setObjectName(QStringLiteral("m_investmentSymbol"));

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

        textLabel3 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel3->setObjectName(QStringLiteral("textLabel3"));
        textLabel3->setWordWrap(false);

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

        m_investmentName = new KMyMoneyLineEdit(KInvestmentDetailsWizardPage);
        m_investmentName->setObjectName(QStringLiteral("m_investmentName"));

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

        textLabel2_2_2 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel2_2_2->setObjectName(QStringLiteral("textLabel2_2_2"));
        textLabel2_2_2->setWordWrap(false);

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

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

        hboxLayout->addWidget(textLabel1_5);

        m_fraction = new KMyMoneyEdit(KInvestmentDetailsWizardPage);
        m_fraction->setObjectName(QStringLiteral("m_fraction"));

        hboxLayout->addWidget(m_fraction);


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

        textLabel1_3 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel1_3->setObjectName(QStringLiteral("textLabel1_3"));
        textLabel1_3->setWordWrap(false);

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

        m_tradingMarket = new KComboBox(KInvestmentDetailsWizardPage);
        m_tradingMarket->setObjectName(QStringLiteral("m_tradingMarket"));
        m_tradingMarket->setEditable(true);

        gridLayout->addWidget(m_tradingMarket, 3, 1, 1, 1);

        textLabel1_2 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel1_2->setObjectName(QStringLiteral("textLabel1_2"));
        textLabel1_2->setWordWrap(false);

        gridLayout->addWidget(textLabel1_2, 4, 0, 1, 1);

        m_investmentIdentification = new KMyMoneyLineEdit(KInvestmentDetailsWizardPage);
        m_investmentIdentification->setObjectName(QStringLiteral("m_investmentIdentification"));

        gridLayout->addWidget(m_investmentIdentification, 4, 1, 1, 1);

        textLabel1_4 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel1_4->setObjectName(QStringLiteral("textLabel1_4"));
        textLabel1_4->setWordWrap(false);

        gridLayout->addWidget(textLabel1_4, 5, 0, 1, 1);

        m_tradingCurrencyEdit = new KMyMoneySecuritySelector(KInvestmentDetailsWizardPage);
        m_tradingCurrencyEdit->setObjectName(QStringLiteral("m_tradingCurrencyEdit"));

        gridLayout->addWidget(m_tradingCurrencyEdit, 5, 1, 1, 1);

        textLabel2_5 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel2_5->setObjectName(QStringLiteral("textLabel2_5"));
        textLabel2_5->setWordWrap(false);

        gridLayout->addWidget(textLabel2_5, 6, 0, 1, 1);

        m_priceMode = new KMyMoneyGeneralCombo(KInvestmentDetailsWizardPage);
        m_priceMode->setObjectName(QStringLiteral("m_priceMode"));

        gridLayout->addWidget(m_priceMode, 6, 1, 1, 1);

        textLabel2_6 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel2_6->setObjectName(QStringLiteral("textLabel2_6"));

        gridLayout->addWidget(textLabel2_6, 7, 0, 1, 1);

        m_pricePrecision = new QSpinBox(KInvestmentDetailsWizardPage);
        m_pricePrecision->setObjectName(QStringLiteral("m_pricePrecision"));
        m_pricePrecision->setMinimum(2);
        m_pricePrecision->setMaximum(10);

        gridLayout->addWidget(m_pricePrecision, 7, 1, 1, 1);

        m_roundingMethod = new QComboBox(KInvestmentDetailsWizardPage);
        m_roundingMethod->setObjectName(QStringLiteral("m_roundingMethod"));

        gridLayout->addWidget(m_roundingMethod, 8, 1, 1, 1);

        textLabel4 = new QLabel(KInvestmentDetailsWizardPage);
        textLabel4->setObjectName(QStringLiteral("textLabel4"));

        gridLayout->addWidget(textLabel4, 8, 0, 1, 1);


        vboxLayout->addLayout(gridLayout);

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

        vboxLayout->addItem(spacer5);

        QWidget::setTabOrder(m_investmentSymbol, m_investmentName);
        QWidget::setTabOrder(m_investmentName, m_fraction);
        QWidget::setTabOrder(m_fraction, m_tradingMarket);
        QWidget::setTabOrder(m_tradingMarket, m_investmentIdentification);
        QWidget::setTabOrder(m_investmentIdentification, m_tradingCurrencyEdit);
        QWidget::setTabOrder(m_tradingCurrencyEdit, m_priceMode);

        retranslateUi(KInvestmentDetailsWizardPage);

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

    void retranslateUi(QWizardPage *KInvestmentDetailsWizardPage)
    {
        KInvestmentDetailsWizardPage->setTitle(tr2i18n("Investment details", Q_NULLPTR));
        textLabel3_2->setText(tr2i18n("Enter the details below and click <b>Next</b> to continue entering the online update details.", Q_NULLPTR));
        textLabel2_2->setText(tr2i18n("Trading symbol", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_investmentSymbol->setToolTip(tr2i18n("Enter the ticker symbol (e.g. RHAT).", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        textLabel3->setText(tr2i18n("Full name", Q_NULLPTR));
        textLabel2_2_2->setText(tr2i18n("Fraction", Q_NULLPTR));
        textLabel1_5->setText(tr2i18n("1 /", Q_NULLPTR));
        textLabel1_3->setText(tr2i18n("Trading market", Q_NULLPTR));
        m_tradingMarket->clear();
        m_tradingMarket->insertItems(0, QStringList()
         << tr2i18n("AMEX", Q_NULLPTR)
         << tr2i18n("EUREX", Q_NULLPTR)
         << tr2i18n("FUND", Q_NULLPTR)
         << tr2i18n("NASDAQ", Q_NULLPTR)
         << tr2i18n("NYSE", Q_NULLPTR)
         << tr2i18n("XETRA", Q_NULLPTR)
        );
        textLabel1_2->setText(tr2i18n("Identification\n"
"number", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_investmentIdentification->setToolTip(tr2i18n("Enter the CUSIP/ISIN/WKN identification number here", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        textLabel1_4->setText(tr2i18n("Trading Currency", Q_NULLPTR));
        textLabel2_5->setText(tr2i18n("Price entry", Q_NULLPTR));
        textLabel2_6->setText(tr2i18n("Price precision", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        m_pricePrecision->setToolTip(tr2i18n("This determines how many digits after decimal symbol price can have.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_TOOLTIP
        m_roundingMethod->setToolTip(tr2i18n("This controls what to do with digit situated after precision digits in amount values.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        textLabel4->setText(tr2i18n("Remainder", Q_NULLPTR));
    } // retranslateUi

};

namespace Ui {
    class KInvestmentDetailsWizardPage: public Ui_KInvestmentDetailsWizardPage {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KINVESTMENTDETAILSWIZARDPAGE_H

