Debian Codegraph @

tests/auto/tools/uic/baseline/default.ui.h

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