A template group of action. More...
#include <pqPythonEditorActions.h>
Public Types | |
using | Type = E |
Public Member Functions | |
EditorActionGroup () | |
Default constructor allocates all the actions listed in the enum. More... | |
const QAction & | operator[] (const Type action) const |
const accessor to an action More... | |
QAction & | operator[] (const Type action) |
accessor to an action More... | |
Public Attributes | |
EnumArray< Type, QPointer< QAction > > | Actions |
The array of actions. More... | |
A template group of action.
The template parameter should be an enum ending with END that contains at least one entry.
Definition at line 28 of file pqPythonEditorActions.h.
using EditorActionGroup< E >::Type = E |
Definition at line 33 of file pqPythonEditorActions.h.
|
inline |
Default constructor allocates all the actions listed in the enum.
Definition at line 39 of file pqPythonEditorActions.h.
|
inline |
const accessor to an action
Definition at line 50 of file pqPythonEditorActions.h.
|
inline |
accessor to an action
Definition at line 55 of file pqPythonEditorActions.h.
EnumArray<Type, QPointer<QAction> > EditorActionGroup< E >::Actions |
The array of actions.
Definition at line 60 of file pqPythonEditorActions.h.