open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Classes | Functions
iAGUIModuleInterface.h File Reference
#include "iAModuleAttachmentToChild.h"
#include "iAguibase_export.h"
#include "iALog.h"
#include "iAModuleInterface.h"
#include <QObject>
#include <QVector>

Classes

class  iAGUIModuleInterface
 Base class for a module interface. More...
 

Functions

iAguibase_API void addToMenuSorted (QMenu *menu, QAction *action)
 Add a given action to a menu, such that the (previously sorted) menu stays alphabetically sorted. More...
 
iAguibase_API QMenu * getOrAddSubMenu (QMenu *parentMenu, QString const &title, bool addSeparator=false)
 In the given menu, search for a menu with the given title; if it doesn't exist, add (alphabetically sorted). More...
 

Function Documentation

◆ addToMenuSorted()

iAguibase_API void addToMenuSorted ( QMenu *  menu,
QAction *  action 
)

Add a given action to a menu, such that the (previously sorted) menu stays alphabetically sorted.

◆ getOrAddSubMenu()

iAguibase_API QMenu * getOrAddSubMenu ( QMenu *  parentMenu,
QString const &  title,
bool  addSeparator = false 
)

In the given menu, search for a menu with the given title; if it doesn't exist, add (alphabetically sorted).