|
open_iA 2024.9
|
#include <iALog.h>#include "iAMainWindow.h"#include "iAMdiChild.h"#include "iAQMenuHelper.h"#include <QMessageBox>Functions | |
| template<class ToolType > | |
| void | addToolAction (iAMainWindow *mainWnd, QMenu *menu, bool unique=true, QString menuTitle=QString(), QString toolTitle=QString()) |
| template<typename T > | |
| T * | addToolToActiveMdiChild (QString const &name, iAMainWindow *mainWnd, bool unique=true) |
| helper function to add a tool to the current mdi child (if it exists) | |
| void addToolAction | ( | iAMainWindow * | mainWnd, |
| QMenu * | menu, | ||
| bool | unique = true, | ||
| QString | menuTitle = QString(), | ||
| QString | toolTitle = QString() ) |
| T * addToolToActiveMdiChild | ( | QString const & | name, |
| iAMainWindow * | mainWnd, | ||
| bool | unique = true ) |
helper function to add a tool to the current mdi child (if it exists)