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

/********************************************************************************
** Form generated from reading UI file 'torrentcreatordlg.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_TORRENTCREATORDLG_H
#define UI_TORRENTCREATORDLG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QComboBox>
#include <QtGui/QFrame>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QListWidget>
#include <QtGui/QProgressBar>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QTabWidget>
#include <QtGui/QTreeWidget>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "kpushbutton.h"
#include "kurlrequester.h"

QT_BEGIN_NAMESPACE

class Ui_TorrentCreatorDlg
{
public:
    QVBoxLayout *verticalLayout;
    QLabel *label;
    KUrlRequester *m_url;
    QGroupBox *m_options;
    QVBoxLayout *vboxLayout;
    QHBoxLayout *hboxLayout;
    QLabel *label_2;
    QComboBox *m_chunk_size;
    QCheckBox *m_start_seeding;
    QCheckBox *m_private;
    QCheckBox *m_dht;
    QHBoxLayout *hboxLayout1;
    QLabel *label_6;
    QComboBox *m_group;
    QTabWidget *m_tabs;
    QWidget *m_tracker_tab;
    QGridLayout *gridLayout;
    QLineEdit *m_tracker;
    KPushButton *m_add_tracker;
    QListWidget *m_tracker_list;
    QVBoxLayout *vboxLayout1;
    KPushButton *m_remove_tracker;
    KPushButton *m_move_up;
    KPushButton *m_move_down;
    QSpacerItem *spacerItem;
    QWidget *m_dht_tab;
    QGridLayout *gridLayout1;
    QHBoxLayout *hboxLayout2;
    QLabel *label_3;
    QLineEdit *m_node;
    QLabel *label_4;
    QSpinBox *m_port;
    KPushButton *m_add_node;
    QTreeWidget *m_node_list;
    QVBoxLayout *vboxLayout2;
    KPushButton *m_remove_node;
    QSpacerItem *spacerItem1;
    QWidget *tab_2;
    QGridLayout *gridLayout2;
    QLineEdit *m_webseed;
    KPushButton *m_add_webseed;
    QListWidget *m_webseed_list;
    QVBoxLayout *vboxLayout3;
    KPushButton *m_remove_webseed;
    QSpacerItem *spacerItem2;
    QHBoxLayout *hboxLayout3;
    QLabel *label_5;
    QLineEdit *m_comments;
    QProgressBar *m_progress;
    QFrame *line;

    void setupUi(QWidget *TorrentCreatorDlg)
    {
        if (TorrentCreatorDlg->objectName().isEmpty())
            TorrentCreatorDlg->setObjectName(QString::fromUtf8("TorrentCreatorDlg"));
        TorrentCreatorDlg->resize(474, 498);
        verticalLayout = new QVBoxLayout(TorrentCreatorDlg);
        verticalLayout->setContentsMargins(0, 0, 0, 0);
        verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
        label = new QLabel(TorrentCreatorDlg);
        label->setObjectName(QString::fromUtf8("label"));

        verticalLayout->addWidget(label);

        m_url = new KUrlRequester(TorrentCreatorDlg);
        m_url->setObjectName(QString::fromUtf8("m_url"));
        QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
        sizePolicy.setHorizontalStretch(0);
        sizePolicy.setVerticalStretch(0);
        sizePolicy.setHeightForWidth(m_url->sizePolicy().hasHeightForWidth());
        m_url->setSizePolicy(sizePolicy);
        m_url->setMinimumSize(QSize(0, 0));

        verticalLayout->addWidget(m_url);

        m_options = new QGroupBox(TorrentCreatorDlg);
        m_options->setObjectName(QString::fromUtf8("m_options"));
        vboxLayout = new QVBoxLayout(m_options);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        label_2 = new QLabel(m_options);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        hboxLayout->addWidget(label_2);

        m_chunk_size = new QComboBox(m_options);
        m_chunk_size->setObjectName(QString::fromUtf8("m_chunk_size"));

        hboxLayout->addWidget(m_chunk_size);


        vboxLayout->addLayout(hboxLayout);

        m_start_seeding = new QCheckBox(m_options);
        m_start_seeding->setObjectName(QString::fromUtf8("m_start_seeding"));
        m_start_seeding->setChecked(true);

        vboxLayout->addWidget(m_start_seeding);

        m_private = new QCheckBox(m_options);
        m_private->setObjectName(QString::fromUtf8("m_private"));

        vboxLayout->addWidget(m_private);

        m_dht = new QCheckBox(m_options);
        m_dht->setObjectName(QString::fromUtf8("m_dht"));

        vboxLayout->addWidget(m_dht);

        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        label_6 = new QLabel(m_options);
        label_6->setObjectName(QString::fromUtf8("label_6"));

        hboxLayout1->addWidget(label_6);

        m_group = new QComboBox(m_options);
        m_group->setObjectName(QString::fromUtf8("m_group"));

        hboxLayout1->addWidget(m_group);


        vboxLayout->addLayout(hboxLayout1);


        verticalLayout->addWidget(m_options);

        m_tabs = new QTabWidget(TorrentCreatorDlg);
        m_tabs->setObjectName(QString::fromUtf8("m_tabs"));
        m_tracker_tab = new QWidget();
        m_tracker_tab->setObjectName(QString::fromUtf8("m_tracker_tab"));
        gridLayout = new QGridLayout(m_tracker_tab);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        m_tracker = new QLineEdit(m_tracker_tab);
        m_tracker->setObjectName(QString::fromUtf8("m_tracker"));

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

        m_add_tracker = new KPushButton(m_tracker_tab);
        m_add_tracker->setObjectName(QString::fromUtf8("m_add_tracker"));

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

        m_tracker_list = new QListWidget(m_tracker_tab);
        m_tracker_list->setObjectName(QString::fromUtf8("m_tracker_list"));

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

        vboxLayout1 = new QVBoxLayout();
        vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
        m_remove_tracker = new KPushButton(m_tracker_tab);
        m_remove_tracker->setObjectName(QString::fromUtf8("m_remove_tracker"));

        vboxLayout1->addWidget(m_remove_tracker);

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

        vboxLayout1->addWidget(m_move_up);

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

        vboxLayout1->addWidget(m_move_down);

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

        vboxLayout1->addItem(spacerItem);


        gridLayout->addLayout(vboxLayout1, 1, 1, 1, 1);

        m_tabs->addTab(m_tracker_tab, QString());
        m_dht_tab = new QWidget();
        m_dht_tab->setObjectName(QString::fromUtf8("m_dht_tab"));
        gridLayout1 = new QGridLayout(m_dht_tab);
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        label_3 = new QLabel(m_dht_tab);
        label_3->setObjectName(QString::fromUtf8("label_3"));

        hboxLayout2->addWidget(label_3);

        m_node = new QLineEdit(m_dht_tab);
        m_node->setObjectName(QString::fromUtf8("m_node"));

        hboxLayout2->addWidget(m_node);

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

        hboxLayout2->addWidget(label_4);

        m_port = new QSpinBox(m_dht_tab);
        m_port->setObjectName(QString::fromUtf8("m_port"));
        m_port->setMinimum(1);
        m_port->setMaximum(65535);
        m_port->setValue(6881);

        hboxLayout2->addWidget(m_port);


        gridLayout1->addLayout(hboxLayout2, 0, 0, 1, 1);

        m_add_node = new KPushButton(m_dht_tab);
        m_add_node->setObjectName(QString::fromUtf8("m_add_node"));

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

        m_node_list = new QTreeWidget(m_dht_tab);
        m_node_list->setObjectName(QString::fromUtf8("m_node_list"));
        m_node_list->setRootIsDecorated(false);
        m_node_list->setAllColumnsShowFocus(true);

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

        vboxLayout2 = new QVBoxLayout();
        vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
        m_remove_node = new KPushButton(m_dht_tab);
        m_remove_node->setObjectName(QString::fromUtf8("m_remove_node"));

        vboxLayout2->addWidget(m_remove_node);

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

        vboxLayout2->addItem(spacerItem1);


        gridLayout1->addLayout(vboxLayout2, 1, 1, 1, 1);

        m_tabs->addTab(m_dht_tab, QString());
        tab_2 = new QWidget();
        tab_2->setObjectName(QString::fromUtf8("tab_2"));
        gridLayout2 = new QGridLayout(tab_2);
        gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
        m_webseed = new QLineEdit(tab_2);
        m_webseed->setObjectName(QString::fromUtf8("m_webseed"));

        gridLayout2->addWidget(m_webseed, 0, 0, 1, 1);

        m_add_webseed = new KPushButton(tab_2);
        m_add_webseed->setObjectName(QString::fromUtf8("m_add_webseed"));

        gridLayout2->addWidget(m_add_webseed, 0, 1, 1, 1);

        m_webseed_list = new QListWidget(tab_2);
        m_webseed_list->setObjectName(QString::fromUtf8("m_webseed_list"));

        gridLayout2->addWidget(m_webseed_list, 1, 0, 1, 1);

        vboxLayout3 = new QVBoxLayout();
        vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3"));
        m_remove_webseed = new KPushButton(tab_2);
        m_remove_webseed->setObjectName(QString::fromUtf8("m_remove_webseed"));

        vboxLayout3->addWidget(m_remove_webseed);

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

        vboxLayout3->addItem(spacerItem2);


        gridLayout2->addLayout(vboxLayout3, 1, 1, 1, 1);

        m_tabs->addTab(tab_2, QString());

        verticalLayout->addWidget(m_tabs);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        label_5 = new QLabel(TorrentCreatorDlg);
        label_5->setObjectName(QString::fromUtf8("label_5"));

        hboxLayout3->addWidget(label_5);

        m_comments = new QLineEdit(TorrentCreatorDlg);
        m_comments->setObjectName(QString::fromUtf8("m_comments"));

        hboxLayout3->addWidget(m_comments);


        verticalLayout->addLayout(hboxLayout3);

        m_progress = new QProgressBar(TorrentCreatorDlg);
        m_progress->setObjectName(QString::fromUtf8("m_progress"));
        m_progress->setEnabled(false);
        m_progress->setValue(24);

        verticalLayout->addWidget(m_progress);

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

        verticalLayout->addWidget(line);


        retranslateUi(TorrentCreatorDlg);

        m_chunk_size->setCurrentIndex(4);
        m_tabs->setCurrentIndex(0);


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

    void retranslateUi(QWidget *TorrentCreatorDlg)
    {
        TorrentCreatorDlg->setWindowTitle(tr2i18n("Create a torrent", 0));
        label->setText(tr2i18n("File or directory to create torrent from:", 0));
        m_options->setTitle(tr2i18n("Options", 0));
        label_2->setText(tr2i18n("Size of each chunk:", 0));
        m_chunk_size->clear();
        m_chunk_size->insertItems(0, QStringList()
         << tr2i18n("32 KiB", 0)
         << tr2i18n("64 KiB", 0)
         << tr2i18n("128 KiB", 0)
         << tr2i18n("256 KiB", 0)
         << tr2i18n("512 KiB", 0)
         << tr2i18n("1 MiB", 0)
         << tr2i18n("2 MiB", 0)
         << tr2i18n("4 MiB", 0)
         << tr2i18n("8 MiB", 0)
        );
        m_start_seeding->setText(tr2i18n("Start seeding", 0));
        m_private->setText(tr2i18n("Private torrent (DHT not allowed)", 0));
        m_dht->setText(tr2i18n("Decentralized (DHT only)", 0));
        label_6->setText(tr2i18n("Add torrent to group:", 0));
        m_add_tracker->setText(tr2i18n("Add", 0));
        m_remove_tracker->setText(tr2i18n("Remove", 0));
        m_move_up->setText(tr2i18n("Move Up", 0));
        m_move_down->setText(tr2i18n("Move Down", 0));
        m_tabs->setTabText(m_tabs->indexOf(m_tracker_tab), tr2i18n("Trackers", 0));
        label_3->setText(tr2i18n("Node:", 0));
        label_4->setText(tr2i18n("Port:", 0));
        m_add_node->setText(tr2i18n("Add", 0));
        QTreeWidgetItem *___qtreewidgetitem = m_node_list->headerItem();
        ___qtreewidgetitem->setText(1, tr2i18n("Port", 0));
        ___qtreewidgetitem->setText(0, tr2i18n("IP or Hostname", 0));
        m_remove_node->setText(tr2i18n("Remove", 0));
        m_tabs->setTabText(m_tabs->indexOf(m_dht_tab), tr2i18n("DHT Nodes", 0));
        m_add_webseed->setText(tr2i18n("Add", 0));
        m_remove_webseed->setText(tr2i18n("Remove", 0));
        m_tabs->setTabText(m_tabs->indexOf(tab_2), tr2i18n("Web Seeds", 0));
        label_5->setText(tr2i18n("Comments:", 0));
    } // retranslateUi

};

namespace Ui {
    class TorrentCreatorDlg: public Ui_TorrentCreatorDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // TORRENTCREATORDLG_H

