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

Public Member Functions | |
| virtual | ~DtVrfMainMenu () |
| Destructor for this class. More... | |
| virtual DtSubMenuConfiguration & | menuConfiguration () |
| Gets the menu configuration for this class used to add/remove menu paths from the menu bar. More... | |
| virtual DtConfigurableMenuAssembler & | menuAssembler () |
| Gets the menu assembler for this class used to register/unregister menu/items to/from the menu bar. More... | |
Public Member Functions inherited from makVrf::DtConfigurableMenu | |
| DtConfigurableMenu (makVrv::DtDe &, const std::string &className) | |
| CTOR. More... | |
| virtual | ~DtConfigurableMenu () |
| DTOR. More... | |
| virtual void | registerMenu (makVrv::DtMenu *customMenu) |
| Use to register your own complex menu object. More... | |
| virtual void | registerMenuItem (makVrv::DtMenuItem *customMenuItem) |
| Use to register your own complex menu item object. More... | |
| virtual void | createSimpleMenu (std::string menuText, makVrv::DtMenuPath menuIdPath, int weight=-1) |
| virtual void | createSimpleMenuAfter (std::string menuText, makVrv::DtMenuPath menuIdPath, makVrv::DtMenuPath afterIdPath) |
| virtual void | createSimpleMenuBefore (std::string menuText, makVrv::DtMenuPath menuIdPath, makVrv::DtMenuPath beforeIdPath) |
| virtual void | createSimpleMenuItem (std::string itemText, makVrv::DtMenuPath itemIdPath, DtSimpleMenuItemAction *action, void *usr=NULL, int weight=-1) |
| virtual void | createSimpleMenuItemAfter (std::string itemText, makVrv::DtMenuPath itemIdPath, makVrv::DtMenuPath afterIdPath, DtSimpleMenuItemAction *action, void *usr=NULL) |
| virtual void | createSimpleMenuItemBefore (std::string itemText, makVrv::DtMenuPath itemIdPath, makVrv::DtMenuPath beforeIdPath, DtSimpleMenuItemAction *action, void *usr=NULL) |
| virtual void | mergeMenu (makVrv::DtQtMenuAssembler &assembler, makVrv::DtMenuConfiguration &configuration) |
| Merges in the assembler and configuration into the supplied assembler and configuration. More... | |
| virtual void | mergeMenu (makVrv::DtQtMenuAssembler &assembler) |
| Merges in the assembler into the supplied assembler. More... | |
| virtual void | mergeMenu (makVrv::DtMenuConfiguration &configuration) |
| Merges in the configuration into the supplied configuration. This merges all the menu paths together. More... | |
Public Member Functions inherited from makVrv::DtMenu | |
| DtMenu (DtDe &de, const std::string &menuIdName) | |
| CTOR. More... | |
| virtual | ~DtMenu () |
| DTOR. More... | |
| virtual const std::string & | menuIdName () const |
| Get the menu id name, the menu id name is not the same thing as the visible menu text. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtVrfMainMenu & | instance (makVrv::DtDe &de) |
| Get the instance of this object. More... | |
Static Public Member Functions inherited from makVrf::DtConfigurableMenu | |
| static bool | hasMenuPath (const makVrv::DtMenuConfiguration &menus, const makVrv::DtMenuPath &sourcePath, const std::string &item, makVrv::DtMenuPath &foundPath) |
Protected Member Functions | |
| DtVrfMainMenu (makVrv::DtDe &) | |
| The constructor is protected in this class as this class should be accessed with the instance() function. More... | |
| virtual void | createMenuConfiguration (makVrv::DtDe &) |
| Overridden function from base class. More... | |
| virtual QMenu * | createMenu (makVrv::DtDe &, QWidget *) |
| Overridden function from base class. More... | |
Protected Member Functions inherited from makVrf::DtConfigurableMenu | |
| virtual void | initMenuItems (makVrv::DtDe &de) |
| DtConfigurableMenuAssembler & | assembler () |
| DtSubMenuConfiguration & | configuration () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtVrfMainMenuConfiguration | myConfig |
| DtVrfMainMenuAssembler | myAssembler |
Protected Attributes inherited from makVrf::DtConfigurableMenu | |
| DtConfigurableMenuAssembler | myAssembler |
| DtSubMenuConfiguration | myConfiguration |
| bool | myInitialized |
| makVrv::DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtMenu | |
| DtDe & | myDe |
| std::string | myMenuIdName |
Static Protected Attributes | |
| static DtVrfMainMenu * | theInstance |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtConfigurableMenu | |
| boost::signals2::signal< void(DtConfigurableMenu *)> | signal_menuRecreated |
| Signal sent when this menu is recreated from it's original creation. More... | |
| boost::signals2::signal< void(QAction *)> | signal_validateMenuItem |
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 |
Destructor for this class.
Likely this should only be destroyed if you have a good reason to do so since it is a singleton.
|
protected |
The constructor is protected in this class as this class should be accessed with the instance() function.
|
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 |
Gets the menu configuration for this class used to add/remove menu paths from the menu bar.
Reimplemented from makVrf::DtConfigurableMenu.
|
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.
Reimplemented from makVrf::DtConfigurableMenu.
|
protectedvirtual |
Overridden function from base class.
If you override this class for any reason, you should not override this function.
Reimplemented from makVrf::DtConfigurableMenu.
|
protectedvirtual |
Overridden function from base class.
If you override this class for any reason, you should not override this function.
Implements makVrv::DtMenu.
|
protected |
|
staticprotected |
|
protected |
|
protected |