0
|
1 |
/********************************************************************************
|
|
2 |
** Form generated from reading UI file 'pagefold.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 PAGEFOLD_H
|
|
11 |
#define PAGEFOLD_H
|
|
12 |
|
|
13 |
#include <QtCore/QVariant>
|
|
14 |
#include <QtGui/QAction>
|
|
15 |
#include <QtGui/QApplication>
|
|
16 |
#include <QtGui/QButtonGroup>
|
|
17 |
#include <QtGui/QCheckBox>
|
|
18 |
#include <QtGui/QComboBox>
|
|
19 |
#include <QtGui/QDialogButtonBox>
|
|
20 |
#include <QtGui/QFrame>
|
|
21 |
#include <QtGui/QGridLayout>
|
|
22 |
#include <QtGui/QHeaderView>
|
|
23 |
#include <QtGui/QLabel>
|
|
24 |
#include <QtGui/QLineEdit>
|
|
25 |
#include <QtGui/QListWidget>
|
|
26 |
#include <QtGui/QMainWindow>
|
|
27 |
#include <QtGui/QMenu>
|
|
28 |
#include <QtGui/QMenuBar>
|
|
29 |
#include <QtGui/QRadioButton>
|
|
30 |
#include <QtGui/QSpacerItem>
|
|
31 |
#include <QtGui/QSpinBox>
|
|
32 |
#include <QtGui/QStatusBar>
|
|
33 |
#include <QtGui/QVBoxLayout>
|
|
34 |
#include <QtGui/QWidget>
|
|
35 |
|
|
36 |
QT_BEGIN_NAMESPACE
|
|
37 |
|
|
38 |
class Ui_MainWindow
|
|
39 |
{
|
|
40 |
public:
|
|
41 |
QAction *exitAction;
|
|
42 |
QAction *aboutQtAction;
|
|
43 |
QAction *editStyleAction;
|
|
44 |
QAction *aboutAction;
|
|
45 |
QWidget *centralwidget;
|
|
46 |
QVBoxLayout *vboxLayout;
|
|
47 |
QFrame *mainFrame;
|
|
48 |
QGridLayout *gridLayout;
|
|
49 |
QComboBox *nameCombo;
|
|
50 |
QSpacerItem *spacerItem;
|
|
51 |
QRadioButton *femaleRadioButton;
|
|
52 |
QLabel *genderLabel;
|
|
53 |
QLabel *ageLabel;
|
|
54 |
QRadioButton *maleRadioButton;
|
|
55 |
QLabel *nameLabel;
|
|
56 |
QLabel *passwordLabel;
|
|
57 |
QSpinBox *ageSpinBox;
|
|
58 |
QDialogButtonBox *buttonBox;
|
|
59 |
QCheckBox *agreeCheckBox;
|
|
60 |
QLineEdit *passwordEdit;
|
|
61 |
QListWidget *professionList;
|
|
62 |
QLabel *label;
|
|
63 |
QComboBox *countryCombo;
|
|
64 |
QLabel *countryLabel;
|
|
65 |
QMenuBar *menubar;
|
|
66 |
QMenu *menu_File;
|
|
67 |
QMenu *menu_Help;
|
|
68 |
QStatusBar *statusbar;
|
|
69 |
|
|
70 |
void setupUi(QMainWindow *MainWindow)
|
|
71 |
{
|
|
72 |
if (MainWindow->objectName().isEmpty())
|
|
73 |
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
|
|
74 |
MainWindow->resize(392, 412);
|
|
75 |
exitAction = new QAction(MainWindow);
|
|
76 |
exitAction->setObjectName(QString::fromUtf8("exitAction"));
|
|
77 |
aboutQtAction = new QAction(MainWindow);
|
|
78 |
aboutQtAction->setObjectName(QString::fromUtf8("aboutQtAction"));
|
|
79 |
editStyleAction = new QAction(MainWindow);
|
|
80 |
editStyleAction->setObjectName(QString::fromUtf8("editStyleAction"));
|
|
81 |
aboutAction = new QAction(MainWindow);
|
|
82 |
aboutAction->setObjectName(QString::fromUtf8("aboutAction"));
|
|
83 |
centralwidget = new QWidget(MainWindow);
|
|
84 |
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
|
|
85 |
vboxLayout = new QVBoxLayout(centralwidget);
|
|
86 |
#ifndef Q_OS_MAC
|
|
87 |
vboxLayout->setSpacing(6);
|
|
88 |
#endif
|
|
89 |
#ifndef Q_OS_MAC
|
|
90 |
vboxLayout->setContentsMargins(9, 9, 9, 9);
|
|
91 |
#endif
|
|
92 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
|
|
93 |
mainFrame = new QFrame(centralwidget);
|
|
94 |
mainFrame->setObjectName(QString::fromUtf8("mainFrame"));
|
|
95 |
mainFrame->setFrameShape(QFrame::StyledPanel);
|
|
96 |
mainFrame->setFrameShadow(QFrame::Raised);
|
|
97 |
gridLayout = new QGridLayout(mainFrame);
|
|
98 |
#ifndef Q_OS_MAC
|
|
99 |
gridLayout->setSpacing(6);
|
|
100 |
#endif
|
|
101 |
#ifndef Q_OS_MAC
|
|
102 |
gridLayout->setContentsMargins(9, 9, 9, 9);
|
|
103 |
#endif
|
|
104 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
|
|
105 |
nameCombo = new QComboBox(mainFrame);
|
|
106 |
nameCombo->setObjectName(QString::fromUtf8("nameCombo"));
|
|
107 |
nameCombo->setEditable(true);
|
|
108 |
|
|
109 |
gridLayout->addWidget(nameCombo, 0, 1, 1, 3);
|
|
110 |
|
|
111 |
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
|
|
112 |
|
|
113 |
gridLayout->addItem(spacerItem, 1, 3, 1, 1);
|
|
114 |
|
|
115 |
femaleRadioButton = new QRadioButton(mainFrame);
|
|
116 |
femaleRadioButton->setObjectName(QString::fromUtf8("femaleRadioButton"));
|
|
117 |
|
|
118 |
gridLayout->addWidget(femaleRadioButton, 1, 2, 1, 1);
|
|
119 |
|
|
120 |
genderLabel = new QLabel(mainFrame);
|
|
121 |
genderLabel->setObjectName(QString::fromUtf8("genderLabel"));
|
|
122 |
|
|
123 |
gridLayout->addWidget(genderLabel, 1, 0, 1, 1);
|
|
124 |
|
|
125 |
ageLabel = new QLabel(mainFrame);
|
|
126 |
ageLabel->setObjectName(QString::fromUtf8("ageLabel"));
|
|
127 |
|
|
128 |
gridLayout->addWidget(ageLabel, 2, 0, 1, 1);
|
|
129 |
|
|
130 |
maleRadioButton = new QRadioButton(mainFrame);
|
|
131 |
maleRadioButton->setObjectName(QString::fromUtf8("maleRadioButton"));
|
|
132 |
|
|
133 |
gridLayout->addWidget(maleRadioButton, 1, 1, 1, 1);
|
|
134 |
|
|
135 |
nameLabel = new QLabel(mainFrame);
|
|
136 |
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
|
|
137 |
|
|
138 |
gridLayout->addWidget(nameLabel, 0, 0, 1, 1);
|
|
139 |
|
|
140 |
passwordLabel = new QLabel(mainFrame);
|
|
141 |
passwordLabel->setObjectName(QString::fromUtf8("passwordLabel"));
|
|
142 |
|
|
143 |
gridLayout->addWidget(passwordLabel, 3, 0, 1, 1);
|
|
144 |
|
|
145 |
ageSpinBox = new QSpinBox(mainFrame);
|
|
146 |
ageSpinBox->setObjectName(QString::fromUtf8("ageSpinBox"));
|
|
147 |
ageSpinBox->setMinimum(12);
|
|
148 |
ageSpinBox->setValue(22);
|
|
149 |
|
|
150 |
gridLayout->addWidget(ageSpinBox, 2, 1, 1, 3);
|
|
151 |
|
|
152 |
buttonBox = new QDialogButtonBox(mainFrame);
|
|
153 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
|
154 |
buttonBox->setOrientation(Qt::Horizontal);
|
|
155 |
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
|
|
156 |
|
|
157 |
gridLayout->addWidget(buttonBox, 7, 2, 1, 2);
|
|
158 |
|
|
159 |
agreeCheckBox = new QCheckBox(mainFrame);
|
|
160 |
agreeCheckBox->setObjectName(QString::fromUtf8("agreeCheckBox"));
|
|
161 |
|
|
162 |
gridLayout->addWidget(agreeCheckBox, 6, 0, 1, 4);
|
|
163 |
|
|
164 |
passwordEdit = new QLineEdit(mainFrame);
|
|
165 |
passwordEdit->setObjectName(QString::fromUtf8("passwordEdit"));
|
|
166 |
passwordEdit->setEchoMode(QLineEdit::Password);
|
|
167 |
|
|
168 |
gridLayout->addWidget(passwordEdit, 3, 1, 1, 3);
|
|
169 |
|
|
170 |
professionList = new QListWidget(mainFrame);
|
|
171 |
new QListWidgetItem(professionList);
|
|
172 |
new QListWidgetItem(professionList);
|
|
173 |
new QListWidgetItem(professionList);
|
|
174 |
professionList->setObjectName(QString::fromUtf8("professionList"));
|
|
175 |
|
|
176 |
gridLayout->addWidget(professionList, 5, 1, 1, 3);
|
|
177 |
|
|
178 |
label = new QLabel(mainFrame);
|
|
179 |
label->setObjectName(QString::fromUtf8("label"));
|
|
180 |
|
|
181 |
gridLayout->addWidget(label, 5, 0, 1, 1);
|
|
182 |
|
|
183 |
countryCombo = new QComboBox(mainFrame);
|
|
184 |
countryCombo->setObjectName(QString::fromUtf8("countryCombo"));
|
|
185 |
|
|
186 |
gridLayout->addWidget(countryCombo, 4, 1, 1, 3);
|
|
187 |
|
|
188 |
countryLabel = new QLabel(mainFrame);
|
|
189 |
countryLabel->setObjectName(QString::fromUtf8("countryLabel"));
|
|
190 |
|
|
191 |
gridLayout->addWidget(countryLabel, 4, 0, 1, 1);
|
|
192 |
|
|
193 |
|
|
194 |
vboxLayout->addWidget(mainFrame);
|
|
195 |
|
|
196 |
MainWindow->setCentralWidget(centralwidget);
|
|
197 |
menubar = new QMenuBar(MainWindow);
|
|
198 |
menubar->setObjectName(QString::fromUtf8("menubar"));
|
|
199 |
menubar->setGeometry(QRect(0, 0, 392, 25));
|
|
200 |
menu_File = new QMenu(menubar);
|
|
201 |
menu_File->setObjectName(QString::fromUtf8("menu_File"));
|
|
202 |
menu_Help = new QMenu(menubar);
|
|
203 |
menu_Help->setObjectName(QString::fromUtf8("menu_Help"));
|
|
204 |
MainWindow->setMenuBar(menubar);
|
|
205 |
statusbar = new QStatusBar(MainWindow);
|
|
206 |
statusbar->setObjectName(QString::fromUtf8("statusbar"));
|
|
207 |
MainWindow->setStatusBar(statusbar);
|
|
208 |
#ifndef QT_NO_SHORTCUT
|
|
209 |
ageLabel->setBuddy(ageSpinBox);
|
|
210 |
nameLabel->setBuddy(nameCombo);
|
|
211 |
passwordLabel->setBuddy(passwordEdit);
|
|
212 |
label->setBuddy(professionList);
|
|
213 |
countryLabel->setBuddy(professionList);
|
|
214 |
#endif // QT_NO_SHORTCUT
|
|
215 |
|
|
216 |
menubar->addAction(menu_File->menuAction());
|
|
217 |
menubar->addAction(menu_Help->menuAction());
|
|
218 |
menu_File->addAction(editStyleAction);
|
|
219 |
menu_File->addSeparator();
|
|
220 |
menu_File->addAction(exitAction);
|
|
221 |
menu_Help->addAction(aboutAction);
|
|
222 |
menu_Help->addSeparator();
|
|
223 |
menu_Help->addAction(aboutQtAction);
|
|
224 |
|
|
225 |
retranslateUi(MainWindow);
|
|
226 |
|
|
227 |
nameCombo->setCurrentIndex(-1);
|
|
228 |
professionList->setCurrentRow(0);
|
|
229 |
countryCombo->setCurrentIndex(6);
|
|
230 |
|
|
231 |
|
|
232 |
QMetaObject::connectSlotsByName(MainWindow);
|
|
233 |
} // setupUi
|
|
234 |
|
|
235 |
void retranslateUi(QMainWindow *MainWindow)
|
|
236 |
{
|
|
237 |
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
|
|
238 |
exitAction->setText(QApplication::translate("MainWindow", "&Exit", 0, QApplication::UnicodeUTF8));
|
|
239 |
aboutQtAction->setText(QApplication::translate("MainWindow", "About Qt", 0, QApplication::UnicodeUTF8));
|
|
240 |
editStyleAction->setText(QApplication::translate("MainWindow", "Edit &Style", 0, QApplication::UnicodeUTF8));
|
|
241 |
aboutAction->setText(QApplication::translate("MainWindow", "About", 0, QApplication::UnicodeUTF8));
|
|
242 |
nameCombo->clear();
|
|
243 |
nameCombo->insertItems(0, QStringList()
|
|
244 |
<< QApplication::translate("MainWindow", "Girish", 0, QApplication::UnicodeUTF8)
|
|
245 |
<< QApplication::translate("MainWindow", "Jasmin", 0, QApplication::UnicodeUTF8)
|
|
246 |
<< QApplication::translate("MainWindow", "Simon", 0, QApplication::UnicodeUTF8)
|
|
247 |
<< QApplication::translate("MainWindow", "Zack", 0, QApplication::UnicodeUTF8)
|
|
248 |
);
|
|
249 |
#ifndef QT_NO_TOOLTIP
|
|
250 |
nameCombo->setToolTip(QApplication::translate("MainWindow", "Specify your name", 0, QApplication::UnicodeUTF8));
|
|
251 |
#endif // QT_NO_TOOLTIP
|
|
252 |
femaleRadioButton->setStyleSheet(QApplication::translate("MainWindow", "Check this if you are female", 0, QApplication::UnicodeUTF8));
|
|
253 |
femaleRadioButton->setText(QApplication::translate("MainWindow", "&Female", 0, QApplication::UnicodeUTF8));
|
|
254 |
genderLabel->setText(QApplication::translate("MainWindow", "Gender:", 0, QApplication::UnicodeUTF8));
|
|
255 |
ageLabel->setText(QApplication::translate("MainWindow", "&Age:", 0, QApplication::UnicodeUTF8));
|
|
256 |
#ifndef QT_NO_TOOLTIP
|
|
257 |
maleRadioButton->setToolTip(QApplication::translate("MainWindow", "Check this if you are male", 0, QApplication::UnicodeUTF8));
|
|
258 |
#endif // QT_NO_TOOLTIP
|
|
259 |
maleRadioButton->setText(QApplication::translate("MainWindow", "&Male", 0, QApplication::UnicodeUTF8));
|
|
260 |
nameLabel->setText(QApplication::translate("MainWindow", "&Name:", 0, QApplication::UnicodeUTF8));
|
|
261 |
passwordLabel->setText(QApplication::translate("MainWindow", "&Password:", 0, QApplication::UnicodeUTF8));
|
|
262 |
#ifndef QT_NO_TOOLTIP
|
|
263 |
ageSpinBox->setToolTip(QApplication::translate("MainWindow", "Specify your age", 0, QApplication::UnicodeUTF8));
|
|
264 |
#endif // QT_NO_TOOLTIP
|
|
265 |
#ifndef QT_NO_STATUSTIP
|
|
266 |
ageSpinBox->setStatusTip(QApplication::translate("MainWindow", "Specify your age", 0, QApplication::UnicodeUTF8));
|
|
267 |
#endif // QT_NO_STATUSTIP
|
|
268 |
#ifndef QT_NO_TOOLTIP
|
|
269 |
agreeCheckBox->setToolTip(QApplication::translate("MainWindow", "Please read the LICENSE file before checking", 0, QApplication::UnicodeUTF8));
|
|
270 |
#endif // QT_NO_TOOLTIP
|
|
271 |
agreeCheckBox->setText(QApplication::translate("MainWindow", "I &accept the terms and &conditions", 0, QApplication::UnicodeUTF8));
|
|
272 |
#ifndef QT_NO_TOOLTIP
|
|
273 |
passwordEdit->setToolTip(QApplication::translate("MainWindow", "Specify your password", 0, QApplication::UnicodeUTF8));
|
|
274 |
#endif // QT_NO_TOOLTIP
|
|
275 |
#ifndef QT_NO_STATUSTIP
|
|
276 |
passwordEdit->setStatusTip(QApplication::translate("MainWindow", "Specify your password", 0, QApplication::UnicodeUTF8));
|
|
277 |
#endif // QT_NO_STATUSTIP
|
|
278 |
passwordEdit->setText(QApplication::translate("MainWindow", "Password", 0, QApplication::UnicodeUTF8));
|
|
279 |
|
|
280 |
const bool __sortingEnabled = professionList->isSortingEnabled();
|
|
281 |
professionList->setSortingEnabled(false);
|
|
282 |
QListWidgetItem *___qlistwidgetitem = professionList->item(0);
|
|
283 |
___qlistwidgetitem->setText(QApplication::translate("MainWindow", "Developer", 0, QApplication::UnicodeUTF8));
|
|
284 |
QListWidgetItem *___qlistwidgetitem1 = professionList->item(1);
|
|
285 |
___qlistwidgetitem1->setText(QApplication::translate("MainWindow", "Student", 0, QApplication::UnicodeUTF8));
|
|
286 |
QListWidgetItem *___qlistwidgetitem2 = professionList->item(2);
|
|
287 |
___qlistwidgetitem2->setText(QApplication::translate("MainWindow", "Fisherman", 0, QApplication::UnicodeUTF8));
|
|
288 |
professionList->setSortingEnabled(__sortingEnabled);
|
|
289 |
|
|
290 |
#ifndef QT_NO_TOOLTIP
|
|
291 |
professionList->setToolTip(QApplication::translate("MainWindow", "Select your profession", 0, QApplication::UnicodeUTF8));
|
|
292 |
#endif // QT_NO_TOOLTIP
|
|
293 |
#ifndef QT_NO_STATUSTIP
|
|
294 |
professionList->setStatusTip(QApplication::translate("MainWindow", "Specify your name here", 0, QApplication::UnicodeUTF8));
|
|
295 |
#endif // QT_NO_STATUSTIP
|
|
296 |
#ifndef QT_NO_WHATSTHIS
|
|
297 |
professionList->setWhatsThis(QApplication::translate("MainWindow", "Specify your name here", 0, QApplication::UnicodeUTF8));
|
|
298 |
#endif // QT_NO_WHATSTHIS
|
|
299 |
label->setText(QApplication::translate("MainWindow", "Profession:", 0, QApplication::UnicodeUTF8));
|
|
300 |
countryCombo->clear();
|
|
301 |
countryCombo->insertItems(0, QStringList()
|
|
302 |
<< QApplication::translate("MainWindow", "Egypt", 0, QApplication::UnicodeUTF8)
|
|
303 |
<< QApplication::translate("MainWindow", "France", 0, QApplication::UnicodeUTF8)
|
|
304 |
<< QApplication::translate("MainWindow", "Germany", 0, QApplication::UnicodeUTF8)
|
|
305 |
<< QApplication::translate("MainWindow", "India", 0, QApplication::UnicodeUTF8)
|
|
306 |
<< QApplication::translate("MainWindow", "Italy", 0, QApplication::UnicodeUTF8)
|
|
307 |
<< QApplication::translate("MainWindow", "Korea", 0, QApplication::UnicodeUTF8)
|
|
308 |
<< QApplication::translate("MainWindow", "Norway", 0, QApplication::UnicodeUTF8)
|
|
309 |
);
|
|
310 |
#ifndef QT_NO_TOOLTIP
|
|
311 |
countryCombo->setToolTip(QApplication::translate("MainWindow", "Specify country of origin", 0, QApplication::UnicodeUTF8));
|
|
312 |
#endif // QT_NO_TOOLTIP
|
|
313 |
#ifndef QT_NO_STATUSTIP
|
|
314 |
countryCombo->setStatusTip(QApplication::translate("MainWindow", "Specify country of origin", 0, QApplication::UnicodeUTF8));
|
|
315 |
#endif // QT_NO_STATUSTIP
|
|
316 |
countryLabel->setText(QApplication::translate("MainWindow", "Pro&fession", 0, QApplication::UnicodeUTF8));
|
|
317 |
menu_File->setTitle(QApplication::translate("MainWindow", "&File", 0, QApplication::UnicodeUTF8));
|
|
318 |
menu_Help->setTitle(QApplication::translate("MainWindow", "&Help", 0, QApplication::UnicodeUTF8));
|
|
319 |
} // retranslateUi
|
|
320 |
|
|
321 |
};
|
|
322 |
|
|
323 |
namespace Ui {
|
|
324 |
class MainWindow: public Ui_MainWindow {};
|
|
325 |
} // namespace Ui
|
|
326 |
|
|
327 |
QT_END_NAMESPACE
|
|
328 |
|
|
329 |
#endif // PAGEFOLD_H
|