#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.6.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/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#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(QStringLiteral("CalPrintWeekConfig_Base"));
        CalPrintWeekConfig_Base->resize(684, 616);
        verticalLayout_2 = new QVBoxLayout(CalPrintWeekConfig_Base);
        verticalLayout_2->setSpacing(6);
        verticalLayout_2->setObjectName(QStringLiteral("verticalLayout_2"));
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(CalPrintWeekConfig_Base);
        label->setObjectName(QStringLiteral("label"));

        verticalLayout_2->addWidget(label);

        mDateRangeGroup = new QGroupBox(CalPrintWeekConfig_Base);
        mDateRangeGroup->setObjectName(QStringLiteral("mDateRangeGroup"));
        gridLayout = new QGridLayout(mDateRangeGroup);
        gridLayout->setSpacing(6);
        gridLayout->setObjectName(QStringLiteral("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(QStringLiteral("mFromDateLabel"));

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

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

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

        mToTimeLabel = new QLabel(mDateRangeGroup);
        mToTimeLabel->setObjectName(QStringLiteral("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(QStringLiteral("mToTime"));
        mToTime->setTime(QTime(18, 0, 0));

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

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

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

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

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

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

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

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

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


        verticalLayout_2->addWidget(mDateRangeGroup);

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

        vboxLayout->addWidget(mPrintTypeFilofax);

        mPrintTypeTimetable = new QRadioButton(mPrintType);
        mPrintTypeTimetable->setObjectName(QStringLiteral("mPrintTypeTimetable"));

        vboxLayout->addWidget(mPrintTypeTimetable);

        mPrintTypeSplitWeek = new QRadioButton(mPrintType);
        mPrintTypeSplitWeek->setObjectName(QStringLiteral("mPrintTypeSplitWeek"));

        vboxLayout->addWidget(mPrintTypeSplitWeek);


        verticalLayout_2->addWidget(mPrintType);

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

        horizontalLayout->addWidget(mExcludeConfidential);

        mExcludePrivate = new QCheckBox(mSecurity);
        mExcludePrivate->setObjectName(QStringLiteral("mExcludePrivate"));

        horizontalLayout->addWidget(mExcludePrivate);


        verticalLayout_2->addWidget(mSecurity);

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

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

        mIncludeTodos = new QCheckBox(mIncludeInfoGroup);
        mIncludeTodos->setObjectName(QStringLiteral("mIncludeTodos"));
        mIncludeTodos->setEnabled(false);

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

        mExcludeTime = new QCheckBox(mIncludeInfoGroup);
        mExcludeTime->setObjectName(QStringLiteral("mExcludeTime"));

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


        verticalLayout_2->addWidget(mIncludeInfoGroup);

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

        verticalLayout->addWidget(mSingleLineLimit);

        mShowNoteLines = new QCheckBox(mGeneralGroup);
        mShowNoteLines->setObjectName(QStringLiteral("mShowNoteLines"));

        verticalLayout->addWidget(mShowNoteLines);

        mColors = new QCheckBox(mGeneralGroup);
        mColors->setObjectName(QStringLiteral("mColors"));

        verticalLayout->addWidget(mColors);

        mPrintFooter = new QCheckBox(mGeneralGroup);
        mPrintFooter->setObjectName(QStringLiteral("mPrintFooter"));

        verticalLayout->addWidget(mPrintFooter);


        verticalLayout_2->addWidget(mGeneralGroup);

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

        verticalLayout_2->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        mFromDateLabel->setBuddy(mFromDate);
        mToTimeLabel->setBuddy(mToTime);
        mFromTimeLabel->setBuddy(mFromTime);
        mToDateLabel->setBuddy(mToDate);
#endif // QT_NO_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>", 0));
        mDateRangeGroup->setTitle(tr2i18n("Date && Time Range", 0));
#ifndef UI_QT_NO_TOOLTIP
        mFromDateLabel->setToolTip(tr2i18n("Starting date for the print", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
        mFromDateLabel->setText(tr2i18n("&Start date:", 0));
        mFromDate->clear();
        mFromDate->insertItems(0, QStringList()
         << tr2i18n("2009-01-19", 0)
        );
#ifndef UI_QT_NO_TOOLTIP
        mFromDate->setToolTip(tr2i18n("Starting date for the print", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_WHATSTHIS
        mToTimeLabel->setWhatsThis(tr2i18n("All events which start later than the given time will not be printed.", 0));
#endif // QT_NO_WHATSTHIS
        mToTimeLabel->setText(tr2i18n("End ti&me:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mToTime->setWhatsThis(tr2i18n("All events which start later than the given time will not be printed.", 0));
#endif // QT_NO_WHATSTHIS
        mToTime->setDisplayFormat(tr2i18n("hh:mm", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mFromTimeLabel->setWhatsThis(tr2i18n("All events which start earlier than the given time will not be printed.", 0));
#endif // QT_NO_WHATSTHIS
        mFromTimeLabel->setText(tr2i18n("Start &time:", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mFromTime->setWhatsThis(tr2i18n("All events which start earlier than the given time will not be printed.", 0));
#endif // QT_NO_WHATSTHIS
        mFromTime->setDisplayFormat(tr2i18n("hh:mm", 0));
        mToDate->clear();
        mToDate->insertItems(0, QStringList()
         << tr2i18n("2009-01-19", 0)
        );
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
        mToDateLabel->setText(tr2i18n("&End date:", 0));
        mPrintType->setTitle(tr2i18n("Print Layout", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mPrintTypeFilofax->setWhatsThis(tr2i18n("The Filofax view prints one week per page, so all days have a large surface.", 0));
#endif // QT_NO_WHATSTHIS
        mPrintTypeFilofax->setText(tr2i18n("P&rint as Filofax page", 0));
#ifndef UI_QT_NO_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>.", 0));
#endif // QT_NO_WHATSTHIS
        mPrintTypeTimetable->setText(tr2i18n("Print as timeta&ble view", 0));
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
        mPrintTypeSplitWeek->setText(tr2i18n("Print as split wee&k view", 0));
        mSecurity->setTitle(tr2i18n("Security Exclusions", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mExcludeConfidential->setWhatsThis(tr2i18n("Check this option to exclude confidential events.", 0));
#endif // QT_NO_WHATSTHIS
        mExcludeConfidential->setText(tr2i18n("Exclude c&onfidential", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mExcludePrivate->setWhatsThis(tr2i18n("Check this option to exclude private events", 0));
#endif // QT_NO_WHATSTHIS
        mExcludePrivate->setText(tr2i18n("Exclude pri&vate", 0));
        mIncludeInfoGroup->setTitle(tr2i18n("Include Information", 0));
#ifndef UI_QT_NO_TOOLTIP
        mIncludeDescription->setToolTip(tr2i18n("Print item descriptions", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mIncludeDescription->setWhatsThis(tr2i18n("Check this option if you want to see the item descriptions printed.", 0));
#endif // QT_NO_WHATSTHIS
        mIncludeDescription->setText(tr2i18n("Include &descriptions", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mIncludeTodos->setWhatsThis(tr2i18n("Check this option if you want to have to-dos on the print, placed by their due date.", 0));
#endif // QT_NO_WHATSTHIS
        mIncludeTodos->setText(tr2i18n("Include to-&dos that are due on the printed day(s)", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mExcludeTime->setWhatsThis(tr2i18n("Check this option to exclude the time in description box", 0));
#endif // QT_NO_WHATSTHIS
        mExcludeTime->setText(tr2i18n("Exclude t&ime from timetable detail display items", 0));
        mGeneralGroup->setTitle(tr2i18n("General", "@title general print settings"));
#ifndef UI_QT_NO_TOOLTIP
        mSingleLineLimit->setToolTip(tr2i18n("Print items on one line", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mSingleLineLimit->setWhatsThis(tr2i18n("Check this option to limit events to a single line, truncating as necessary to save space.", 0));
#endif // QT_NO_WHATSTHIS
        mSingleLineLimit->setText(tr2i18n("Limit events in each day to a &single line", 0));
#ifndef UI_QT_NO_WHATSTHIS
        mShowNoteLines->setWhatsThis(tr2i18n("Check this option to draw note lines.", 0));
#endif // QT_NO_WHATSTHIS
        mShowNoteLines->setText(tr2i18n("Show note &lines in Filofax layout", 0));
#ifndef UI_QT_NO_TOOLTIP
        mColors->setToolTip(tr2i18n("Print in color", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
        mColors->setText(tr2i18n("&Use colors", 0));
#ifndef UI_QT_NO_TOOLTIP
        mPrintFooter->setToolTip(tr2i18n("Print a datetime footer on each page", 0));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_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.", 0));
#endif // QT_NO_WHATSTHIS
        mPrintFooter->setText(tr2i18n("Print &Footer", 0));
        Q_UNUSED(CalPrintWeekConfig_Base);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // CALPRINTWEEKCONFIG_BASE_H

