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

Public Member Functions | |
| 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. | |
| virtual QMenu * | createMenu (DtDe &, QWidget *parent)=0 |
| Build a menu. | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. | |
Public Attributes | |
| boost::signal< void(QAction *)> | signal_validateMenuItem |
Protected Member Functions | |
| 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. | |
Protected Attributes | |
| DtConfigurableMenuAssembler | myAssembler |
| DtSubMenuConfiguration | myConfiguration |
| bool | myInitialized |
Protected Attributes inherited from makVrv::DtMenu | |
| DtDe & | myDe |
| std::string | myMenuIdName |
| makVrf::DtConfigurableMenu::DtConfigurableMenu | ( | makVrv::DtDe & | , |
| const std::string & | className | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
inlinevirtual |
Returns the configuration for the menu to be used. May be effected directly.
Reimplemented in makVrf::DtCreateMenu, makVrf::DtVrfMainMenu, makVrf::DtSimulationCommandMenu, makVrf::DtConditionalMenu, and makVrf::DtEntityMenu.
|
inlinevirtual |
Returns the assembler for the menu to be used. May be effected directly.
Reimplemented in makVrf::DtCreateMenu, makVrf::DtVrfMainMenu, makVrf::DtSimulationCommandMenu, makVrf::DtConditionalMenu, and makVrf::DtEntityMenu.
|
virtual |
Use to register your own complex menu object.
You must then use the menuConfig() function to add it to the path you wish to add it to. If you want to make a simple menu, use createSimpleMenu() instead (see that function for details)
|
virtual |
Use to register your own complex menu item object.
You must then use the menuConfig() function to add it to the path you wish to add it to. If you want to make a simple menu item, use createSimpleMenuItem() instead (see that function for details)
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Merges in the assembler and configuration into the supplied assembler and configuration.
see the other mergeMenu() functions
|
virtual |
Merges in the assembler into the supplied assembler.
This merges menu registrations between two menus
|
virtual |
Merges in the configuration into the supplied configuration. This merges all the menu paths together.
|
protectedvirtual |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
Creates the menu configuration by creating the assembler and adding menu items.
Reimplemented in makVrf::DtCreateMenu, makVrf::DtVrfMainMenu, makVrf::DtSimulationCommandMenu, makVrf::DtConditionalMenu, and makVrf::DtEntityMenu.
|
protected |
|
protected |
|
protected |
| boost::signal<void (QAction*)> makVrf::DtConfigurableMenu::signal_validateMenuItem |