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