#include <klocalizedstring.h>

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

#ifndef UI_MIRRORADDDLG_H
#define UI_MIRRORADDDLG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QSpinBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
#include "kcombobox.h"
#include "klineedit.h"
#include "knuminput.h"

QT_BEGIN_NAMESPACE

class Ui_MirrorAddDlg
{
public:
    QVBoxLayout *verticalLayout;
    QFormLayout *formLayout;
    QLabel *labelMirror;
    QLabel *labelConnections;
    KLineEdit *url;
    QSpinBox *numConnections;
    QLabel *labelPriority;
    KIntNumInput *priority;
    QLabel *labelLocation;
    KComboBox *location;
    QSpacerItem *verticalSpacer;
    QDialogButtonBox *buttonBox;

    void setupUi(QWidget *MirrorAddDlg)
    {
        if (MirrorAddDlg->objectName().isEmpty())
            MirrorAddDlg->setObjectName(QStringLiteral("MirrorAddDlg"));
        MirrorAddDlg->resize(481, 187);
        verticalLayout = new QVBoxLayout(MirrorAddDlg);
        verticalLayout->setObjectName(QStringLiteral("verticalLayout"));
        formLayout = new QFormLayout();
        formLayout->setObjectName(QStringLiteral("formLayout"));
        labelMirror = new QLabel(MirrorAddDlg);
        labelMirror->setObjectName(QStringLiteral("labelMirror"));

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

        labelConnections = new QLabel(MirrorAddDlg);
        labelConnections->setObjectName(QStringLiteral("labelConnections"));

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

        url = new KLineEdit(MirrorAddDlg);
        url->setObjectName(QStringLiteral("url"));
        url->setProperty("showClearButton", QVariant(true));

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

        numConnections = new QSpinBox(MirrorAddDlg);
        numConnections->setObjectName(QStringLiteral("numConnections"));
        numConnections->setMinimum(1);
        numConnections->setMaximum(20);

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

        labelPriority = new QLabel(MirrorAddDlg);
        labelPriority->setObjectName(QStringLiteral("labelPriority"));

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

        priority = new KIntNumInput(MirrorAddDlg);
        priority->setObjectName(QStringLiteral("priority"));
        priority->setValue(0);
        priority->setMinimum(0);
        priority->setMaximum(999999);

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

        labelLocation = new QLabel(MirrorAddDlg);
        labelLocation->setObjectName(QStringLiteral("labelLocation"));

        formLayout->setWidget(3, QFormLayout::LabelRole, labelLocation);

        location = new KComboBox(MirrorAddDlg);
        location->setObjectName(QStringLiteral("location"));

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


        verticalLayout->addLayout(formLayout);

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

        verticalLayout->addItem(verticalSpacer);

        buttonBox = new QDialogButtonBox(MirrorAddDlg);
        buttonBox->setObjectName(QStringLiteral("buttonBox"));
        buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Yes);

        verticalLayout->addWidget(buttonBox);


        retranslateUi(MirrorAddDlg);

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

    void retranslateUi(QWidget *MirrorAddDlg)
    {
        labelMirror->setText(tr2i18n("Mirror:", Q_NULLPTR));
        labelConnections->setText(tr2i18n("Number of connections:", Q_NULLPTR));
        url->setProperty("clickMessage", QVariant(tr2i18n("Enter a URL", Q_NULLPTR)));
        labelPriority->setText(tr2i18n("Priority:", Q_NULLPTR));
#ifndef UI_QT_NO_TOOLTIP
        priority->setToolTip(tr2i18n("Optional: The priority of the mirror, 1 highest 999999 lowest.", Q_NULLPTR));
#endif // QT_NO_TOOLTIP
        priority->setSpecialValueText(tr2i18n("not specified", Q_NULLPTR));
        labelLocation->setText(tr2i18n("Location:", Q_NULLPTR));
        Q_UNUSED(MirrorAddDlg);
    } // retranslateUi

};

namespace Ui {
    class MirrorAddDlg: public Ui_MirrorAddDlg {};
} // namespace Ui

QT_END_NAMESPACE

#endif // MIRRORADDDLG_H

