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

/********************************************************************************
** Form generated from reading UI file 'keditscheduledlgdecl.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_KEDITSCHEDULEDLGDECL_H
#define UI_KEDITSCHEDULEDLGDECL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <kcombobox.h>
#include <klineedit.h>
#include <kmymoneydateinput.h>
#include <kpushbutton.h>
#include <register.h>
#include <transactionform.h>
#include "kmymoneymvccombo.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_KEditScheduleDlgDecl
{
public:
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QHBoxLayout *hboxLayout1;
    QLabel *textLabel1;
    KLineEdit *m_nameEdit;
    QHBoxLayout *hboxLayout2;
    QLabel *textLabel3;
    KIntNumInput *m_frequencyNoEdit;
    KMyMoneyOccurrencePeriodCombo *m_frequencyEdit;
    QGroupBox *m_paymentInformation;
    QVBoxLayout *m_paymentInformationLayout;
    QHBoxLayout *hboxLayout3;
    QLabel *textLabel1_3;
    KMyMoneyGeneralCombo *m_paymentMethodEdit;
    QSpacerItem *spacer4;
    QFrame *line1;
    KMyMoneyRegister::Register *m_register;
    KMyMoneyTransactionForm::TransactionForm *m_form;
    QGroupBox *groupBox2;
    QVBoxLayout *vboxLayout1;
    QGridLayout *gridLayout;
    KComboBox *m_weekendOptionEdit;
    QLabel *textLabel1_2;
    QHBoxLayout *hboxLayout4;
    QCheckBox *m_estimateEdit;
    KIntSpinBox *m_variation;
    QSpacerItem *spacer5;
    QCheckBox *m_lastDayInMonthEdit;
    QCheckBox *m_autoEnterEdit;
    QCheckBox *m_endSeriesEdit;
    QFrame *m_endOptionsFrame;
    QHBoxLayout *hboxLayout5;
    QSpacerItem *Spacer3_2_2;
    QLabel *m_endLabel1;
    KIntNumInput *m_RemainingEdit;
    QLabel *m_endLabel2;
    kMyMoneyDateInput *m_FinalPaymentEdit;
    QSpacerItem *spacer12;
    QHBoxLayout *hboxLayout6;
    KPushButton *buttonHelp;
    QSpacerItem *Spacer1_2;
    KPushButton *buttonOk;
    KPushButton *buttonCancel;

    void setupUi(QDialog *KEditScheduleDlgDecl)
    {
        if (KEditScheduleDlgDecl->objectName().isEmpty())
            KEditScheduleDlgDecl->setObjectName(QString::fromUtf8("KEditScheduleDlgDecl"));
        KEditScheduleDlgDecl->resize(798, 640);
        KEditScheduleDlgDecl->setSizeGripEnabled(true);
        vboxLayout = new QVBoxLayout(KEditScheduleDlgDecl);
        vboxLayout->setSpacing(6);
        vboxLayout->setContentsMargins(11, 11, 11, 11);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        textLabel1 = new QLabel(KEditScheduleDlgDecl);
        textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
        textLabel1->setWordWrap(false);

        hboxLayout1->addWidget(textLabel1);

        m_nameEdit = new KLineEdit(KEditScheduleDlgDecl);
        m_nameEdit->setObjectName(QString::fromUtf8("m_nameEdit"));
        m_nameEdit->setFocusPolicy(Qt::StrongFocus);

        hboxLayout1->addWidget(m_nameEdit);


        hboxLayout->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setSpacing(6);
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        textLabel3 = new QLabel(KEditScheduleDlgDecl);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        textLabel3->setWordWrap(false);

        hboxLayout2->addWidget(textLabel3);

        m_frequencyNoEdit = new KIntNumInput(KEditScheduleDlgDecl);
        m_frequencyNoEdit->setObjectName(QString::fromUtf8("m_frequencyNoEdit"));
        m_frequencyNoEdit->setMaximum(999);
        m_frequencyNoEdit->setMinimum(1);
        m_frequencyNoEdit->setFocusPolicy(Qt::StrongFocus);

        hboxLayout2->addWidget(m_frequencyNoEdit);

        m_frequencyEdit = new KMyMoneyOccurrencePeriodCombo(KEditScheduleDlgDecl);
        m_frequencyEdit->setObjectName(QString::fromUtf8("m_frequencyEdit"));

        hboxLayout2->addWidget(m_frequencyEdit);


        hboxLayout->addLayout(hboxLayout2);


        vboxLayout->addLayout(hboxLayout);

        m_paymentInformation = new QGroupBox(KEditScheduleDlgDecl);
        m_paymentInformation->setObjectName(QString::fromUtf8("m_paymentInformation"));
        m_paymentInformationLayout = new QVBoxLayout(m_paymentInformation);
        m_paymentInformationLayout->setSpacing(6);
        m_paymentInformationLayout->setContentsMargins(11, 11, 11, 11);
        m_paymentInformationLayout->setObjectName(QString::fromUtf8("m_paymentInformationLayout"));
        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setSpacing(6);
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        textLabel1_3 = new QLabel(m_paymentInformation);
        textLabel1_3->setObjectName(QString::fromUtf8("textLabel1_3"));
        textLabel1_3->setWordWrap(false);

        hboxLayout3->addWidget(textLabel1_3);

        m_paymentMethodEdit = new KMyMoneyGeneralCombo(m_paymentInformation);
        m_paymentMethodEdit->setObjectName(QString::fromUtf8("m_paymentMethodEdit"));
        QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(3), static_cast<QSizePolicy::Policy>(0));
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_paymentMethodEdit->sizePolicy().hasHeightForWidth());
        m_paymentMethodEdit->setSizePolicy(sizePolicy);

        hboxLayout3->addWidget(m_paymentMethodEdit);

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

        hboxLayout3->addItem(spacer4);


        m_paymentInformationLayout->addLayout(hboxLayout3);

        line1 = new QFrame(m_paymentInformation);
        line1->setObjectName(QString::fromUtf8("line1"));
        line1->setFrameShape(QFrame::HLine);
        line1->setFrameShadow(QFrame::Sunken);

        m_paymentInformationLayout->addWidget(line1);

        m_register = new KMyMoneyRegister::Register(m_paymentInformation);
        m_register->setObjectName(QString::fromUtf8("m_register"));
        m_register->setRowCount(0);
        m_register->setColumnCount(12);

        m_paymentInformationLayout->addWidget(m_register);

        m_form = new KMyMoneyTransactionForm::TransactionForm(m_paymentInformation);
        m_form->setObjectName(QString::fromUtf8("m_form"));
        m_form->setRowCount(5);
        m_form->setColumnCount(1);

        m_paymentInformationLayout->addWidget(m_form);


        vboxLayout->addWidget(m_paymentInformation);

        groupBox2 = new QGroupBox(KEditScheduleDlgDecl);
        groupBox2->setObjectName(QString::fromUtf8("groupBox2"));
        vboxLayout1 = new QVBoxLayout(groupBox2);
        vboxLayout1->setSpacing(6);
        vboxLayout1->setContentsMargins(11, 11, 11, 11);
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        gridLayout = new QGridLayout();
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        m_weekendOptionEdit = new KComboBox(groupBox2);
        m_weekendOptionEdit->setObjectName(QString::fromUtf8("m_weekendOptionEdit"));

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

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

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


        vboxLayout1->addLayout(gridLayout);

        hboxLayout4 = new QHBoxLayout();
        hboxLayout4->setSpacing(6);
        hboxLayout4->setObjectName(QString::fromUtf8("hboxLayout4"));
        m_estimateEdit = new QCheckBox(groupBox2);
        m_estimateEdit->setObjectName(QString::fromUtf8("m_estimateEdit"));

        hboxLayout4->addWidget(m_estimateEdit);

        m_variation = new KIntSpinBox(groupBox2);
        m_variation->setObjectName(QString::fromUtf8("m_variation"));
        m_variation->setEnabled(false);
        m_variation->setValue(10);

        hboxLayout4->addWidget(m_variation);

        spacer5 = new QSpacerItem(21, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout4->addItem(spacer5);


        vboxLayout1->addLayout(hboxLayout4);

        m_lastDayInMonthEdit = new QCheckBox(groupBox2);
        m_lastDayInMonthEdit->setObjectName(QString::fromUtf8("m_lastDayInMonthEdit"));

        vboxLayout1->addWidget(m_lastDayInMonthEdit);

        m_autoEnterEdit = new QCheckBox(groupBox2);
        m_autoEnterEdit->setObjectName(QString::fromUtf8("m_autoEnterEdit"));

        vboxLayout1->addWidget(m_autoEnterEdit);

        m_endSeriesEdit = new QCheckBox(groupBox2);
        m_endSeriesEdit->setObjectName(QString::fromUtf8("m_endSeriesEdit"));

        vboxLayout1->addWidget(m_endSeriesEdit);

        m_endOptionsFrame = new QFrame(groupBox2);
        m_endOptionsFrame->setObjectName(QString::fromUtf8("m_endOptionsFrame"));
        m_endOptionsFrame->setFrameShape(QFrame::NoFrame);
        m_endOptionsFrame->setFrameShadow(QFrame::Raised);
        hboxLayout5 = new QHBoxLayout(m_endOptionsFrame);
        hboxLayout5->setSpacing(6);
        hboxLayout5->setContentsMargins(0, 0, 0, 0);
        hboxLayout5->setObjectName(QString::fromUtf8("hboxLayout5"));
        Spacer3_2_2 = new QSpacerItem(20, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        hboxLayout5->addItem(Spacer3_2_2);

        m_endLabel1 = new QLabel(m_endOptionsFrame);
        m_endLabel1->setObjectName(QString::fromUtf8("m_endLabel1"));
        m_endLabel1->setWordWrap(false);

        hboxLayout5->addWidget(m_endLabel1);

        m_RemainingEdit = new KIntNumInput(m_endOptionsFrame);
        m_RemainingEdit->setObjectName(QString::fromUtf8("m_RemainingEdit"));
        m_RemainingEdit->setMinimum(0);
        m_RemainingEdit->setMaximum(9999);

        hboxLayout5->addWidget(m_RemainingEdit);

        m_endLabel2 = new QLabel(m_endOptionsFrame);
        m_endLabel2->setObjectName(QString::fromUtf8("m_endLabel2"));
        m_endLabel2->setWordWrap(false);

        hboxLayout5->addWidget(m_endLabel2);

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

        hboxLayout5->addWidget(m_FinalPaymentEdit);


        vboxLayout1->addWidget(m_endOptionsFrame);


        vboxLayout->addWidget(groupBox2);

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

        vboxLayout->addItem(spacer12);

        hboxLayout6 = new QHBoxLayout();
        hboxLayout6->setSpacing(6);
        hboxLayout6->setContentsMargins(0, 0, 0, 0);
        hboxLayout6->setObjectName(QString::fromUtf8("hboxLayout6"));
        buttonHelp = new KPushButton(KEditScheduleDlgDecl);
        buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));

        hboxLayout6->addWidget(buttonHelp);

        Spacer1_2 = new QSpacerItem(280, 0, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout6->addItem(Spacer1_2);

        buttonOk = new KPushButton(KEditScheduleDlgDecl);
        buttonOk->setObjectName(QString::fromUtf8("buttonOk"));
        buttonOk->setAutoDefault(true);
        buttonOk->setDefault(true);

        hboxLayout6->addWidget(buttonOk);

        buttonCancel = new KPushButton(KEditScheduleDlgDecl);
        buttonCancel->setObjectName(QString::fromUtf8("buttonCancel"));

        hboxLayout6->addWidget(buttonCancel);


        vboxLayout->addLayout(hboxLayout6);


        retranslateUi(KEditScheduleDlgDecl);
        QObject::connect(buttonOk, SIGNAL(clicked()), KEditScheduleDlgDecl, SLOT(accept()));
        QObject::connect(m_endSeriesEdit, SIGNAL(toggled(bool)), m_endOptionsFrame, SLOT(setEnabled(bool)));
        QObject::connect(buttonCancel, SIGNAL(clicked()), KEditScheduleDlgDecl, SLOT(reject()));
        QObject::connect(m_estimateEdit, SIGNAL(toggled(bool)), m_variation, SLOT(setEnabled(bool)));

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

    void retranslateUi(QDialog *KEditScheduleDlgDecl)
    {
        KEditScheduleDlgDecl->setWindowTitle(tr2i18n("Edit Scheduled transaction", 0));
        textLabel1->setText(tr2i18n("Schedule name:", 0));
        textLabel3->setText(tr2i18n("Frequency:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_frequencyNoEdit->setProperty("toolTip", QVariant(tr2i18n("Number of selected periods between entries", 0)));
#endif // QT_NO_TOOLTIP
        m_paymentInformation->setTitle(tr2i18n("Payment information", 0));
        textLabel1_3->setText(tr2i18n("Payment method", 0));
        groupBox2->setTitle(tr2i18n("Options", 0));
        m_weekendOptionEdit->clear();
        m_weekendOptionEdit->insertItems(0, QStringList()
         << tr2i18n("Do nothing", 0)
         << tr2i18n("Change the date to the previous processing day", 0)
         << tr2i18n("Change the date to the next processing day", 0)
        );
        textLabel1_2->setText(tr2i18n("If this schedule occurs on a non-processing day:", 0));
        m_estimateEdit->setText(tr2i18n("The amount is an estimate because it varies for each payment", 0));
        m_lastDayInMonthEdit->setText(tr2i18n("Always process this schedule the last day of a month", 0));
        m_autoEnterEdit->setText(tr2i18n("Enter this schedule into the register automatically when it is due", 0));
        m_endSeriesEdit->setText(tr2i18n("This schedule will end at some time", 0));
        m_endLabel1->setText(tr2i18n("Number of transactions remaining:", 0));
        m_endLabel2->setText(tr2i18n("Date of final transaction:", 0));
        buttonHelp->setText(tr2i18n("Help", 0));
        buttonOk->setText(tr2i18n("OK", 0));
        buttonCancel->setText(tr2i18n("Cancel", 0));
    } // retranslateUi

};

namespace Ui {
    class KEditScheduleDlgDecl: public Ui_KEditScheduleDlgDecl {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KEDITSCHEDULEDLGDECL_H

