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

/********************************************************************************
** Form generated from reading UI file 'kbpickstartdate.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_KBPICKSTARTDATE_H
#define UI_KBPICKSTARTDATE_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <ktextbrowser.h>
#include "kmymoneydateinput.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_KBPickStartDate
{
public:
    QVBoxLayout *verticalLayout;
    KTextBrowser *label;
    QGroupBox *buttonGroup;
    QGridLayout *gridLayout;
    QRadioButton *noDateButton;
    QRadioButton *lastUpdateButton;
    QLabel *lastUpdateLabel;
    QRadioButton *firstDateButton;
    QLabel *firstDateLabel;
    QRadioButton *pickDateButton;
    kMyMoneyDateInput *pickDateEdit;
    QHBoxLayout *hboxLayout;
    KPushButton *buttonHelp;
    QSpacerItem *Horizontal_Spacing2;
    KPushButton *buttonOk;
    KPushButton *buttonCancel;

    void setupUi(QDialog *KBPickStartDate)
    {
        if (KBPickStartDate->objectName().isEmpty())
            KBPickStartDate->setObjectName(QString::fromUtf8("KBPickStartDate"));
        KBPickStartDate->resize(511, 404);
        KBPickStartDate->setSizeGripEnabled(true);
        verticalLayout = new QVBoxLayout(KBPickStartDate);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        label = new KTextBrowser(KBPickStartDate);
        label->setObjectName(QString::fromUtf8("label"));
        label->setFrameShape(QFrame::Panel);
        label->setFrameShadow(QFrame::Raised);
        label->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
        label->setAutoFormatting(QTextEdit::AutoAll);

        verticalLayout->addWidget(label);

        buttonGroup = new QGroupBox(KBPickStartDate);
        buttonGroup->setObjectName(QString::fromUtf8("buttonGroup"));
        gridLayout = new QGridLayout(buttonGroup);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        noDateButton = new QRadioButton(buttonGroup);
        noDateButton->setObjectName(QString::fromUtf8("noDateButton"));

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

        lastUpdateButton = new QRadioButton(buttonGroup);
        lastUpdateButton->setObjectName(QString::fromUtf8("lastUpdateButton"));

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

        lastUpdateLabel = new QLabel(buttonGroup);
        lastUpdateLabel->setObjectName(QString::fromUtf8("lastUpdateLabel"));
        lastUpdateLabel->setFrameShape(QFrame::Panel);
        lastUpdateLabel->setFrameShadow(QFrame::Sunken);
        lastUpdateLabel->setWordWrap(false);

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

        firstDateButton = new QRadioButton(buttonGroup);
        firstDateButton->setObjectName(QString::fromUtf8("firstDateButton"));

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

        firstDateLabel = new QLabel(buttonGroup);
        firstDateLabel->setObjectName(QString::fromUtf8("firstDateLabel"));
        firstDateLabel->setFrameShape(QFrame::Panel);
        firstDateLabel->setFrameShadow(QFrame::Sunken);
        firstDateLabel->setWordWrap(false);

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

        pickDateButton = new QRadioButton(buttonGroup);
        pickDateButton->setObjectName(QString::fromUtf8("pickDateButton"));
        pickDateButton->setChecked(true);

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

        pickDateEdit = new kMyMoneyDateInput(buttonGroup);
        pickDateEdit->setObjectName(QString::fromUtf8("pickDateEdit"));

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


        verticalLayout->addWidget(buttonGroup);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setSpacing(6);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        buttonHelp = new KPushButton(KBPickStartDate);
        buttonHelp->setObjectName(QString::fromUtf8("buttonHelp"));

        hboxLayout->addWidget(buttonHelp);

        Horizontal_Spacing2 = new QSpacerItem(50, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(Horizontal_Spacing2);

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

        hboxLayout->addWidget(buttonOk);

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

        hboxLayout->addWidget(buttonCancel);


        verticalLayout->addLayout(hboxLayout);

        QWidget::setTabOrder(noDateButton, lastUpdateButton);
        QWidget::setTabOrder(lastUpdateButton, firstDateButton);
        QWidget::setTabOrder(firstDateButton, pickDateButton);

        retranslateUi(KBPickStartDate);
        QObject::connect(buttonOk, SIGNAL(clicked()), KBPickStartDate, SLOT(accept()));
        QObject::connect(buttonCancel, SIGNAL(clicked()), KBPickStartDate, SLOT(reject()));
        QObject::connect(pickDateButton, SIGNAL(toggled(bool)), pickDateEdit, SLOT(setEnabled(bool)));

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

    void retranslateUi(QDialog *KBPickStartDate)
    {
        KBPickStartDate->setWindowTitle(tr2i18n("Pick Start Date", 0));
        buttonGroup->setTitle(tr2i18n("Start Date", 0));
        noDateButton->setText(tr2i18n("No date (let the bank determine the start date)", 0));
        lastUpdateButton->setText(tr2i18n("Last Update", 0));
        lastUpdateLabel->setText(QString());
        firstDateButton->setText(tr2i18n("First possible date", 0));
        firstDateLabel->setText(QString());
        pickDateButton->setText(tr2i18n("Pick date", 0));
        buttonHelp->setText(tr2i18n("&Help", 0));
        buttonOk->setText(tr2i18n("&OK", 0));
        buttonCancel->setText(tr2i18n("&Cancel", 0));
    } // retranslateUi

};

namespace Ui {
    class KBPickStartDate: public Ui_KBPickStartDate {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KBPICKSTARTDATE_H

