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

/********************************************************************************
** Form generated from reading UI file 'generalwidget.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_GENERALWIDGET_H
#define UI_GENERALWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QTimeEdit>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kdatetimewidget.h"
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_GeneralWidget
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label_5;
    QLabel *label_7;
    QSpacerItem *verticalSpacer_4;
    QFormLayout *formLayout;
    QLabel *label_2;
    KLineEdit *origin;
    QLabel *labelDynamic;
    QCheckBox *dynamic;
    QSpacerItem *verticalSpacer;
    QGroupBox *publishedGroupBox;
    QFormLayout *formLayout_2;
    QLabel *label_30;
    KDateTimeWidget *published;
    QCheckBox *use_publishedtimeoffset;
    QCheckBox *publishedNegative;
    QLabel *label;
    QTimeEdit *publishedoffset;
    QSpacerItem *verticalSpacer_3;
    QGroupBox *updatedGroupBox;
    QFormLayout *formLayout_3;
    QCheckBox *updatedNegative;
    QLabel *label_8;
    QCheckBox *use_updatedtimeoffset;
    KDateTimeWidget *updated;
    QLabel *label_29;
    QTimeEdit *updatedoffset;
    QSpacerItem *verticalSpacer_2;

    void setupUi(QWidget *GeneralWidget)
    {
        if (GeneralWidget->objectName().isEmpty())
            GeneralWidget->setObjectName(QString::fromUtf8("GeneralWidget"));
        GeneralWidget->resize(473, 412);
        verticalLayout = new QVBoxLayout(GeneralWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        label_5 = new QLabel(GeneralWidget);
        label_5->setObjectName(QString::fromUtf8("label_5"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label_5->setFont(font);

        verticalLayout->addWidget(label_5);

        label_7 = new QLabel(GeneralWidget);
        label_7->setObjectName(QString::fromUtf8("label_7"));
        label_7->setWordWrap(true);

        verticalLayout->addWidget(label_7);

        verticalSpacer_4 = new QSpacerItem(20, 10, QSizePolicy::Minimum, QSizePolicy::Fixed);

        verticalLayout->addItem(verticalSpacer_4);

        formLayout = new QFormLayout();
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        label_2 = new QLabel(GeneralWidget);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        formLayout->setWidget(0, QFormLayout::LabelRole, label_2);

        origin = new KLineEdit(GeneralWidget);
        origin->setObjectName(QString::fromUtf8("origin"));

        formLayout->setWidget(0, QFormLayout::FieldRole, origin);

        labelDynamic = new QLabel(GeneralWidget);
        labelDynamic->setObjectName(QString::fromUtf8("labelDynamic"));

        formLayout->setWidget(1, QFormLayout::LabelRole, labelDynamic);

        dynamic = new QCheckBox(GeneralWidget);
        dynamic->setObjectName(QString::fromUtf8("dynamic"));

        formLayout->setWidget(1, QFormLayout::FieldRole, dynamic);


        verticalLayout->addLayout(formLayout);

        verticalSpacer = new QSpacerItem(40, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);

        verticalLayout->addItem(verticalSpacer);

        publishedGroupBox = new QGroupBox(GeneralWidget);
        publishedGroupBox->setObjectName(QString::fromUtf8("publishedGroupBox"));
        publishedGroupBox->setCheckable(true);
        publishedGroupBox->setChecked(false);
        formLayout_2 = new QFormLayout(publishedGroupBox);
        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
        label_30 = new QLabel(publishedGroupBox);
        label_30->setObjectName(QString::fromUtf8("label_30"));

        formLayout_2->setWidget(0, QFormLayout::LabelRole, label_30);

        published = new KDateTimeWidget(publishedGroupBox);
        published->setObjectName(QString::fromUtf8("published"));

        formLayout_2->setWidget(0, QFormLayout::FieldRole, published);

        use_publishedtimeoffset = new QCheckBox(publishedGroupBox);
        use_publishedtimeoffset->setObjectName(QString::fromUtf8("use_publishedtimeoffset"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, use_publishedtimeoffset);

        publishedNegative = new QCheckBox(publishedGroupBox);
        publishedNegative->setObjectName(QString::fromUtf8("publishedNegative"));
        publishedNegative->setEnabled(false);

        formLayout_2->setWidget(2, QFormLayout::FieldRole, publishedNegative);

        label = new QLabel(publishedGroupBox);
        label->setObjectName(QString::fromUtf8("label"));

        formLayout_2->setWidget(2, QFormLayout::LabelRole, label);

        publishedoffset = new QTimeEdit(publishedGroupBox);
        publishedoffset->setObjectName(QString::fromUtf8("publishedoffset"));

        formLayout_2->setWidget(1, QFormLayout::FieldRole, publishedoffset);


        verticalLayout->addWidget(publishedGroupBox);

        verticalSpacer_3 = new QSpacerItem(40, 5, QSizePolicy::Minimum, QSizePolicy::Fixed);

        verticalLayout->addItem(verticalSpacer_3);

        updatedGroupBox = new QGroupBox(GeneralWidget);
        updatedGroupBox->setObjectName(QString::fromUtf8("updatedGroupBox"));
        updatedGroupBox->setFlat(false);
        updatedGroupBox->setCheckable(true);
        updatedGroupBox->setChecked(false);
        formLayout_3 = new QFormLayout(updatedGroupBox);
        formLayout_3->setObjectName(QString::fromUtf8("formLayout_3"));
        formLayout_3->setFieldGrowthPolicy(QFormLayout::ExpandingFieldsGrow);
        updatedNegative = new QCheckBox(updatedGroupBox);
        updatedNegative->setObjectName(QString::fromUtf8("updatedNegative"));
        updatedNegative->setEnabled(false);

        formLayout_3->setWidget(2, QFormLayout::FieldRole, updatedNegative);

        label_8 = new QLabel(updatedGroupBox);
        label_8->setObjectName(QString::fromUtf8("label_8"));

        formLayout_3->setWidget(2, QFormLayout::LabelRole, label_8);

        use_updatedtimeoffset = new QCheckBox(updatedGroupBox);
        use_updatedtimeoffset->setObjectName(QString::fromUtf8("use_updatedtimeoffset"));

        formLayout_3->setWidget(1, QFormLayout::LabelRole, use_updatedtimeoffset);

        updated = new KDateTimeWidget(updatedGroupBox);
        updated->setObjectName(QString::fromUtf8("updated"));

        formLayout_3->setWidget(0, QFormLayout::FieldRole, updated);

        label_29 = new QLabel(updatedGroupBox);
        label_29->setObjectName(QString::fromUtf8("label_29"));

        formLayout_3->setWidget(0, QFormLayout::LabelRole, label_29);

        updatedoffset = new QTimeEdit(updatedGroupBox);
        updatedoffset->setObjectName(QString::fromUtf8("updatedoffset"));

        formLayout_3->setWidget(1, QFormLayout::FieldRole, updatedoffset);


        verticalLayout->addWidget(updatedGroupBox);

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

        verticalLayout->addItem(verticalSpacer_2);


        retranslateUi(GeneralWidget);
        QObject::connect(use_publishedtimeoffset, SIGNAL(toggled(bool)), publishedNegative, SLOT(setEnabled(bool)));
        QObject::connect(use_updatedtimeoffset, SIGNAL(toggled(bool)), updatedNegative, SLOT(setEnabled(bool)));
        QObject::connect(use_updatedtimeoffset, SIGNAL(toggled(bool)), label_8, SLOT(setEnabled(bool)));
        QObject::connect(use_publishedtimeoffset, SIGNAL(toggled(bool)), label, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *GeneralWidget)
    {
        label_5->setText(tr2i18n("General information:", 0));
        label_7->setText(tr2i18n("Here you can enter optional general information on the metalink.", 0));
        label_2->setText(tr2i18n("Origin:", 0));
        origin->setClickMessage(tr2i18n("Web URL to the metalink", 0));
#ifndef UI_QT_NO_TOOLTIP
        labelDynamic->setToolTip(tr2i18n("Dynamic means that updated metalinks can be found at \"Origin\".", 0));
#endif // QT_NO_TOOLTIP
        labelDynamic->setText(tr2i18n("Dynamic:", 0));
        dynamic->setText(QString());
        publishedGroupBox->setTitle(tr2i18n("Metalink published", 0));
        label_30->setText(tr2i18n("Date and time:", 0));
        use_publishedtimeoffset->setText(tr2i18n("Timezone offset:", 0));
        publishedNegative->setText(QString());
        label->setText(tr2i18n("Negative offset:", 0));
        updatedGroupBox->setTitle(tr2i18n("Metalink updated", 0));
        updatedNegative->setText(QString());
        label_8->setText(tr2i18n("Negative offset:", 0));
        use_updatedtimeoffset->setText(tr2i18n("Timezone offset:", 0));
        label_29->setText(tr2i18n("Date and time:", 0));
        Q_UNUSED(GeneralWidget);
    } // retranslateUi

};

namespace Ui {
    class GeneralWidget: public Ui_GeneralWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // GENERALWIDGET_H

