|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'passworddialog.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:14 2009 |
|
5 ** by: Qt User Interface Compiler version 4.6.0 |
|
6 ** |
|
7 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
8 ********************************************************************************/ |
|
9 |
|
10 #ifndef PASSWORDDIALOG_H |
|
11 #define PASSWORDDIALOG_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QDialog> |
|
18 #include <QtGui/QDialogButtonBox> |
|
19 #include <QtGui/QGridLayout> |
|
20 #include <QtGui/QHBoxLayout> |
|
21 #include <QtGui/QHeaderView> |
|
22 #include <QtGui/QLabel> |
|
23 #include <QtGui/QLineEdit> |
|
24 |
|
25 QT_BEGIN_NAMESPACE |
|
26 |
|
27 class Ui_PasswordDialog |
|
28 { |
|
29 public: |
|
30 QGridLayout *gridLayout; |
|
31 QHBoxLayout *hboxLayout; |
|
32 QLabel *iconLabel; |
|
33 QLabel *introLabel; |
|
34 QLabel *label; |
|
35 QLineEdit *userNameLineEdit; |
|
36 QLabel *lblPassword; |
|
37 QLineEdit *passwordLineEdit; |
|
38 QDialogButtonBox *buttonBox; |
|
39 |
|
40 void setupUi(QDialog *PasswordDialog) |
|
41 { |
|
42 if (PasswordDialog->objectName().isEmpty()) |
|
43 PasswordDialog->setObjectName(QString::fromUtf8("PasswordDialog")); |
|
44 PasswordDialog->resize(399, 148); |
|
45 gridLayout = new QGridLayout(PasswordDialog); |
|
46 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
47 hboxLayout = new QHBoxLayout(); |
|
48 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
49 iconLabel = new QLabel(PasswordDialog); |
|
50 iconLabel->setObjectName(QString::fromUtf8("iconLabel")); |
|
51 |
|
52 hboxLayout->addWidget(iconLabel); |
|
53 |
|
54 introLabel = new QLabel(PasswordDialog); |
|
55 introLabel->setObjectName(QString::fromUtf8("introLabel")); |
|
56 QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); |
|
57 sizePolicy.setHorizontalStretch(0); |
|
58 sizePolicy.setVerticalStretch(0); |
|
59 sizePolicy.setHeightForWidth(introLabel->sizePolicy().hasHeightForWidth()); |
|
60 introLabel->setSizePolicy(sizePolicy); |
|
61 |
|
62 hboxLayout->addWidget(introLabel); |
|
63 |
|
64 |
|
65 gridLayout->addLayout(hboxLayout, 0, 0, 1, 2); |
|
66 |
|
67 label = new QLabel(PasswordDialog); |
|
68 label->setObjectName(QString::fromUtf8("label")); |
|
69 |
|
70 gridLayout->addWidget(label, 1, 0, 1, 1); |
|
71 |
|
72 userNameLineEdit = new QLineEdit(PasswordDialog); |
|
73 userNameLineEdit->setObjectName(QString::fromUtf8("userNameLineEdit")); |
|
74 |
|
75 gridLayout->addWidget(userNameLineEdit, 1, 1, 1, 1); |
|
76 |
|
77 lblPassword = new QLabel(PasswordDialog); |
|
78 lblPassword->setObjectName(QString::fromUtf8("lblPassword")); |
|
79 |
|
80 gridLayout->addWidget(lblPassword, 2, 0, 1, 1); |
|
81 |
|
82 passwordLineEdit = new QLineEdit(PasswordDialog); |
|
83 passwordLineEdit->setObjectName(QString::fromUtf8("passwordLineEdit")); |
|
84 passwordLineEdit->setEchoMode(QLineEdit::Password); |
|
85 |
|
86 gridLayout->addWidget(passwordLineEdit, 2, 1, 1, 1); |
|
87 |
|
88 buttonBox = new QDialogButtonBox(PasswordDialog); |
|
89 buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
|
90 buttonBox->setOrientation(Qt::Horizontal); |
|
91 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
|
92 |
|
93 gridLayout->addWidget(buttonBox, 3, 0, 1, 2); |
|
94 |
|
95 |
|
96 retranslateUi(PasswordDialog); |
|
97 QObject::connect(buttonBox, SIGNAL(accepted()), PasswordDialog, SLOT(accept())); |
|
98 QObject::connect(buttonBox, SIGNAL(rejected()), PasswordDialog, SLOT(reject())); |
|
99 |
|
100 QMetaObject::connectSlotsByName(PasswordDialog); |
|
101 } // setupUi |
|
102 |
|
103 void retranslateUi(QDialog *PasswordDialog) |
|
104 { |
|
105 PasswordDialog->setWindowTitle(QApplication::translate("PasswordDialog", "Authentication Required", 0, QApplication::UnicodeUTF8)); |
|
106 iconLabel->setText(QApplication::translate("PasswordDialog", "DUMMY ICON", 0, QApplication::UnicodeUTF8)); |
|
107 introLabel->setText(QApplication::translate("PasswordDialog", "INTRO TEXT DUMMY", 0, QApplication::UnicodeUTF8)); |
|
108 label->setText(QApplication::translate("PasswordDialog", "Username:", 0, QApplication::UnicodeUTF8)); |
|
109 lblPassword->setText(QApplication::translate("PasswordDialog", "Password:", 0, QApplication::UnicodeUTF8)); |
|
110 } // retranslateUi |
|
111 |
|
112 }; |
|
113 |
|
114 namespace Ui { |
|
115 class PasswordDialog: public Ui_PasswordDialog {}; |
|
116 } // namespace Ui |
|
117 |
|
118 QT_END_NAMESPACE |
|
119 |
|
120 #endif // PASSWORDDIALOG_H |