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

/********************************************************************************
** Form generated from reading UI file 'introduction.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_INTRODUCTION_H
#define UI_INTRODUCTION_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QRadioButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_Introduction
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label_2;
    QSpacerItem *verticalSpacer_2;
    QFormLayout *formLayout;
    QLabel *label;
    KUrlRequester *save;
    QSpacerItem *verticalSpacer;
    QRadioButton *createButton;
    QRadioButton *loadButton;
    KUrlRequester *load;
    QSpacerItem *verticalSpacer_3;

    void setupUi(QWidget *Introduction)
    {
        if (Introduction->objectName().isEmpty())
            Introduction->setObjectName(QString::fromUtf8("Introduction"));
        Introduction->resize(588, 209);
        verticalLayout = new QVBoxLayout(Introduction);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        label_2 = new QLabel(Introduction);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setWordWrap(true);

        verticalLayout->addWidget(label_2);

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

        verticalLayout->addItem(verticalSpacer_2);

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

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

        save = new KUrlRequester(Introduction);
        save->setObjectName(QString::fromUtf8("save"));
        save->setMode(KFile::File|KFile::LocalOnly);

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

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

        formLayout->setItem(1, QFormLayout::LabelRole, verticalSpacer);

        createButton = new QRadioButton(Introduction);
        createButton->setObjectName(QString::fromUtf8("createButton"));
        createButton->setChecked(true);

        formLayout->setWidget(2, QFormLayout::LabelRole, createButton);

        loadButton = new QRadioButton(Introduction);
        loadButton->setObjectName(QString::fromUtf8("loadButton"));

        formLayout->setWidget(3, QFormLayout::LabelRole, loadButton);

        load = new KUrlRequester(Introduction);
        load->setObjectName(QString::fromUtf8("load"));
        load->setEnabled(false);

        formLayout->setWidget(3, QFormLayout::FieldRole, load);


        verticalLayout->addLayout(formLayout);

        verticalSpacer_3 = new QSpacerItem(20, 86, QSizePolicy::Minimum, QSizePolicy::Expanding);

        verticalLayout->addItem(verticalSpacer_3);


        retranslateUi(Introduction);
        QObject::connect(loadButton, SIGNAL(toggled(bool)), load, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *Introduction)
    {
        label_2->setText(tr2i18n("This assistant allows you to create metalinks from scratch or base them on existing metalinks. A lot of the fields are optional or recommended, so enter them if desired. The minimum is a save location, at least one file and one URL.", 0));
        label->setText(tr2i18n("Save created Metalink at:", 0));
        createButton->setText(tr2i18n("Create new Metalink", 0));
        loadButton->setText(tr2i18n("Load existing Metalink:", 0));
        load->setFilter(tr2i18n("*.metalink *.meta4|Metalink file (*.metalink *.meta4)", 0));
        Q_UNUSED(Introduction);
    } // retranslateUi

};

namespace Ui {
    class Introduction: public Ui_Introduction {};
} // namespace Ui

QT_END_NAMESPACE

#endif // INTRODUCTION_H

