#include <klocalizedstring.h>

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

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

#ifndef UI_CALPRINTTODOCONFIG_BASE_H
#define UI_CALPRINTTODOCONFIG_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/QLineEdit>
#include <QtWidgets/QRadioButton>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "kdatecombobox.h"

QT_BEGIN_NAMESPACE

class Ui_CalPrintTodoConfig_Base
{
public:
    QGridLayout *gridLayout;
    QLabel *label;
    QHBoxLayout *hboxLayout;
    QLabel *mTitleLabel;
    QLineEdit *mTitle;
    QGroupBox *mPrintType;
    QGridLayout *gridLayout1;
    QRadioButton *mPrintAll;
    QRadioButton *mPrintUnfinished;
    QRadioButton *mPrintDueRange;
    QHBoxLayout *hboxLayout1;
    QSpacerItem *spacerItem;
    QLabel *mFromDateLabel;
    KDateComboBox *mFromDate;
    QLabel *mToDateLabel;
    KDateComboBox *mToDate;
    QSpacerItem *spacerItem1;
    QGroupBox *mSecurity;
    QHBoxLayout *horizontalLayout_4;
    QCheckBox *mExcludeConfidential;
    QCheckBox *mExcludePrivate;
    QGroupBox *includeInfoBox;
    QHBoxLayout *horizontalLayout;
    QCheckBox *mDescription;
    QCheckBox *mPriority;
    QCheckBox *mDueDate;
    QCheckBox *mPercentComplete;
    QGroupBox *sortingOptionsBox;
    QHBoxLayout *horizontalLayout_2;
    QHBoxLayout *hboxLayout2;
    QLabel *sortFieldLabel;
    KComboBox *mSortField;
    QHBoxLayout *hboxLayout3;
    QLabel *sortDirectionLabel;
    KComboBox *mSortDirection;
    QGroupBox *mGeneralGroup;
    QVBoxLayout *verticalLayout;
    QCheckBox *mConnectSubTodos;
    QCheckBox *mStrikeOutCompleted;
    QCheckBox *mPrintFooter;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *CalPrintTodoConfig_Base)
    {
        if (CalPrintTodoConfig_Base->objectName().isEmpty())
            CalPrintTodoConfig_Base->setObjectName(QString::fromUtf8("CalPrintTodoConfig_Base"));
        CalPrintTodoConfig_Base->resize(648, 566);
        gridLayout = new QGridLayout(CalPrintTodoConfig_Base);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        gridLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(CalPrintTodoConfig_Base);
        label->setObjectName(QString::fromUtf8("label"));

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        mTitleLabel = new QLabel(CalPrintTodoConfig_Base);
        mTitleLabel->setObjectName(QString::fromUtf8("mTitleLabel"));

        hboxLayout->addWidget(mTitleLabel);

        mTitle = new QLineEdit(CalPrintTodoConfig_Base);
        mTitle->setObjectName(QString::fromUtf8("mTitle"));

        hboxLayout->addWidget(mTitle);


        gridLayout->addLayout(hboxLayout, 1, 0, 1, 1);

        mPrintType = new QGroupBox(CalPrintTodoConfig_Base);
        mPrintType->setObjectName(QString::fromUtf8("mPrintType"));
        gridLayout1 = new QGridLayout(mPrintType);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        gridLayout1->setContentsMargins(-1, 0, -1, -1);
        mPrintAll = new QRadioButton(mPrintType);
        mPrintAll->setObjectName(QString::fromUtf8("mPrintAll"));
        mPrintAll->setChecked(true);

        gridLayout1->addWidget(mPrintAll, 0, 0, 1, 1);

        mPrintUnfinished = new QRadioButton(mPrintType);
        mPrintUnfinished->setObjectName(QString::fromUtf8("mPrintUnfinished"));
        mPrintUnfinished->setEnabled(true);

        gridLayout1->addWidget(mPrintUnfinished, 1, 0, 1, 1);

        mPrintDueRange = new QRadioButton(mPrintType);
        mPrintDueRange->setObjectName(QString::fromUtf8("mPrintDueRange"));
        mPrintDueRange->setEnabled(true);

        gridLayout1->addWidget(mPrintDueRange, 2, 0, 1, 1);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        hboxLayout1->setContentsMargins(0, 0, 0, 0);
        spacerItem = new QSpacerItem(16, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

        hboxLayout1->addItem(spacerItem);

        mFromDateLabel = new QLabel(mPrintType);
        mFromDateLabel->setObjectName(QString::fromUtf8("mFromDateLabel"));
        mFromDateLabel->setEnabled(false);
        QSizePolicy sizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(mFromDateLabel->sizePolicy().hasHeightForWidth());
        mFromDateLabel->setSizePolicy(sizePolicy);

        hboxLayout1->addWidget(mFromDateLabel);

        mFromDate = new KDateComboBox(mPrintType);
        mFromDate->addItem(QString());
        mFromDate->setObjectName(QString::fromUtf8("mFromDate"));
        mFromDate->setEnabled(false);
        QFont font;
        font.setFamily(QString::fromUtf8("Sans Serif"));
        font.setPointSize(9);
        font.setBold(false);
        font.setItalic(false);
        font.setUnderline(false);
        font.setWeight(50);
        font.setStrikeOut(false);
        font.setKerning(true);
        mFromDate->setFont(font);
        mFromDate->setFocusPolicy(Qt::StrongFocus);

        hboxLayout1->addWidget(mFromDate);

        mToDateLabel = new QLabel(mPrintType);
        mToDateLabel->setObjectName(QString::fromUtf8("mToDateLabel"));
        mToDateLabel->setEnabled(false);
        sizePolicy.setHeightForWidth(mToDateLabel->sizePolicy().hasHeightForWidth());
        mToDateLabel->setSizePolicy(sizePolicy);

        hboxLayout1->addWidget(mToDateLabel);

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

        hboxLayout1->addWidget(mToDate);

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

        hboxLayout1->addItem(spacerItem1);


        gridLayout1->addLayout(hboxLayout1, 3, 0, 1, 1);


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

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

        horizontalLayout_4->addWidget(mExcludeConfidential);

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

        horizontalLayout_4->addWidget(mExcludePrivate);


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

        includeInfoBox = new QGroupBox(CalPrintTodoConfig_Base);
        includeInfoBox->setObjectName(QString::fromUtf8("includeInfoBox"));
        includeInfoBox->setCheckable(false);
        horizontalLayout = new QHBoxLayout(includeInfoBox);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        horizontalLayout->setContentsMargins(-1, 0, -1, -1);
        mDescription = new QCheckBox(includeInfoBox);
        mDescription->setObjectName(QString::fromUtf8("mDescription"));

        horizontalLayout->addWidget(mDescription);

        mPriority = new QCheckBox(includeInfoBox);
        mPriority->setObjectName(QString::fromUtf8("mPriority"));
        mPriority->setChecked(true);

        horizontalLayout->addWidget(mPriority);

        mDueDate = new QCheckBox(includeInfoBox);
        mDueDate->setObjectName(QString::fromUtf8("mDueDate"));
        mDueDate->setChecked(true);

        horizontalLayout->addWidget(mDueDate);

        mPercentComplete = new QCheckBox(includeInfoBox);
        mPercentComplete->setObjectName(QString::fromUtf8("mPercentComplete"));
        mPercentComplete->setChecked(true);

        horizontalLayout->addWidget(mPercentComplete);

        mDescription->raise();
        mDueDate->raise();
        mPercentComplete->raise();
        mPriority->raise();

        gridLayout->addWidget(includeInfoBox, 4, 0, 1, 1);

        sortingOptionsBox = new QGroupBox(CalPrintTodoConfig_Base);
        sortingOptionsBox->setObjectName(QString::fromUtf8("sortingOptionsBox"));
        horizontalLayout_2 = new QHBoxLayout(sortingOptionsBox);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        horizontalLayout_2->setContentsMargins(-1, 0, -1, -1);
        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        sortFieldLabel = new QLabel(sortingOptionsBox);
        sortFieldLabel->setObjectName(QString::fromUtf8("sortFieldLabel"));
        sortFieldLabel->setEnabled(true);

        hboxLayout2->addWidget(sortFieldLabel);

        mSortField = new KComboBox(sortingOptionsBox);
        mSortField->setObjectName(QString::fromUtf8("mSortField"));
        mSortField->setEnabled(true);
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy1.setHorizontalStretch(1);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(mSortField->sizePolicy().hasHeightForWidth());
        mSortField->setSizePolicy(sizePolicy1);

        hboxLayout2->addWidget(mSortField);


        horizontalLayout_2->addLayout(hboxLayout2);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        sortDirectionLabel = new QLabel(sortingOptionsBox);
        sortDirectionLabel->setObjectName(QString::fromUtf8("sortDirectionLabel"));
        sortDirectionLabel->setEnabled(true);

        hboxLayout3->addWidget(sortDirectionLabel);

        mSortDirection = new KComboBox(sortingOptionsBox);
        mSortDirection->setObjectName(QString::fromUtf8("mSortDirection"));
        mSortDirection->setEnabled(true);
        sizePolicy1.setHeightForWidth(mSortDirection->sizePolicy().hasHeightForWidth());
        mSortDirection->setSizePolicy(sizePolicy1);

        hboxLayout3->addWidget(mSortDirection);


        horizontalLayout_2->addLayout(hboxLayout3);


        gridLayout->addWidget(sortingOptionsBox, 5, 0, 1, 1);

        mGeneralGroup = new QGroupBox(CalPrintTodoConfig_Base);
        mGeneralGroup->setObjectName(QString::fromUtf8("mGeneralGroup"));
        verticalLayout = new QVBoxLayout(mGeneralGroup);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        mConnectSubTodos = new QCheckBox(mGeneralGroup);
        mConnectSubTodos->setObjectName(QString::fromUtf8("mConnectSubTodos"));
        mConnectSubTodos->setChecked(true);

        verticalLayout->addWidget(mConnectSubTodos);

        mStrikeOutCompleted = new QCheckBox(mGeneralGroup);
        mStrikeOutCompleted->setObjectName(QString::fromUtf8("mStrikeOutCompleted"));
        mStrikeOutCompleted->setChecked(true);

        verticalLayout->addWidget(mStrikeOutCompleted);

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

        verticalLayout->addWidget(mPrintFooter);


        gridLayout->addWidget(mGeneralGroup, 6, 0, 1, 1);

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

        gridLayout->addItem(verticalSpacer, 7, 0, 1, 1);

#if QT_CONFIG(shortcut)
        mTitleLabel->setBuddy(mTitle);
        mFromDateLabel->setBuddy(mFromDate);
        mToDateLabel->setBuddy(mToDate);
#endif // QT_CONFIG(shortcut)
        QWidget::setTabOrder(mTitle, mPrintAll);
        QWidget::setTabOrder(mPrintAll, mPrintUnfinished);
        QWidget::setTabOrder(mPrintUnfinished, mPrintDueRange);
        QWidget::setTabOrder(mPrintDueRange, mFromDate);
        QWidget::setTabOrder(mFromDate, mToDate);
        QWidget::setTabOrder(mToDate, mDescription);
        QWidget::setTabOrder(mDescription, mPriority);
        QWidget::setTabOrder(mPriority, mDueDate);
        QWidget::setTabOrder(mDueDate, mPercentComplete);
        QWidget::setTabOrder(mPercentComplete, mConnectSubTodos);
        QWidget::setTabOrder(mConnectSubTodos, mStrikeOutCompleted);
        QWidget::setTabOrder(mStrikeOutCompleted, mSortField);
        QWidget::setTabOrder(mSortField, mSortDirection);

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

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

    void retranslateUi(QWidget *CalPrintTodoConfig_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 to-dos options:</span></p></body></html>", nullptr));
        mTitleLabel->setText(tr2i18n("&Title:", nullptr));
#if QT_CONFIG(tooltip)
        mTitle->setToolTip(tr2i18n("Name for this to-do list", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mTitle->setWhatsThis(tr2i18n("Enter a name for this to-do list that will be put at the top of the print-out", nullptr));
#endif // QT_CONFIG(whatsthis)
        mTitle->setText(tr2i18n("To-do List", nullptr));
        mPrintType->setTitle(tr2i18n("To-dos to Print", nullptr));
        mPrintAll->setText(tr2i18n("Print &all to-dos", nullptr));
        mPrintUnfinished->setText(tr2i18n("Print unfinished to-dos onl&y", nullptr));
        mPrintDueRange->setText(tr2i18n("Print only to-dos due in the &range:", nullptr));
        mFromDateLabel->setText(tr2i18n("&Start date:", nullptr));
        mFromDate->setItemText(0, tr2i18n("2009-01-19", nullptr));

#if QT_CONFIG(whatsthis)
        mFromDate->setWhatsThis(tr2i18n("If you want to print more days at once, you can define a range of dates with this option and the <i>End date</i> option. This option is used to define the start date.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mToDateLabel->setText(tr2i18n("&End date:", nullptr));
        mToDate->setItemText(0, tr2i18n("2009-01-19", nullptr));

#if QT_CONFIG(whatsthis)
        mToDate->setWhatsThis(tr2i18n("If you want to print more days at once, you can define a range of dates with this option and the <i>Start date</i> option. This option is used to define the end date.", nullptr));
#endif // QT_CONFIG(whatsthis)
        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));
        includeInfoBox->setTitle(tr2i18n("Include Information", nullptr));
#if QT_CONFIG(tooltip)
        mDescription->setToolTip(tr2i18n("Print item descriptions", nullptr));
#endif // QT_CONFIG(tooltip)
#if QT_CONFIG(whatsthis)
        mDescription->setWhatsThis(tr2i18n("Check this option if you want to see the item descriptions printed.", nullptr));
#endif // QT_CONFIG(whatsthis)
        mDescription->setText(tr2i18n("Include &descriptions", nullptr));
        mPriority->setText(tr2i18n("&Priority", nullptr));
        mDueDate->setText(tr2i18n("Due date", nullptr));
#if QT_CONFIG(shortcut)
        mDueDate->setShortcut(QString());
#endif // QT_CONFIG(shortcut)
        mPercentComplete->setText(tr2i18n("Per&centage completed", nullptr));
        sortingOptionsBox->setTitle(tr2i18n("Sorting Options", nullptr));
        sortFieldLabel->setText(tr2i18n("Sort field:", nullptr));
        sortDirectionLabel->setText(tr2i18n("Sort direction:", nullptr));
        mGeneralGroup->setTitle(tr2i18n("General", "@title general print settings"));
        mConnectSubTodos->setText(tr2i18n("Co&nnect sub-to-dos with its parent", nullptr));
        mStrikeOutCompleted->setText(tr2i18n("Strike &out completed to-do summaries", 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)CalPrintTodoConfig_Base;
    } // retranslateUi

};

namespace Ui {
    class CalPrintTodoConfig_Base: public Ui_CalPrintTodoConfig_Base {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CALPRINTTODOCONFIG_BASE_H

