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