9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
12 #include <QtCore/QVariant>
13 #include <QtGui/QAction>
14 #include <QtGui/QApplication>
15 #include <QtGui/QButtonGroup>
16 #include <QtGui/QGraphicsView>
17 #include <QtGui/QGridLayout>
18 #include <QtGui/QGroupBox>
19 #include <QtGui/QHeaderView>
20 #include <QtGui/QLabel>
21 #include <QtGui/QLineEdit>
22 #include <QtGui/QMainWindow>
23 #include <QtGui/QMenu>
24 #include <QtGui/QMenuBar>
25 #include <QtGui/QPushButton>
26 #include <QtGui/QRadioButton>
27 #include <QtGui/QStatusBar>
28 #include <QtGui/QToolBar>
29 #include <QtGui/QWidget>
95 if (MainWindow->objectName().isEmpty())
96 MainWindow->setObjectName(QString::fromUtf8(
"MainWindow"));
97 MainWindow->resize(1055, 720);
99 icon.addFile(QString::fromUtf8(
"images/tycho_logo_klein.png"), QSize(), QIcon::Normal, QIcon::Off);
100 MainWindow->setWindowIcon(icon);
111 actionTutorial->setObjectName(QString::fromUtf8(
"actionTutorial"));
113 actionAbout->setObjectName(QString::fromUtf8(
"actionAbout"));
121 centralWidget->setObjectName(QString::fromUtf8(
"centralWidget"));
123 graphicsView->setObjectName(QString::fromUtf8(
"graphicsView"));
126 font.setPointSize(7);
132 groupBox_3->setObjectName(QString::fromUtf8(
"groupBox_3"));
133 groupBox_3->setGeometry(QRect(660, 10, 381, 111));
142 gridLayout_3->setObjectName(QString::fromUtf8(
"gridLayout_3"));
145 clearmode->setObjectName(QString::fromUtf8(
"clearmode"));
152 clearpixel->setObjectName(QString::fromUtf8(
"clearpixel"));
158 maksmode->setObjectName(QString::fromUtf8(
"maksmode"));
159 maksmode->setMinimumSize(QSize(99, 0));
166 maskislands->setObjectName(QString::fromUtf8(
"maskislands"));
173 maskpixel->setObjectName(QString::fromUtf8(
"maskpixel"));
174 maskpixel->setMinimumSize(QSize(113, 0));
180 windemitter->setObjectName(QString::fromUtf8(
"windemitter"));
192 gridLayout_4->setObjectName(QString::fromUtf8(
"gridLayout_4"));
195 xdir->setObjectName(QString::fromUtf8(
"xdir"));
196 xdir->setEnabled(
false);
198 xdir->setLayoutDirection(Qt::LeftToRight);
203 ydir->setObjectName(QString::fromUtf8(
"ydir"));
204 ydir->setEnabled(
false);
210 mydir->setObjectName(QString::fromUtf8(
"mydir"));
211 mydir->setEnabled(
false);
212 mydir->setFont(font);
226 mxdir->setObjectName(QString::fromUtf8(
"mxdir"));
227 mxdir->setEnabled(
false);
228 mxdir->setFont(font);
233 groupBox->setObjectName(QString::fromUtf8(
"groupBox"));
234 groupBox->setGeometry(QRect(10, 10, 251, 111));
242 gridLayout->setContentsMargins(11, 11, 11, 11);
243 gridLayout->setObjectName(QString::fromUtf8(
"gridLayout"));
246 label->setObjectName(QString::fromUtf8(
"label"));
247 label->setFont(font);
252 zoom_out->setObjectName(QString::fromUtf8(
"zoom_out"));
258 original->setObjectName(QString::fromUtf8(
"original"));
264 scale_to_width->setObjectName(QString::fromUtf8(
"scale_to_width"));
270 zoom_factor->setObjectName(QString::fromUtf8(
"zoom_factor"));
277 zoom_in->setObjectName(QString::fromUtf8(
"zoom_in"));
283 rotate_by_90->setObjectName(QString::fromUtf8(
"rotate_by_90"));
289 groupBox_2->setObjectName(QString::fromUtf8(
"groupBox_2"));
290 groupBox_2->setGeometry(QRect(270, 10, 381, 111));
299 gridLayout_2->setObjectName(QString::fromUtf8(
"gridLayout_2"));
302 label_2->setObjectName(QString::fromUtf8(
"label_2"));
308 image_width->setObjectName(QString::fromUtf8(
"image_width"));
317 reset_mask->setObjectName(QString::fromUtf8(
"reset_mask"));
319 reset_mask->setMaximumSize(QSize(100, 16777215));
325 remove_mask->setObjectName(QString::fromUtf8(
"remove_mask"));
332 image_height->setObjectName(QString::fromUtf8(
"image_height"));
340 label_3->setObjectName(QString::fromUtf8(
"label_3"));
347 memo_mask->setObjectName(QString::fromUtf8(
"memo_mask"));
348 memo_mask->setMaximumSize(QSize(100, 25));
354 ColorMask->setObjectName(QString::fromUtf8(
"ColorMask"));
355 ColorMask->setMaximumSize(QSize(100, 16777215));
361 invertmask->setObjectName(QString::fromUtf8(
"invertmask"));
363 invertmask->setMaximumSize(QSize(100, 16777215));
369 label_4->setObjectName(QString::fromUtf8(
"label_4"));
374 image_depth->setObjectName(QString::fromUtf8(
"image_depth"));
380 menuBar =
new QMenuBar(MainWindow);
381 menuBar->setObjectName(QString::fromUtf8(
"menuBar"));
382 menuBar->setGeometry(QRect(0, 0, 1055, 21));
384 menuFile->setObjectName(QString::fromUtf8(
"menuFile"));
385 menuFile->setContextMenuPolicy(Qt::NoContextMenu);
386 menuFile->setSeparatorsCollapsible(
false);
388 menuHelp->setObjectName(QString::fromUtf8(
"menuHelp"));
389 MainWindow->setMenuBar(
menuBar);
391 mainToolBar->setObjectName(QString::fromUtf8(
"mainToolBar"));
392 MainWindow->addToolBar(Qt::TopToolBarArea,
mainToolBar);
394 statusBar->setObjectName(QString::fromUtf8(
"statusBar"));
410 QMetaObject::connectSlotsByName(MainWindow);
415 MainWindow->setWindowTitle(QApplication::translate(
"MainWindow",
"tychoBCGEN", 0, QApplication::UnicodeUTF8));
416 actionLoad_Image->setText(QApplication::translate(
"MainWindow",
"Load Image", 0, QApplication::UnicodeUTF8));
417 actionQuit_tychoICGEN->setText(QApplication::translate(
"MainWindow",
"Quit tychoBCGEN", 0, QApplication::UnicodeUTF8));
418 actionColor_Mask->setText(QApplication::translate(
"MainWindow",
"Color-Mask", 0, QApplication::UnicodeUTF8));
419 actionSave_Boundary->setText(QApplication::translate(
"MainWindow",
"Save Boundary", 0, QApplication::UnicodeUTF8));
420 actionTutorial->setText(QApplication::translate(
"MainWindow",
"Tutorial", 0, QApplication::UnicodeUTF8));
421 actionAbout->setText(QApplication::translate(
"MainWindow",
"About", 0, QApplication::UnicodeUTF8));
422 actionSave_Masked_Image->setText(QApplication::translate(
"MainWindow",
"Save Masked Image", 0, QApplication::UnicodeUTF8));
423 actionSave_Wind_Emitter->setText(QApplication::translate(
"MainWindow",
"Save Wind-Emitter", 0, QApplication::UnicodeUTF8));
424 actionSave_Sound_Emitter->setText(QApplication::translate(
"MainWindow",
"Save Sound-Emitter", 0, QApplication::UnicodeUTF8));
425 groupBox_3->setTitle(QApplication::translate(
"MainWindow",
"Mask - Clear - Windemitter - Soundemitter Mode", 0, QApplication::UnicodeUTF8));
426 clearmode->setText(QApplication::translate(
"MainWindow",
"Clear Region", 0, QApplication::UnicodeUTF8));
427 clearpixel->setText(QApplication::translate(
"MainWindow",
"Clear one Pixel", 0, QApplication::UnicodeUTF8));
428 maksmode->setText(QApplication::translate(
"MainWindow",
"Color Mask", 0, QApplication::UnicodeUTF8));
429 maskislands->setText(QApplication::translate(
"MainWindow",
"Mask Islands", 0, QApplication::UnicodeUTF8));
430 maskpixel->setText(QApplication::translate(
"MainWindow",
"Mask one Pixel", 0, QApplication::UnicodeUTF8));
431 windemitter->setText(QApplication::translate(
"MainWindow",
"Wind Emitter", 0, QApplication::UnicodeUTF8));
432 xdir->setText(QApplication::translate(
"MainWindow",
" +x", 0, QApplication::UnicodeUTF8));
433 ydir->setText(QApplication::translate(
"MainWindow",
"+y", 0, QApplication::UnicodeUTF8));
434 mydir->setText(QApplication::translate(
"MainWindow",
"-y", 0, QApplication::UnicodeUTF8));
435 resetwindemitter->setText(QApplication::translate(
"MainWindow",
"Reset Wind", 0, QApplication::UnicodeUTF8));
436 mxdir->setText(QApplication::translate(
"MainWindow",
"-x", 0, QApplication::UnicodeUTF8));
437 groupBox->setTitle(QApplication::translate(
"MainWindow",
"Zoom", 0, QApplication::UnicodeUTF8));
438 label->setText(QApplication::translate(
"MainWindow",
"zoom by %", 0, QApplication::UnicodeUTF8));
439 zoom_out->setText(QApplication::translate(
"MainWindow",
"zoom out", 0, QApplication::UnicodeUTF8));
440 original->setText(QApplication::translate(
"MainWindow",
"1:1", 0, QApplication::UnicodeUTF8));
441 scale_to_width->setText(QApplication::translate(
"MainWindow",
"Width", 0, QApplication::UnicodeUTF8));
442 zoom_factor->setText(QApplication::translate(
"MainWindow",
"30", 0, QApplication::UnicodeUTF8));
443 zoom_in->setText(QApplication::translate(
"MainWindow",
"zoom in", 0, QApplication::UnicodeUTF8));
444 rotate_by_90->setText(QApplication::translate(
"MainWindow",
"rotate by 90\302\260", 0, QApplication::UnicodeUTF8));
445 groupBox_2->setTitle(QApplication::translate(
"MainWindow",
"Mask section", 0, QApplication::UnicodeUTF8));
446 label_2->setText(QApplication::translate(
"MainWindow",
"Width", 0, QApplication::UnicodeUTF8));
447 reset_mask->setText(QApplication::translate(
"MainWindow",
"Reset all", 0, QApplication::UnicodeUTF8));
448 remove_mask->setText(QApplication::translate(
"MainWindow",
"Remove last", 0, QApplication::UnicodeUTF8));
449 label_3->setText(QApplication::translate(
"MainWindow",
"Heigth", 0, QApplication::UnicodeUTF8));
450 memo_mask->setText(QApplication::translate(
"MainWindow",
"Add Mask", 0, QApplication::UnicodeUTF8));
451 ColorMask->setText(QApplication::translate(
"MainWindow",
"Parameters", 0, QApplication::UnicodeUTF8));
452 invertmask->setText(QApplication::translate(
"MainWindow",
"Invert Mask", 0, QApplication::UnicodeUTF8));
453 label_4->setText(QApplication::translate(
"MainWindow",
"Depth", 0, QApplication::UnicodeUTF8));
454 image_depth->setText(QApplication::translate(
"MainWindow",
"1", 0, QApplication::UnicodeUTF8));
455 #ifndef QT_NO_TOOLTIP
457 #endif // QT_NO_TOOLTIP
458 menuFile->setTitle(QApplication::translate(
"MainWindow",
"File", 0, QApplication::UnicodeUTF8));
459 menuHelp->setTitle(QApplication::translate(
"MainWindow",
"Help", 0, QApplication::UnicodeUTF8));
470 #endif // UI_MAINWINDOW_H