#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.9.4
**
** 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/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/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(QStringLiteral("CalPrintTodoConfig_Base"));
        CalPrintTodoConfig_Base->resize(648, 566);
        gridLayout = new QGridLayout(CalPrintTodoConfig_Base);
        gridLayout->setObjectName(QStringLiteral("gridLayout"));
        gridLayout->setContentsMargins(0, 0, 0, 0);
        label = new QLabel(CalPrintTodoConfig_Base);
        label->setObjectName(QStringLiteral("label"));

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

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
        mTitleLabel = new QLabel(CalPrintTodoConfig_Base);
        mTitleLabel->setObjectName(QStringLiteral("mTitleLabel"));

        hboxLayout->addWidget(mTitleLabel);

        mTitle = new QLineEdit(CalPrintTodoConfig_Base);
        mTitle->setObjectName(QStringLiteral("mTitle"));

        hboxLayout->addWidget(mTitle);


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

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

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

        mPrintUnfinished = new QRadioButton(mPrintType);
        mPrintUnfinished->setObjectName(QStringLiteral("mPrintUnfinished"));
        mPrintUnfinished->setEnabled(true);

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

        mPrintDueRange = new QRadioButton(mPrintType);
        mPrintDueRange->setObjectName(QStringLiteral("mPrintDueRange"));
        mPrintDueRange->setEnabled(true);

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

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setSpacing(6);
        hboxLayout1->setObjectName(QStringLiteral("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(QStringLiteral("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->setObjectName(QStringLiteral("mFromDate"));
        mFromDate->setEnabled(false);
        QFont font;
        font.setFamily(QStringLiteral("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(QStringLiteral("mToDateLabel"));
        mToDateLabel->setEnabled(false);
        sizePolicy.setHeightForWidth(mToDateLabel->sizePolicy().hasHeightForWidth());
        mToDateLabel->setSizePolicy(sizePolicy);

        hboxLayout1->addWidget(mToDateLabel);

        mToDate = new KDateComboBox(mPrintType);
        mToDate->setObjectName(QStringLiteral("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(QStringLiteral("mSecurity"));
        horizontalLayout_4 = new QHBoxLayout(mSecurity);
        horizontalLayout_4->setObjectName(QStringLiteral("horizontalLayout_4"));
        horizontalLayout_4->setContentsMargins(-1, 0, -1, -1);
        mExcludeConfidential = new QCheckBox(mSecurity);
        mExcludeConfidential->setObjectName(QStringLiteral("mExcludeConfidential"));

        horizontalLayout_4->addWidget(mExcludeConfidential);

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

        horizontalLayout_4->addWidget(mExcludePrivate);


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

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

        horizontalLayout->addWidget(mDescription);

        mPriority = new QCheckBox(includeInfoBox);
        mPriority->setObjectName(QStringLiteral("mPriority"));
        mPriority->setChecked(true);

        horizontalLayout->addWidget(mPriority);

        mDueDate = new QCheckBox(includeInfoBox);
        mDueDate->setObjectName(QStringLiteral("mDueDate"));
        mDueDate->setChecked(true);

        horizontalLayout->addWidget(mDueDate);

        mPercentComplete = new QCheckBox(includeInfoBox);
        mPercentComplete->setObjectName(QStringLiteral("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(QStringLiteral("sortingOptionsBox"));
        horizontalLayout_2 = new QHBoxLayout(sortingOptionsBox);
        horizontalLayout_2->setObjectName(QStringLiteral("horizontalLayout_2"));
        horizontalLayout_2->setContentsMargins(-1, 0, -1, -1);
        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QStringLiteral("hboxLayout2"));
        sortFieldLabel = new QLabel(sortingOptionsBox);
        sortFieldLabel->setObjectName(QStringLiteral("sortFieldLabel"));
        sortFieldLabel->setEnabled(true);

        hboxLayout2->addWidget(sortFieldLabel);

        mSortField = new KComboBox(sortingOptionsBox);
        mSortField->setObjectName(QStringLiteral("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(QStringLiteral("hboxLayout3"));
        sortDirectionLabel = new QLabel(sortingOptionsBox);
        sortDirectionLabel->setObjectName(QStringLiteral("sortDirectionLabel"));
        sortDirectionLabel->setEnabled(true);

        hboxLayout3->addWidget(sortDirectionLabel);

        mSortDirection = new KComboBox(sortingOptionsBox);
        mSortDirection->setObjectName(QStringLiteral("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(QStringLiteral("mGeneralGroup"));
        verticalLayout = new QVBoxLayout(mGeneralGroup);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        mConnectSubTodos = new QCheckBox(mGeneralGroup);
        mConnectSubTodos->setObjectName(QStringLiteral("mConnectSubTodos"));
        mConnectSubTodos->setChecked(true);

        verticalLayout->addWidget(mConnectSubTodos);

        mStrikeOutCompleted = new QCheckBox(mGeneralGroup);
        mStrikeOutCompleted->setObjectName(QStringLiteral("mStrikeOutCompleted"));
        mStrikeOutCompleted->setChecked(true);

        verticalLayout->addWidget(mStrikeOutCompleted);

        mPrintFooter = new QCheckBox(mGeneralGroup);
        mPrintFooter->setObjectName(QStringLiteral("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);

#ifndef UI_QT_NO_SHORTCUT
        mTitleLabel->setBuddy(mTitle);
        mFromDateLabel->setBuddy(mFromDate);
        mToDateLabel->setBuddy(mToDate);
#endif // QT_NO_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>", Q_NULLPTR));
        mTitleLabel->setText(tr2i18n("&Title:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mTitle->setToolTip(tr2i18n("Name for this to-do list", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mTitle->setWhatsThis(tr2i18n("Enter a name for this to-do list that will be put at the top of the print-out", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mTitle->setText(tr2i18n("To-do List", Q_NULLPTR));
        mPrintType->setTitle(tr2i18n("To-dos to Print", Q_NULLPTR));
        mPrintAll->setText(tr2i18n("Print &all to-dos", Q_NULLPTR));
        mPrintUnfinished->setText(tr2i18n("Print unfinished to-dos onl&y", Q_NULLPTR));
        mPrintDueRange->setText(tr2i18n("Print only to-dos due in the &range:", Q_NULLPTR));
        mFromDateLabel->setText(tr2i18n("&Start date:", Q_NULLPTR));
        mFromDate->clear();
        mFromDate->insertItems(0, QStringList()
         << tr2i18n("2009-01-19", Q_NULLPTR)
        );
#ifndef UI_QT_NO_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.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mToDateLabel->setText(tr2i18n("&End date:", Q_NULLPTR));
        mToDate->clear();
        mToDate->insertItems(0, QStringList()
         << tr2i18n("2009-01-19", Q_NULLPTR)
        );
#ifndef UI_QT_NO_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.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mSecurity->setTitle(tr2i18n("Security Exclusions", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        mExcludeConfidential->setWhatsThis(tr2i18n("Check this option to exclude confidential events.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mExcludeConfidential->setText(tr2i18n("Exclude c&onfidential", Q_NULLPTR));
#ifndef UI_QT_NO_WHATSTHIS
        mExcludePrivate->setWhatsThis(tr2i18n("Check this option to exclude private events", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mExcludePrivate->setText(tr2i18n("Exclude pri&vate", Q_NULLPTR));
        includeInfoBox->setTitle(tr2i18n("Include Information", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mDescription->setToolTip(tr2i18n("Print item descriptions", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
#ifndef UI_QT_NO_WHATSTHIS
        mDescription->setWhatsThis(tr2i18n("Check this option if you want to see the item descriptions printed.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mDescription->setText(tr2i18n("Include &descriptions", Q_NULLPTR));
        mPriority->setText(tr2i18n("&Priority", Q_NULLPTR));
        mDueDate->setText(tr2i18n("Due date", Q_NULLPTR));
#ifndef UI_QT_NO_SHORTCUT
        mDueDate->setShortcut(QString());
#endif // QT_NO_SHORTCUT
        mPercentComplete->setText(tr2i18n("Per&centage completed", Q_NULLPTR));
        sortingOptionsBox->setTitle(tr2i18n("Sorting Options", Q_NULLPTR));
        sortFieldLabel->setText(tr2i18n("Sort field:", Q_NULLPTR));
        sortDirectionLabel->setText(tr2i18n("Sort direction:", Q_NULLPTR));
        mGeneralGroup->setTitle(tr2i18n("General", "@title general print settings"));
        mConnectSubTodos->setText(tr2i18n("Co&nnect sub-to-dos with its parent", Q_NULLPTR));
        mStrikeOutCompleted->setText(tr2i18n("Strike &out completed to-do summaries", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        mPrintFooter->setToolTip(tr2i18n("Print a datetime footer on each page", Q_NULLPTR));
#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.", Q_NULLPTR));
#endif // QT_NO_WHATSTHIS
        mPrintFooter->setText(tr2i18n("Print &Footer", Q_NULLPTR));
        Q_UNUSED(CalPrintTodoConfig_Base);
    } // retranslateUi

};

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

QT_END_NAMESPACE

#endif // CALPRINTTODOCONFIG_BASE_H

