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

/********************************************************************************
** Form generated from reading UI file 'downloadorderwidget.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_DOWNLOADORDERWIDGET_H
#define UI_DOWNLOADORDERWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QListView>
#include <QtGui/QSpacerItem>
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_DownloadOrderWidget
{
public:
    QVBoxLayout *verticalLayout_2;
    QLabel *m_top_label;
    QCheckBox *m_custom_order_enabled;
    QHBoxLayout *horizontalLayout_2;
    QToolButton *m_sort_by;
    KLineEdit *m_search_files;
    QHBoxLayout *horizontalLayout;
    QListView *m_order;
    QVBoxLayout *verticalLayout;
    KPushButton *m_move_top;
    KPushButton *m_move_up;
    KPushButton *m_move_down;
    KPushButton *m_move_bottom;
    QSpacerItem *verticalSpacer;
    QFrame *line;

    void setupUi(QWidget *DownloadOrderWidget)
    {
        if (DownloadOrderWidget->objectName().isEmpty())
            DownloadOrderWidget->setObjectName(QString::fromUtf8("DownloadOrderWidget"));
        DownloadOrderWidget->resize(623, 517);
        verticalLayout_2 = new QVBoxLayout(DownloadOrderWidget);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        m_top_label = new QLabel(DownloadOrderWidget);
        m_top_label->setObjectName(QString::fromUtf8("m_top_label"));

        verticalLayout_2->addWidget(m_top_label);

        m_custom_order_enabled = new QCheckBox(DownloadOrderWidget);
        m_custom_order_enabled->setObjectName(QString::fromUtf8("m_custom_order_enabled"));

        verticalLayout_2->addWidget(m_custom_order_enabled);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        m_sort_by = new QToolButton(DownloadOrderWidget);
        m_sort_by->setObjectName(QString::fromUtf8("m_sort_by"));
        m_sort_by->setContextMenuPolicy(Qt::DefaultContextMenu);
        m_sort_by->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);

        horizontalLayout_2->addWidget(m_sort_by);

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

        horizontalLayout_2->addWidget(m_search_files);


        verticalLayout_2->addLayout(horizontalLayout_2);

        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        m_order = new QListView(DownloadOrderWidget);
        m_order->setObjectName(QString::fromUtf8("m_order"));

        horizontalLayout->addWidget(m_order);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        m_move_top = new KPushButton(DownloadOrderWidget);
        m_move_top->setObjectName(QString::fromUtf8("m_move_top"));

        verticalLayout->addWidget(m_move_top);

        m_move_up = new KPushButton(DownloadOrderWidget);
        m_move_up->setObjectName(QString::fromUtf8("m_move_up"));

        verticalLayout->addWidget(m_move_up);

        m_move_down = new KPushButton(DownloadOrderWidget);
        m_move_down->setObjectName(QString::fromUtf8("m_move_down"));

        verticalLayout->addWidget(m_move_down);

        m_move_bottom = new KPushButton(DownloadOrderWidget);
        m_move_bottom->setObjectName(QString::fromUtf8("m_move_bottom"));

        verticalLayout->addWidget(m_move_bottom);

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

        verticalLayout->addItem(verticalSpacer);


        horizontalLayout->addLayout(verticalLayout);


        verticalLayout_2->addLayout(horizontalLayout);

        line = new QFrame(DownloadOrderWidget);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShape(QFrame::HLine);
        line->setFrameShadow(QFrame::Sunken);

        verticalLayout_2->addWidget(line);


        retranslateUi(DownloadOrderWidget);
        QObject::connect(m_custom_order_enabled, SIGNAL(toggled(bool)), m_order, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *DownloadOrderWidget)
    {
        DownloadOrderWidget->setWindowTitle(tr2i18n("File Download Order", 0));
        m_top_label->setText(tr2i18n("File download order for:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_custom_order_enabled->setToolTip(tr2i18n("Whether or not to enable a custom download order.", 0));
#endif // QT_NO_TOOLTIP
        m_custom_order_enabled->setText(tr2i18n("Custom file download order enabled", 0));
        m_sort_by->setText(tr2i18n("Sort By", 0));
        m_search_files->setPlaceholderText(tr2i18n("Search files", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_order->setToolTip(tr2i18n("Order in which to download the files of a torrent. The file at the top will be downloaded first, followed by the second, then the third ...", 0));
#endif // QT_NO_TOOLTIP
        m_move_top->setText(QString());
        m_move_up->setText(QString());
        m_move_down->setText(QString());
        m_move_bottom->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class DownloadOrderWidget: public Ui_DownloadOrderWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // DOWNLOADORDERWIDGET_H

