| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'authenticationdialog.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef AUTHENTICATIONDIALOG_H |
| 10 |
#define AUTHENTICATIONDIALOG_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QDialog> |
| 15 |
#include <QtWidgets/QDialogButtonBox> |
| 16 |
#include <QtWidgets/QGridLayout> |
| 17 |
#include <QtWidgets/QLabel> |
| 18 |
#include <QtWidgets/QLineEdit> |
| 19 |
#include <QtWidgets/QSpacerItem> |
| 20 |
|
| 21 |
QT_BEGIN_NAMESPACE |
| 22 |
|
| 23 |
class Ui_Dialog |
| 24 |
{ |
| 25 |
public: |
| 26 |
QGridLayout *gridLayout; |
| 27 |
QLabel *label; |
| 28 |
QLabel *label_2; |
| 29 |
QLineEdit *userEdit; |
| 30 |
QLabel *label_3; |
| 31 |
QLineEdit *passwordEdit; |
| 32 |
QDialogButtonBox *buttonBox; |
| 33 |
QLabel *label_4; |
| 34 |
QLabel *siteDescription; |
| 35 |
QSpacerItem *spacerItem; |
| 36 |
|
| 37 |
void setupUi(QDialog *Dialog) |
| 38 |
{ |
| 39 |
if (Dialog->objectName().isEmpty()) |
| 40 |
Dialog->setObjectName(QString::fromUtf8("Dialog")); |
| 41 |
Dialog->resize(389, 243); |
| 42 |
gridLayout = new QGridLayout(Dialog); |
| 43 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 44 |
label = new QLabel(Dialog); |
| 45 |
label->setObjectName(QString::fromUtf8("label")); |
| 46 |
label->setWordWrap(false); |
| 47 |
|
| 48 |
gridLayout->addWidget(label, 0, 0, 1, 2); |
| 49 |
|
| 50 |
label_2 = new QLabel(Dialog); |
| 51 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 52 |
|
| 53 |
gridLayout->addWidget(label_2, 2, 0, 1, 1); |
| 54 |
|
| 55 |
userEdit = new QLineEdit(Dialog); |
| 56 |
userEdit->setObjectName(QString::fromUtf8("userEdit")); |
| 57 |
|
| 58 |
gridLayout->addWidget(userEdit, 2, 1, 1, 1); |
| 59 |
|
| 60 |
label_3 = new QLabel(Dialog); |
| 61 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 62 |
|
| 63 |
gridLayout->addWidget(label_3, 3, 0, 1, 1); |
| 64 |
|
| 65 |
passwordEdit = new QLineEdit(Dialog); |
| 66 |
passwordEdit->setObjectName(QString::fromUtf8("passwordEdit")); |
| 67 |
|
| 68 |
gridLayout->addWidget(passwordEdit, 3, 1, 1, 1); |
| 69 |
|
| 70 |
buttonBox = new QDialogButtonBox(Dialog); |
| 71 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 72 |
buttonBox->setOrientation(Qt::Horizontal); |
| 73 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 74 |
|
| 75 |
gridLayout->addWidget(buttonBox, 5, 0, 1, 2); |
| 76 |
|
| 77 |
label_4 = new QLabel(Dialog); |
| 78 |
label_4->setObjectName(QString::fromUtf8("label_4")); |
| 79 |
|
| 80 |
gridLayout->addWidget(label_4, 1, 0, 1, 1); |
| 81 |
|
| 82 |
siteDescription = new QLabel(Dialog); |
| 83 |
siteDescription->setObjectName(QString::fromUtf8("siteDescription")); |
| 84 |
QFont font; |
| 85 |
font.setBold(true); |
| 86 |
font.setWeight(75); |
| 87 |
siteDescription->setFont(font); |
| 88 |
siteDescription->setWordWrap(true); |
| 89 |
|
| 90 |
gridLayout->addWidget(siteDescription, 1, 1, 1, 1); |
| 91 |
|
| 92 |
spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 93 |
|
| 94 |
gridLayout->addItem(spacerItem, 4, 0, 1, 1); |
| 95 |
|
| 96 |
|
| 97 |
retranslateUi(Dialog); |
| 98 |
QObject::connect(buttonBox, SIGNAL(accepted()), Dialog, SLOT(accept())); |
| 99 |
QObject::connect(buttonBox, SIGNAL(rejected()), Dialog, SLOT(reject())); |
| 100 |
|
| 101 |
QMetaObject::connectSlotsByName(Dialog); |
| 102 |
} // setupUi |
| 103 |
|
| 104 |
void retranslateUi(QDialog *Dialog) |
| 105 |
{ |
| 106 |
Dialog->setWindowTitle(QCoreApplication::translate("Dialog", "Http authentication required", nullptr)); |
| 107 |
label->setText(QCoreApplication::translate("Dialog", "You need to supply a Username and a Password to access this site", nullptr)); |
| 108 |
label_2->setText(QCoreApplication::translate("Dialog", "Username:", nullptr)); |
| 109 |
label_3->setText(QCoreApplication::translate("Dialog", "Password:", nullptr)); |
| 110 |
label_4->setText(QCoreApplication::translate("Dialog", "Site:", nullptr)); |
| 111 |
siteDescription->setText(QCoreApplication::translate("Dialog", "%1 at %2", nullptr)); |
| 112 |
} // retranslateUi |
| 113 |
|
| 114 |
}; |
| 115 |
|
| 116 |
namespace Ui { |
| 117 |
class Dialog: public Ui_Dialog {}; |
| 118 |
} // namespace Ui |
| 119 |
|
| 120 |
QT_END_NAMESPACE |
| 121 |
|
| 122 |
#endif // AUTHENTICATIONDIALOG_H |