#include <klocalizedstring.h>

/*
Configuration page for the print journal mode.
*/

/********************************************************************************
** Form generated from reading UI file 'calprintjournalconfig_base.ui'
**
** Created by: Qt User Interface Compiler version 5.9.4
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CALPRINTJOURNALCONFIG_BASE_H
#define UI_CALPRINTJOURNALCONFIG_BASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kdatecombobox.h"

QT_BEGIN_NAMESPACE

class Ui_CalPrintJournalConfig_Base
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *label;
    QGroupBox *mDateRangeGroup;
    QVBoxLayout *vboxLayout1;
    QRadioButton *mAllJournals;
    QRadioButton *mRangeJournals;
    QHBoxLayout *mDateRangeLayout;
    QSpacerItem *spacerItem;
    QLabel *mFromDateLabel;
    KDateComboBox *mFromDate;
    QLabel *mToDateLabel;
    KDateComboBox *mToDate;
    QSpacerItem *spacerItem1;
    QSpacerItem *spacerItem2;
    QButtonGroup *buttonGroup;

    void setupUi(QWidget *CalPrintJournalConfig_Base)
    {
        if (CalPrintJournalConfig_Base->objectName().isEmpty())
            CalPrintJournalConfig_Base->setObjectName(QStringLiteral("CalPrintJournalConfig_Base"));
        CalPrintJournalConfig_Base->resize(507, 311);
        vboxLayout = new QVBoxLayout(CalPrintJournalConfig_Base);
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
        vboxLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(CalPrintJournalConfig_Base);
        label->setObjectName(QStringLiteral("label"));

        vboxLayout->addWidget(label);

        mDateRangeGroup = new QGroupBox(CalPrintJournalConfig_Base);
        mDateRangeGroup->setObjectName(QStringLiteral("mDateRangeGroup"));
        vboxLayout1 = new QVBoxLayout(mDateRangeGroup);
        vboxLayout1->setObjectName(QStringLiteral("vboxLayout1"));
        mAllJournals = new QRadioButton(mDateRangeGroup);
        buttonGroup = new QButtonGroup(CalPrintJournalConfig_Base);
        buttonGroup->setObjectName(QStringLiteral("buttonGroup"));
        buttonGroup->addButton(mAllJournals);
        mAllJournals->setObjectName(QStringLiteral("mAllJournals"));

        vboxLayout1->addWidget(mAllJournals);

        mRangeJournals = new QRadioButton(mDateRangeGroup);
        buttonGroup->addButton(mRangeJournals);
        mRangeJournals->setObjectName(QStringLiteral("mRangeJournals"));
        mRangeJournals->setFocusPolicy(Qt::TabFocus);

        vboxLayout1->addWidget(mRangeJournals);

        mDateRangeLayout = new QHBoxLayout();
        mDateRangeLayout->setSpacing(6);
        mDateRangeLayout->setObjectName(QStringLiteral("mDateRangeLayout"));
        mDateRangeLayout->setContentsMargins(0, 0, 0, 0);
        spacerItem = new QSpacerItem(15, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        mDateRangeLayout->addItem(spacerItem);

        mFromDateLabel = new QLabel(mDateRangeGroup);
        mFromDateLabel->setObjectName(QStringLiteral("mFromDateLabel"));

        mDateRangeLayout->addWidget(mFromDateLabel);

        mFromDate = new KDateComboBox(mDateRangeGroup);
        mFromDate->setObjectName(QStringLiteral("mFromDate"));
        mFromDate->setFocusPolicy(Qt::StrongFocus);

        mDateRangeLayout->addWidget(mFromDate);

        mToDateLabel = new QLabel(mDateRangeGroup);
        mToDateLabel->setObjectName(QStringLiteral("mToDateLabel"));

        mDateRangeLayout->addWidget(mToDateLabel);

        mToDate = new KDateComboBox(mDateRangeGroup);
        mToDate->setObjectName(QStringLiteral("mToDate"));
        mToDate->setFocusPolicy(Qt::StrongFocus);

        mDateRangeLayout->addWidget(mToDate);

        spacerItem1 = new QSpacerItem(324, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        mDateRangeLayout->addItem(spacerItem1);


        vboxLayout1->addLayout(mDateRangeLayout);


        vboxLayout->addWidget(mDateRangeGroup);

        spacerItem2 = new QSpacerItem(301, 211, QSizePolicy::Minimum, QSizePolicy::Expanding);

        vboxLayout->addItem(spacerItem2);

#ifndef UI_QT_NO_SHORTCUT
        mFromDateLabel->setBuddy(mFromDate);
        mToDateLabel->setBuddy(mToDate);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(mFromDate, mToDate);

        retranslateUi(CalPrintJournalConfig_Base);
        QObject::connect(mRangeJournals, SIGNAL(toggled(bool)), mFromDate, SLOT(setEnabled(bool)));
        QObject::connect(mRangeJournals, SIGNAL(toggled(bool)), mFromDateLabel, SLOT(setEnabled(bool)));
        QObject::connect(mRangeJournals, SIGNAL(toggled(bool)), mToDate, SLOT(setEnabled(bool)));
        QObject::connect(mRangeJournals, SIGNAL(toggled(bool)), mToDateLabel, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *CalPrintJournalConfig_Base)
    {
        label->setText(tr2i18n("<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Print journal options:</span></p></body></html>", Q_NULLPTR));
        mDateRangeGroup->setTitle(tr2i18n("Date && Time Range", Q_NULLPTR));
        mAllJournals->setText(tr2i18n("&All journal entries", Q_NULLPTR));
        mRangeJournals->setText(tr2i18n("Date &range:", Q_NULLPTR));
        mFromDateLabel->setText(tr2i18n("&Start date:", Q_NULLPTR));
        mToDateLabel->setText(tr2i18n("&End date:", Q_NULLPTR));
        Q_UNUSED(CalPrintJournalConfig_Base);
    } // retranslateUi

};

namespace Ui {
    class CalPrintJournalConfig_Base: public Ui_CalPrintJournalConfig_Base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CALPRINTJOURNALCONFIG_BASE_H

