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

/********************************************************************************
** Form generated from reading UI file 'statustab.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_STATUSTAB_H
#define UI_STATUSTAB_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDoubleSpinBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "availabilitychunkbar.h"
#include "downloadedchunkbar.h"
#include "ksqueezedtextlabel.h"

QT_BEGIN_NAMESPACE

class Ui_StatusTab
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *hdr_info;
    QGridLayout *gridLayout;
    QLabel *label_14;
    QLabel *avg_down_speed;
    QLabel *label_16;
    QLabel *type;
    QSpacerItem *spacerItem;
    QLabel *label_15;
    QLabel *avg_up_speed;
    QLabel *label;
    QLabel *info_hash;
    QLabel *label_17;
    KSqueezedTextLabel *comments;
    QHBoxLayout *hboxLayout;
    QVBoxLayout *vboxLayout;
    QLabel *hdr_chunks;
    QLabel *label_4;
    kt::DownloadedChunkBar *downloaded_bar;
    QLabel *label_5;
    kt::AvailabilityChunkBar *availability_bar;
    QSpacerItem *spacerItem1;
    QFrame *line;
    QVBoxLayout *vboxLayout1;
    QLabel *hdr_sharing;
    QGridLayout *gridLayout1;
    QLabel *label_6;
    QLabel *share_ratio;
    QCheckBox *use_ratio_limit;
    QDoubleSpinBox *ratio_limit;
    QCheckBox *use_time_limit;
    QDoubleSpinBox *time_limit;
    QSpacerItem *spacerItem2;

    void setupUi(QWidget *StatusTab)
    {
        if (StatusTab->objectName().isEmpty())
            StatusTab->setObjectName(QString::fromUtf8("StatusTab"));
        StatusTab->resize(707, 186);
        verticalLayout = new QVBoxLayout(StatusTab);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        hdr_info = new QLabel(StatusTab);
        hdr_info->setObjectName(QString::fromUtf8("hdr_info"));
        QFont font;
        font.setBold(true);
        font.setWeight(75);
        hdr_info->setFont(font);
        hdr_info->setAutoFillBackground(true);
        hdr_info->setFrameShape(QFrame::NoFrame);
        hdr_info->setFrameShadow(QFrame::Plain);

        verticalLayout->addWidget(hdr_info);

        gridLayout = new QGridLayout();
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        label_14 = new QLabel(StatusTab);
        label_14->setObjectName(QString::fromUtf8("label_14"));

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

        avg_down_speed = new QLabel(StatusTab);
        avg_down_speed->setObjectName(QString::fromUtf8("avg_down_speed"));
        avg_down_speed->setMinimumSize(QSize(100, 0));
        avg_down_speed->setFrameShape(QFrame::NoFrame);

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

        label_16 = new QLabel(StatusTab);
        label_16->setObjectName(QString::fromUtf8("label_16"));

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

        type = new QLabel(StatusTab);
        type->setObjectName(QString::fromUtf8("type"));
        type->setMinimumSize(QSize(100, 0));
        type->setFrameShape(QFrame::NoFrame);

        gridLayout->addWidget(type, 0, 3, 1, 1);

        spacerItem = new QSpacerItem(13, 41, QSizePolicy::Expanding, QSizePolicy::Minimum);

        gridLayout->addItem(spacerItem, 0, 4, 2, 1);

        label_15 = new QLabel(StatusTab);
        label_15->setObjectName(QString::fromUtf8("label_15"));

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

        avg_up_speed = new QLabel(StatusTab);
        avg_up_speed->setObjectName(QString::fromUtf8("avg_up_speed"));
        avg_up_speed->setMinimumSize(QSize(50, 0));
        avg_up_speed->setFrameShape(QFrame::NoFrame);

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

        label = new QLabel(StatusTab);
        label->setObjectName(QString::fromUtf8("label"));

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

        info_hash = new QLabel(StatusTab);
        info_hash->setObjectName(QString::fromUtf8("info_hash"));
        info_hash->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

        gridLayout->addWidget(info_hash, 1, 3, 1, 1);

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

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

        comments = new KSqueezedTextLabel(StatusTab);
        comments->setObjectName(QString::fromUtf8("comments"));
        comments->setMinimumSize(QSize(50, 0));
        comments->setFrameShape(QFrame::NoFrame);
        comments->setText(QString::fromUtf8("KSqueezedTextLabel"));
        comments->setTextInteractionFlags(Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse);

        gridLayout->addWidget(comments, 2, 1, 1, 4);


        verticalLayout->addLayout(gridLayout);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        vboxLayout = new QVBoxLayout();
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hdr_chunks = new QLabel(StatusTab);
        hdr_chunks->setObjectName(QString::fromUtf8("hdr_chunks"));
        hdr_chunks->setFont(font);
        hdr_chunks->setAutoFillBackground(true);

        vboxLayout->addWidget(hdr_chunks);

        label_4 = new QLabel(StatusTab);
        label_4->setObjectName(QString::fromUtf8("label_4"));

        vboxLayout->addWidget(label_4);

        downloaded_bar = new kt::DownloadedChunkBar(StatusTab);
        downloaded_bar->setObjectName(QString::fromUtf8("downloaded_bar"));
        QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(downloaded_bar->sizePolicy().hasHeightForWidth());
        downloaded_bar->setSizePolicy(sizePolicy);
        downloaded_bar->setFrameShape(QFrame::StyledPanel);
        downloaded_bar->setFrameShadow(QFrame::Raised);

        vboxLayout->addWidget(downloaded_bar);

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

        vboxLayout->addWidget(label_5);

        availability_bar = new kt::AvailabilityChunkBar(StatusTab);
        availability_bar->setObjectName(QString::fromUtf8("availability_bar"));
        sizePolicy.setHeightForWidth(availability_bar->sizePolicy().hasHeightForWidth());
        availability_bar->setSizePolicy(sizePolicy);
        availability_bar->setFrameShape(QFrame::StyledPanel);
        availability_bar->setFrameShadow(QFrame::Raised);

        vboxLayout->addWidget(availability_bar);

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

        vboxLayout->addItem(spacerItem1);


        hboxLayout->addLayout(vboxLayout);

        line = new QFrame(StatusTab);
        line->setObjectName(QString::fromUtf8("line"));
        line->setFrameShadow(QFrame::Sunken);
        line->setLineWidth(1);
        line->setFrameShape(QFrame::VLine);

        hboxLayout->addWidget(line);

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        hdr_sharing = new QLabel(StatusTab);
        hdr_sharing->setObjectName(QString::fromUtf8("hdr_sharing"));
        hdr_sharing->setFont(font);
        hdr_sharing->setAutoFillBackground(true);

        vboxLayout1->addWidget(hdr_sharing);

        gridLayout1 = new QGridLayout();
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        label_6 = new QLabel(StatusTab);
        label_6->setObjectName(QString::fromUtf8("label_6"));

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

        share_ratio = new QLabel(StatusTab);
        share_ratio->setObjectName(QString::fromUtf8("share_ratio"));
        share_ratio->setFrameShape(QFrame::NoFrame);

        gridLayout1->addWidget(share_ratio, 0, 1, 1, 1);

        use_ratio_limit = new QCheckBox(StatusTab);
        use_ratio_limit->setObjectName(QString::fromUtf8("use_ratio_limit"));

        gridLayout1->addWidget(use_ratio_limit, 1, 0, 1, 1);

        ratio_limit = new QDoubleSpinBox(StatusTab);
        ratio_limit->setObjectName(QString::fromUtf8("ratio_limit"));
        ratio_limit->setMinimum(0);
        ratio_limit->setMaximum(1e+06);
        ratio_limit->setSingleStep(0.01);
        ratio_limit->setValue(1.5);

        gridLayout1->addWidget(ratio_limit, 1, 1, 1, 1);

        use_time_limit = new QCheckBox(StatusTab);
        use_time_limit->setObjectName(QString::fromUtf8("use_time_limit"));

        gridLayout1->addWidget(use_time_limit, 2, 0, 1, 1);

        time_limit = new QDoubleSpinBox(StatusTab);
        time_limit->setObjectName(QString::fromUtf8("time_limit"));
        time_limit->setMinimum(0);
        time_limit->setMaximum(1e+07);
        time_limit->setSingleStep(0.05);
        time_limit->setValue(72);

        gridLayout1->addWidget(time_limit, 2, 1, 1, 1);


        vboxLayout1->addLayout(gridLayout1);

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

        vboxLayout1->addItem(spacerItem2);


        hboxLayout->addLayout(vboxLayout1);


        verticalLayout->addLayout(hboxLayout);


        retranslateUi(StatusTab);
        QObject::connect(use_ratio_limit, SIGNAL(toggled(bool)), ratio_limit, SLOT(setEnabled(bool)));
        QObject::connect(use_time_limit, SIGNAL(toggled(bool)), time_limit, SLOT(setEnabled(bool)));

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

    void retranslateUi(QWidget *StatusTab)
    {
        hdr_info->setText(tr2i18n("Info", 0));
        label_14->setText(tr2i18n("Average down speed:", 0));
        avg_down_speed->setText(QString());
        label_16->setText(tr2i18n("Type:", 0));
        type->setText(QString());
        label_15->setText(tr2i18n("Average up speed:", 0));
        avg_up_speed->setText(QString());
        label->setText(tr2i18n("Info hash:", 0));
        info_hash->setText(QString());
        label_17->setText(tr2i18n("Comments:", 0));
        hdr_chunks->setText(tr2i18n("Chunks", 0));
        label_4->setText(tr2i18n("Downloaded chunks:", 0));
        label_5->setText(tr2i18n("Available chunks:", 0));
        hdr_sharing->setText(tr2i18n("Sharing", "Noun, as in \"file sharing\""));
        label_6->setText(tr2i18n("Share ratio:", 0));
        share_ratio->setText(QString());
        use_ratio_limit->setText(tr2i18n("Ratio limit:", 0));
        ratio_limit->setSpecialValueText(tr2i18n("No limit", 0));
        use_time_limit->setText(tr2i18n("Time limit:", 0));
        time_limit->setSpecialValueText(tr2i18n("No limit", 0));
        time_limit->setSuffix(tr2i18n(" Hours", 0));
        Q_UNUSED(StatusTab);
    } // retranslateUi

};

namespace Ui {
    class StatusTab: public Ui_StatusTab {};
} // namespace Ui

QT_END_NAMESPACE

#endif // STATUSTAB_H

