#include <klocalizedstring.h>

/********************************************************************************
** Form generated from reading UI file 'kbpickstartdate.ui'
**
** Created by: Qt User Interface Compiler version 5.9.1
**
** 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 <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QTextBrowser>
#include <QtWidgets/QVBoxLayout>
#include "kmymoneydateinput.h"

QT_BEGIN_NAMESPACE

class Ui_KBPickStartDate
{
public:
    QVBoxLayout *verticalLayout;
    QTextBrowser *label;
    QGroupBox *buttonGroup;
    QGridLayout *gridLayout;
    QRadioButton *noDateButton;
    QRadioButton *lastUpdateButton;
    QLabel *lastUpdateLabel;
    QRadioButton *firstDateButton;
    QLabel *firstDateLabel;
    QRadioButton *pickDateButton;
    KMyMoneyDateInput *pickDateEdit;
    QDialogButtonBox *buttonBox;

    void setupUi(QDialog *KBPickStartDate)
    {
        if (KBPickStartDate->objectName().isEmpty())
            KBPickStartDate->setObjectName(QStringLiteral("KBPickStartDate"));
        KBPickStartDate->resize(511, 404);
        KBPickStartDate->setSizeGripEnabled(true);
        verticalLayout = new QVBoxLayout(KBPickStartDate);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(11, 11, 11, 11);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        label = new QTextBrowser(KBPickStartDate);
        label->setObjectName(QStringLiteral("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(QStringLiteral("buttonGroup"));
        gridLayout = new QGridLayout(buttonGroup);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        noDateButton = new QRadioButton(buttonGroup);
        noDateButton->setObjectName(QStringLiteral("noDateButton"));

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

        lastUpdateButton = new QRadioButton(buttonGroup);
        lastUpdateButton->setObjectName(QStringLiteral("lastUpdateButton"));

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

        lastUpdateLabel = new QLabel(buttonGroup);
        lastUpdateLabel->setObjectName(QStringLiteral("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(QStringLiteral("firstDateButton"));

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

        firstDateLabel = new QLabel(buttonGroup);
        firstDateLabel->setObjectName(QStringLiteral("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(QStringLiteral("pickDateButton"));
        pickDateButton->setChecked(true);

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

        pickDateEdit = new KMyMoneyDateInput(buttonGroup);
        pickDateEdit->setObjectName(QStringLiteral("pickDateEdit"));

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


        verticalLayout->addWidget(buttonGroup);

        buttonBox = new QDialogButtonBox(KBPickStartDate);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok);

        verticalLayout->addWidget(buttonBox);

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

        retranslateUi(KBPickStartDate);
        QObject::connect(pickDateButton, SIGNAL(toggled(bool)), pickDateEdit, SLOT(setEnabled(bool)));
        QObject::connect(buttonBox, SIGNAL(accepted()), KBPickStartDate, SLOT(accept()));
        QObject::connect(buttonBox, SIGNAL(rejected()), KBPickStartDate, SLOT(reject()));

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

    void retranslateUi(QDialog *KBPickStartDate)
    {
        KBPickStartDate->setWindowTitle(tr2i18n("Pick Start Date", Q_NULLPTR));
        buttonGroup->setTitle(tr2i18n("Start Date", Q_NULLPTR));
        noDateButton->setText(tr2i18n("&No date (let the bank determine the start date)", Q_NULLPTR));
        lastUpdateButton->setText(tr2i18n("&Last Update", Q_NULLPTR));
        lastUpdateLabel->setText(QString());
        firstDateButton->setText(tr2i18n("F&irst possible date", Q_NULLPTR));
        firstDateLabel->setText(QString());
        pickDateButton->setText(tr2i18n("Pick &date", Q_NULLPTR));
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // KBPICKSTARTDATE_H

