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

/********************************************************************************
** Form generated from reading UI file 'kaccountpagedecl.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_KACCOUNTPAGEDECL_H
#define UI_KACCOUNTPAGEDECL_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 <klineedit.h>
#include <kmymoneydateinput.h>
#include <kmymoneyedit.h>

QT_BEGIN_NAMESPACE

class Ui_KAccountPageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *qLabel2;
    QCheckBox *m_haveCheckingAccountButton;
    QFrame *m_accountDataFrame;
    QGridLayout *gridLayout;
    KLineEdit *m_institutionNameEdit;
    KLineEdit *m_institutionNumberEdit;
    QLabel *textLabel3;
    QLabel *textLabel4;
    KLineEdit *m_accountNumberEdit;
    KLineEdit *m_accountNameEdit;
    QLabel *textLabel1_2;
    QHBoxLayout *hboxLayout;
    kMyMoneyDateInput *m_openingDateEdit;
    QSpacerItem *spacer5;
    QLabel *textLabel2;
    QLabel *textLabel1;
    QLabel *textLabel2_2;
    QHBoxLayout *hboxLayout1;
    QLabel *m_accountCurrencyLabel;
    kMyMoneyEdit *m_openingBalanceEdit;
    QSpacerItem *spacer6;
    QLabel *qLabel1;
    QSpacerItem *spacer1;

    void setupUi(QWidget *KAccountPageDecl)
    {
        if (KAccountPageDecl->objectName().isEmpty())
            KAccountPageDecl->setObjectName(QString::fromUtf8("KAccountPageDecl"));
        KAccountPageDecl->resize(600, 481);
        vboxLayout = new QVBoxLayout(KAccountPageDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        qLabel2 = new QLabel(KAccountPageDecl);
        qLabel2->setObjectName(QString::fromUtf8("qLabel2"));
        qLabel2->setFocusPolicy(Qt::NoFocus);
        qLabel2->setWordWrap(true);

        vboxLayout->addWidget(qLabel2);

        m_haveCheckingAccountButton = new QCheckBox(KAccountPageDecl);
        m_haveCheckingAccountButton->setObjectName(QString::fromUtf8("m_haveCheckingAccountButton"));

        vboxLayout->addWidget(m_haveCheckingAccountButton);

        m_accountDataFrame = new QFrame(KAccountPageDecl);
        m_accountDataFrame->setObjectName(QString::fromUtf8("m_accountDataFrame"));
        m_accountDataFrame->setFrameShape(QFrame::NoFrame);
        m_accountDataFrame->setFrameShadow(QFrame::Plain);
        gridLayout = new QGridLayout(m_accountDataFrame);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        m_institutionNameEdit = new KLineEdit(m_accountDataFrame);
        m_institutionNameEdit->setObjectName(QString::fromUtf8("m_institutionNameEdit"));

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

        m_institutionNumberEdit = new KLineEdit(m_accountDataFrame);
        m_institutionNumberEdit->setObjectName(QString::fromUtf8("m_institutionNumberEdit"));

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

        textLabel3 = new QLabel(m_accountDataFrame);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        textLabel3->setWordWrap(false);

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

        textLabel4 = new QLabel(m_accountDataFrame);
        textLabel4->setObjectName(QString::fromUtf8("textLabel4"));
        textLabel4->setWordWrap(false);

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

        m_accountNumberEdit = new KLineEdit(m_accountDataFrame);
        m_accountNumberEdit->setObjectName(QString::fromUtf8("m_accountNumberEdit"));

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

        m_accountNameEdit = new KLineEdit(m_accountDataFrame);
        m_accountNameEdit->setObjectName(QString::fromUtf8("m_accountNameEdit"));

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

        textLabel1_2 = new QLabel(m_accountDataFrame);
        textLabel1_2->setObjectName(QString::fromUtf8("textLabel1_2"));
        textLabel1_2->setWordWrap(false);

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        m_openingDateEdit = new kMyMoneyDateInput(m_accountDataFrame);
        m_openingDateEdit->setObjectName(QString::fromUtf8("m_openingDateEdit"));

        hboxLayout->addWidget(m_openingDateEdit);

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

        hboxLayout->addItem(spacer5);


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

        textLabel2 = new QLabel(m_accountDataFrame);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setWordWrap(false);

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

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

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

        textLabel2_2 = new QLabel(m_accountDataFrame);
        textLabel2_2->setObjectName(QString::fromUtf8("textLabel2_2"));
        textLabel2_2->setWordWrap(false);

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

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_accountCurrencyLabel = new QLabel(m_accountDataFrame);
        m_accountCurrencyLabel->setObjectName(QString::fromUtf8("m_accountCurrencyLabel"));
        m_accountCurrencyLabel->setWordWrap(false);

        hboxLayout1->addWidget(m_accountCurrencyLabel);

        m_openingBalanceEdit = new kMyMoneyEdit(m_accountDataFrame);
        m_openingBalanceEdit->setObjectName(QString::fromUtf8("m_openingBalanceEdit"));
        m_openingBalanceEdit->setProperty("resetButtonVisibility", QVariant(false));

        hboxLayout1->addWidget(m_openingBalanceEdit);

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

        hboxLayout1->addItem(spacer6);


        gridLayout->addLayout(hboxLayout1, 4, 1, 1, 1);

        qLabel1 = new QLabel(m_accountDataFrame);
        qLabel1->setObjectName(QString::fromUtf8("qLabel1"));
        qLabel1->setFocusPolicy(Qt::NoFocus);
        qLabel1->setWordWrap(true);

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


        vboxLayout->addWidget(m_accountDataFrame);

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

        vboxLayout->addItem(spacer1);

        QWidget::setTabOrder(m_accountNameEdit, m_accountNumberEdit);
        QWidget::setTabOrder(m_accountNumberEdit, m_openingDateEdit);
        QWidget::setTabOrder(m_openingDateEdit, m_openingBalanceEdit);
        QWidget::setTabOrder(m_openingBalanceEdit, m_institutionNameEdit);
        QWidget::setTabOrder(m_institutionNameEdit, m_institutionNumberEdit);
        QWidget::setTabOrder(m_institutionNumberEdit, m_haveCheckingAccountButton);

        retranslateUi(KAccountPageDecl);
        QObject::connect(m_haveCheckingAccountButton, SIGNAL(toggled(bool)), m_accountDataFrame, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *KAccountPageDecl)
    {
        qLabel2->setText(tr2i18n("A typical KMyMoney user maintains a checking account with some institution and uses it to receive money or pay bills. If this is not the case, please deselect the checkbox below and continue on the next page.", 0));
        m_haveCheckingAccountButton->setText(tr2i18n("I have a checking account that I want to manage with KMyMoney", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_institutionNameEdit->setProperty("whatsThis", QVariant(tr2i18n("The name of the institution that issued the account.", 0)));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        m_institutionNumberEdit->setProperty("whatsThis", QVariant(tr2i18n("Each institution has a routing number. Enter it here. If uncertain, leave the field blank. You can modify it later.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel3->setText(tr2i18n("Name of the institution", 0));
        textLabel4->setText(tr2i18n("Routing number", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_accountNumberEdit->setProperty("whatsThis", QVariant(tr2i18n("In general the institution that issued the account also issued a number for it. Enter it here. If uncertain, you can modify this entry later.", 0)));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        m_accountNameEdit->setProperty("whatsThis", QVariant(tr2i18n("Enter a descriptive name that will be used by KMyMoney to identify your checking account.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel1_2->setText(tr2i18n("Opening date", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_openingDateEdit->setProperty("whatsThis", QVariant(tr2i18n("Enter the date from when on you plan to keep track of the transactions in that account. This is usually the date of the last statement. If uncertain, leave as is.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel2->setText(tr2i18n("Number of the account", 0));
        textLabel1->setText(tr2i18n("Name of the account", 0));
        textLabel2_2->setText(tr2i18n("Opening balance", 0));
        m_accountCurrencyLabel->setText(tr2i18n("xxx", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_openingBalanceEdit->setProperty("whatsThis", QVariant(tr2i18n("Enter the opening balance of the account. This is usually the ending balance of the last statement. If uncertain, leave as is.", 0)));
#endif // QT_NO_WHATSTHIS
        qLabel1->setText(tr2i18n("The fields below allow you to enter some information about your checking account. Once this wizard finishes, the account will be created for you within KMyMoney.", 0));
        Q_UNUSED(KAccountPageDecl);
    } // retranslateUi

};

namespace Ui {
    class KAccountPageDecl: public Ui_KAccountPageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KACCOUNTPAGEDECL_H

