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

/********************************************************************************
** Form generated from reading UI file 'kdeobservatoryconfiggeneral.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_KDEOBSERVATORYCONFIGGENERAL_H
#define UI_KDEOBSERVATORYCONFIGGENERAL_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QTimeEdit>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kdatepicker.h"

QT_BEGIN_NAMESPACE

class Ui_KdeObservatoryConfigGeneral
{
public:
    QGridLayout *gridLayout_2;
    QGroupBox *activitiesRange;
    QGridLayout *gridLayout;
    QVBoxLayout *verticalLayout1;
    QRadioButton *activitiesFullHistory;
    QHBoxLayout *horizontalLayout1;
    QRadioButton *activitiesInPastDays;
    QSpinBox *commitExtent;
    QLabel *lblDays;
    QSpacerItem *spacer3;
    QHBoxLayout *horizontalLayout2;
    QRadioButton *activitiesInRange;
    KDatePicker *fromDate;
    QLabel *lbTo;
    KDatePicker *toDate;
    QSpacerItem *spacer4;
    QVBoxLayout *verticalLayout2;
    QCheckBox *enableAutoViewChange;
    QHBoxLayout *horizontalLayout3;
    QSpacerItem *spacer1;
    QLabel *lblViewsDelay;
    QTimeEdit *viewsDelay;
    QSpacerItem *spacer2;
    QSpacerItem *spacer5;

    void setupUi(QWidget *KdeObservatoryConfigGeneral)
    {
        if (KdeObservatoryConfigGeneral->objectName().isEmpty())
            KdeObservatoryConfigGeneral->setObjectName(QString::fromUtf8("KdeObservatoryConfigGeneral"));
        KdeObservatoryConfigGeneral->resize(552, 362);
        gridLayout_2 = new QGridLayout(KdeObservatoryConfigGeneral);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        activitiesRange = new QGroupBox(KdeObservatoryConfigGeneral);
        activitiesRange->setObjectName(QString::fromUtf8("activitiesRange"));
        gridLayout = new QGridLayout(activitiesRange);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        verticalLayout1 = new QVBoxLayout();
        verticalLayout1->setObjectName(QString::fromUtf8("verticalLayout1"));
        activitiesFullHistory = new QRadioButton(activitiesRange);
        activitiesFullHistory->setObjectName(QString::fromUtf8("activitiesFullHistory"));

        verticalLayout1->addWidget(activitiesFullHistory);

        horizontalLayout1 = new QHBoxLayout();
        horizontalLayout1->setObjectName(QString::fromUtf8("horizontalLayout1"));
        activitiesInPastDays = new QRadioButton(activitiesRange);
        activitiesInPastDays->setObjectName(QString::fromUtf8("activitiesInPastDays"));
        activitiesInPastDays->setChecked(true);

        horizontalLayout1->addWidget(activitiesInPastDays);

        commitExtent = new QSpinBox(activitiesRange);
        commitExtent->setObjectName(QString::fromUtf8("commitExtent"));
        QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(commitExtent->sizePolicy().hasHeightForWidth());
        commitExtent->setSizePolicy(sizePolicy);
        commitExtent->setMinimumSize(QSize(46, 25));
        commitExtent->setMaximumSize(QSize(46, 25));
        commitExtent->setMinimum(1);
        commitExtent->setMaximum(30);
        commitExtent->setValue(7);

        horizontalLayout1->addWidget(commitExtent);

        lblDays = new QLabel(activitiesRange);
        lblDays->setObjectName(QString::fromUtf8("lblDays"));
        sizePolicy.setHeightForWidth(lblDays->sizePolicy().hasHeightForWidth());
        lblDays->setSizePolicy(sizePolicy);
        lblDays->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout1->addWidget(lblDays);

        spacer3 = new QSpacerItem(106, 44, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout1->addItem(spacer3);


        verticalLayout1->addLayout(horizontalLayout1);

        horizontalLayout2 = new QHBoxLayout();
        horizontalLayout2->setObjectName(QString::fromUtf8("horizontalLayout2"));
        activitiesInRange = new QRadioButton(activitiesRange);
        activitiesInRange->setObjectName(QString::fromUtf8("activitiesInRange"));

        horizontalLayout2->addWidget(activitiesInRange);

        fromDate = new KDatePicker(activitiesRange);
        fromDate->setObjectName(QString::fromUtf8("fromDate"));
        fromDate->setEnabled(false);
        sizePolicy.setHeightForWidth(fromDate->sizePolicy().hasHeightForWidth());
        fromDate->setSizePolicy(sizePolicy);
        fromDate->setMinimumSize(QSize(222, 182));

        horizontalLayout2->addWidget(fromDate);

        lbTo = new QLabel(activitiesRange);
        lbTo->setObjectName(QString::fromUtf8("lbTo"));
        sizePolicy.setHeightForWidth(lbTo->sizePolicy().hasHeightForWidth());
        lbTo->setSizePolicy(sizePolicy);
        lbTo->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);

        horizontalLayout2->addWidget(lbTo);

        toDate = new KDatePicker(activitiesRange);
        toDate->setObjectName(QString::fromUtf8("toDate"));
        toDate->setEnabled(false);
        sizePolicy.setHeightForWidth(toDate->sizePolicy().hasHeightForWidth());
        toDate->setSizePolicy(sizePolicy);
        toDate->setMinimumSize(QSize(222, 182));

        horizontalLayout2->addWidget(toDate);


        verticalLayout1->addLayout(horizontalLayout2);


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

        spacer4 = new QSpacerItem(0, 233, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacer4, 0, 1, 1, 1);


        gridLayout_2->addWidget(activitiesRange, 0, 0, 1, 1);

        verticalLayout2 = new QVBoxLayout();
        verticalLayout2->setSpacing(0);
        verticalLayout2->setObjectName(QString::fromUtf8("verticalLayout2"));
        enableAutoViewChange = new QCheckBox(KdeObservatoryConfigGeneral);
        enableAutoViewChange->setObjectName(QString::fromUtf8("enableAutoViewChange"));
        enableAutoViewChange->setChecked(true);

        verticalLayout2->addWidget(enableAutoViewChange);

        horizontalLayout3 = new QHBoxLayout();
        horizontalLayout3->setObjectName(QString::fromUtf8("horizontalLayout3"));
        spacer1 = new QSpacerItem(27, 44, QSizePolicy::Fixed, QSizePolicy::Minimum);

        horizontalLayout3->addItem(spacer1);

        lblViewsDelay = new QLabel(KdeObservatoryConfigGeneral);
        lblViewsDelay->setObjectName(QString::fromUtf8("lblViewsDelay"));
        sizePolicy.setHeightForWidth(lblViewsDelay->sizePolicy().hasHeightForWidth());
        lblViewsDelay->setSizePolicy(sizePolicy);
        lblViewsDelay->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        horizontalLayout3->addWidget(lblViewsDelay);

        viewsDelay = new QTimeEdit(KdeObservatoryConfigGeneral);
        viewsDelay->setObjectName(QString::fromUtf8("viewsDelay"));
        sizePolicy.setHeightForWidth(viewsDelay->sizePolicy().hasHeightForWidth());
        viewsDelay->setSizePolicy(sizePolicy);

        horizontalLayout3->addWidget(viewsDelay);

        spacer2 = new QSpacerItem(133, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        horizontalLayout3->addItem(spacer2);


        verticalLayout2->addLayout(horizontalLayout3);


        gridLayout_2->addLayout(verticalLayout2, 1, 0, 1, 1);

        spacer5 = new QSpacerItem(20, 112, QSizePolicy::Minimum, QSizePolicy::Expanding);

        gridLayout_2->addItem(spacer5, 2, 0, 1, 1);

        QWidget::setTabOrder(activitiesInPastDays, commitExtent);
        QWidget::setTabOrder(commitExtent, activitiesInRange);
        QWidget::setTabOrder(activitiesInRange, enableAutoViewChange);
        QWidget::setTabOrder(enableAutoViewChange, viewsDelay);

        retranslateUi(KdeObservatoryConfigGeneral);
        QObject::connect(enableAutoViewChange, SIGNAL(toggled(bool)), viewsDelay, SLOT(setEnabled(bool)));
        QObject::connect(activitiesInPastDays, SIGNAL(toggled(bool)), commitExtent, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *KdeObservatoryConfigGeneral)
    {
        activitiesRange->setTitle(tr2i18n("Activity Range", 0));
        activitiesFullHistory->setText(tr2i18n("&Full history", 0));
        activitiesInPastDays->setText(tr2i18n("&Past", 0));
        lblDays->setText(tr2i18n("days", "noun, the 24-hour period"));
        activitiesInRange->setText(tr2i18n("Fro&m", "The beginning of a range"));
        lbTo->setText(tr2i18n("to", "The end of a range"));
        enableAutoViewChange->setText(tr2i18n("&Enable automatic view change", 0));
        lblViewsDelay->setText(tr2i18n("Change view every:", 0));
        viewsDelay->setDisplayFormat(tr2i18n("hh 'Hours' mm 'Mins' ss 'Secs'", 0));
        Q_UNUSED(KdeObservatoryConfigGeneral);
    } // retranslateUi

};

namespace Ui {
    class KdeObservatoryConfigGeneral: public Ui_KdeObservatoryConfigGeneral {};
} // namespace Ui

QT_END_NAMESPACE

#endif // KDEOBSERVATORYCONFIGGENERAL_H

