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

/********************************************************************************
** Form generated from reading UI file 'recommendedsettingsdlg.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_RECOMMENDEDSETTINGSDLG_H
#define UI_RECOMMENDEDSETTINGSDLG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_RecommendedSettingsDlg
{
public:
    QVBoxLayout *verticalLayout_2;
    QHBoxLayout *horizontalLayout;
    QGridLayout *gridLayout;
    QLabel *label;
    QSpinBox *m_upload_bw;
    QLabel *label_2;
    QSpinBox *m_download_bw;
    QLabel *m_upload_bw_display;
    QLabel *m_download_bw_display;
    QVBoxLayout *verticalLayout;
    KPushButton *m_calculate;
    QSpacerItem *verticalSpacer;
    QGroupBox *groupBox_3;
    QGridLayout *gridLayout_3;
    QCheckBox *m_chk_avg_speed_slot;
    QSpinBox *m_avg_speed_slot;
    QCheckBox *m_chk_sim_torrents;
    QSpinBox *m_sim_torrents;
    QCheckBox *m_chk_slots;
    QSpinBox *m_slots;
    QLabel *label_3;
    QHBoxLayout *horizontalLayout_2;
    QGroupBox *groupBox;
    QGridLayout *gridLayout_2;
    QLabel *label_4;
    QLabel *m_max_upload;
    QLabel *label_5;
    QLabel *m_max_download;
    QLabel *label_7;
    QLabel *m_max_conn_per_torrent;
    QLabel *label_8;
    QLabel *m_max_conn_global;
    QGroupBox *groupBox_2;
    QVBoxLayout *verticalLayout_3;
    QGridLayout *gridLayout_4;
    QLabel *label_6;
    QLabel *m_upload_slots;
    QLabel *label_14;
    QLabel *m_max_downloads;
    QLabel *label_17;
    QLabel *m_max_seeds;
    QSpacerItem *verticalSpacer_2;
    QFrame *line;

    void setupUi(QWidget *RecommendedSettingsDlg)
    {
        if (RecommendedSettingsDlg->objectName().isEmpty())
            RecommendedSettingsDlg->setObjectName(QString::fromUtf8("RecommendedSettingsDlg"));
        RecommendedSettingsDlg->resize(505, 356);
        verticalLayout_2 = new QVBoxLayout(RecommendedSettingsDlg);
        verticalLayout_2->setContentsMargins(0, 0, 0, 0);
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label = new QLabel(RecommendedSettingsDlg);
        label->setObjectName(QString::fromUtf8("label"));

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

        m_upload_bw = new QSpinBox(RecommendedSettingsDlg);
        m_upload_bw->setObjectName(QString::fromUtf8("m_upload_bw"));
        m_upload_bw->setMinimum(1);
        m_upload_bw->setMaximum(100000000);
        m_upload_bw->setValue(256);

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

        label_2 = new QLabel(RecommendedSettingsDlg);
        label_2->setObjectName(QString::fromUtf8("label_2"));

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

        m_download_bw = new QSpinBox(RecommendedSettingsDlg);
        m_download_bw->setObjectName(QString::fromUtf8("m_download_bw"));
        m_download_bw->setMinimum(1);
        m_download_bw->setMaximum(100000000);
        m_download_bw->setValue(4000);

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

        m_upload_bw_display = new QLabel(RecommendedSettingsDlg);
        m_upload_bw_display->setObjectName(QString::fromUtf8("m_upload_bw_display"));

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

        m_download_bw_display = new QLabel(RecommendedSettingsDlg);
        m_download_bw_display->setObjectName(QString::fromUtf8("m_download_bw_display"));

        gridLayout->addWidget(m_download_bw_display, 1, 2, 1, 1);


        horizontalLayout->addLayout(gridLayout);

        verticalLayout = new QVBoxLayout();
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        m_calculate = new KPushButton(RecommendedSettingsDlg);
        m_calculate->setObjectName(QString::fromUtf8("m_calculate"));

        verticalLayout->addWidget(m_calculate);

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

        verticalLayout->addItem(verticalSpacer);


        horizontalLayout->addLayout(verticalLayout);


        verticalLayout_2->addLayout(horizontalLayout);

        groupBox_3 = new QGroupBox(RecommendedSettingsDlg);
        groupBox_3->setObjectName(QString::fromUtf8("groupBox_3"));
        gridLayout_3 = new QGridLayout(groupBox_3);
        gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
        m_chk_avg_speed_slot = new QCheckBox(groupBox_3);
        m_chk_avg_speed_slot->setObjectName(QString::fromUtf8("m_chk_avg_speed_slot"));

        gridLayout_3->addWidget(m_chk_avg_speed_slot, 0, 0, 1, 1);

        m_avg_speed_slot = new QSpinBox(groupBox_3);
        m_avg_speed_slot->setObjectName(QString::fromUtf8("m_avg_speed_slot"));
        m_avg_speed_slot->setMinimum(1);
        m_avg_speed_slot->setMaximum(100000000);
        m_avg_speed_slot->setValue(4);

        gridLayout_3->addWidget(m_avg_speed_slot, 0, 1, 1, 1);

        m_chk_sim_torrents = new QCheckBox(groupBox_3);
        m_chk_sim_torrents->setObjectName(QString::fromUtf8("m_chk_sim_torrents"));

        gridLayout_3->addWidget(m_chk_sim_torrents, 1, 0, 1, 1);

        m_sim_torrents = new QSpinBox(groupBox_3);
        m_sim_torrents->setObjectName(QString::fromUtf8("m_sim_torrents"));
        m_sim_torrents->setMinimum(1);
        m_sim_torrents->setMaximum(1000000);
        m_sim_torrents->setValue(2);

        gridLayout_3->addWidget(m_sim_torrents, 1, 1, 1, 1);

        m_chk_slots = new QCheckBox(groupBox_3);
        m_chk_slots->setObjectName(QString::fromUtf8("m_chk_slots"));

        gridLayout_3->addWidget(m_chk_slots, 2, 0, 1, 1);

        m_slots = new QSpinBox(groupBox_3);
        m_slots->setObjectName(QString::fromUtf8("m_slots"));
        m_slots->setMinimum(1);
        m_slots->setMaximum(10000);
        m_slots->setValue(3);

        gridLayout_3->addWidget(m_slots, 2, 1, 1, 1);


        verticalLayout_2->addWidget(groupBox_3);

        label_3 = new QLabel(RecommendedSettingsDlg);
        label_3->setObjectName(QString::fromUtf8("label_3"));

        verticalLayout_2->addWidget(label_3);

        horizontalLayout_2 = new QHBoxLayout();
        horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
        groupBox = new QGroupBox(RecommendedSettingsDlg);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout_2 = new QGridLayout(groupBox);
        gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
        label_4 = new QLabel(groupBox);
        label_4->setObjectName(QString::fromUtf8("label_4"));

        gridLayout_2->addWidget(label_4, 0, 0, 1, 1);

        m_max_upload = new QLabel(groupBox);
        m_max_upload->setObjectName(QString::fromUtf8("m_max_upload"));

        gridLayout_2->addWidget(m_max_upload, 0, 1, 1, 1);

        label_5 = new QLabel(groupBox);
        label_5->setObjectName(QString::fromUtf8("label_5"));

        gridLayout_2->addWidget(label_5, 1, 0, 1, 1);

        m_max_download = new QLabel(groupBox);
        m_max_download->setObjectName(QString::fromUtf8("m_max_download"));

        gridLayout_2->addWidget(m_max_download, 1, 1, 1, 1);

        label_7 = new QLabel(groupBox);
        label_7->setObjectName(QString::fromUtf8("label_7"));

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

        m_max_conn_per_torrent = new QLabel(groupBox);
        m_max_conn_per_torrent->setObjectName(QString::fromUtf8("m_max_conn_per_torrent"));

        gridLayout_2->addWidget(m_max_conn_per_torrent, 2, 1, 1, 1);

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

        gridLayout_2->addWidget(label_8, 3, 0, 1, 1);

        m_max_conn_global = new QLabel(groupBox);
        m_max_conn_global->setObjectName(QString::fromUtf8("m_max_conn_global"));

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


        horizontalLayout_2->addWidget(groupBox);

        groupBox_2 = new QGroupBox(RecommendedSettingsDlg);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        verticalLayout_3 = new QVBoxLayout(groupBox_2);
        verticalLayout_3->setObjectName(QString::fromUtf8("verticalLayout_3"));
        gridLayout_4 = new QGridLayout();
        gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
        label_6 = new QLabel(groupBox_2);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        gridLayout_4->addWidget(label_6, 0, 0, 1, 1);

        m_upload_slots = new QLabel(groupBox_2);
        m_upload_slots->setObjectName(QString::fromUtf8("m_upload_slots"));

        gridLayout_4->addWidget(m_upload_slots, 0, 1, 1, 1);

        label_14 = new QLabel(groupBox_2);
        label_14->setObjectName(QString::fromUtf8("label_14"));

        gridLayout_4->addWidget(label_14, 1, 0, 1, 1);

        m_max_downloads = new QLabel(groupBox_2);
        m_max_downloads->setObjectName(QString::fromUtf8("m_max_downloads"));

        gridLayout_4->addWidget(m_max_downloads, 1, 1, 1, 1);

        label_17 = new QLabel(groupBox_2);
        label_17->setObjectName(QString::fromUtf8("label_17"));

        gridLayout_4->addWidget(label_17, 2, 0, 1, 1);

        m_max_seeds = new QLabel(groupBox_2);
        m_max_seeds->setObjectName(QString::fromUtf8("m_max_seeds"));

        gridLayout_4->addWidget(m_max_seeds, 2, 1, 1, 1);


        verticalLayout_3->addLayout(gridLayout_4);

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

        verticalLayout_3->addItem(verticalSpacer_2);


        horizontalLayout_2->addWidget(groupBox_2);


        verticalLayout_2->addLayout(horizontalLayout_2);

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

        verticalLayout_2->addWidget(line);


        retranslateUi(RecommendedSettingsDlg);

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

    void retranslateUi(QWidget *RecommendedSettingsDlg)
    {
        RecommendedSettingsDlg->setWindowTitle(tr2i18n("Recommended Settings", 0));
        label->setText(tr2i18n("Available upload bandwidth:", 0));
        m_upload_bw->setSpecialValueText(tr2i18n(" Kbps", 0));
        m_upload_bw->setSuffix(tr2i18n(" kb/s", 0));
        label_2->setText(tr2i18n("Available download bandwidth:", 0));
        m_download_bw->setSpecialValueText(tr2i18n(" Kbps", 0));
        m_download_bw->setSuffix(tr2i18n(" kb/s", 0));
        m_upload_bw_display->setText(tr2i18n("(= 32 KiB/s)", 0));
        m_download_bw_display->setText(tr2i18n("(= 500 KiB/s)", 0));
        m_calculate->setText(tr2i18n("Calculate", 0));
        groupBox_3->setTitle(tr2i18n("Preferences", 0));
        m_chk_avg_speed_slot->setText(tr2i18n("Average speed per slot:", 0));
        m_avg_speed_slot->setSuffix(tr2i18n(" KiB/s", 0));
        m_chk_sim_torrents->setText(tr2i18n("Number of torrents you usually download simultaneously:", 0));
        m_chk_slots->setText(tr2i18n("Slots per torrent:", 0));
        label_3->setText(tr2i18n("Recommended settings:", 0));
        groupBox->setTitle(tr2i18n("Network", 0));
        label_4->setText(tr2i18n("Maximum upload speed:", 0));
        m_max_upload->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
        label_5->setText(tr2i18n("Maximum download speed:", 0));
        m_max_download->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
        label_7->setText(tr2i18n("Maximum connections per torrent:", 0));
        m_max_conn_per_torrent->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
        label_8->setText(tr2i18n("Global connection limit:", 0));
        m_max_conn_global->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
        groupBox_2->setTitle(tr2i18n("Queue Manager", 0));
        label_6->setText(tr2i18n("Number of upload slots:", 0));
        m_upload_slots->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
        label_14->setText(tr2i18n("Maximum downloads:", 0));
        m_max_downloads->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
        label_17->setText(tr2i18n("Maximum seeds:", 0));
        m_max_seeds->setText(tr2i18n("TextLabel", "KDE::DoNotExtract"));
    } // retranslateUi

};

namespace Ui {
    class RecommendedSettingsDlg: public Ui_RecommendedSettingsDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // RECOMMENDEDSETTINGSDLG_H

