![]() |
VR-Forces 4.0.4 Class Documentation
|
DtVrfMainMenuConfig used in DtVrfMainMenu to add/remove menu paths from menu bar. More...

Public Member Functions | |
| DtVrfMainMenuConfiguration (makVrv::DtDe &de) | |
| Constructor for this class should not be used unless overriding class. | |
| virtual | ~DtVrfMainMenuConfiguration () |
| Destructor for this class which also should not be directly accessed. | |
| virtual void | addMenuPath (const makVrv::DtMenuPath &path, int weight=-1) |
| Add a menu path to the menu bar. | |
| virtual void | removeMenuPath (const makVrv::DtMenuPath &path) |
| Remove a menu path from the menu bar. | |
| virtual void | addMenuPathAfter (const makVrv::DtMenuPath &newPath, const makVrv::DtMenuPath &relativeTo) |
| Add a menu path to the menu bar after a specific item in the same menu path. | |
| virtual void | addMenuPathBefore (const makVrv::DtMenuPath &newPath, const makVrv::DtMenuPath &relativeTo) |
| Add a menu path to the menu bar after a specific item in the same menu path. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtVrvApplication * | myApp |
DtVrfMainMenuConfig used in DtVrfMainMenu to add/remove menu paths from menu bar.
the menu configuration is what determines where menu items go in all of the menus. Paths are specified to existing menu items that have already been registered to the menu assembler, which in this case is the DtVrfMainMenuAssembler class, but alternatively accessed through DtVrfMainMenu::registerMenu() (inherited from DtConfigurableMenu::registerMenu() ) and similar functions.
Constructor for this class should not be used unless overriding class.
Use the the DtVrfMainMenu class instead to access this object
| virtual makVrf::DtVrfMainMenuConfiguration::~DtVrfMainMenuConfiguration | ( | ) | [virtual] |
Destructor for this class which also should not be directly accessed.
Destroy the main DtVrfMainMenu instead to destroy this object.
| virtual void makVrf::DtVrfMainMenuConfiguration::addMenuPath | ( | const makVrv::DtMenuPath & | path, |
| int | weight = -1 |
||
| ) | [virtual] |
Add a menu path to the menu bar.
The weight argument determines how it will order the menu items in the menu or the order of the menus in a list of menus. This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
| virtual void makVrf::DtVrfMainMenuConfiguration::removeMenuPath | ( | const makVrv::DtMenuPath & | path | ) | [virtual] |
Remove a menu path from the menu bar.
This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
| virtual void makVrf::DtVrfMainMenuConfiguration::addMenuPathAfter | ( | const makVrv::DtMenuPath & | newPath, |
| const makVrv::DtMenuPath & | relativeTo | ||
| ) | [virtual] |
Add a menu path to the menu bar after a specific item in the same menu path.
This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
| virtual void makVrf::DtVrfMainMenuConfiguration::addMenuPathBefore | ( | const makVrv::DtMenuPath & | newPath, |
| const makVrv::DtMenuPath & | relativeTo | ||
| ) | [virtual] |
Add a menu path to the menu bar after a specific item in the same menu path.
This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
makVrv::DtDe& makVrf::DtVrfMainMenuConfiguration::myDe [protected] |
Reimplemented from makVrf::DtSubMenuConfiguration.