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

/********************************************************************************
** Form generated from reading UI file 'skgunitpluginwidget_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_SKGUNITPLUGINWIDGET_PREF_H
#define UI_SKGUNITPLUGINWIDGET_PREF_H

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

QT_BEGIN_NAMESPACE

class Ui_skgunitplugin_pref
{
public:
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout_2;
    QCheckBox *kcfg_download_on_open;
    KComboBox *kcfg_download_frequency;
    QSpacerItem *horizontalSpacer_2;
    QGroupBox *downloadmode;
    QVBoxLayout *verticalLayout;
    QRadioButton *kcfg_last;
    QRadioButton *kcfg_last_monthly;
    QRadioButton *kcfg_last_weekly;
    QRadioButton *kcfg_last_daily;
    QRadioButton *kcfg_all_monthly;
    QRadioButton *kcfg_all_weekly;
    QRadioButton *kcfg_all_daily;
    QHBoxLayout *horizontalLayout;
    QLabel *label;
    QSpinBox *kcfg_nb_loaded_values;
    QSpacerItem *horizontalSpacer;
    QCheckBox *kcfg_download_additional_info;
    QSpacerItem *verticalSpacer;

    void setupUi(QWidget *skgunitplugin_pref)
    {
        if (skgunitplugin_pref->objectName().isEmpty())
            skgunitplugin_pref->setObjectName(QString::fromUtf8("skgunitplugin_pref"));
        skgunitplugin_pref->resize(328, 309);
        verticalLayout_2 = new QVBoxLayout(skgunitplugin_pref);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setSpacing(2);
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        kcfg_download_on_open = new QCheckBox(skgunitplugin_pref);
        kcfg_download_on_open->setObjectName(QString::fromUtf8("kcfg_download_on_open"));

        horizontalLayout_2->addWidget(kcfg_download_on_open);

        kcfg_download_frequency = new KComboBox(skgunitplugin_pref);
        kcfg_download_frequency->setObjectName(QString::fromUtf8("kcfg_download_frequency"));
        kcfg_download_frequency->setEnabled(false);

        horizontalLayout_2->addWidget(kcfg_download_frequency);

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

        horizontalLayout_2->addItem(horizontalSpacer_2);


        verticalLayout_2->addLayout(horizontalLayout_2);

        downloadmode = new QGroupBox(skgunitplugin_pref);
        downloadmode->setObjectName(QString::fromUtf8("downloadmode"));
        verticalLayout = new QVBoxLayout(downloadmode);
        verticalLayout->setSpacing(2);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        kcfg_last = new QRadioButton(downloadmode);
        kcfg_last->setObjectName(QString::fromUtf8("kcfg_last"));

        verticalLayout->addWidget(kcfg_last);

        kcfg_last_monthly = new QRadioButton(downloadmode);
        kcfg_last_monthly->setObjectName(QString::fromUtf8("kcfg_last_monthly"));

        verticalLayout->addWidget(kcfg_last_monthly);

        kcfg_last_weekly = new QRadioButton(downloadmode);
        kcfg_last_weekly->setObjectName(QString::fromUtf8("kcfg_last_weekly"));

        verticalLayout->addWidget(kcfg_last_weekly);

        kcfg_last_daily = new QRadioButton(downloadmode);
        kcfg_last_daily->setObjectName(QString::fromUtf8("kcfg_last_daily"));

        verticalLayout->addWidget(kcfg_last_daily);

        kcfg_all_monthly = new QRadioButton(downloadmode);
        kcfg_all_monthly->setObjectName(QString::fromUtf8("kcfg_all_monthly"));

        verticalLayout->addWidget(kcfg_all_monthly);

        kcfg_all_weekly = new QRadioButton(downloadmode);
        kcfg_all_weekly->setObjectName(QString::fromUtf8("kcfg_all_weekly"));

        verticalLayout->addWidget(kcfg_all_weekly);

        kcfg_all_daily = new QRadioButton(downloadmode);
        kcfg_all_daily->setObjectName(QString::fromUtf8("kcfg_all_daily"));

        verticalLayout->addWidget(kcfg_all_daily);


        verticalLayout_2->addWidget(downloadmode);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setSpacing(2);
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        label = new QLabel(skgunitplugin_pref);
        label->setObjectName(QString::fromUtf8("label"));

        horizontalLayout->addWidget(label);

        kcfg_nb_loaded_values = new QSpinBox(skgunitplugin_pref);
        kcfg_nb_loaded_values->setObjectName(QString::fromUtf8("kcfg_nb_loaded_values"));
        kcfg_nb_loaded_values->setValue(50);

        horizontalLayout->addWidget(kcfg_nb_loaded_values);

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

        horizontalLayout->addItem(horizontalSpacer);


        verticalLayout_2->addLayout(horizontalLayout);

        kcfg_download_additional_info = new QCheckBox(skgunitplugin_pref);
        kcfg_download_additional_info->setObjectName(QString::fromUtf8("kcfg_download_additional_info"));

        verticalLayout_2->addWidget(kcfg_download_additional_info);

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

        verticalLayout_2->addItem(verticalSpacer);

#ifndef UI_QT_NO_SHORTCUT
        label->setBuddy(kcfg_nb_loaded_values);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(kcfg_download_on_open, kcfg_download_frequency);
        QWidget::setTabOrder(kcfg_download_frequency, kcfg_last);
        QWidget::setTabOrder(kcfg_last, kcfg_last_monthly);
        QWidget::setTabOrder(kcfg_last_monthly, kcfg_last_weekly);
        QWidget::setTabOrder(kcfg_last_weekly, kcfg_last_daily);
        QWidget::setTabOrder(kcfg_last_daily, kcfg_all_monthly);
        QWidget::setTabOrder(kcfg_all_monthly, kcfg_all_weekly);
        QWidget::setTabOrder(kcfg_all_weekly, kcfg_all_daily);
        QWidget::setTabOrder(kcfg_all_daily, kcfg_nb_loaded_values);
        QWidget::setTabOrder(kcfg_nb_loaded_values, kcfg_download_additional_info);

        retranslateUi(skgunitplugin_pref);
        QObject::connect(kcfg_download_on_open, SIGNAL(toggled(bool)), kcfg_download_frequency, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *skgunitplugin_pref)
    {
        kcfg_download_on_open->setText(tr2i18n("Download on open", 0));
        kcfg_download_frequency->clear();
        kcfg_download_frequency->insertItems(0, QStringList()
         << tr2i18n("Once a day", 0)
         << tr2i18n("Once a week", 0)
         << tr2i18n("Once a month", 0)
        );
        downloadmode->setTitle(tr2i18n("Download mode", 0));
        kcfg_last->setText(tr2i18n("Last value found only", 0));
        kcfg_last_monthly->setText(tr2i18n("Monthly values since last download", 0));
        kcfg_last_weekly->setText(tr2i18n("Weekly values since last download", 0));
        kcfg_last_daily->setText(tr2i18n("Daily values since last download", 0));
        kcfg_all_monthly->setText(tr2i18n("Monthly values for all dates", 0));
        kcfg_all_weekly->setText(tr2i18n("Weekly values for all dates", 0));
        kcfg_all_daily->setText(tr2i18n("Daily values for all dates", 0));
        label->setText(tr2i18n("Maximum number of imported values:", 0));
        kcfg_download_additional_info->setText(tr2i18n("Download additional information as property", 0));
        Q_UNUSED(skgunitplugin_pref);
    } // retranslateUi

};

namespace Ui {
    class skgunitplugin_pref: public Ui_skgunitplugin_pref {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SKGUNITPLUGINWIDGET_PREF_H

