#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'transactiondlg.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_TRANSACTIONDLG_H
#define UI_TRANSACTIONDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QComboBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QVBoxLayout>

QT_BEGIN_NAMESPACE

class Ui_TransactionDlg
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label_title;
    QLabel *label_info;
    QTableWidget *tableWidget;
    QHBoxLayout *horizontalLayout;
    QSpacerItem *horizontalSpacer_left;
    QLabel *label_2;
    QComboBox *cbActionTypes;
    QSpacerItem *horizontalSpacer_right;
    QLabel *label;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *TransactionDlg)
    {
        if (TransactionDlg->objectName().isEmpty())
            TransactionDlg->setObjectName(QStringLiteral("TransactionDlg"));
        TransactionDlg->resize(400, 280);
        verticalLayout = new QVBoxLayout(TransactionDlg);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        label_title = new QLabel(TransactionDlg);
        label_title->setObjectName(QStringLiteral("label_title"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label_title->setFont(font);
        label_title->setAlignment(Qt::AlignCenter);

        verticalLayout->addWidget(label_title);

        label_info = new QLabel(TransactionDlg);
        label_info->setObjectName(QStringLiteral("label_info"));
        label_info->setAlignment(Qt::AlignCenter);
        label_info->setWordWrap(true);

        verticalLayout->addWidget(label_info);

        tableWidget = new QTableWidget(TransactionDlg);
        if (tableWidget->rowCount() < 1)
            tableWidget->setRowCount(1);
        tableWidget->setObjectName(QStringLiteral("tableWidget"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(tableWidget->sizePolicy().hasHeightForWidth());
        tableWidget->setSizePolicy(sizePolicy);
        tableWidget->setRowCount(1);

        verticalLayout->addWidget(tableWidget);

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

        horizontalLayout->addItem(horizontalSpacer_left);

        label_2 = new QLabel(TransactionDlg);
        label_2->setObjectName(QStringLiteral("label_2"));

        horizontalLayout->addWidget(label_2);

        cbActionTypes = new QComboBox(TransactionDlg);
        cbActionTypes->setObjectName(QStringLiteral("cbActionTypes"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(cbActionTypes->sizePolicy().hasHeightForWidth());
        cbActionTypes->setSizePolicy(sizePolicy1);

        horizontalLayout->addWidget(cbActionTypes);

        horizontalSpacer_right = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout->addItem(horizontalSpacer_right);


        verticalLayout->addLayout(horizontalLayout);

        label = new QLabel(TransactionDlg);
        label->setObjectName(QStringLiteral("label"));

        verticalLayout->addWidget(label);

        buttonBox = new QDialogButtonBox(TransactionDlg);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(buttonBox->sizePolicy().hasHeightForWidth());
        buttonBox->setSizePolicy(sizePolicy2);
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
        buttonBox->setCenterButtons(true);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(TransactionDlg);
        QObject::connect(buttonBox, SIGNAL(accepted()), TransactionDlg, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), TransactionDlg, SLOT(reject()));

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

    void retranslateUi(QDialog *TransactionDlg)
    {
        TransactionDlg->setWindowTitle(tr2i18n("Transaction Type", Q_NULLPTR));
        label_title->setText(tr2i18n("Invalid Transaction Type", Q_NULLPTR));
        label_info->setText(tr2i18n("<center>The transaction below has an either unrecognised or invalid type.</center>\n"
"<center>Please select an appropriate entry, if available.</center>\n"
"<center>Otherwise, click Cancel to abort.</center>", Q_NULLPTR));
        label_2->setText(tr2i18n("Select Transaction Type", Q_NULLPTR));
        cbActionTypes->clear();
        cbActionTypes->insertItems(0, QStringList()
         << tr2i18n("Buy Shares", "description of investment activity")
         << tr2i18n("Sell Shares", "description of investment activity")
         << tr2i18n("Dividend", "description of investment activity")
         << tr2i18n("Reinvest Dividend", "description of investment activity")
         << tr2i18n("Add Shares", "description of investment activity")
         << tr2i18n("Remove Shares", "description of investment activity")
         << tr2i18n("Interest", Q_NULLPTR)
        );
#ifndef UI_QT_NO_TOOLTIP
        cbActionTypes->setToolTip(tr2i18n("Select new investment type", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        label->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class TransactionDlg: public Ui_TransactionDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // TRANSACTIONDLG_H

