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

/********************************************************************************
** Form generated from reading UI file 'kloandetailspagedecl.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_KLOANDETAILSPAGEDECL_H
#define UI_KLOANDETAILSPAGEDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#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 <kmymoneyedit.h>
#include <kpushbutton.h>
#include "kmymoneymvccombo.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_KLoanDetailsPageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *qLabel2;
    QSpacerItem *spacer89;
    QHBoxLayout *hboxLayout;
    QGridLayout *gridLayout;
    QLabel *textLabel7;
    KComboBox *m_paymentDue;
    QLabel *textLabel8;
    kMyMoneyEdit *m_loanAmount;
    QLabel *textLabel9;
    kMyMoneyEdit *m_interestRate;
    QLabel *textLabel10;
    QHBoxLayout *hboxLayout1;
    KIntSpinBox *m_termAmount;
    KMyMoneyFrequencyCombo *m_termUnit;
    QLabel *textLabel11;
    kMyMoneyEdit *m_paymentAmount;
    QLabel *textLabel12;
    kMyMoneyEdit *m_balloonAmount;
    QHBoxLayout *hboxLayout2;
    QSpacerItem *spacer86;
    KPushButton *m_calculateButton;
    QSpacerItem *spacer88_2;
    QSpacerItem *spacer87;
    QSpacerItem *spacer88;

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

        vboxLayout->addWidget(qLabel2);

        spacer89 = new QSpacerItem(20, 70, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacer89);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel7 = new QLabel(KLoanDetailsPageDecl);
        textLabel7->setObjectName(QString::fromUtf8("textLabel7"));
        textLabel7->setWordWrap(false);

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

        m_paymentDue = new KComboBox(KLoanDetailsPageDecl);
        m_paymentDue->setObjectName(QString::fromUtf8("m_paymentDue"));

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

        textLabel8 = new QLabel(KLoanDetailsPageDecl);
        textLabel8->setObjectName(QString::fromUtf8("textLabel8"));
        textLabel8->setWordWrap(false);

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

        m_loanAmount = new kMyMoneyEdit(KLoanDetailsPageDecl);
        m_loanAmount->setObjectName(QString::fromUtf8("m_loanAmount"));
        m_loanAmount->setProperty("resetButtonVisibility", QVariant(true));

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

        textLabel9 = new QLabel(KLoanDetailsPageDecl);
        textLabel9->setObjectName(QString::fromUtf8("textLabel9"));
        textLabel9->setWordWrap(false);

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

        m_interestRate = new kMyMoneyEdit(KLoanDetailsPageDecl);
        m_interestRate->setObjectName(QString::fromUtf8("m_interestRate"));

        gridLayout->addWidget(m_interestRate, 2, 1, 1, 3);

        textLabel10 = new QLabel(KLoanDetailsPageDecl);
        textLabel10->setObjectName(QString::fromUtf8("textLabel10"));
        textLabel10->setWordWrap(false);

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

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_termAmount = new KIntSpinBox(KLoanDetailsPageDecl);
        m_termAmount->setObjectName(QString::fromUtf8("m_termAmount"));
        m_termAmount->setMaximum(999);

        hboxLayout1->addWidget(m_termAmount);

        m_termUnit = new KMyMoneyFrequencyCombo(KLoanDetailsPageDecl);
        m_termUnit->setObjectName(QString::fromUtf8("m_termUnit"));

        hboxLayout1->addWidget(m_termUnit);


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

        textLabel11 = new QLabel(KLoanDetailsPageDecl);
        textLabel11->setObjectName(QString::fromUtf8("textLabel11"));
        textLabel11->setWordWrap(false);

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

        m_paymentAmount = new kMyMoneyEdit(KLoanDetailsPageDecl);
        m_paymentAmount->setObjectName(QString::fromUtf8("m_paymentAmount"));

        gridLayout->addWidget(m_paymentAmount, 4, 1, 1, 3);

        textLabel12 = new QLabel(KLoanDetailsPageDecl);
        textLabel12->setObjectName(QString::fromUtf8("textLabel12"));
        textLabel12->setWordWrap(false);

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

        m_balloonAmount = new kMyMoneyEdit(KLoanDetailsPageDecl);
        m_balloonAmount->setObjectName(QString::fromUtf8("m_balloonAmount"));

        gridLayout->addWidget(m_balloonAmount, 5, 1, 1, 3);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        spacer86 = new QSpacerItem(71, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout2->addItem(spacer86);

        m_calculateButton = new KPushButton(KLoanDetailsPageDecl);
        m_calculateButton->setObjectName(QString::fromUtf8("m_calculateButton"));

        hboxLayout2->addWidget(m_calculateButton);


        gridLayout->addLayout(hboxLayout2, 6, 1, 1, 1);

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

        gridLayout->addItem(spacer88_2, 6, 2, 1, 1);


        hboxLayout->addLayout(gridLayout);

        spacer87 = new QSpacerItem(27, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacer87);


        vboxLayout->addLayout(hboxLayout);

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

        vboxLayout->addItem(spacer88);


        retranslateUi(KLoanDetailsPageDecl);

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

    void retranslateUi(QWidget *KLoanDetailsPageDecl)
    {
        qLabel2->setText(tr2i18n("Now enter the details for your loan. You can leave one of the fields empty and KMyMoney will calculate it when you press the <b>Calculate</b> button. Before you can continue with the next page you also need to press <b>Calculate</b> so that KMyMoney can check the logical correctness of the values you have supplied.", 0));
        textLabel7->setText(tr2i18n("The interest rate gets calculated", 0));
        m_paymentDue->clear();
        m_paymentDue->insertItems(0, QStringList()
         << tr2i18n("when the payment is received", 0)
         << tr2i18n("when the payment is due", 0)
        );
        textLabel8->setText(tr2i18n("Loan amount", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_loanAmount->setProperty("whatsThis", QVariant(tr2i18n("Enter the amount of the loan in this field. If you want to calculate this field out of the other parameters, please leave it empty. If the field is marked as required (colored background) you have informed KMyMoney about the fact that there were already some payments towards the loan. In this case, please enter the ending balance of your last statement.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel9->setText(tr2i18n("Interest rate", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_interestRate->setProperty("whatsThis", QVariant(tr2i18n("Please enter the interest rate (as a percentage) or leave the field empty to calculate it.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel10->setText(tr2i18n("Term", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_termAmount->setProperty("whatsThis", QVariant(tr2i18n("Please enter the term of this loan or enter 0 to calculate it. The term is the time that is required to fully repay the loan. This time might be different from the time your loan contract is signed for.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel11->setText(tr2i18n("Payment (principal and interest)", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_paymentAmount->setProperty("whatsThis", QVariant(tr2i18n("Please enter the amount you pay for principal and interest or leave the field empty to calculate it.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel12->setText(tr2i18n("Balloon payment", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_balloonAmount->setProperty("whatsThis", QVariant(tr2i18n("Please enter the amount of a final amortization payment or leave the field empty to calculate it.", 0)));
#endif // QT_NO_WHATSTHIS
        m_calculateButton->setText(tr2i18n("Calculate", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_calculateButton->setProperty("toolTip", QVariant(tr2i18n("Press this button to calculate/verify your loan details.", 0)));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        m_calculateButton->setProperty("whatsThis", QVariant(tr2i18n("Pressing this button calculates a possibly missing parameter for your loan or verifies that the values entered match. If something is not correct you will receive information about it.", 0)));
#endif // QT_NO_WHATSTHIS
        Q_UNUSED(KLoanDetailsPageDecl);
    } // retranslateUi

};

namespace Ui {
    class KLoanDetailsPageDecl: public Ui_KLoanDetailsPageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KLOANDETAILSPAGEDECL_H

