| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'passworddialog.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 PASSWORDDIALOG_H |
| 10 |
#define PASSWORDDIALOG_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/QHBoxLayout> |
| 18 |
#include <QtWidgets/QLabel> |
| 19 |
#include <QtWidgets/QLineEdit> |
| 20 |
|
| 21 |
QT_BEGIN_NAMESPACE |
| 22 |
|
| 23 |
class Ui_PasswordDialog |
| 24 |
{ |
| 25 |
public: |
| 26 |
QGridLayout *gridLayout; |
| 27 |
QHBoxLayout *hboxLayout; |
| 28 |
QLabel *iconLabel; |
| 29 |
QLabel *introLabel; |
| 30 |
QLabel *label; |
| 31 |
QLineEdit *userNameLineEdit; |
| 32 |
QLabel *lblPassword; |
| 33 |
QLineEdit *passwordLineEdit; |
| 34 |
QDialogButtonBox *buttonBox; |
| 35 |
|
| 36 |
void setupUi(QDialog *PasswordDialog) |
| 37 |
{ |
| 38 |
if (PasswordDialog->objectName().isEmpty()) |
| 39 |
PasswordDialog->setObjectName(QString::fromUtf8("PasswordDialog")); |
| 40 |
PasswordDialog->resize(399, 148); |
| 41 |
gridLayout = new QGridLayout(PasswordDialog); |
| 42 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 43 |
hboxLayout = new QHBoxLayout(); |
| 44 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 45 |
iconLabel = new QLabel(PasswordDialog); |
| 46 |
iconLabel->setObjectName(QString::fromUtf8("iconLabel")); |
| 47 |
|
| 48 |
hboxLayout->addWidget(iconLabel); |
| 49 |
|
| 50 |
introLabel = new QLabel(PasswordDialog); |
| 51 |
introLabel->setObjectName(QString::fromUtf8("introLabel")); |
| 52 |
QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); |
| 53 |
sizePolicy.setHorizontalStretch(0); |
| 54 |
sizePolicy.setVerticalStretch(0); |
| 55 |
sizePolicy.setHeightForWidth(introLabel->sizePolicy().hasHeightForWidth()); |
| 56 |
introLabel->setSizePolicy(sizePolicy); |
| 57 |
|
| 58 |
hboxLayout->addWidget(introLabel); |
| 59 |
|
| 60 |
|
| 61 |
gridLayout->addLayout(hboxLayout, 0, 0, 1, 2); |
| 62 |
|
| 63 |
label = new QLabel(PasswordDialog); |
| 64 |
label->setObjectName(QString::fromUtf8("label")); |
| 65 |
|
| 66 |
gridLayout->addWidget(label, 1, 0, 1, 1); |
| 67 |
|
| 68 |
userNameLineEdit = new QLineEdit(PasswordDialog); |
| 69 |
userNameLineEdit->setObjectName(QString::fromUtf8("userNameLineEdit")); |
| 70 |
|
| 71 |
gridLayout->addWidget(userNameLineEdit, 1, 1, 1, 1); |
| 72 |
|
| 73 |
lblPassword = new QLabel(PasswordDialog); |
| 74 |
lblPassword->setObjectName(QString::fromUtf8("lblPassword")); |
| 75 |
|
| 76 |
gridLayout->addWidget(lblPassword, 2, 0, 1, 1); |
| 77 |
|
| 78 |
passwordLineEdit = new QLineEdit(PasswordDialog); |
| 79 |
passwordLineEdit->setObjectName(QString::fromUtf8("passwordLineEdit")); |
| 80 |
passwordLineEdit->setEchoMode(QLineEdit::Password); |
| 81 |
|
| 82 |
gridLayout->addWidget(passwordLineEdit, 2, 1, 1, 1); |
| 83 |
|
| 84 |
buttonBox = new QDialogButtonBox(PasswordDialog); |
| 85 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 86 |
buttonBox->setOrientation(Qt::Horizontal); |
| 87 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
| 88 |
|
| 89 |
gridLayout->addWidget(buttonBox, 3, 0, 1, 2); |
| 90 |
|
| 91 |
|
| 92 |
retranslateUi(PasswordDialog); |
| 93 |
QObject::connect(buttonBox, SIGNAL(accepted()), PasswordDialog, SLOT(accept())); |
| 94 |
QObject::connect(buttonBox, SIGNAL(rejected()), PasswordDialog, SLOT(reject())); |
| 95 |
|
| 96 |
QMetaObject::connectSlotsByName(PasswordDialog); |
| 97 |
} // setupUi |
| 98 |
|
| 99 |
void retranslateUi(QDialog *PasswordDialog) |
| 100 |
{ |
| 101 |
PasswordDialog->setWindowTitle(QCoreApplication::translate("PasswordDialog", "Authentication Required", nullptr)); |
| 102 |
iconLabel->setText(QCoreApplication::translate("PasswordDialog", "DUMMY ICON", nullptr)); |
| 103 |
introLabel->setText(QCoreApplication::translate("PasswordDialog", "INTRO TEXT DUMMY", nullptr)); |
| 104 |
label->setText(QCoreApplication::translate("PasswordDialog", "Username:", nullptr)); |
| 105 |
lblPassword->setText(QCoreApplication::translate("PasswordDialog", "Password:", nullptr)); |
| 106 |
} // retranslateUi |
| 107 |
|
| 108 |
}; |
| 109 |
|
| 110 |
namespace Ui { |
| 111 |
class PasswordDialog: public Ui_PasswordDialog {}; |
| 112 |
} // namespace Ui |
| 113 |
|
| 114 |
QT_END_NAMESPACE |
| 115 |
|
| 116 |
#endif // PASSWORDDIALOG_H |