25 #include <QMainWindow> 27 #include <QMdiSubWindow> 40 QTextItem* settings_group_desc;
41 QTextEdit* settings_group_edit;
84 const QObject* receiver,
124 const QObject* handler,
136 const QObject* handler,
148 static void openDocs();
149 static void openSubIssue();
153 void resetSettings();
155 void windowsMenuAboutToShow();
156 void windowsMenuActivated(QAction*
id);
157 void modulesMenuActivated(QAction* );
158 void fileMenuActivated(QAction*
id);
159 void utilitiesMenuActivated(QAction* );
160 void systemMenuActivated(QAction*
id);
163 void loadWidget(
const QString& module_name);
165 QMdiArea* mdiArea =
nullptr;
166 QList<QMdiSubWindow*> subWindows;
168 QMenu* fileMenu =
nullptr;
169 QMenu* moduleMenu =
nullptr;
170 QMenu* utilMenu =
nullptr;
171 QMenu* filtersSubMenu =
nullptr;
172 QMenu* signalsSubMenu =
nullptr;
173 QMenu* utilitiesSubMenu =
nullptr;
174 QMenu* systemMenu =
nullptr;
175 QMenu* windowsMenu =
nullptr;
176 QMenu* helpMenu =
nullptr;
178 QAction* load =
nullptr;
179 QAction* save =
nullptr;
180 QAction* reset =
nullptr;
181 QAction* quit =
nullptr;
182 QAction* artxi =
nullptr;
183 QAction* axeno =
nullptr;
184 QAction* aqt =
nullptr;
185 QAction* adocs =
nullptr;
186 QAction* sub_issue =
nullptr;
187 QAction* utilItem =
nullptr;
188 QAction* loadDynamicWidget =
nullptr;
189 QAction* openDataRecorder =
nullptr;
190 QAction* openRTBenchmarks =
nullptr;
191 QAction* openUserPrefs =
nullptr;
192 QAction* openControlPanel =
nullptr;
193 QAction* openConnector =
nullptr;
194 QAction* openOscilloscope =
nullptr;
195 QAction* openRTXIWizard =
nullptr;
197 void createFileMenu();
198 void createWidgetMenu();
199 void createUtilMenu();
200 void createSystemMenu();
201 void createSystemActions();
202 void createWindowsMenu();
203 void createHelpMenu();
204 void createFileActions();
205 void createHelpActions();
206 void closeEvent(QCloseEvent* event)
override;
static void changeWidgetMenuItem(QAction *action, const QString &text)
QAction * insertWidgetMenuSeparator()
void removeWidgetMenuItem(QAction *action)
QAction * createFileMenuItem(const QString &label)
MainWindow(Event::Manager *ev_manager)
static void setWidgetMenuItemParameter(QAction *action, int parameter)
QAction * createSystemMenuItem(const QString &label, const QObject *handler, const char *slot)
QAction * createUtilMenuItem(const QString &label, const QObject *handler, const char *slot)
QAction * createWidgetMenuItem(const QString &text)