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

/********************************************************************************
** Form generated from reading UI file 'filedlg.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_FILEDLG_H
#define UI_FILEDLG_H

#include <KMessageWidget>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFormLayout>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QTreeView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"
#include "kpushbutton.h"
#include "krestrictedline.h"
#include "ktabwidget.h"

QT_BEGIN_NAMESPACE

class Ui_FileDlg
{
public:
    QVBoxLayout *verticalLayout;
    KMessageWidget *infoWidget;
    KTabWidget *tabWidget;
    QWidget *tab_3;
    QGridLayout *gridLayout;
    QSpacerItem *horizontalSpacer;
    QFormLayout *formLayout;
    QLabel *label_10;
    KLineEdit *name;
    QSpacerItem *verticalSpacer;
    QVBoxLayout *urlLayout;
    QLabel *label_9;
    QWidget *tab_4;
    QGridLayout *gridLayout_2;
    QFormLayout *formLayout_3;
    QLabel *label_11;
    KRestrictedLine *size;
    QSpacerItem *verticalSpacer_5;
    QLabel *label_2;
    QTreeView *used_hashes;
    QVBoxLayout *verticalLayout_2;
    KPushButton *add_hash;
    KPushButton *remove_hash;
    QSpacerItem *verticalSpacer_2;
    QWidget *Seite;
    QVBoxLayout *verticalLayout_3;
    QVBoxLayout *dataLayout;
    QSpacerItem *verticalSpacer_8;

    void setupUi(QWidget *FileDlg)
    {
        if (FileDlg->objectName().isEmpty())
            FileDlg->setObjectName(QString::fromUtf8("FileDlg"));
        FileDlg->resize(518, 596);
        verticalLayout = new QVBoxLayout(FileDlg);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        infoWidget = new KMessageWidget(FileDlg);
        infoWidget->setObjectName(QString::fromUtf8("infoWidget"));

        verticalLayout->addWidget(infoWidget);

        tabWidget = new KTabWidget(FileDlg);
        tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
        tab_3 = new QWidget();
        tab_3->setObjectName(QString::fromUtf8("tab_3"));
        gridLayout = new QGridLayout(tab_3);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);

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

        formLayout = new QFormLayout();
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        label_10 = new QLabel(tab_3);
        label_10->setObjectName(QString::fromUtf8("label_10"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(label_10->sizePolicy().hasHeightForWidth());
        label_10->setSizePolicy(sizePolicy);

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

        name = new KLineEdit(tab_3);
        name->setObjectName(QString::fromUtf8("name"));
        name->setProperty("showClearButton", QVariant(true));

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


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

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

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

        urlLayout = new QVBoxLayout();
        urlLayout->setObjectName(QString::fromUtf8("urlLayout"));

        gridLayout->addLayout(urlLayout, 3, 1, 1, 2);

        label_9 = new QLabel(tab_3);
        label_9->setObjectName(QString::fromUtf8("label_9"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        label_9->setFont(font);

        gridLayout->addWidget(label_9, 2, 0, 1, 2);

        tabWidget->addTab(tab_3, QString());
        tab_4 = new QWidget();
        tab_4->setObjectName(QString::fromUtf8("tab_4"));
        gridLayout_2 = new QGridLayout(tab_4);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        formLayout_3 = new QFormLayout();
        formLayout_3->setObjectName(QString::fromUtf8("formLayout_3"));
        label_11 = new QLabel(tab_4);
        label_11->setObjectName(QString::fromUtf8("label_11"));

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

        size = new KRestrictedLine(tab_4);
        size->setObjectName(QString::fromUtf8("size"));
        size->setProperty("showClearButton", QVariant(true));

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


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

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

        gridLayout_2->addItem(verticalSpacer_5, 1, 0, 1, 1);

        label_2 = new QLabel(tab_4);
        label_2->setObjectName(QString::fromUtf8("label_2"));
        label_2->setFont(font);

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

        used_hashes = new QTreeView(tab_4);
        used_hashes->setObjectName(QString::fromUtf8("used_hashes"));
        used_hashes->setSelectionMode(QAbstractItemView::ExtendedSelection);
        used_hashes->setRootIsDecorated(false);
        used_hashes->setUniformRowHeights(true);
        used_hashes->setSortingEnabled(true);

        gridLayout_2->addWidget(used_hashes, 3, 1, 1, 1);

        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        add_hash = new KPushButton(tab_4);
        add_hash->setObjectName(QString::fromUtf8("add_hash"));

        verticalLayout_2->addWidget(add_hash);

        remove_hash = new KPushButton(tab_4);
        remove_hash->setObjectName(QString::fromUtf8("remove_hash"));

        verticalLayout_2->addWidget(remove_hash);

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

        verticalLayout_2->addItem(verticalSpacer_2);


        gridLayout_2->addLayout(verticalLayout_2, 3, 2, 1, 1);

        tabWidget->addTab(tab_4, QString());
        Seite = new QWidget();
        Seite->setObjectName(QString::fromUtf8("Seite"));
        verticalLayout_3 = new QVBoxLayout(Seite);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        dataLayout = new QVBoxLayout();
        dataLayout->setObjectName(QString::fromUtf8("dataLayout"));

        verticalLayout_3->addLayout(dataLayout);

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

        verticalLayout_3->addItem(verticalSpacer_8);

        tabWidget->addTab(Seite, QString());

        verticalLayout->addWidget(tabWidget);

        QWidget::setTabOrder(name, size);
        QWidget::setTabOrder(size, add_hash);
        QWidget::setTabOrder(add_hash, remove_hash);
        QWidget::setTabOrder(remove_hash, used_hashes);

        retranslateUi(FileDlg);

        tabWidget->setCurrentIndex(0);


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

    void retranslateUi(QWidget *FileDlg)
    {
        label_10->setText(tr2i18n("Filename:", 0));
        label_9->setText(tr2i18n("Used Mirrors:", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab_3), tr2i18n("Required", 0));
        label_11->setText(tr2i18n("File size (in bytes):", 0));
        size->setValidChars(tr2i18n("0123456789", 0));
        label_2->setText(tr2i18n("Verification:", 0));
        tabWidget->setTabText(tabWidget->indexOf(tab_4), tr2i18n("Recommended", 0));
        tabWidget->setTabText(tabWidget->indexOf(Seite), tr2i18n("Optional", 0));
        Q_UNUSED(FileDlg);
    } // retranslateUi

};

namespace Ui {
    class FileDlg: public Ui_FileDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // FILEDLG_H

