![]() |
VR-Forces 4.1 Class Documentation
|

Public Member Functions | |
| DtSetMenu (makVrv::DtDe &, const std::string &menuIdName=DtSetMenuId) | |
| CTOR. | |
| virtual | ~DtSetMenu () |
| DTOR. | |
| virtual QMenu * | createMenu (makVrv::DtDe &, QWidget *parent) |
| Build a menu. | |
| virtual DtSetMenu * | newInstance () |
| virtual void | setAllowRecreation (bool) |
| If true will respond to recreate message. Default is false. | |
Public Member Functions inherited from makVrf::DtConfigurableMenu | |
| DtConfigurableMenu (makVrv::DtDe &, const std::string &className) | |
| CTOR. | |
| virtual | ~DtConfigurableMenu () |
| DTOR. | |
| virtual DtSubMenuConfiguration & | menuConfiguration () |
| Returns the configuration for the menu to be used. May be effected directly. | |
| virtual DtConfigurableMenuAssembler & | menuAssembler () |
| Returns the assembler for the menu to be used. May be effected directly. | |
| virtual void | registerMenu (makVrv::DtMenu *customMenu) |
| Use to register your own complex menu object. | |
| virtual void | registerMenuItem (makVrv::DtMenuItem *customMenuItem) |
| Use to register your own complex menu item object. | |
| 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. | |
| virtual void | mergeMenu (makVrv::DtQtMenuAssembler &assembler) |
| Merges in the assembler into the supplied assembler. | |
| virtual void | mergeMenu (makVrv::DtMenuConfiguration &configuration) |
| Merges in the configuration into the supplied configuration. This merges all the menu paths together. | |
Public Member Functions inherited from makVrv::DtMenu | |
| DtMenu (DtDe &de, const std::string &menuIdName) | |
| CTOR. | |
| virtual | ~DtMenu () |
| DTOR. | |
| 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. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Static Public Member Functions | |
| static DtSetMenu & | instance (makVrv::DtDe &) |
| static DtSetMenu * | menuInstance (makVrv::DtDe &) |
| Return a new copy, not the registered copy. | |
Public Attributes | |
| boost::signal< void(DtSubMenuConfiguration &)> | signal_preCreateConfiguration |
| Signal sent right before menu is configured. | |
Public Attributes inherited from makVrf::DtConfigurableMenu | |
| boost::signal< void(QAction *)> | signal_validateMenuItem |
Protected Attributes | |
| bool | myAllowRecreation |
Protected Attributes inherited from makVrf::DtConfigurableMenu | |
| DtConfigurableMenuAssembler | myAssembler |
| DtSubMenuConfiguration | myConfiguration |
| bool | myInitialized |
Protected Attributes inherited from makVrv::DtMenu | |
| DtDe & | myDe |
| std::string | myMenuIdName |
Additional Inherited Members | |
Protected Member Functions inherited from makVrf::DtConfigurableMenu | |
| virtual void | initMenuItems (makVrv::DtDe &de) |
| DtConfigurableMenuAssembler & | assembler () |
| DtSubMenuConfiguration & | configuration () |
| virtual void | createMenuConfiguration (makVrv::DtDe &) |
| Creates the menu configuration by creating the assembler and adding menu items. | |
| makVrf::DtSetMenu::DtSetMenu | ( | makVrv::DtDe & | , |
| const std::string & | menuIdName = DtSetMenuId |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
|
static |
|
static |
Return a new copy, not the registered copy.
It will do this by calling the newInstance method on the currently registered version. newInstance needs to be overridden by subclasses to return their own new instance
|
virtual |
|
virtual |
If true will respond to recreate message. Default is false.
| boost::signal<void (DtSubMenuConfiguration&)> makVrf::DtSetMenu::signal_preCreateConfiguration |
Signal sent right before menu is configured.
|
protected |