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

/********************************************************************************
** Form generated from reading UI file 'kschedulepagedecl.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_KSCHEDULEPAGEDECL_H
#define UI_KSCHEDULEPAGEDECL_H

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

QT_BEGIN_NAMESPACE

class Ui_KSchedulePageDecl
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *qLabel16;
    QCheckBox *m_reminderCheckBox;
    QFrame *m_paymentFrame;
    QGridLayout *gridLayout;
    QLabel *textLabel2;
    KLineEdit *m_name;
    QLabel *textLabel3;
    KMyMoneyPayeeCombo *m_payee;
    QLabel *TextLabel2_2;
    kMyMoneyEdit *m_amount;
    QLabel *TextLabel4_3;
    kMyMoneyDateInput *m_date;
    QLabel *TextLabel3_3;
    KMyMoneyCategory *m_paymentAccount;
    QLabel *textLabel4;
    KMyMoneyGeneralCombo *m_method;
    QSpacerItem *spacer23;

    void setupUi(QWidget *KSchedulePageDecl)
    {
        if (KSchedulePageDecl->objectName().isEmpty())
            KSchedulePageDecl->setObjectName(QString::fromUtf8("KSchedulePageDecl"));
        KSchedulePageDecl->resize(544, 391);
        vboxLayout = new QVBoxLayout(KSchedulePageDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        qLabel16 = new QLabel(KSchedulePageDecl);
        qLabel16->setObjectName(QString::fromUtf8("qLabel16"));
        qLabel16->setWordWrap(true);

        vboxLayout->addWidget(qLabel16);

        m_reminderCheckBox = new QCheckBox(KSchedulePageDecl);
        m_reminderCheckBox->setObjectName(QString::fromUtf8("m_reminderCheckBox"));
        m_reminderCheckBox->setFocusPolicy(Qt::StrongFocus);

        vboxLayout->addWidget(m_reminderCheckBox);

        m_paymentFrame = new QFrame(KSchedulePageDecl);
        m_paymentFrame->setObjectName(QString::fromUtf8("m_paymentFrame"));
        m_paymentFrame->setFrameShape(QFrame::NoFrame);
        m_paymentFrame->setFrameShadow(QFrame::Plain);
        gridLayout = new QGridLayout(m_paymentFrame);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(0, 0, 0, 0);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel2 = new QLabel(m_paymentFrame);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(0), static_cast<QSizePolicy::Policy>(5));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(textLabel2->sizePolicy().hasHeightForWidth());
        textLabel2->setSizePolicy(sizePolicy);
        textLabel2->setMinimumSize(QSize(180, 0));
        textLabel2->setWordWrap(false);

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

        m_name = new KLineEdit(m_paymentFrame);
        m_name->setObjectName(QString::fromUtf8("m_name"));

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

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

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

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

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

        TextLabel2_2 = new QLabel(m_paymentFrame);
        TextLabel2_2->setObjectName(QString::fromUtf8("TextLabel2_2"));
        TextLabel2_2->setWordWrap(false);

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

        m_amount = new kMyMoneyEdit(m_paymentFrame);
        m_amount->setObjectName(QString::fromUtf8("m_amount"));
        m_amount->setFocusPolicy(Qt::StrongFocus);

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

        TextLabel4_3 = new QLabel(m_paymentFrame);
        TextLabel4_3->setObjectName(QString::fromUtf8("TextLabel4_3"));
        TextLabel4_3->setWordWrap(false);

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

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

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

        TextLabel3_3 = new QLabel(m_paymentFrame);
        TextLabel3_3->setObjectName(QString::fromUtf8("TextLabel3_3"));
        TextLabel3_3->setAlignment(Qt::AlignTop);
        TextLabel3_3->setWordWrap(false);

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

        m_paymentAccount = new KMyMoneyCategory(m_paymentFrame);
        m_paymentAccount->setObjectName(QString::fromUtf8("m_paymentAccount"));

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

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

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

        m_method = new KMyMoneyGeneralCombo(m_paymentFrame);
        m_method->setObjectName(QString::fromUtf8("m_method"));

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


        vboxLayout->addWidget(m_paymentFrame);

        spacer23 = new QSpacerItem(20, 31, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacer23);


        retranslateUi(KSchedulePageDecl);
        QObject::connect(m_reminderCheckBox, SIGNAL(toggled(bool)), m_paymentFrame, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *KSchedulePageDecl)
    {
        qLabel16->setText(tr2i18n("For credit card accounts you can create a monthly schedule which will automatically remind you about the payment. Please fill in the details about this payment here.", 0));
        m_reminderCheckBox->setText(tr2i18n("Yes, remind me when the payment is due", 0));
        textLabel2->setText(tr2i18n("Name of schedule", 0));
        textLabel3->setText(tr2i18n("Payee", 0));
        TextLabel2_2->setText(tr2i18n("Estimated monthly payment", 0));
        TextLabel4_3->setText(tr2i18n("Due date of next payment", 0));
        TextLabel3_3->setText(tr2i18n("Payment should be made\n"
"from account", 0));
        textLabel4->setText(tr2i18n("Payment method", 0));
        Q_UNUSED(KSchedulePageDecl);
    } // retranslateUi

};

namespace Ui {
    class KSchedulePageDecl: public Ui_KSchedulePageDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KSCHEDULEPAGEDECL_H

