Back to index

salome-gui  6.5.0
QtxActionMenuMgr Class Reference

Main menu actions manager. More...

Inheritance diagram for QtxActionMenuMgr:
Inheritance graph


class  MenuCreator
 Menu actions creator. More...
class  MenuNode
 Represents a menu item inside main menu structure. More...

Detailed Description

Main menu actions manager.

Menu manager allows using of set of action for automatic generating of application main menu and dynamic update of its contents.

Use insert(), append() and remove() methods to create main menu. Methods show(), hide() allow displaying/erasing of specified menu items.

Actions can be grouped with help of group identificator. Inside the popup or main menu bar menu items are ordered by the group identifier (ascending).

Menu manager automatically optimizes the menu by removing extra separators, hiding empty popup menus etc.

The documentation for this class was generated from the following file: