748836dae8
Generate it only when the form contains some actions. Change-Id: Ic1d64003ccff6102174771c04999cf7c90ac2ae8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
106 lines
3.6 KiB
C++
106 lines
3.6 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'proxy.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.0.0
|
|
**
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
********************************************************************************/
|
|
|
|
#ifndef PROXY_H
|
|
#define PROXY_H
|
|
|
|
#include <QtCore/QVariant>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QLabel>
|
|
#include <QtWidgets/QLineEdit>
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
class Ui_ProxyDialog
|
|
{
|
|
public:
|
|
QGridLayout *gridLayout;
|
|
QLabel *iconLabel;
|
|
QLabel *introLabel;
|
|
QLabel *usernameLabel;
|
|
QLineEdit *userNameLineEdit;
|
|
QLabel *passwordLabel;
|
|
QLineEdit *passwordLineEdit;
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
void setupUi(QDialog *ProxyDialog)
|
|
{
|
|
if (ProxyDialog->objectName().isEmpty())
|
|
ProxyDialog->setObjectName(QStringLiteral("ProxyDialog"));
|
|
ProxyDialog->resize(369, 144);
|
|
gridLayout = new QGridLayout(ProxyDialog);
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
|
iconLabel = new QLabel(ProxyDialog);
|
|
iconLabel->setObjectName(QStringLiteral("iconLabel"));
|
|
|
|
gridLayout->addWidget(iconLabel, 0, 0, 1, 1);
|
|
|
|
introLabel = new QLabel(ProxyDialog);
|
|
introLabel->setObjectName(QStringLiteral("introLabel"));
|
|
introLabel->setWordWrap(true);
|
|
|
|
gridLayout->addWidget(introLabel, 0, 1, 1, 2);
|
|
|
|
usernameLabel = new QLabel(ProxyDialog);
|
|
usernameLabel->setObjectName(QStringLiteral("usernameLabel"));
|
|
|
|
gridLayout->addWidget(usernameLabel, 1, 0, 1, 2);
|
|
|
|
userNameLineEdit = new QLineEdit(ProxyDialog);
|
|
userNameLineEdit->setObjectName(QStringLiteral("userNameLineEdit"));
|
|
|
|
gridLayout->addWidget(userNameLineEdit, 1, 2, 1, 1);
|
|
|
|
passwordLabel = new QLabel(ProxyDialog);
|
|
passwordLabel->setObjectName(QStringLiteral("passwordLabel"));
|
|
|
|
gridLayout->addWidget(passwordLabel, 2, 0, 1, 2);
|
|
|
|
passwordLineEdit = new QLineEdit(ProxyDialog);
|
|
passwordLineEdit->setObjectName(QStringLiteral("passwordLineEdit"));
|
|
passwordLineEdit->setEchoMode(QLineEdit::Password);
|
|
|
|
gridLayout->addWidget(passwordLineEdit, 2, 2, 1, 1);
|
|
|
|
buttonBox = new QDialogButtonBox(ProxyDialog);
|
|
buttonBox->setObjectName(QStringLiteral("buttonBox"));
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
|
|
gridLayout->addWidget(buttonBox, 3, 0, 1, 3);
|
|
|
|
|
|
retranslateUi(ProxyDialog);
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), ProxyDialog, SLOT(accept()));
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), ProxyDialog, SLOT(reject()));
|
|
|
|
QMetaObject::connectSlotsByName(ProxyDialog);
|
|
} // setupUi
|
|
|
|
void retranslateUi(QDialog *ProxyDialog)
|
|
{
|
|
ProxyDialog->setWindowTitle(QApplication::translate("ProxyDialog", "Proxy Authentication", nullptr));
|
|
iconLabel->setText(QApplication::translate("ProxyDialog", "ICON", nullptr));
|
|
introLabel->setText(QApplication::translate("ProxyDialog", "Connect to proxy", nullptr));
|
|
usernameLabel->setText(QApplication::translate("ProxyDialog", "Username:", nullptr));
|
|
passwordLabel->setText(QApplication::translate("ProxyDialog", "Password:", nullptr));
|
|
} // retranslateUi
|
|
|
|
};
|
|
|
|
namespace Ui {
|
|
class ProxyDialog: public Ui_ProxyDialog {};
|
|
} // namespace Ui
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
#endif // PROXY_H
|