2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'passworddialog.ui'
|
|
|
|
**
|
2018-10-23 11:27:31 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.12.0
|
2011-04-27 10:05:43 +00:00
|
|
|
**
|
|
|
|
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef PASSWORDDIALOG_H
|
|
|
|
#define PASSWORDDIALOG_H
|
|
|
|
|
|
|
|
#include <QtCore/QVariant>
|
2011-09-22 13:09:37 +00:00
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QLabel>
|
|
|
|
#include <QtWidgets/QLineEdit>
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
|
|
|
class Ui_PasswordDialog
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
QGridLayout *gridLayout;
|
|
|
|
QHBoxLayout *hboxLayout;
|
|
|
|
QLabel *iconLabel;
|
|
|
|
QLabel *introLabel;
|
|
|
|
QLabel *label;
|
|
|
|
QLineEdit *userNameLineEdit;
|
|
|
|
QLabel *lblPassword;
|
|
|
|
QLineEdit *passwordLineEdit;
|
|
|
|
QDialogButtonBox *buttonBox;
|
|
|
|
|
|
|
|
void setupUi(QDialog *PasswordDialog)
|
|
|
|
{
|
|
|
|
if (PasswordDialog->objectName().isEmpty())
|
2018-07-13 09:02:14 +00:00
|
|
|
PasswordDialog->setObjectName(QString::fromUtf8("PasswordDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
PasswordDialog->resize(399, 148);
|
|
|
|
gridLayout = new QGridLayout(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
2018-07-13 09:02:14 +00:00
|
|
|
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
iconLabel = new QLabel(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
iconLabel->setObjectName(QString::fromUtf8("iconLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(iconLabel);
|
|
|
|
|
|
|
|
introLabel = new QLabel(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
introLabel->setObjectName(QString::fromUtf8("introLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
|
|
|
|
sizePolicy.setHorizontalStretch(0);
|
|
|
|
sizePolicy.setVerticalStretch(0);
|
|
|
|
sizePolicy.setHeightForWidth(introLabel->sizePolicy().hasHeightForWidth());
|
|
|
|
introLabel->setSizePolicy(sizePolicy);
|
|
|
|
|
|
|
|
hboxLayout->addWidget(introLabel);
|
|
|
|
|
|
|
|
|
|
|
|
gridLayout->addLayout(hboxLayout, 0, 0, 1, 2);
|
|
|
|
|
|
|
|
label = new QLabel(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
label->setObjectName(QString::fromUtf8("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(label, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
userNameLineEdit = new QLineEdit(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
userNameLineEdit->setObjectName(QString::fromUtf8("userNameLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(userNameLineEdit, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
lblPassword = new QLabel(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
lblPassword->setObjectName(QString::fromUtf8("lblPassword"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(lblPassword, 2, 0, 1, 1);
|
|
|
|
|
|
|
|
passwordLineEdit = new QLineEdit(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
passwordLineEdit->setObjectName(QString::fromUtf8("passwordLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
passwordLineEdit->setEchoMode(QLineEdit::Password);
|
|
|
|
|
|
|
|
gridLayout->addWidget(passwordLineEdit, 2, 1, 1, 1);
|
|
|
|
|
|
|
|
buttonBox = new QDialogButtonBox(PasswordDialog);
|
2018-07-13 09:02:14 +00:00
|
|
|
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
2011-04-27 10:05:43 +00:00
|
|
|
buttonBox->setOrientation(Qt::Horizontal);
|
|
|
|
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
|
|
|
|
|
|
|
gridLayout->addWidget(buttonBox, 3, 0, 1, 2);
|
|
|
|
|
|
|
|
|
|
|
|
retranslateUi(PasswordDialog);
|
|
|
|
QObject::connect(buttonBox, SIGNAL(accepted()), PasswordDialog, SLOT(accept()));
|
|
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), PasswordDialog, SLOT(reject()));
|
|
|
|
|
|
|
|
QMetaObject::connectSlotsByName(PasswordDialog);
|
|
|
|
} // setupUi
|
|
|
|
|
|
|
|
void retranslateUi(QDialog *PasswordDialog)
|
|
|
|
{
|
2018-11-27 11:31:57 +00:00
|
|
|
PasswordDialog->setWindowTitle(QCoreApplication::translate("PasswordDialog", "Authentication Required", nullptr));
|
|
|
|
iconLabel->setText(QCoreApplication::translate("PasswordDialog", "DUMMY ICON", nullptr));
|
|
|
|
introLabel->setText(QCoreApplication::translate("PasswordDialog", "INTRO TEXT DUMMY", nullptr));
|
|
|
|
label->setText(QCoreApplication::translate("PasswordDialog", "Username:", nullptr));
|
|
|
|
lblPassword->setText(QCoreApplication::translate("PasswordDialog", "Password:", nullptr));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PasswordDialog: public Ui_PasswordDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // PASSWORDDIALOG_H
|