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

/********************************************************************************
** Form generated from reading UI file 'addpeersdlg.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_ADDPEERSDLG_H
#define UI_ADDPEERSDLG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QDialog>
#include <QtGui/QFrame>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>
#include <QtGui/QVBoxLayout>
#include "kpushbutton.h"

QT_BEGIN_NAMESPACE

class Ui_AddPeersDlg
{
public:
    QVBoxLayout *vboxLayout;
    QLabel *label_3;
    QHBoxLayout *hboxLayout;
    QHBoxLayout *hboxLayout1;
    QLabel *label_2;
    QLineEdit *m_ip;
    QHBoxLayout *hboxLayout2;
    QLabel *label;
    QSpinBox *m_port;
    QFrame *line;
    QHBoxLayout *hboxLayout3;
    QSpacerItem *spacerItem;
    KPushButton *m_add;
    KPushButton *m_close;

    void setupUi(QDialog *AddPeersDlg)
    {
        if (AddPeersDlg->objectName().isEmpty())
            AddPeersDlg->setObjectName(QString::fromUtf8("AddPeersDlg"));
        AddPeersDlg->resize(423, 144);
        vboxLayout = new QVBoxLayout(AddPeersDlg);
        vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
        label_3 = new QLabel(AddPeersDlg);
        label_3->setObjectName(QString::fromUtf8("label_3"));
        label_3->setWordWrap(true);

        vboxLayout->addWidget(label_3);

        hboxLayout = new QHBoxLayout();
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        hboxLayout1 = new QHBoxLayout();
        hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
        label_2 = new QLabel(AddPeersDlg);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        hboxLayout1->addWidget(label_2);

        m_ip = new QLineEdit(AddPeersDlg);
        m_ip->setObjectName(QString::fromUtf8("m_ip"));

        hboxLayout1->addWidget(m_ip);


        hboxLayout->addLayout(hboxLayout1);

        hboxLayout2 = new QHBoxLayout();
        hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
        label = new QLabel(AddPeersDlg);
        label->setObjectName(QString::fromUtf8("label"));

        hboxLayout2->addWidget(label);

        m_port = new QSpinBox(AddPeersDlg);
        m_port->setObjectName(QString::fromUtf8("m_port"));
        m_port->setMinimumSize(QSize(50, 0));
        m_port->setMinimum(1);
        m_port->setMaximum(65535);
        m_port->setValue(6881);

        hboxLayout2->addWidget(m_port);


        hboxLayout->addLayout(hboxLayout2);


        vboxLayout->addLayout(hboxLayout);

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

        vboxLayout->addWidget(line);

        hboxLayout3 = new QHBoxLayout();
        hboxLayout3->setObjectName(QString::fromUtf8("hboxLayout3"));
        spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout3->addItem(spacerItem);

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

        hboxLayout3->addWidget(m_add);

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

        hboxLayout3->addWidget(m_close);


        vboxLayout->addLayout(hboxLayout3);


        retranslateUi(AddPeersDlg);

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

    void retranslateUi(QDialog *AddPeersDlg)
    {
        AddPeersDlg->setWindowTitle(tr2i18n("Dialog", 0));
        label_3->setText(tr2i18n("Enter the IP address or hostname and port number of the peer you wish to add:", 0));
        label_2->setText(tr2i18n("Peer:", 0));
#ifndef UI_QT_NO_TOOLTIP
        m_ip->setToolTip(tr2i18n("<p>The IP address or hostname of the peer you want to connect to, should be put here.</p>\n"
"<p><span style=\" font-weight:600;\">Note:</span> We accept both IPv4 and IPv6 addresses</p>\n"
"", 0));
#endif // QT_NO_TOOLTIP
        m_ip->setText(tr2i18n("127.0.0.1", 0));
        label->setText(tr2i18n("Port:", 0));
        m_add->setText(tr2i18n("Add", 0));
        m_close->setText(tr2i18n("Close", 0));
    } // retranslateUi

};

namespace Ui {
    class AddPeersDlg: public Ui_AddPeersDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // ADDPEERSDLG_H

