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

/********************************************************************************
** Form generated from reading UI file 'kbrokeragepagedecl.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_KBROKERAGEPAGEDECL_H
#define UI_KBROKERAGEPAGEDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcombobox.h"
#include "klineedit.h"
#include "kmymoneycurrencyselector.h"

QT_BEGIN_NAMESPACE

class Ui_KBrokeragePageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *qLabel14;
    QCheckBox *m_createBrokerageButton;
    QFrame *m_currencyFrame;
    QHBoxLayout *hboxLayout;
    QGridLayout *gridLayout;
    QLabel *textLabel1;
    KMyMoneySecuritySelector *m_brokerageCurrency;
    QLabel *m_accountNumberLabel;
    KLineEdit *m_accountNumber;
    QLabel *m_ibanLabel;
    KLineEdit *m_iban;
    QSpacerItem *spacer2;
    QSpacerItem *spacer20;

    void setupUi(QWidget *KBrokeragePageDecl)
    {
        if (KBrokeragePageDecl->objectName().isEmpty())
            KBrokeragePageDecl->setObjectName(QString::fromUtf8("KBrokeragePageDecl"));
        KBrokeragePageDecl->resize(594, 398);
        vboxLayout = new QVBoxLayout(KBrokeragePageDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(10, 10, 10, 10);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        qLabel14 = new QLabel(KBrokeragePageDecl);
        qLabel14->setObjectName(QString::fromUtf8("qLabel14"));
        qLabel14->setFocusPolicy(Qt::NoFocus);
        qLabel14->setWordWrap(true);

        vboxLayout->addWidget(qLabel14);

        m_createBrokerageButton = new QCheckBox(KBrokeragePageDecl);
        m_createBrokerageButton->setObjectName(QString::fromUtf8("m_createBrokerageButton"));

        vboxLayout->addWidget(m_createBrokerageButton);

        m_currencyFrame = new QFrame(KBrokeragePageDecl);
        m_currencyFrame->setObjectName(QString::fromUtf8("m_currencyFrame"));
        m_currencyFrame->setEnabled(false);
        m_currencyFrame->setFrameShape(QFrame::NoFrame);
        m_currencyFrame->setFrameShadow(QFrame::Raised);
        hboxLayout = new QHBoxLayout(m_currencyFrame);
        hboxLayout->setSpacing(6);
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel1 = new QLabel(m_currencyFrame);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

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

        m_brokerageCurrency = new KMyMoneySecuritySelector(m_currencyFrame);
        m_brokerageCurrency->setObjectName(QString::fromUtf8("m_brokerageCurrency"));
        QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_brokerageCurrency->sizePolicy().hasHeightForWidth());
        m_brokerageCurrency->setSizePolicy(sizePolicy);

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

        m_accountNumberLabel = new QLabel(m_currencyFrame);
        m_accountNumberLabel->setObjectName(QString::fromUtf8("m_accountNumberLabel"));
        m_accountNumberLabel->setWordWrap(false);

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

        m_accountNumber = new KLineEdit(m_currencyFrame);
        m_accountNumber->setObjectName(QString::fromUtf8("m_accountNumber"));

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

        m_ibanLabel = new QLabel(m_currencyFrame);
        m_ibanLabel->setObjectName(QString::fromUtf8("m_ibanLabel"));
        m_ibanLabel->setWordWrap(false);

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

        m_iban = new KLineEdit(m_currencyFrame);
        m_iban->setObjectName(QString::fromUtf8("m_iban"));

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


        hboxLayout->addLayout(gridLayout);

        spacer2 = new QSpacerItem(30, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacer2);


        vboxLayout->addWidget(m_currencyFrame);

        spacer20 = new QSpacerItem(21, 30, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacer20);

        QWidget::setTabOrder(m_createBrokerageButton, m_brokerageCurrency);
        QWidget::setTabOrder(m_brokerageCurrency, m_accountNumber);
        QWidget::setTabOrder(m_accountNumber, m_iban);

        retranslateUi(KBrokeragePageDecl);
        QObject::connect(m_createBrokerageButton, SIGNAL(toggled(bool)), m_currencyFrame, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *KBrokeragePageDecl)
    {
        qLabel14->setText(tr2i18n("Does this investment account have a brokerage account?<p>\n"
"\n"
"<b>Check</b> the mark if this investment account has an associated account for money that is not invested.<br>\n"
"\n"
"<b>Uncheck</b> it if you do not use this account for active stock brokerage. You should also uncheck it if the account is not maintained by a bank or broker.", 0));
        m_createBrokerageButton->setText(tr2i18n("Create brokerage account", 0));
        textLabel1->setText(tr2i18n("Currency", 0));
        m_accountNumberLabel->setText(tr2i18n("Account number", 0));
        m_ibanLabel->setText(tr2i18n("IBAN", 0));
        Q_UNUSED(KBrokeragePageDecl);
    } // retranslateUi

};

namespace Ui {
    class KBrokeragePageDecl: public Ui_KBrokeragePageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KBROKERAGEPAGEDECL_H

