| 1 | /******************************************************************************** |
| 2 | ** Form generated from reading UI file 'authenticationdialog.ui' |
| 3 | ** |
| 4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 | ********************************************************************************/ |
| 8 | |
| 9 | #ifndef UI_AUTHENTICATIONDIALOG_H |
| 10 | #define UI_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(str: "Dialog" )); |
| 41 | Dialog->resize(w: 389, h: 243); |
| 42 | gridLayout = new QGridLayout(Dialog); |
| 43 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
| 44 | label = new QLabel(Dialog); |
| 45 | label->setObjectName(QString::fromUtf8(str: "label" )); |
| 46 | label->setWordWrap(false); |
| 47 | |
| 48 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 2); |
| 49 | |
| 50 | label_2 = new QLabel(Dialog); |
| 51 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
| 52 | |
| 53 | gridLayout->addWidget(label_2, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
| 54 | |
| 55 | userEdit = new QLineEdit(Dialog); |
| 56 | userEdit->setObjectName(QString::fromUtf8(str: "userEdit" )); |
| 57 | |
| 58 | gridLayout->addWidget(userEdit, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
| 59 | |
| 60 | label_3 = new QLabel(Dialog); |
| 61 | label_3->setObjectName(QString::fromUtf8(str: "label_3" )); |
| 62 | |
| 63 | gridLayout->addWidget(label_3, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
| 64 | |
| 65 | passwordEdit = new QLineEdit(Dialog); |
| 66 | passwordEdit->setObjectName(QString::fromUtf8(str: "passwordEdit" )); |
| 67 | passwordEdit->setEchoMode(QLineEdit::Password); |
| 68 | |
| 69 | gridLayout->addWidget(passwordEdit, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
| 70 | |
| 71 | buttonBox = new QDialogButtonBox(Dialog); |
| 72 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
| 73 | buttonBox->setOrientation(Qt::Horizontal); |
| 74 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 75 | |
| 76 | gridLayout->addWidget(buttonBox, row: 5, column: 0, rowSpan: 1, columnSpan: 2); |
| 77 | |
| 78 | label_4 = new QLabel(Dialog); |
| 79 | label_4->setObjectName(QString::fromUtf8(str: "label_4" )); |
| 80 | |
| 81 | gridLayout->addWidget(label_4, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
| 82 | |
| 83 | siteDescription = new QLabel(Dialog); |
| 84 | siteDescription->setObjectName(QString::fromUtf8(str: "siteDescription" )); |
| 85 | QFont font; |
| 86 | font.setBold(true); |
| 87 | font.setWeight(75); |
| 88 | siteDescription->setFont(font); |
| 89 | siteDescription->setWordWrap(true); |
| 90 | |
| 91 | gridLayout->addWidget(siteDescription, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
| 92 | |
| 93 | spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 94 | |
| 95 | gridLayout->addItem(item: spacerItem, row: 4, column: 0, rowSpan: 1, columnSpan: 1); |
| 96 | |
| 97 | |
| 98 | retranslateUi(Dialog); |
| 99 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: Dialog, SLOT(accept())); |
| 100 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: Dialog, SLOT(reject())); |
| 101 | |
| 102 | QMetaObject::connectSlotsByName(o: Dialog); |
| 103 | } // setupUi |
| 104 | |
| 105 | void retranslateUi(QDialog *Dialog) |
| 106 | { |
| 107 | Dialog->setWindowTitle(QCoreApplication::translate(context: "Dialog" , key: "Http authentication required" , disambiguation: nullptr)); |
| 108 | label->setText(QCoreApplication::translate(context: "Dialog" , key: "You need to supply a Username and a Password to access this site" , disambiguation: nullptr)); |
| 109 | label_2->setText(QCoreApplication::translate(context: "Dialog" , key: "Username:" , disambiguation: nullptr)); |
| 110 | label_3->setText(QCoreApplication::translate(context: "Dialog" , key: "Password:" , disambiguation: nullptr)); |
| 111 | label_4->setText(QCoreApplication::translate(context: "Dialog" , key: "Site:" , disambiguation: nullptr)); |
| 112 | siteDescription->setText(QCoreApplication::translate(context: "Dialog" , key: "%1 at %2" , disambiguation: nullptr)); |
| 113 | } // retranslateUi |
| 114 | |
| 115 | }; |
| 116 | |
| 117 | namespace Ui { |
| 118 | class Dialog: public Ui_Dialog {}; |
| 119 | } // namespace Ui |
| 120 | |
| 121 | QT_END_NAMESPACE |
| 122 | |
| 123 | #endif // UI_AUTHENTICATIONDIALOG_H |
| 124 | |