RTXI 3.0.0 The Real-Time eXperiment Interface Reference Manual |
#include <main_window.hpp>


Public Member Functions | |
| MainWindow (Event::Manager *ev_manager) | |
| QAction * | createFileMenuItem (const QString &label) |
| void | clearFileMenu () |
| QAction * | insertWidgetMenuSeparator () |
| QAction * | createWidgetMenuItem (const QString &text) |
| QAction * | createWidgetMenuItem (const QString &text, const QObject *receiver, const char *member) |
| void | clearWidgetMenu () |
| void | removeWidgetMenuItem (QAction *action) |
| QAction * | createUtilMenuItem (const QString &label, const QObject *handler, const char *slot) |
| QAction * | createSystemMenuItem (const QString &label, const QObject *handler, const char *slot) |
| void | loadWindow () |
Static Public Member Functions | |
| static void | setWidgetMenuItemParameter (QAction *action, int parameter) |
| static void | changeWidgetMenuItem (QAction *action, const QString &text) |
The primary graphical object in the program.
Definition at line 47 of file main_window.hpp.
| explicit |
Definition at line 50 of file main_window.cpp.
| static |
Change the text associated with the Widgets menu item.
| id | The index of the item to change. |
| text | The next text to assign to that menu item. |
Definition at line 133 of file main_window.cpp.
| void MainWindow::clearFileMenu | ( | ) |
Clears the File menu.
Definition at line 99 of file main_window.cpp.
| void MainWindow::clearWidgetMenu | ( | ) |
Clears the Widgets menu.
Definition at line 128 of file main_window.cpp.
| QAction * MainWindow::createFileMenuItem | ( | const QString & | label | ) |
Add an item to the File menu.
| label | The text that will appear in the menu. |
| handler | The object that will handle signals from the menu. |
| slot | The slot in the handler that the signal will activate. |
Definition at line 94 of file main_window.cpp.
| QAction* MainWindow::createSystemMenuItem | ( | const QString & | label, |
| const QObject * | handler, | ||
| const char * | slot | ||
| ) |
Add an item to the System menu.
| label | The text that will appear in the menu. |
| handler | The object that will handle signals from the menu. |
| slot | The slot in the handler that the signal will activate. |
| QAction * MainWindow::createUtilMenuItem | ( | const QString & | label, |
| const QObject * | handler, | ||
| const char * | slot | ||
| ) |
Add an item to the Utilities menu.
| label | The text that will appear in the menu. |
| handler | The object that will handle signals from the menu. |
| slot | The slot in the handler that the signal will activate. |
Definition at line 146 of file main_window.cpp.
| QAction * MainWindow::createWidgetMenuItem | ( | const QString & | text | ) |
Add an item to the Widgets menu.
| label | The text that will appear in the menu. |
| handler | The object that will handle signals from the menu. |
| slot | The slot in the handler that the signal will activate. |
Definition at line 111 of file main_window.cpp.
| QAction * MainWindow::createWidgetMenuItem | ( | const QString & | text, |
| const QObject * | receiver, | ||
| const char * | member | ||
| ) |
Definition at line 116 of file main_window.cpp.
| QAction * MainWindow::insertWidgetMenuSeparator | ( | ) |
Insert separator
Definition at line 89 of file main_window.cpp.
| void MainWindow::loadWindow | ( | ) |
Load window geometry based upon previously stored settings
Definition at line 353 of file main_window.cpp.
| void MainWindow::removeWidgetMenuItem | ( | QAction * | action | ) |
Remove an item from the Widgets menu.
| index | The index of the item to be removed. |
Definition at line 138 of file main_window.cpp.
| static |
Sets the parameter value of a menu item in the Widgets menu.
| menuid | The index of the item to be removed. |
| parameter | The parameter value to set. |
Definition at line 123 of file main_window.cpp.