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