#include <kdialog.h>
#include <klocale.h>

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

#ifndef UI_SKGSCHEDULEDPLUGINWIDGET_PREF_H
#define UI_SKGSCHEDULEDPLUGINWIDGET_PREF_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kcolorbutton.h"
#include "kcombobox.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_skgscheduledplugin_pref
{
public:
    QVBoxLayout *verticalLayout;
    QCheckBox *kcfg_check_on_open;
    QCheckBox *kcfg_create_template;
    QGroupBox *fontBox;
    QGridLayout *gridLayout_2;
    QLabel *fontdisable;
    KColorButton *kcfg_fontDisabledColor;
    QSpacerItem *horizontalSpacer;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *label_2;
    KIntSpinBox *kcfg_once_every;
    KComboBox *kcfg_once_every_unit;
    QCheckBox *kcfg_remind_me;
    KIntSpinBox *kcfg_remind_me_days;
    QLabel *label_3;
    QCheckBox *kcfg_auto_write;
    KIntSpinBox *kcfg_auto_write_days;
    QSpacerItem *horizontalSpacer_4;
    KIntSpinBox *kcfg_nb_times_val;
    QCheckBox *kcfg_nb_times;
    QLabel *label_4;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *skgscheduledplugin_pref)
    {
        if (skgscheduledplugin_pref->objectName().isEmpty())
            skgscheduledplugin_pref->setObjectName(QString::fromUtf8("skgscheduledplugin_pref"));
        skgscheduledplugin_pref->resize(555, 324);
        verticalLayout = new QVBoxLayout(skgscheduledplugin_pref);
        verticalLayout->setSpacing(2);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        kcfg_check_on_open = new QCheckBox(skgscheduledplugin_pref);
        kcfg_check_on_open->setObjectName(QString::fromUtf8("kcfg_check_on_open"));
        kcfg_check_on_open->setChecked(true);

        verticalLayout->addWidget(kcfg_check_on_open);

        kcfg_create_template = new QCheckBox(skgscheduledplugin_pref);
        kcfg_create_template->setObjectName(QString::fromUtf8("kcfg_create_template"));
        kcfg_create_template->setChecked(true);

        verticalLayout->addWidget(kcfg_create_template);

        fontBox = new QGroupBox(skgscheduledplugin_pref);
        fontBox->setObjectName(QString::fromUtf8("fontBox"));
        gridLayout_2 = new QGridLayout(fontBox);
        gridLayout_2->setSpacing(2);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        fontdisable = new QLabel(fontBox);
        fontdisable->setObjectName(QString::fromUtf8("fontdisable"));
        fontdisable->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        gridLayout_2->addWidget(fontdisable, 0, 0, 1, 2);

        kcfg_fontDisabledColor = new KColorButton(fontBox);
        kcfg_fontDisabledColor->setObjectName(QString::fromUtf8("kcfg_fontDisabledColor"));
        kcfg_fontDisabledColor->setColor(QColor(195, 195, 195));
        kcfg_fontDisabledColor->setDefaultColor(QColor(195, 195, 195));

        gridLayout_2->addWidget(kcfg_fontDisabledColor, 0, 2, 1, 1);

        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout_2->addItem(horizontalSpacer, 0, 3, 1, 1);


        verticalLayout->addWidget(fontBox);

        groupBox = new QGroupBox(skgscheduledplugin_pref);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setSpacing(2);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_2 = new QLabel(groupBox);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

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

        kcfg_once_every = new KIntSpinBox(groupBox);
        kcfg_once_every->setObjectName(QString::fromUtf8("kcfg_once_every"));
        kcfg_once_every->setMinimum(1);

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

        kcfg_once_every_unit = new KComboBox(groupBox);
        kcfg_once_every_unit->setObjectName(QString::fromUtf8("kcfg_once_every_unit"));

        gridLayout->addWidget(kcfg_once_every_unit, 0, 4, 1, 3);

        kcfg_remind_me = new QCheckBox(groupBox);
        kcfg_remind_me->setObjectName(QString::fromUtf8("kcfg_remind_me"));

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

        kcfg_remind_me_days = new KIntSpinBox(groupBox);
        kcfg_remind_me_days->setObjectName(QString::fromUtf8("kcfg_remind_me_days"));
        kcfg_remind_me_days->setEnabled(false);
        kcfg_remind_me_days->setMinimum(0);

        gridLayout->addWidget(kcfg_remind_me_days, 4, 1, 1, 3);

        label_3 = new QLabel(groupBox);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setEnabled(false);

        gridLayout->addWidget(label_3, 4, 4, 1, 1);

        kcfg_auto_write = new QCheckBox(groupBox);
        kcfg_auto_write->setObjectName(QString::fromUtf8("kcfg_auto_write"));

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

        kcfg_auto_write_days = new KIntSpinBox(groupBox);
        kcfg_auto_write_days->setObjectName(QString::fromUtf8("kcfg_auto_write_days"));
        kcfg_auto_write_days->setEnabled(false);
        kcfg_auto_write_days->setMinimum(0);

        gridLayout->addWidget(kcfg_auto_write_days, 5, 1, 1, 3);

        horizontalSpacer_4 = new QSpacerItem(252, 26, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(horizontalSpacer_4, 5, 9, 1, 1);

        kcfg_nb_times_val = new KIntSpinBox(groupBox);
        kcfg_nb_times_val->setObjectName(QString::fromUtf8("kcfg_nb_times_val"));
        kcfg_nb_times_val->setEnabled(false);
        kcfg_nb_times_val->setMinimum(1);
        kcfg_nb_times_val->setMaximum(999);

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

        kcfg_nb_times = new QCheckBox(groupBox);
        kcfg_nb_times->setObjectName(QString::fromUtf8("kcfg_nb_times"));

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

        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));
        label_4->setEnabled(false);

        gridLayout->addWidget(label_4, 5, 4, 1, 1);


        verticalLayout->addWidget(groupBox);

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

        verticalLayout->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        label_2->setBuddy(kcfg_once_every);
        label_3->setBuddy(kcfg_remind_me_days);
        label_4->setBuddy(kcfg_auto_write_days);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_check_on_open, kcfg_create_template);
        QWidget::setTabOrder(kcfg_create_template, kcfg_fontDisabledColor);
        QWidget::setTabOrder(kcfg_fontDisabledColor, kcfg_once_every);
        QWidget::setTabOrder(kcfg_once_every, kcfg_once_every_unit);
        QWidget::setTabOrder(kcfg_once_every_unit, kcfg_nb_times);
        QWidget::setTabOrder(kcfg_nb_times, kcfg_nb_times_val);
        QWidget::setTabOrder(kcfg_nb_times_val, kcfg_remind_me);
        QWidget::setTabOrder(kcfg_remind_me, kcfg_remind_me_days);
        QWidget::setTabOrder(kcfg_remind_me_days, kcfg_auto_write);
        QWidget::setTabOrder(kcfg_auto_write, kcfg_auto_write_days);

        retranslateUi(skgscheduledplugin_pref);
        QObject::connect(kcfg_remind_me, SIGNAL(toggled(bool)), kcfg_remind_me_days, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_auto_write, SIGNAL(toggled(bool)), kcfg_auto_write_days, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_nb_times, SIGNAL(toggled(bool)), kcfg_nb_times_val, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_remind_me, SIGNAL(toggled(bool)), label_3, SLOT(setEnabled(bool)));
        QObject::connect(kcfg_auto_write, SIGNAL(toggled(bool)), label_4, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *skgscheduledplugin_pref)
    {
#ifndef UI_QT_NO_TOOLTIP
        kcfg_check_on_open->setToolTip(tr2i18n("If checked, Skrooge will insert relevant occurrences when starting.", 0));
#endif // QT_NO_TOOLTIP
        kcfg_check_on_open->setText(tr2i18n("Check scheduled operations on open", 0));
        kcfg_create_template->setText(tr2i18n("Create a template when an operation is scheduled", 0));
        fontBox->setTitle(tr2i18n("Fonts", 0));
        fontdisable->setText(tr2i18n("Font for disabled schedule:", 0));
        groupBox->setTitle(tr2i18n("Default parameters", 0));
        label_2->setText(tr2i18n("Once every:", 0));
        kcfg_once_every_unit->clear();
        kcfg_once_every_unit->insertItems(0, QStringList()
         << tr2i18n("day(s)", 0)
         << tr2i18n("week(s)", 0)
         << tr2i18n("month(s)", 0)
         << tr2i18n("year(s)", 0)
         << QString()
        );
        kcfg_remind_me->setText(tr2i18n("Remind me", 0));
        label_3->setText(tr2i18n("days before term", 0));
        kcfg_auto_write->setText(tr2i18n("Automatically write", 0));
        kcfg_nb_times->setText(tr2i18n("Number of occurrences", 0));
        label_4->setText(tr2i18n("days before term", 0));
        Q_UNUSED(skgscheduledplugin_pref);
    } // retranslateUi

};

namespace Ui {
    class skgscheduledplugin_pref: public Ui_skgscheduledplugin_pref {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SKGSCHEDULEDPLUGINWIDGET_PREF_H

