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

/********************************************************************************
** Form generated from reading UI file 'durationwizardpagedecl.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_DURATIONWIZARDPAGEDECL_H
#define UI_DURATIONWIZARDPAGEDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWizardPage>
#include "kmymoneymvccombo.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_DurationWizardPageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *TextLabel15_2;
    QSpacerItem *Spacer67_2;
    QHBoxLayout *hboxLayout;
    QLabel *TextLabel2_3;
    KIntNumInput *m_durationValueEdit;
    KMyMoneyGeneralCombo *m_durationUnitEdit;
    QFrame *Frame3_2_2;
    QGridLayout *gridLayout;
    QLabel *TextLabel6_3_2;
    QLabel *TextLabel8_3_2;
    QLabel *TextLabel9_2_2;
    QLabel *TextLabel10_2_2;
    QLabel *TextLabel11_3_2;
    QLabel *m_loanAmount3;
    QLabel *m_interestRate3;
    QLabel *m_duration3;
    QLabel *m_payment3;
    QLabel *m_balloon3;

    void setupUi(QWizardPage *DurationWizardPageDecl)
    {
        if (DurationWizardPageDecl->objectName().isEmpty())
            DurationWizardPageDecl->setObjectName(QString::fromUtf8("DurationWizardPageDecl"));
        vboxLayout = new QVBoxLayout(DurationWizardPageDecl);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        TextLabel15_2 = new QLabel(DurationWizardPageDecl);
        TextLabel15_2->setObjectName(QString::fromUtf8("TextLabel15_2"));
        TextLabel15_2->setAlignment(Qt::AlignTop);
        TextLabel15_2->setWordWrap(true);

        vboxLayout->addWidget(TextLabel15_2);

        Spacer67_2 = new QSpacerItem(16, 54, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(Spacer67_2);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        TextLabel2_3 = new QLabel(DurationWizardPageDecl);
        TextLabel2_3->setObjectName(QString::fromUtf8("TextLabel2_3"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(1);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(TextLabel2_3->sizePolicy().hasHeightForWidth());
        TextLabel2_3->setSizePolicy(sizePolicy);
        TextLabel2_3->setWordWrap(false);

        hboxLayout->addWidget(TextLabel2_3);

        m_durationValueEdit = new KIntNumInput(DurationWizardPageDecl);
        m_durationValueEdit->setObjectName(QString::fromUtf8("m_durationValueEdit"));

        hboxLayout->addWidget(m_durationValueEdit);

        m_durationUnitEdit = new KMyMoneyGeneralCombo(DurationWizardPageDecl);
        m_durationUnitEdit->setObjectName(QString::fromUtf8("m_durationUnitEdit"));

        hboxLayout->addWidget(m_durationUnitEdit);


        vboxLayout->addLayout(hboxLayout);

        Frame3_2_2 = new QFrame(DurationWizardPageDecl);
        Frame3_2_2->setObjectName(QString::fromUtf8("Frame3_2_2"));
        Frame3_2_2->setFrameShape(QFrame::StyledPanel);
        Frame3_2_2->setFrameShadow(QFrame::Raised);
        gridLayout = new QGridLayout(Frame3_2_2);
#ifndef UI_Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        TextLabel6_3_2 = new QLabel(Frame3_2_2);
        TextLabel6_3_2->setObjectName(QString::fromUtf8("TextLabel6_3_2"));
        TextLabel6_3_2->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
        TextLabel6_3_2->setWordWrap(true);

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

        TextLabel8_3_2 = new QLabel(Frame3_2_2);
        TextLabel8_3_2->setObjectName(QString::fromUtf8("TextLabel8_3_2"));
        TextLabel8_3_2->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
        TextLabel8_3_2->setWordWrap(false);

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

        TextLabel9_2_2 = new QLabel(Frame3_2_2);
        TextLabel9_2_2->setObjectName(QString::fromUtf8("TextLabel9_2_2"));
        TextLabel9_2_2->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
        TextLabel9_2_2->setWordWrap(false);

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

        TextLabel10_2_2 = new QLabel(Frame3_2_2);
        TextLabel10_2_2->setObjectName(QString::fromUtf8("TextLabel10_2_2"));
        TextLabel10_2_2->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
        TextLabel10_2_2->setWordWrap(false);

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

        TextLabel11_3_2 = new QLabel(Frame3_2_2);
        TextLabel11_3_2->setObjectName(QString::fromUtf8("TextLabel11_3_2"));
        TextLabel11_3_2->setAlignment(Qt::AlignVCenter|Qt::AlignRight);
        TextLabel11_3_2->setWordWrap(false);

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

        m_loanAmount3 = new QLabel(Frame3_2_2);
        m_loanAmount3->setObjectName(QString::fromUtf8("m_loanAmount3"));
        QFont font;
        font.setBold(true);
        m_loanAmount3->setFont(font);
        m_loanAmount3->setTextFormat(Qt::PlainText);
        m_loanAmount3->setWordWrap(false);

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

        m_interestRate3 = new QLabel(Frame3_2_2);
        m_interestRate3->setObjectName(QString::fromUtf8("m_interestRate3"));
        m_interestRate3->setFont(font);
        m_interestRate3->setTextFormat(Qt::PlainText);
        m_interestRate3->setWordWrap(false);

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

        m_duration3 = new QLabel(Frame3_2_2);
        m_duration3->setObjectName(QString::fromUtf8("m_duration3"));
        m_duration3->setFont(font);
        m_duration3->setTextFormat(Qt::PlainText);
        m_duration3->setWordWrap(false);

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

        m_payment3 = new QLabel(Frame3_2_2);
        m_payment3->setObjectName(QString::fromUtf8("m_payment3"));
        m_payment3->setFont(font);
        m_payment3->setTextFormat(Qt::PlainText);
        m_payment3->setWordWrap(false);

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

        m_balloon3 = new QLabel(Frame3_2_2);
        m_balloon3->setObjectName(QString::fromUtf8("m_balloon3"));
        m_balloon3->setFont(font);
        m_balloon3->setTextFormat(Qt::PlainText);
        m_balloon3->setWordWrap(false);

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


        vboxLayout->addWidget(Frame3_2_2);


        retranslateUi(DurationWizardPageDecl);

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

    void retranslateUi(QWizardPage *DurationWizardPageDecl)
    {
        TextLabel15_2->setText(tr2i18n("\n"
"Please enter the term of this loan or leave the field empty 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));
        TextLabel2_3->setText(tr2i18n("Term", 0));
        TextLabel6_3_2->setText(tr2i18n("Loan amount:", 0));
        TextLabel8_3_2->setText(tr2i18n("Interest rate:", 0));
        TextLabel9_2_2->setText(tr2i18n("Term:", 0));
        TextLabel10_2_2->setText(tr2i18n("Principal + Interest:", 0));
        TextLabel11_3_2->setText(tr2i18n("Final amortization payment", 0));
        m_loanAmount3->setText(tr2i18n("1", 0));
        m_interestRate3->setText(tr2i18n("1", 0));
        m_duration3->setText(tr2i18n("1", 0));
        m_payment3->setText(tr2i18n("1", 0));
        m_balloon3->setText(tr2i18n("1", 0));
        Q_UNUSED(DurationWizardPageDecl);
    } // retranslateUi

};

namespace Ui {
    class DurationWizardPageDecl: public Ui_DurationWizardPageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DURATIONWIZARDPAGEDECL_H

