2011-04-27 10:05:43 +00:00
|
|
|
/********************************************************************************
|
|
|
|
** Form generated from reading UI file 'passworddialog.ui'
|
|
|
|
**
|
2012-12-13 12:48:18 +00:00
|
|
|
** Created by: Qt User Interface Compiler version 5.0.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/QAction>
|
|
|
|
#include <QtWidgets/QApplication>
|
|
|
|
#include <QtWidgets/QButtonGroup>
|
|
|
|
#include <QtWidgets/QDialog>
|
|
|
|
#include <QtWidgets/QDialogButtonBox>
|
|
|
|
#include <QtWidgets/QGridLayout>
|
|
|
|
#include <QtWidgets/QHBoxLayout>
|
|
|
|
#include <QtWidgets/QHeaderView>
|
|
|
|
#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())
|
2011-12-11 15:55:01 +00:00
|
|
|
PasswordDialog->setObjectName(QStringLiteral("PasswordDialog"));
|
2011-04-27 10:05:43 +00:00
|
|
|
PasswordDialog->resize(399, 148);
|
|
|
|
gridLayout = new QGridLayout(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
gridLayout->setObjectName(QStringLiteral("gridLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
hboxLayout = new QHBoxLayout();
|
2011-12-11 15:55:01 +00:00
|
|
|
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
|
2011-04-27 10:05:43 +00:00
|
|
|
iconLabel = new QLabel(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
iconLabel->setObjectName(QStringLiteral("iconLabel"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
hboxLayout->addWidget(iconLabel);
|
|
|
|
|
|
|
|
introLabel = new QLabel(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
introLabel->setObjectName(QStringLiteral("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);
|
2011-12-11 15:55:01 +00:00
|
|
|
label->setObjectName(QStringLiteral("label"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(label, 1, 0, 1, 1);
|
|
|
|
|
|
|
|
userNameLineEdit = new QLineEdit(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
userNameLineEdit->setObjectName(QStringLiteral("userNameLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(userNameLineEdit, 1, 1, 1, 1);
|
|
|
|
|
|
|
|
lblPassword = new QLabel(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
lblPassword->setObjectName(QStringLiteral("lblPassword"));
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
gridLayout->addWidget(lblPassword, 2, 0, 1, 1);
|
|
|
|
|
|
|
|
passwordLineEdit = new QLineEdit(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
passwordLineEdit->setObjectName(QStringLiteral("passwordLineEdit"));
|
2011-04-27 10:05:43 +00:00
|
|
|
passwordLineEdit->setEchoMode(QLineEdit::Password);
|
|
|
|
|
|
|
|
gridLayout->addWidget(passwordLineEdit, 2, 1, 1, 1);
|
|
|
|
|
|
|
|
buttonBox = new QDialogButtonBox(PasswordDialog);
|
2011-12-11 15:55:01 +00:00
|
|
|
buttonBox->setObjectName(QStringLiteral("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)
|
|
|
|
{
|
2012-05-17 00:37:23 +00:00
|
|
|
PasswordDialog->setWindowTitle(QApplication::translate("PasswordDialog", "Authentication Required", 0));
|
|
|
|
iconLabel->setText(QApplication::translate("PasswordDialog", "DUMMY ICON", 0));
|
|
|
|
introLabel->setText(QApplication::translate("PasswordDialog", "INTRO TEXT DUMMY", 0));
|
|
|
|
label->setText(QApplication::translate("PasswordDialog", "Username:", 0));
|
|
|
|
lblPassword->setText(QApplication::translate("PasswordDialog", "Password:", 0));
|
2011-04-27 10:05:43 +00:00
|
|
|
} // retranslateUi
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class PasswordDialog: public Ui_PasswordDialog {};
|
|
|
|
} // namespace Ui
|
|
|
|
|
|
|
|
QT_END_NAMESPACE
|
|
|
|
|
|
|
|
#endif // PASSWORDDIALOG_H
|