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

/********************************************************************************
** Form generated from reading UI file 'speedlimitsdlg.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_SPEEDLIMITSDLG_H
#define UI_SPEEDLIMITSDLG_H

#include <Qt3Support/Q3MimeSourceFactory>
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpinBox>
#include <QtGui/QTreeView>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"

QT_BEGIN_NAMESPACE

class Ui_SpeedLimitsDlg
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *m_main_caption;
    QHBoxLayout *horizontalLayout;
    QLabel *label;
    KLineEdit *m_filter;
    QTreeView *m_speed_limits_view;
    QGroupBox *groupBox;
    QGridLayout *gridLayout;
    QLabel *textLabel3;
    QSpinBox *m_download_rate;
    QLabel *textLabel2;
    QSpinBox *m_upload_rate;
    QFrame *line1;

    void setupUi(QWidget *SpeedLimitsDlg)
    {
        if (SpeedLimitsDlg->objectName().isEmpty())
            SpeedLimitsDlg->setObjectName(QString::fromUtf8("SpeedLimitsDlg"));
        SpeedLimitsDlg->resize(546, 372);
        verticalLayout = new QVBoxLayout(SpeedLimitsDlg);
        verticalLayout->setSpacing(6);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        m_main_caption = new QLabel(SpeedLimitsDlg);
        m_main_caption->setObjectName(QString::fromUtf8("m_main_caption"));
        m_main_caption->setWordWrap(false);

        verticalLayout->addWidget(m_main_caption);

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

        horizontalLayout->addWidget(label);

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

        horizontalLayout->addWidget(m_filter);


        verticalLayout->addLayout(horizontalLayout);

        m_speed_limits_view = new QTreeView(SpeedLimitsDlg);
        m_speed_limits_view->setObjectName(QString::fromUtf8("m_speed_limits_view"));
        m_speed_limits_view->setAlternatingRowColors(true);
        m_speed_limits_view->setRootIsDecorated(false);
        m_speed_limits_view->setAllColumnsShowFocus(true);

        verticalLayout->addWidget(m_speed_limits_view);

        groupBox = new QGroupBox(SpeedLimitsDlg);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout = new QGridLayout(groupBox);
        gridLayout->setSpacing(6);
        gridLayout->setContentsMargins(11, 11, 11, 11);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        textLabel3 = new QLabel(groupBox);
        textLabel3->setObjectName(QString::fromUtf8("textLabel3"));
        textLabel3->setWordWrap(false);

        gridLayout->addWidget(textLabel3, 0, 0, 1, 1);

        m_download_rate = new QSpinBox(groupBox);
        m_download_rate->setObjectName(QString::fromUtf8("m_download_rate"));
        m_download_rate->setMaximum(1000000);

        gridLayout->addWidget(m_download_rate, 0, 1, 1, 1);

        textLabel2 = new QLabel(groupBox);
        textLabel2->setObjectName(QString::fromUtf8("textLabel2"));
        textLabel2->setWordWrap(false);

        gridLayout->addWidget(textLabel2, 1, 0, 1, 1);

        m_upload_rate = new QSpinBox(groupBox);
        m_upload_rate->setObjectName(QString::fromUtf8("m_upload_rate"));
        m_upload_rate->setMaximum(1000000);

        gridLayout->addWidget(m_upload_rate, 1, 1, 1, 1);


        verticalLayout->addWidget(groupBox);

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

        verticalLayout->addWidget(line1);


        retranslateUi(SpeedLimitsDlg);

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

    void retranslateUi(QWidget *SpeedLimitsDlg)
    {
        SpeedLimitsDlg->setWindowTitle(tr2i18n("Speed Limits", 0));
        m_main_caption->setText(tr2i18n("Speed limits for individual torrents (double click to edit):", 0));
        label->setText(tr2i18n("Filter:", 0));
        groupBox->setTitle(tr2i18n("Global Limits", 0));
        textLabel3->setText(tr2i18n("Maximum download speed:", 0));
        m_download_rate->setSpecialValueText(tr2i18n("No limit", 0));
        m_download_rate->setSuffix(tr2i18n(" KiB/s", 0));
        textLabel2->setText(tr2i18n("Maximum upload speed:", 0));
        m_upload_rate->setSpecialValueText(tr2i18n("No limit", 0));
        m_upload_rate->setSuffix(tr2i18n(" KiB/s", 0));
    } // retranslateUi

};

namespace Ui {
    class SpeedLimitsDlg: public Ui_SpeedLimitsDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // SPEEDLIMITSDLG_H

