9 #ifndef UI_MAINWINDOW_H
10 #define UI_MAINWINDOW_H
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QAction>
14 #include <QtWidgets/QApplication>
15 #include <QtWidgets/QButtonGroup>
16 #include <QtWidgets/QHeaderView>
17 #include <QtWidgets/QMainWindow>
18 #include <QtWidgets/QMenu>
19 #include <QtWidgets/QMenuBar>
20 #include <QtWidgets/QStatusBar>
21 #include <QtWidgets/QWidget>
28 QAction *actionLoad_Molecule;
30 QWidget *centralwidget;
33 QStatusBar *statusbar;
37 if (MainWindow->objectName().isEmpty())
38 MainWindow->setObjectName(QStringLiteral(
"MainWindow"));
39 MainWindow->resize(800, 600);
40 actionLoad_Molecule =
new QAction(MainWindow);
41 actionLoad_Molecule->setObjectName(QStringLiteral(
"actionLoad_Molecule"));
42 actionClose =
new QAction(MainWindow);
43 actionClose->setObjectName(QStringLiteral(
"actionClose"));
44 centralwidget =
new QWidget(MainWindow);
45 centralwidget->setObjectName(QStringLiteral(
"centralwidget"));
46 MainWindow->setCentralWidget(centralwidget);
47 menubar =
new QMenuBar(MainWindow);
48 menubar->setObjectName(QStringLiteral(
"menubar"));
49 menubar->setGeometry(QRect(0, 0, 800, 21));
50 menuFile =
new QMenu(menubar);
51 menuFile->setObjectName(QStringLiteral(
"menuFile"));
52 MainWindow->setMenuBar(menubar);
53 statusbar =
new QStatusBar(MainWindow);
54 statusbar->setObjectName(QStringLiteral(
"statusbar"));
55 MainWindow->setStatusBar(statusbar);
57 menubar->addAction(menuFile->menuAction());
58 menuFile->addAction(actionLoad_Molecule);
59 menuFile->addSeparator();
60 menuFile->addAction(actionClose);
62 retranslateUi(MainWindow);
64 QMetaObject::connectSlotsByName(MainWindow);
67 void retranslateUi(QMainWindow *MainWindow)
69 MainWindow->setWindowTitle(QApplication::translate(
"MainWindow",
"Molecule Viewer", 0));
70 actionLoad_Molecule->setText(QApplication::translate(
"MainWindow",
"Load Molecule", 0));
71 actionClose->setText(QApplication::translate(
"MainWindow",
"Close", 0));
72 menuFile->setTitle(QApplication::translate(
"MainWindow",
"File", 0));
83 #endif // UI_MAINWINDOW_H