9 #ifndef UI_PQDEFAULTMAINWINDOW_H 10 #define UI_PQDEFAULTMAINWINDOW_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QMainWindow> 16 #include <QtWidgets/QMenu> 17 #include <QtWidgets/QMenuBar> 18 #include <QtWidgets/QStatusBar> 19 #include <QtWidgets/QWidget> 36 if (MainWindow->objectName().isEmpty())
37 MainWindow->setObjectName(QString::fromUtf8(
"MainWindow"));
38 MainWindow->resize(800, 600);
39 actionE_xit =
new QAction(MainWindow);
40 actionE_xit->setObjectName(QString::fromUtf8(
"actionE_xit"));
41 action_About =
new QAction(MainWindow);
42 action_About->setObjectName(QString::fromUtf8(
"action_About"));
43 centralwidget =
new QWidget(MainWindow);
44 centralwidget->setObjectName(QString::fromUtf8(
"centralwidget"));
45 MainWindow->setCentralWidget(centralwidget);
46 menubar =
new QMenuBar(MainWindow);
47 menubar->setObjectName(QString::fromUtf8(
"menubar"));
48 menubar->setGeometry(QRect(0, 0, 800, 27));
49 menu_File =
new QMenu(menubar);
50 menu_File->setObjectName(QString::fromUtf8(
"menu_File"));
51 menu_Help =
new QMenu(menubar);
52 menu_Help->setObjectName(QString::fromUtf8(
"menu_Help"));
53 MainWindow->setMenuBar(menubar);
54 statusbar =
new QStatusBar(MainWindow);
55 statusbar->setObjectName(QString::fromUtf8(
"statusbar"));
56 MainWindow->setStatusBar(statusbar);
58 menubar->addAction(menu_File->menuAction());
59 menubar->addAction(menu_Help->menuAction());
60 menu_File->addAction(actionE_xit);
61 menu_Help->addAction(action_About);
64 QObject::connect(actionE_xit, SIGNAL(triggered()), MainWindow, SLOT(close()));
66 QMetaObject::connectSlotsByName(MainWindow);
71 MainWindow->setWindowTitle(QCoreApplication::translate(
"MainWindow",
"ParaView - The Beast UNLEASHED !!!",
nullptr));
72 actionE_xit->setText(QCoreApplication::translate(
"MainWindow",
"E&xit",
nullptr));
73 #if QT_CONFIG(shortcut) 74 actionE_xit->setShortcut(QCoreApplication::translate(
"MainWindow",
"Ctrl+Q",
nullptr));
75 #endif // QT_CONFIG(shortcut) 76 action_About->setText(QCoreApplication::translate(
"MainWindow",
"&About",
nullptr));
77 menu_File->setTitle(QCoreApplication::translate(
"MainWindow",
"&File",
nullptr));
78 menu_Help->setTitle(QCoreApplication::translate(
"MainWindow",
"&Help",
nullptr));
89 #endif // UI_PQDEFAULTMAINWINDOW_H
void retranslateUi(QMainWindow *MainWindow)
void setupUi(QMainWindow *MainWindow)