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

/********************************************************************************
** Form generated from reading UI file 'btsettingswidget.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_BTSETTINGSWIDGET_H
#define UI_BTSETTINGSWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_BTSettingsWidget
{
public:
    QVBoxLayout *verticalLayout;
    QGroupBox *networkGroupBox;
    QFormLayout *formLayout;
    QLabel *portLabel;
    QSpinBox *portBox;
    QLabel *uploadLimitLabel;
    QSpinBox *uploadBox;
    QLabel *downloadLabel;
    QSpinBox *downloadBox;
    QCheckBox *utpBox;
    QGroupBox *folderGroupBox;
    QFormLayout *formLayout_2;
    QLabel *torrentFolderLabel;
    KUrlRequester *torrentEdit;
    QLabel *tempFolderLabel;
    KUrlRequester *tempEdit;
    QCheckBox *preallocBox;
    QSpacerItem *spacerItem;

    void setupUi(QWidget *BTSettingsWidget)
    {
        if (BTSettingsWidget->objectName().isEmpty())
            BTSettingsWidget->setObjectName(QString::fromUtf8("BTSettingsWidget"));
        BTSettingsWidget->resize(518, 363);
        verticalLayout = new QVBoxLayout(BTSettingsWidget);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        networkGroupBox = new QGroupBox(BTSettingsWidget);
        networkGroupBox->setObjectName(QString::fromUtf8("networkGroupBox"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(networkGroupBox->sizePolicy().hasHeightForWidth());
        networkGroupBox->setSizePolicy(sizePolicy);
        formLayout = new QFormLayout(networkGroupBox);
        formLayout->setObjectName(QString::fromUtf8("formLayout"));
        formLayout->setFieldGrowthPolicy(QFormLayout::AllNonFixedFieldsGrow);
        portLabel = new QLabel(networkGroupBox);
        portLabel->setObjectName(QString::fromUtf8("portLabel"));

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

        portBox = new QSpinBox(networkGroupBox);
        portBox->setObjectName(QString::fromUtf8("portBox"));
        portBox->setMaximum(99000);
        portBox->setValue(6881);

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

        uploadLimitLabel = new QLabel(networkGroupBox);
        uploadLimitLabel->setObjectName(QString::fromUtf8("uploadLimitLabel"));

        formLayout->setWidget(1, QFormLayout::LabelRole, uploadLimitLabel);

        uploadBox = new QSpinBox(networkGroupBox);
        uploadBox->setObjectName(QString::fromUtf8("uploadBox"));
        uploadBox->setMaximum(10000);

        formLayout->setWidget(1, QFormLayout::FieldRole, uploadBox);

        downloadLabel = new QLabel(networkGroupBox);
        downloadLabel->setObjectName(QString::fromUtf8("downloadLabel"));

        formLayout->setWidget(2, QFormLayout::LabelRole, downloadLabel);

        downloadBox = new QSpinBox(networkGroupBox);
        downloadBox->setObjectName(QString::fromUtf8("downloadBox"));
        downloadBox->setMaximum(100000);

        formLayout->setWidget(2, QFormLayout::FieldRole, downloadBox);

        utpBox = new QCheckBox(networkGroupBox);
        utpBox->setObjectName(QString::fromUtf8("utpBox"));

        formLayout->setWidget(3, QFormLayout::FieldRole, utpBox);


        verticalLayout->addWidget(networkGroupBox);

        folderGroupBox = new QGroupBox(BTSettingsWidget);
        folderGroupBox->setObjectName(QString::fromUtf8("folderGroupBox"));
        sizePolicy.setHeightForWidth(folderGroupBox->sizePolicy().hasHeightForWidth());
        folderGroupBox->setSizePolicy(sizePolicy);
        formLayout_2 = new QFormLayout(folderGroupBox);
        formLayout_2->setObjectName(QString::fromUtf8("formLayout_2"));
        torrentFolderLabel = new QLabel(folderGroupBox);
        torrentFolderLabel->setObjectName(QString::fromUtf8("torrentFolderLabel"));
        QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum);
        sizePolicy1.setHorizontalStretch(0);
        sizePolicy1.setVerticalStretch(0);
        sizePolicy1.setHeightForWidth(torrentFolderLabel->sizePolicy().hasHeightForWidth());
        torrentFolderLabel->setSizePolicy(sizePolicy1);

        formLayout_2->setWidget(0, QFormLayout::LabelRole, torrentFolderLabel);

        torrentEdit = new KUrlRequester(folderGroupBox);
        torrentEdit->setObjectName(QString::fromUtf8("torrentEdit"));
        QSizePolicy sizePolicy2(QSizePolicy::Minimum, QSizePolicy::Fixed);
        sizePolicy2.setHorizontalStretch(0);
        sizePolicy2.setVerticalStretch(0);
        sizePolicy2.setHeightForWidth(torrentEdit->sizePolicy().hasHeightForWidth());
        torrentEdit->setSizePolicy(sizePolicy2);

        formLayout_2->setWidget(0, QFormLayout::FieldRole, torrentEdit);

        tempFolderLabel = new QLabel(folderGroupBox);
        tempFolderLabel->setObjectName(QString::fromUtf8("tempFolderLabel"));

        formLayout_2->setWidget(1, QFormLayout::LabelRole, tempFolderLabel);

        tempEdit = new KUrlRequester(folderGroupBox);
        tempEdit->setObjectName(QString::fromUtf8("tempEdit"));
        sizePolicy2.setHeightForWidth(tempEdit->sizePolicy().hasHeightForWidth());
        tempEdit->setSizePolicy(sizePolicy2);

        formLayout_2->setWidget(1, QFormLayout::FieldRole, tempEdit);

        preallocBox = new QCheckBox(folderGroupBox);
        preallocBox->setObjectName(QString::fromUtf8("preallocBox"));

        formLayout_2->setWidget(2, QFormLayout::FieldRole, preallocBox);


        verticalLayout->addWidget(folderGroupBox);

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

        verticalLayout->addItem(spacerItem);


        retranslateUi(BTSettingsWidget);

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

    void retranslateUi(QWidget *BTSettingsWidget)
    {
        networkGroupBox->setTitle(tr2i18n("Network", 0));
        portLabel->setText(tr2i18n("Port:", 0));
        uploadLimitLabel->setText(tr2i18n("Upload limit per transfer:", 0));
        uploadBox->setSpecialValueText(tr2i18n("No Limit", 0));
        uploadBox->setSuffix(tr2i18n("KiB", 0));
        downloadLabel->setText(tr2i18n("Download limit per transfer:", 0));
        downloadBox->setSpecialValueText(tr2i18n("No Limit", 0));
        downloadBox->setSuffix(tr2i18n("KiB", 0));
        utpBox->setText(tr2i18n("Enable UTP protocol", 0));
        folderGroupBox->setTitle(tr2i18n("Folders", 0));
        torrentFolderLabel->setText(tr2i18n("Default torrent folder:", 0));
        torrentEdit->setFilter(QString());
        tempFolderLabel->setText(tr2i18n("Default temporary folder:", 0));
        preallocBox->setText(tr2i18n("Pre-allocate disk space", 0));
        Q_UNUSED(BTSettingsWidget);
    } // retranslateUi

};

namespace Ui {
    class BTSettingsWidget: public Ui_BTSettingsWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // BTSETTINGSWIDGET_H

