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

/********************************************************************************
** Form generated from reading UI file 'kaccounttypepagedecl.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_KACCOUNTTYPEPAGEDECL_H
#define UI_KACCOUNTTYPEPAGEDECL_H

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

QT_BEGIN_NAMESPACE

class Ui_KAccountTypePageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *qLabel4;
    QGridLayout *gridLayout;
    QLabel *textLabel1;
    KLineEdit *m_accountName;
    QLabel *textLabel2_2;
    KMyMoneyGeneralCombo *m_typeSelection;
    QLabel *textLabel3;
    KMyMoneySecuritySelector *m_currencyComboBox;
    QSpacerItem *spacer6;
    QLabel *textLabel2;
    kMyMoneyDateInput *m_openingDate;
    QLabel *textLabel1_2;
    kMyMoneyEdit *m_openingBalance;
    QLabel *m_conversionLabel;
    kMyMoneyEdit *m_conversionRate;
    KPushButton *m_onlineQuote;
    QSpacerItem *spacer3;
    QLabel *m_conversionExample;
    QCheckBox *m_preferredAccount;
    QSpacerItem *spacer18;

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

        vboxLayout->addWidget(qLabel4);

        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel1 = new QLabel(KAccountTypePageDecl);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

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

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

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

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

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

        m_typeSelection = new KMyMoneyGeneralCombo(KAccountTypePageDecl);
        m_typeSelection->setObjectName(QString::fromUtf8("m_typeSelection"));
        sizePolicy.setHeightForWidth(m_typeSelection->sizePolicy().hasHeightForWidth());
        m_typeSelection->setSizePolicy(sizePolicy);

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

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

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

        m_currencyComboBox = new KMyMoneySecuritySelector(KAccountTypePageDecl);
        m_currencyComboBox->setObjectName(QString::fromUtf8("m_currencyComboBox"));
        sizePolicy.setHeightForWidth(m_currencyComboBox->sizePolicy().hasHeightForWidth());
        m_currencyComboBox->setSizePolicy(sizePolicy);

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

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

        gridLayout->addItem(spacer6, 2, 2, 1, 2);

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

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

        m_openingDate = new kMyMoneyDateInput(KAccountTypePageDecl);
        m_openingDate->setObjectName(QString::fromUtf8("m_openingDate"));
        m_openingDate->setFocusPolicy(Qt::StrongFocus);

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

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

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

        m_openingBalance = new kMyMoneyEdit(KAccountTypePageDecl);
        m_openingBalance->setObjectName(QString::fromUtf8("m_openingBalance"));
        m_openingBalance->setMinimumSize(QSize(150, 0));
        m_openingBalance->setFocusPolicy(Qt::StrongFocus);
        m_openingBalance->setProperty("resetButtonVisibility", QVariant(false));

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

        m_conversionLabel = new QLabel(KAccountTypePageDecl);
        m_conversionLabel->setObjectName(QString::fromUtf8("m_conversionLabel"));
        m_conversionLabel->setWordWrap(false);

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

        m_conversionRate = new kMyMoneyEdit(KAccountTypePageDecl);
        m_conversionRate->setObjectName(QString::fromUtf8("m_conversionRate"));
        m_conversionRate->setFocusPolicy(Qt::StrongFocus);
        m_conversionRate->setProperty("resetButtonVisibility", QVariant(false));

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

        m_onlineQuote = new KPushButton(KAccountTypePageDecl);
        m_onlineQuote->setObjectName(QString::fromUtf8("m_onlineQuote"));

        gridLayout->addWidget(m_onlineQuote, 5, 2, 1, 1);

        spacer3 = new QSpacerItem(61, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacer3, 5, 3, 1, 1);

        m_conversionExample = new QLabel(KAccountTypePageDecl);
        m_conversionExample->setObjectName(QString::fromUtf8("m_conversionExample"));
        m_conversionExample->setWordWrap(false);

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

        m_preferredAccount = new QCheckBox(KAccountTypePageDecl);
        m_preferredAccount->setObjectName(QString::fromUtf8("m_preferredAccount"));

        gridLayout->addWidget(m_preferredAccount, 7, 0, 1, 2);


        vboxLayout->addLayout(gridLayout);

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

        vboxLayout->addItem(spacer18);


        retranslateUi(KAccountTypePageDecl);

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

    void retranslateUi(QWidget *KAccountTypePageDecl)
    {
        qLabel4->setText(tr2i18n("Enter the name of the account under which it is known within KMyMoney. Select the type for the new account. Use the <b>What's this?</b> feature to see more details about the various account types. Enter the date the account was opened and its currency.", 0));
        textLabel1->setText(tr2i18n("Account name", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_accountName->setWhatsThis(tr2i18n("Enter a name under which this account is known within KMyMoney.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel2_2->setText(tr2i18n("Account type", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_typeSelection->setWhatsThis(tr2i18n("<p><b>Checking</b>\n"
"Use the checking account type to manage activities on your checking account e.g. payments, checks and cash card purchases.</p>\n"
"\n"
"<p><b>Savings</b>\n"
"Use the savings account type to manage activities on your savings account.</p>\n"
"\n"
"<p><b>Credit Card</b>\n"
"Use the credit card account type to manage activities on your credit card.</p>\n"
"\n"
"<p><b>Cash</b>\n"
"\n"
"Use the cash account type to manage activities in your wallet.</p>\n"
"\n"
"<p><b>Loan</b>\n"
"Use the loan account type to manage amortization loans (e.g. mortgages, car loan, money you lend, private loans etc.).</p>\n"
"\n"
"<p><b>Investment</b>\n"
"Use the investment account to manage your stock, mutual fund and other investments.</p>\n"
"\n"
"<p><b>Asset</b>\n"
"Use the asset account type to manage assets (e.g. your house, car or art collection).</p>\n"
"\n"
"<p><b>Liability</b>\n"
"Use the liability account type to manage any type of liability except amortization loans. Use it for taxes you owe or money yo"
                        "u borrowed from friends. For amortization loans like mortgages you should create a loan account.</p>", 0));
#endif // QT_NO_WHATSTHIS
        textLabel3->setText(tr2i18n("Currency", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_currencyComboBox->setWhatsThis(tr2i18n("Select the currency in which this account is denominated.", 0));
#endif // QT_NO_WHATSTHIS
        textLabel2->setText(tr2i18n("Opening date", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_openingDate->setWhatsThis(tr2i18n("<p>The opening date would be the date of the last statement. In case you want to keep track of transactions prior to this date, enter the ending balance and statement date of a prior statement and add all following transactions into KMyMoney. KMyMoney will not allow you to enter or modify transactions prior to this date.</p>\n"
"<p><i>Note</i>: If you do not know the exact amount of the opening balance, enter an estimate. You can change this value later before you reconcile this account for the first time.</p>", 0));
#endif // QT_NO_WHATSTHIS
        textLabel1_2->setText(tr2i18n("Opening balance", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_openingBalance->setWhatsThis(tr2i18n("<p>The opening balance is the balance of the account when you start using it with KMyMoney. For new accounts this is usually 0 but for existing accounts this may well differ. Please consult the account statements to figure out this value. The opening balance is to be provided in the currency of the account as selected with the currency button.</p>\n"
"<p><i>Note</i>: If you do not know the exact amount of the opening balance, enter an estimate. You can change this value later before you reconcile this account for the first time.</p>", 0));
#endif // QT_NO_WHATSTHIS
        m_conversionLabel->setText(tr2i18n("Conversion rate", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_conversionRate->setWhatsThis(tr2i18n("For foreign currencies an initial conversion rate needs to be provided. This should be the price of the foreign currency in the base currency on the opening date of the account.", 0));
#endif // QT_NO_WHATSTHIS
        m_onlineQuote->setText(tr2i18n("Online quote", 0));
        m_conversionExample->setText(tr2i18n("xxx", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_preferredAccount->setToolTip(tr2i18n("Mark this checkbox if the account should be maintained as preferred account", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_preferredAccount->setWhatsThis(tr2i18n("Selecting the <b>Preferred Account</b> checkbox will allow preferred access in some dialogs and views of KMyMoney.", 0));
#endif // QT_NO_WHATSTHIS
        m_preferredAccount->setText(tr2i18n("Preferred account", 0));
        Q_UNUSED(KAccountTypePageDecl);
    } // retranslateUi

};

namespace Ui {
    class KAccountTypePageDecl: public Ui_KAccountTypePageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KACCOUNTTYPEPAGEDECL_H

