d61e61fa1a
nullptr can be used directly in the Qt code since Qt 5.7. Use it in generated code for consistency. Change-Id: I249aeaf0a39b46ce1106b29d3ea4569a399908b7 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
109 lines
3.7 KiB
C++
109 lines
3.7 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/QAction>
|
|
#include <QtWidgets/QApplication>
|
|
#include <QtWidgets/QButtonGroup>
|
|
#include <QtWidgets/QDialog>
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
#include <QtWidgets/QGridLayout>
|
|
#include <QtWidgets/QHeaderView>
|
|
#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
|