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

/********************************************************************************
** Form generated from reading UI file 'kgeneralloaninfopagedecl.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_KGENERALLOANINFOPAGEDECL_H
#define UI_KGENERALLOANINFOPAGEDECL_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 <kmymoneydateinput.h>
#include <kmymoneyedit.h>
#include "kmymoneymvccombo.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_KGeneralLoanInfoPageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *qLabel1;
    QHBoxLayout *hboxLayout;
    QGridLayout *gridLayout;
    QLabel *textLabel1;
    KComboBox *m_loanDirection;
    QLabel *textLabel2;
    KMyMoneyPayeeCombo *m_payee;
    QLabel *textLabel1_2;
    KComboBox *m_anyPayments;
    QLabel *textLabel3;
    KComboBox *m_recordings;
    QLabel *textLabel1_3;
    kMyMoneyEdit *m_openingBalance;
    QLabel *textLabel5;
    KMyMoneyFrequencyCombo *m_paymentFrequency;
    QLabel *textLabel1_4;
    KMyMoneyFrequencyCombo *m_compoundFrequency;
    QLabel *textLabel2_2;
    kMyMoneyDateInput *m_firstPaymentDate;
    QLabel *textLabel4;
    KComboBox *m_interestType;
    QLabel *textLabel3_2;
    QHBoxLayout *hboxLayout1;
    KIntSpinBox *m_interestFrequencyAmountEdit;
    KComboBox *m_interestFrequencyUnitEdit;
    QLabel *textLabel4_2;
    kMyMoneyDateInput *m_interestChangeDateEdit;
    QSpacerItem *spacer1;
    QSpacerItem *spacer2;

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

        vboxLayout->addWidget(qLabel1);

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

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

        m_loanDirection = new KComboBox(KGeneralLoanInfoPageDecl);
        m_loanDirection->setObjectName(QString::fromUtf8("m_loanDirection"));

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

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

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

        m_payee = new KMyMoneyPayeeCombo(KGeneralLoanInfoPageDecl);
        m_payee->setObjectName(QString::fromUtf8("m_payee"));

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

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

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

        m_anyPayments = new KComboBox(KGeneralLoanInfoPageDecl);
        m_anyPayments->setObjectName(QString::fromUtf8("m_anyPayments"));

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

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

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

        m_recordings = new KComboBox(KGeneralLoanInfoPageDecl);
        m_recordings->setObjectName(QString::fromUtf8("m_recordings"));

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

        textLabel1_3 = new QLabel(KGeneralLoanInfoPageDecl);
        textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
        textLabel1_3->setWordWrap(false);

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

        m_openingBalance = new kMyMoneyEdit(KGeneralLoanInfoPageDecl);
        m_openingBalance->setObjectName(QString::fromUtf8("m_openingBalance"));

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

        textLabel5 = new QLabel(KGeneralLoanInfoPageDecl);
        textLabel5->setObjectName(QString::fromUtf8("textLabel5"));
        textLabel5->setWordWrap(false);

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

        m_paymentFrequency = new KMyMoneyFrequencyCombo(KGeneralLoanInfoPageDecl);
        m_paymentFrequency->setObjectName(QString::fromUtf8("m_paymentFrequency"));
        m_paymentFrequency->setFocusPolicy(Qt::TabFocus);

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

        textLabel1_4 = new QLabel(KGeneralLoanInfoPageDecl);
        textLabel1_4->setObjectName(QString::fromUtf8("textLabel1_4"));
        textLabel1_4->setWordWrap(false);

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

        m_compoundFrequency = new KMyMoneyFrequencyCombo(KGeneralLoanInfoPageDecl);
        m_compoundFrequency->setObjectName(QString::fromUtf8("m_compoundFrequency"));

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

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

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

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

        gridLayout->addWidget(m_firstPaymentDate, 7, 1, 1, 1);

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

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

        m_interestType = new KComboBox(KGeneralLoanInfoPageDecl);
        m_interestType->setObjectName(QString::fromUtf8("m_interestType"));

        gridLayout->addWidget(m_interestType, 8, 1, 1, 1);

        textLabel3_2 = new QLabel(KGeneralLoanInfoPageDecl);
        textLabel3_2->setObjectName(QString::fromUtf8("textLabel3_2"));
        textLabel3_2->setWordWrap(false);

        gridLayout->addWidget(textLabel3_2, 9, 0, 1, 1);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        m_interestFrequencyAmountEdit = new KIntSpinBox(KGeneralLoanInfoPageDecl);
        m_interestFrequencyAmountEdit->setObjectName(QString::fromUtf8("m_interestFrequencyAmountEdit"));
        m_interestFrequencyAmountEdit->setMinimum(1);

        hboxLayout1->addWidget(m_interestFrequencyAmountEdit);

        m_interestFrequencyUnitEdit = new KComboBox(KGeneralLoanInfoPageDecl);
        m_interestFrequencyUnitEdit->setObjectName(QString::fromUtf8("m_interestFrequencyUnitEdit"));

        hboxLayout1->addWidget(m_interestFrequencyUnitEdit);


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

        textLabel4_2 = new QLabel(KGeneralLoanInfoPageDecl);
        textLabel4_2->setObjectName(QString::fromUtf8("textLabel4_2"));
        textLabel4_2->setWordWrap(false);

        gridLayout->addWidget(textLabel4_2, 10, 0, 1, 1);

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

        gridLayout->addWidget(m_interestChangeDateEdit, 10, 1, 1, 1);


        hboxLayout->addLayout(gridLayout);

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

        hboxLayout->addItem(spacer1);


        vboxLayout->addLayout(hboxLayout);

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

        vboxLayout->addItem(spacer2);


        retranslateUi(KGeneralLoanInfoPageDecl);

        m_interestFrequencyUnitEdit->setCurrentIndex(3);


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

    void retranslateUi(QWidget *KGeneralLoanInfoPageDecl)
    {
        qLabel1->setText(tr2i18n("Please select the required options. Please use the <b>What's this?</b> feature to see more information about the items.", 0));
        textLabel1->setText(tr2i18n("What is the type of the loan?", 0));
        m_loanDirection->clear();
        m_loanDirection->insertItems(0, QStringList()
         << tr2i18n("I am borrowing money", 0)
         << tr2i18n("I am lending money", 0)
        );
        textLabel2->setText(tr2i18n("Who is the payee/payer of the loan?", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_payee->setProperty("whatsThis", QVariant(tr2i18n("Enter the name of the person or bank you owe money or who owes you money.\n"
"\n"
"If the name does not exist within KMyMoney's database, you are asked if you want to create it.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel1_2->setText(tr2i18n("Did you make/receive any payments yet?", 0));
        m_anyPayments->clear();
        m_anyPayments->insertItems(0, QStringList()
         << tr2i18n("No", "@item no payments were entered for a loan")
         << tr2i18n("Yes", "@item payments were entered for a loan")
        );
#ifndef UI_QT_NO_WHATSTHIS
        m_anyPayments->setProperty("whatsThis", QVariant(tr2i18n("Were there any payments for this loan whether they are entered into KMyMoney or not?\n"
"\n"
"Note: Payments made to obtain the loan (e.g. Disagio) are not considered as payments in this context.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel3->setText(tr2i18n("Which payments do you want to record?", 0));
        m_recordings->clear();
        m_recordings->insertItems(0, QStringList()
         << tr2i18n("All payments", 0)
         << tr2i18n("Start with this year's payments", 0)
        );
#ifndef UI_QT_NO_WHATSTHIS
        m_recordings->setProperty("whatsThis", QVariant(tr2i18n("<qt>Select which transactions should be recorded.\n"
"\n"
"<b>All payments</b> allows you to enter all payments made for this loan.\n"
"\n"
"The option to <b>start from the beginning of the current year</b> is meant for loans that have already been active for a longer period of time, and for which you do not want to enter all past transactions.\n"
"</qt>", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel1_3->setText(tr2i18n("Balance before start of recording", 0));
#ifndef UI_QT_NO_WHATSTHIS
        textLabel1_3->setProperty("whatsThis", QVariant(tr2i18n("Enter the ending balance found on the statement that is the last one before you want to start recording this loan in KMyMoney.", 0)));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        m_openingBalance->setProperty("whatsThis", QVariant(tr2i18n("You have selected to record only payments from the beginning of this year. Since prior transactions will not be recorded, you need to supply the balance of the loan on January 1st of this year.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel5->setText(tr2i18n("Payment frequency", 0));
        textLabel1_4->setText(tr2i18n("Interest Compounding frequency", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_compoundFrequency->setProperty("whatsThis", QVariant(tr2i18n("Select the frequency with which the interest is compounded. If uncertain, select the same as the payment frequency. Consult your loan contract for details.", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel2_2->setText(tr2i18n("Due date of first payment to be recorded", 0));
#ifndef UI_QT_NO_WHATSTHIS
        m_firstPaymentDate->setProperty("whatsThis", QVariant(tr2i18n("Depending on the answer to <b>What do you want to record?</b> this field means the following:<p>\n"
"\n"
"<b>All payments</b><br>\n"
"Enter the due date of the very first payment<p>\n"
"\n"
"<b>Start with this year's payments</b><br>\n"
"Enter the due date of the first payment in the current year", 0)));
#endif // QT_NO_WHATSTHIS
        textLabel4->setText(tr2i18n("Type of interest rate", 0));
        m_interestType->clear();
        m_interestType->insertItems(0, QStringList()
         << tr2i18n("Fixed", "@item type of interest")
         << tr2i18n("Variable", "@item type of interest")
        );
        textLabel3_2->setText(tr2i18n("Time between interest changes", 0));
        m_interestFrequencyUnitEdit->clear();
        m_interestFrequencyUnitEdit->insertItems(0, QStringList()
         << tr2i18n("Days", "@item frequency of interest calculation")
         << tr2i18n("Weeks", "@item frequency of interest calculation")
         << tr2i18n("Months", "@item frequency of interest calculation")
         << tr2i18n("Years", "@item frequency of interest calculation")
        );
        textLabel4_2->setText(tr2i18n("Next interest change is due", 0));
        Q_UNUSED(KGeneralLoanInfoPageDecl);
    } // retranslateUi

};

namespace Ui {
    class KGeneralLoanInfoPageDecl: public Ui_KGeneralLoanInfoPageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KGENERALLOANINFOPAGEDECL_H

