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

/********************************************************************************
** Form generated from reading UI file 'ipfilterwidget.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_IPFILTERWIDGET_H
#define UI_IPFILTERWIDGET_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGridLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QListView>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <QtGui/QWidget>
#include "klineedit.h"
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_IPFilterWidget
{
public:
    QGridLayout *gridLayout;
    QHBoxLayout *horizontalLayout;
    QLabel *label;
    KLineEdit *m_ip_to_add;
    KPushButton *m_add;
    QListView *m_ip_list;
    QVBoxLayout *verticalLayout_2;
    KPushButton *m_remove;
    KPushButton *m_clear;
    QSpacerItem *verticalSpacer;
    KPushButton *m_open;
    KPushButton *m_save_as;
    KPushButton *m_close;

    void setupUi(QWidget *IPFilterWidget)
    {
        if (IPFilterWidget->objectName().isEmpty())
            IPFilterWidget->setObjectName(QString::fromUtf8("IPFilterWidget"));
        IPFilterWidget->resize(632, 219);
        gridLayout = new QGridLayout(IPFilterWidget);
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        horizontalLayout = new QHBoxLayout();
        horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
        label = new QLabel(IPFilterWidget);
        label->setObjectName(QString::fromUtf8("label"));

        horizontalLayout->addWidget(label);

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

        horizontalLayout->addWidget(m_ip_to_add);


        gridLayout->addLayout(horizontalLayout, 0, 0, 1, 1);

        m_add = new KPushButton(IPFilterWidget);
        m_add->setObjectName(QString::fromUtf8("m_add"));

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

        m_ip_list = new QListView(IPFilterWidget);
        m_ip_list->setObjectName(QString::fromUtf8("m_ip_list"));
        m_ip_list->setAlternatingRowColors(true);
        m_ip_list->setSelectionMode(QAbstractItemView::ContiguousSelection);

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

        verticalLayout_2 = new QVBoxLayout();
        verticalLayout_2->setObjectName(QString::fromUtf8("verticalLayout_2"));
        m_remove = new KPushButton(IPFilterWidget);
        m_remove->setObjectName(QString::fromUtf8("m_remove"));

        verticalLayout_2->addWidget(m_remove);

        m_clear = new KPushButton(IPFilterWidget);
        m_clear->setObjectName(QString::fromUtf8("m_clear"));

        verticalLayout_2->addWidget(m_clear);

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

        verticalLayout_2->addItem(verticalSpacer);

        m_open = new KPushButton(IPFilterWidget);
        m_open->setObjectName(QString::fromUtf8("m_open"));

        verticalLayout_2->addWidget(m_open);

        m_save_as = new KPushButton(IPFilterWidget);
        m_save_as->setObjectName(QString::fromUtf8("m_save_as"));

        verticalLayout_2->addWidget(m_save_as);

        m_close = new KPushButton(IPFilterWidget);
        m_close->setObjectName(QString::fromUtf8("m_close"));

        verticalLayout_2->addWidget(m_close);


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


        retranslateUi(IPFilterWidget);

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

    void retranslateUi(QWidget *IPFilterWidget)
    {
        IPFilterWidget->setWindowTitle(tr2i18n("KTorrent Blacklisted Peers", 0));
        label->setText(tr2i18n("Add peer:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_ip_to_add->setToolTip(tr2i18n("IP addresses must be in the format 'XXX.XXX.XXX.XXX'.\n"
"                                        \n"
"You can also use wildcards like '127.0.0.*' or specify ranges like '200.10.10.0-200.10.10.40'.", 0));
#endif // QT_NO_TOOLTIP
        m_ip_to_add->setText(tr2i18n("127.0.0.1", 0));
        m_add->setText(tr2i18n("Add", 0));
        m_remove->setText(tr2i18n("Remove", 0));
        m_clear->setText(tr2i18n("Clear", 0));
        m_open->setText(tr2i18n("Open...", 0));
        m_save_as->setText(tr2i18n("Save As...", 0));
        m_close->setText(tr2i18n("Close", 0));
    } // retranslateUi

};

namespace Ui {
    class IPFilterWidget: public Ui_IPFilterWidget {};
} // namespace Ui

QT_END_NAMESPACE

#endif // IPFILTERWIDGET_H

