#include <klocalizedstring.h>

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

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

#ifndef UI_CALPRINTWEEKCONFIG_BASE_H
#define UI_CALPRINTWEEKCONFIG_BASE_H

#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QTimeEdit>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kdatecombobox.h"

QT_BEGIN_NAMESPACE

class Ui_CalPrintWeekConfig_Base
{
public:
    QVBoxLayout *verticalLayout_2;
    QLabel *label;
    QGroupBox *mDateRangeGroup;
    QGridLayout *gridLayout;
    QSpacerItem *spacerItem;
    QLabel *mFromDateLabel;
    KDateComboBox *mFromDate;
    QLabel *mToTimeLabel;
    QSpacerItem *spacerItem1;
    QTimeEdit *mToTime;
    QLabel *mFromTimeLabel;
    QTimeEdit *mFromTime;
    KDateComboBox *mToDate;
    QLabel *mToDateLabel;
    QGroupBox *mPrintType;
    QVBoxLayout *vboxLayout;
    QRadioButton *mPrintTypeFilofax;
    QRadioButton *mPrintTypeTimetable;
    QRadioButton *mPrintTypeSplitWeek;
    QGroupBox *mSecurity;
    QHBoxLayout *horizontalLayout;
    QCheckBox *mExcludeConfidential;
    QCheckBox *mExcludePrivate;
    QGroupBox *mIncludeInfoGroup;
    QGridLayout *includeInfoLayout;
    QCheckBox *mIncludeDescription;
    QCheckBox *mIncludeTodos;
    QCheckBox *mExcludeTime;
    QGroupBox *mGeneralGroup;
    QVBoxLayout *verticalLayout;
    QCheckBox *mSingleLineLimit;
    QCheckBox *mShowNoteLines;
    QCheckBox *mColors;
    QCheckBox *mPrintFooter;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *CalPrintWeekConfig_Base)
    {
        if (CalPrintWeekConfig_Base->objectName().isEmpty())
            CalPrintWeekConfig_Base->setObjectName(QString::fromUtf8("CalPrintWeekConfig_Base"));
        CalPrintWeekConfig_Base->resize(684, 616);
        verticalLayout_2 = new QVBoxLayout(CalPrintWeekConfig_Base);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(CalPrintWeekConfig_Base);
        label->setObjectName(QString::fromUtf8("label"));

        verticalLayout_2->addWidget(label);

        mDateRangeGroup = new QGroupBox(CalPrintWeekConfig_Base);
        mDateRangeGroup->setObjectName(QString::fromUtf8("mDateRangeGroup"));
        gridLayout = new QGridLayout(mDateRangeGroup);
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setContentsMargins(9, 0, 9, 9);
        spacerItem = new QSpacerItem(16, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem, 0, 4, 1, 1);

        mFromDateLabel = new QLabel(mDateRangeGroup);
        mFromDateLabel->setObjectName(QString::fromUtf8("mFromDateLabel"));

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

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

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

        mToTimeLabel = new QLabel(mDateRangeGroup);
        mToTimeLabel->setObjectName(QString::fromUtf8("mToTimeLabel"));

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

        spacerItem1 = new QSpacerItem(110, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem1, 1, 4, 1, 1);

        mToTime = new QTimeEdit(mDateRangeGroup);
        mToTime->setObjectName(QString::fromUtf8("mToTime"));
        mToTime->setTime(QTime(18, 0, 0));

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

        mFromTimeLabel = new QLabel(mDateRangeGroup);
        mFromTimeLabel->setObjectName(QString::fromUtf8("mFromTimeLabel"));

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

        mFromTime = new QTimeEdit(mDateRangeGroup);
        mFromTime->setObjectName(QString::fromUtf8("mFromTime"));
        mFromTime->setTime(QTime(8, 0, 0));

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

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

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

        mToDateLabel = new QLabel(mDateRangeGroup);
        mToDateLabel->setObjectName(QString::fromUtf8("mToDateLabel"));

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


        verticalLayout_2->addWidget(mDateRangeGroup);

        mPrintType = new QGroupBox(CalPrintWeekConfig_Base);
        mPrintType->setObjectName(QString::fromUtf8("mPrintType"));
        vboxLayout = new QVBoxLayout(mPrintType);
        vboxLayout->setSpacing(6);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        vboxLayout->setContentsMargins(9, 0, 9, 9);
        mPrintTypeFilofax = new QRadioButton(mPrintType);
        mPrintTypeFilofax->setObjectName(QString::fromUtf8("mPrintTypeFilofax"));
        mPrintTypeFilofax->setChecked(true);

        vboxLayout->addWidget(mPrintTypeFilofax);

        mPrintTypeTimetable = new QRadioButton(mPrintType);
        mPrintTypeTimetable->setObjectName(QString::fromUtf8("mPrintTypeTimetable"));

        vboxLayout->addWidget(mPrintTypeTimetable);

        mPrintTypeSplitWeek = new QRadioButton(mPrintType);
        mPrintTypeSplitWeek->setObjectName(QString::fromUtf8("mPrintTypeSplitWeek"));

        vboxLayout->addWidget(mPrintTypeSplitWeek);


        verticalLayout_2->addWidget(mPrintType);

        mSecurity = new QGroupBox(CalPrintWeekConfig_Base);
        mSecurity->setObjectName(QString::fromUtf8("mSecurity"));
        horizontalLayout = new QHBoxLayout(mSecurity);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(-1, 0, -1, -1);
        mExcludeConfidential = new QCheckBox(mSecurity);
        mExcludeConfidential->setObjectName(QString::fromUtf8("mExcludeConfidential"));

        horizontalLayout->addWidget(mExcludeConfidential);

        mExcludePrivate = new QCheckBox(mSecurity);
        mExcludePrivate->setObjectName(QString::fromUtf8("mExcludePrivate"));

        horizontalLayout->addWidget(mExcludePrivate);


        verticalLayout_2->addWidget(mSecurity);

        mIncludeInfoGroup = new QGroupBox(CalPrintWeekConfig_Base);
        mIncludeInfoGroup->setObjectName(QString::fromUtf8("mIncludeInfoGroup"));
        includeInfoLayout = new QGridLayout(mIncludeInfoGroup);
        includeInfoLayout->setObjectName(QString::fromUtf8("includeInfoLayout"));
        mIncludeDescription = new QCheckBox(mIncludeInfoGroup);
        mIncludeDescription->setObjectName(QString::fromUtf8("mIncludeDescription"));

        includeInfoLayout->addWidget(mIncludeDescription, 0, 0, 1, 1);

        mIncludeTodos = new QCheckBox(mIncludeInfoGroup);
        mIncludeTodos->setObjectName(QString::fromUtf8("mIncludeTodos"));
        mIncludeTodos->setEnabled(false);

        includeInfoLayout->addWidget(mIncludeTodos, 1, 0, 1, 1);

        mExcludeTime = new QCheckBox(mIncludeInfoGroup);
        mExcludeTime->setObjectName(QString::fromUtf8("mExcludeTime"));

        includeInfoLayout->addWidget(mExcludeTime, 2, 0, 1, 1);


        verticalLayout_2->addWidget(mIncludeInfoGroup);

        mGeneralGroup = new QGroupBox(CalPrintWeekConfig_Base);
        mGeneralGroup->setObjectName(QString::fromUtf8("mGeneralGroup"));
        verticalLayout = new QVBoxLayout(mGeneralGroup);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        mSingleLineLimit = new QCheckBox(mGeneralGroup);
        mSingleLineLimit->setObjectName(QString::fromUtf8("mSingleLineLimit"));

        verticalLayout->addWidget(mSingleLineLimit);

        mShowNoteLines = new QCheckBox(mGeneralGroup);
        mShowNoteLines->setObjectName(QString::fromUtf8("mShowNoteLines"));

        verticalLayout->addWidget(mShowNoteLines);

        mColors = new QCheckBox(mGeneralGroup);
        mColors->setObjectName(QString::fromUtf8("mColors"));

        verticalLayout->addWidget(mColors);

        mPrintFooter = new QCheckBox(mGeneralGroup);
        mPrintFooter->setObjectName(QString::fromUtf8("mPrintFooter"));

        verticalLayout->addWidget(mPrintFooter);


        verticalLayout_2->addWidget(mGeneralGroup);

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

        verticalLayout_2->addItem(verticalSpacer);

#if QT_CONFIG(shortcut)
        mFromDateLabel->setBuddy(mFromDate);
        mToTimeLabel->setBuddy(mToTime);
        mFromTimeLabel->setBuddy(mFromTime);
        mToDateLabel->setBuddy(mToDate);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(mFromDate, mFromTime);
        QWidget::setTabOrder(mFromTime, mToDate);
        QWidget::setTabOrder(mToDate, mToTime);
        QWidget::setTabOrder(mToTime, mPrintTypeFilofax);
        QWidget::setTabOrder(mPrintTypeFilofax, mPrintTypeTimetable);
        QWidget::setTabOrder(mPrintTypeTimetable, mPrintTypeSplitWeek);
        QWidget::setTabOrder(mPrintTypeSplitWeek, mIncludeTodos);
        QWidget::setTabOrder(mIncludeTodos, mShowNoteLines);
        QWidget::setTabOrder(mShowNoteLines, mSingleLineLimit);
        QWidget::setTabOrder(mSingleLineLimit, mColors);

        retranslateUi(CalPrintWeekConfig_Base);

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

    void retranslateUi(QWidget *CalPrintWeekConfig_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 week options:</span></p></body></html>", nullptr));
        mDateRangeGroup->setTitle(tr2i18n("Date && Time Range", nullptr));
#if QT_CONFIG(tooltip)
        mFromDateLabel->setToolTip(tr2i18n("Starting date for the print", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mFromDateLabel->setWhatsThis(tr2i18n("Here you can choose which events should be printed based on their date. This check enables you to enter the start date of the date range. Use the <i>End date</i> to enter the end date of the daterange.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mFromDateLabel->setText(tr2i18n("&Start date:", nullptr));
        mFromDate->setItemText(0, tr2i18n("2009-01-19", nullptr));

#if QT_CONFIG(tooltip)
        mFromDate->setToolTip(tr2i18n("Starting date for the print", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mFromDate->setWhatsThis(tr2i18n("Here you can choose which events should be printed based on their date. This check enables you to enter the start date of the date range. Use the <i>End date</i> to enter the end date of the daterange.", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(whatsthis)
        mToTimeLabel->setWhatsThis(tr2i18n("All events which start later than the given time will not be printed.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mToTimeLabel->setText(tr2i18n("End ti&me:", nullptr));
#if QT_CONFIG(whatsthis)
        mToTime->setWhatsThis(tr2i18n("All events which start later than the given time will not be printed.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mToTime->setDisplayFormat(tr2i18n("hh:mm", nullptr));
#if QT_CONFIG(whatsthis)
        mFromTimeLabel->setWhatsThis(tr2i18n("All events which start earlier than the given time will not be printed.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mFromTimeLabel->setText(tr2i18n("Start &time:", nullptr));
#if QT_CONFIG(whatsthis)
        mFromTime->setWhatsThis(tr2i18n("All events which start earlier than the given time will not be printed.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mFromTime->setDisplayFormat(tr2i18n("hh:mm", nullptr));
        mToDate->setItemText(0, tr2i18n("2009-01-19", nullptr));

#if QT_CONFIG(whatsthis)
        mToDate->setWhatsThis(tr2i18n("Here you can choose which events should be printed based on their date. This check enables you to enter the end date of the date range. Use the <i>Start date</i> to enter the start date of the daterange.", nullptr));
#endif // QT_CONFIG(whatsthis)
#if QT_CONFIG(whatsthis)
        mToDateLabel->setWhatsThis(tr2i18n("Here you can choose which events should be printed based on their date. This check enables you to enter the end date of the date range. Use the <i>Start date</i> to enter the start date of the daterange.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mToDateLabel->setText(tr2i18n("&End date:", nullptr));
        mPrintType->setTitle(tr2i18n("Print Layout", nullptr));
#if QT_CONFIG(whatsthis)
        mPrintTypeFilofax->setWhatsThis(tr2i18n("The Filofax view prints one week per page, so all days have a large surface.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mPrintTypeFilofax->setText(tr2i18n("P&rint as Filofax page", nullptr));
#if QT_CONFIG(whatsthis)
        mPrintTypeTimetable->setWhatsThis(tr2i18n("This view is similar to the weekview. The week is printed in landscape layout. You can even use the same colors for the items if you check <i>Use Colors</i>.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mPrintTypeTimetable->setText(tr2i18n("Print as timeta&ble view", nullptr));
#if QT_CONFIG(whatsthis)
        mPrintTypeSplitWeek->setWhatsThis(tr2i18n("This view is similar to the week view. The only difference with the timetable view is the page layout. Timetables are printed in landscape, the split week view in portrait.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mPrintTypeSplitWeek->setText(tr2i18n("Print as split wee&k view", nullptr));
        mSecurity->setTitle(tr2i18n("Security Exclusions", nullptr));
#if QT_CONFIG(whatsthis)
        mExcludeConfidential->setWhatsThis(tr2i18n("Check this option to exclude confidential events.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mExcludeConfidential->setText(tr2i18n("Exclude c&onfidential", nullptr));
#if QT_CONFIG(whatsthis)
        mExcludePrivate->setWhatsThis(tr2i18n("Check this option to exclude private events", nullptr));
#endif // QT_CONFIG(whatsthis)
        mExcludePrivate->setText(tr2i18n("Exclude pri&vate", nullptr));
        mIncludeInfoGroup->setTitle(tr2i18n("Include Information", nullptr));
#if QT_CONFIG(tooltip)
        mIncludeDescription->setToolTip(tr2i18n("Print item descriptions", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mIncludeDescription->setWhatsThis(tr2i18n("Check this option if you want to see the item descriptions printed.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mIncludeDescription->setText(tr2i18n("Include &descriptions", nullptr));
#if QT_CONFIG(whatsthis)
        mIncludeTodos->setWhatsThis(tr2i18n("Check this option if you want to have to-dos on the print, placed by their due date.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mIncludeTodos->setText(tr2i18n("Include to-&dos that are due on the printed day(s)", nullptr));
#if QT_CONFIG(whatsthis)
        mExcludeTime->setWhatsThis(tr2i18n("Check this option to exclude the time in description box", nullptr));
#endif // QT_CONFIG(whatsthis)
        mExcludeTime->setText(tr2i18n("Exclude t&ime from timetable detail display items", nullptr));
        mGeneralGroup->setTitle(tr2i18n("General", "@title general print settings"));
#if QT_CONFIG(tooltip)
        mSingleLineLimit->setToolTip(tr2i18n("Print items on one line", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mSingleLineLimit->setWhatsThis(tr2i18n("Check this option to limit events to a single line, truncating as necessary to save space.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mSingleLineLimit->setText(tr2i18n("Limit events in each day to a &single line", nullptr));
#if QT_CONFIG(whatsthis)
        mShowNoteLines->setWhatsThis(tr2i18n("Check this option to draw note lines.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mShowNoteLines->setText(tr2i18n("Show note &lines in Filofax layout", nullptr));
#if QT_CONFIG(tooltip)
        mColors->setToolTip(tr2i18n("Print in color", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mColors->setWhatsThis(tr2i18n("The timetable view supports colors. If you want to make use of colors you should check this option. The category colors will be used.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mColors->setText(tr2i18n("&Use colors", nullptr));
#if QT_CONFIG(tooltip)
        mPrintFooter->setToolTip(tr2i18n("Print a datetime footer on each page", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mPrintFooter->setWhatsThis(tr2i18n("Check this box if you want to print a small footer on each page that contains the date of the print.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mPrintFooter->setText(tr2i18n("Print &Footer", nullptr));
        (void)CalPrintWeekConfig_Base;
    } // retranslateUi

};

namespace Ui {
    class CalPrintWeekConfig_Base: public Ui_CalPrintWeekConfig_Base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CALPRINTWEEKCONFIG_BASE_H

