![]() |
VR-Forces 4.0.4 Class Documentation
|
DtVrfMainMenu Main accessor for modifying items in the menu bar. More...

Public Member Functions | |
| virtual | ~DtVrfMainMenu () |
| Destructor for this class. | |
| virtual DtSubMenuConfiguration & | menuConfiguration () |
| Gets the menu configuration for this class used to add/remove menu paths from the menu bar. | |
| virtual DtConfigurableMenuAssembler & | menuAssembler () |
| Gets the menu assembler for this class used to register/unregister menu/items to/from the menu bar. | |
Static Public Member Functions | |
| static DtVrfMainMenu & | instance (makVrv::DtDe &de) |
| Get the instance of this object. | |
Protected Member Functions | |
| DtVrfMainMenu (makVrv::DtDe &) | |
| The constructor is protected in this class as this class should be accessed with the instance() function. | |
| virtual void | createMenuConfiguration (makVrv::DtDe &) |
| Overridden function from base class. | |
| virtual QMenu * | createMenu (makVrv::DtDe &, QWidget *) |
| Overridden function from base class. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfMainMenuConfiguration | myConfig |
| DtVrfMainMenuAssembler | myAssembler |
Static Protected Attributes | |
| static DtVrfMainMenu * | theInstance |
DtVrfMainMenu Main accessor for modifying items in the menu bar.
Used primarily to modify items in the menu bar particularly from plugins. Similar to other such classes which are divided up among multiple DtConfigurableMenu overrides.
| virtual makVrf::DtVrfMainMenu::~DtVrfMainMenu | ( | ) | [virtual] |
Destructor for this class.
Likely this should only be destroyed if you have a good reason to do so since it is a singleton.
| makVrf::DtVrfMainMenu::DtVrfMainMenu | ( | makVrv::DtDe & | ) | [protected] |
The constructor is protected in this class as this class should be accessed with the instance() function.
| static DtVrfMainMenu& makVrf::DtVrfMainMenu::instance | ( | makVrv::DtDe & | de | ) | [static] |
Get the instance of this object.
It is static so don't delete it unless you have a good reason to do so.
| virtual DtSubMenuConfiguration& makVrf::DtVrfMainMenu::menuConfiguration | ( | ) | [virtual] |
Gets the menu configuration for this class used to add/remove menu paths from the menu bar.
Implements makVrf::DtConfigurableMenu.
| virtual DtConfigurableMenuAssembler& makVrf::DtVrfMainMenu::menuAssembler | ( | ) | [virtual] |
Gets the menu assembler for this class used to register/unregister menu/items to/from the menu bar.
This accessor is not entirely needed as there are the functions that do this for you in this class (inherited) and only really used if you specifically want to register menus/items from other menus.
Implements makVrf::DtConfigurableMenu.
| virtual void makVrf::DtVrfMainMenu::createMenuConfiguration | ( | makVrv::DtDe & | ) | [protected, virtual] |
Overridden function from base class.
If you override this class for any reason, you should not override this function.
Implements makVrf::DtConfigurableMenu.
| virtual QMenu* makVrf::DtVrfMainMenu::createMenu | ( | makVrv::DtDe & | , |
| QWidget * | |||
| ) | [protected, virtual] |
Overridden function from base class.
If you override this class for any reason, you should not override this function.
Implements makVrv::DtMenu.
makVrv::DtDe& makVrf::DtVrfMainMenu::myDe [protected] |
Reimplemented from makVrv::DtMenu.
DtVrfMainMenu* makVrf::DtVrfMainMenu::theInstance [static, protected] |
Reimplemented from makVrf::DtConfigurableMenu.