Back to index
Manages a set of actions accessible by unique identifier. More...
|Generic actions creator class. More...|
|Generic actions description files reader class. More...|
|Separator action class. More...|
|XML file reader. More...|
Manages a set of actions accessible by unique identifier.
Base class for menu, toolbar actions containers and popup menu creators.
Actions are registered in the manager with the registerAction() method and unregistered from it with the unRegisterAction() method.
Functions action() and actionId() allow getting action by its identifier and vice versa. Method contains() returns
true if the action with the specified identifier is already registered.
To get total number of the registered actions can be retrieved by the method count(). Function isEmpty() returns
true if manager does not contains any actions. The list of all actions identifiers can be retrieved with the idList() function.
The method separator() allows creating a separator action which can be used in the menus or toolbars to separate logical groups of actions.
To enable/disable any action by its identifier, use setEnabled() method.
Generic actions description files reader class.
This class is used to read files of some format to create actions and fill an action manager with the actions automatically.
XML file reader.
This class is used to read files of XML format to create actions and fill an action manager with actions automatically.