#include <klocalizedstring.h>

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

/********************************************************************************
** Form generated from reading UI file 'calprintyearconfig_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_CALPRINTYEARCONFIG_BASE_H
#define UI_CALPRINTYEARCONFIG_BASE_H

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

QT_BEGIN_NAMESPACE

class Ui_CalPrintYearConfig_Base
{
public:
    QVBoxLayout *verticalLayout_3;
    QLabel *label;
    QGroupBox *mDateRangeGroup;
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout;
    QLabel *mYearLabel;
    QSpinBox *mYear;
    QSpacerItem *spacer4;
    QGroupBox *mDisplayOptionsGroup;
    QVBoxLayout *verticalLayout;
    QGridLayout *gridLayout;
    QLabel *mPagesLabel;
    KComboBox *mPages;
    QLabel *mSubDaysLabel;
    KComboBox *mSubDays;
    QLabel *mHolidaysLabel;
    KComboBox *mHolidays;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *CalPrintYearConfig_Base)
    {
        if (CalPrintYearConfig_Base->objectName().isEmpty())
            CalPrintYearConfig_Base->setObjectName(QStringLiteral("CalPrintYearConfig_Base"));
        CalPrintYearConfig_Base->resize(428, 313);
        verticalLayout_3 = new QVBoxLayout(CalPrintYearConfig_Base);
        verticalLayout_3->setObjectName(QStringLiteral("verticalLayout_3"));
        verticalLayout_3->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(CalPrintYearConfig_Base);
        label->setObjectName(QStringLiteral("label"));

        verticalLayout_3->addWidget(label);

        mDateRangeGroup = new QGroupBox(CalPrintYearConfig_Base);
        mDateRangeGroup->setObjectName(QStringLiteral("mDateRangeGroup"));
        mDateRangeGroup->setProperty("selectedId", QVariant(-1));
        verticalLayout_2 = new QVBoxLayout(mDateRangeGroup);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QStringLiteral("horizontalLayout"));
        mYearLabel = new QLabel(mDateRangeGroup);
        mYearLabel->setObjectName(QStringLiteral("mYearLabel"));
        mYearLabel->setWordWrap(false);

        horizontalLayout->addWidget(mYearLabel);

        mYear = new QSpinBox(mDateRangeGroup);
        mYear->setObjectName(QStringLiteral("mYear"));
        mYear->setMinimum(0);
        mYear->setMaximum(2500);
        mYear->setValue(2012);

        horizontalLayout->addWidget(mYear);

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

        horizontalLayout->addItem(spacer4);


        verticalLayout_2->addLayout(horizontalLayout);


        verticalLayout_3->addWidget(mDateRangeGroup);

        mDisplayOptionsGroup = new QGroupBox(CalPrintYearConfig_Base);
        mDisplayOptionsGroup->setObjectName(QStringLiteral("mDisplayOptionsGroup"));
        verticalLayout = new QVBoxLayout(mDisplayOptionsGroup);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        mPagesLabel = new QLabel(mDisplayOptionsGroup);
        mPagesLabel->setObjectName(QStringLiteral("mPagesLabel"));
        mPagesLabel->setWordWrap(false);

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

        mPages = new KComboBox(mDisplayOptionsGroup);
        mPages->setObjectName(QStringLiteral("mPages"));

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

        mSubDaysLabel = new QLabel(mDisplayOptionsGroup);
        mSubDaysLabel->setObjectName(QStringLiteral("mSubDaysLabel"));
        mSubDaysLabel->setWordWrap(false);

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

        mSubDays = new KComboBox(mDisplayOptionsGroup);
        mSubDays->setObjectName(QStringLiteral("mSubDays"));

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

        mHolidaysLabel = new QLabel(mDisplayOptionsGroup);
        mHolidaysLabel->setObjectName(QStringLiteral("mHolidaysLabel"));
        mHolidaysLabel->setWordWrap(false);

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

        mHolidays = new KComboBox(mDisplayOptionsGroup);
        mHolidays->setObjectName(QStringLiteral("mHolidays"));

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


        verticalLayout->addLayout(gridLayout);


        verticalLayout_3->addWidget(mDisplayOptionsGroup);

        verticalSpacer = new QSpacerItem(20, 71, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout_3->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        mYearLabel->setBuddy(mYear);
        mPagesLabel->setBuddy(mPages);
#endif // QT_NO_SHORTCUT

        retranslateUi(CalPrintYearConfig_Base);

        mSubDays->setCurrentIndex(1);


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

    void retranslateUi(QWidget *CalPrintYearConfig_Base)
    {
        label->setText(tr2i18n("<html><head/><body><p><span style=\" font-size:9pt; font-weight:600;\">Print year options:</span></p></body></html>", Q_NULLPTR));
        mDateRangeGroup->setTitle(tr2i18n("Date Range", Q_NULLPTR));
        mYearLabel->setText(tr2i18n("&Year:", Q_NULLPTR));
        mDisplayOptionsGroup->setTitle(tr2i18n("General", Q_NULLPTR));
        mPagesLabel->setText(tr2i18n("Num&ber of pages:", Q_NULLPTR));
        mSubDaysLabel->setText(tr2i18n("Show sub-day events as:", Q_NULLPTR));
        mSubDays->clear();
        mSubDays->insertItems(0, QStringList()
         << tr2i18n("Text", Q_NULLPTR)
         << tr2i18n("Time Boxes", Q_NULLPTR)
        );
        mHolidaysLabel->setText(tr2i18n("Show holidays as:", Q_NULLPTR));
        mHolidays->clear();
        mHolidays->insertItems(0, QStringList()
         << tr2i18n("Text", Q_NULLPTR)
         << tr2i18n("Time Boxes", Q_NULLPTR)
        );
        Q_UNUSED(CalPrintYearConfig_Base);
    } // retranslateUi

};

namespace Ui {
    class CalPrintYearConfig_Base: public Ui_CalPrintYearConfig_Base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CALPRINTYEARCONFIG_BASE_H

