![]() |
VR-Forces 4.1.1 Class Documentation
|
Class used in right click menu. Returns previously created instance of Create Menu. More...

Public Member Functions | |
| DtRightClickCreateMenu (makVrv::DtDe &de) | |
Public Member Functions inherited from makVrf::DtCreateMenu | |
| DtCreateMenu (makVrv::DtDe &, const QString &createName=DtCreateMenuId) | |
| CTOR. | |
| virtual | ~DtCreateMenu () |
| DTOR. | |
| virtual void | setUseGlobalMenuManager (bool) |
| The useGlobalMenuManager should only be used for the first instance of the create menu. | |
| virtual bool | useGlobalMenuManager () const |
| virtual DtCreateMenu * | newInstance () |
| virtual DtCreateMenu * | clone () const |
| Returns a duplicate of this menu. | |
| virtual DtCreateMenu * | duplicate (QMenu *&, QWidget *parent, makVrf::DtMenu *menu=0) |
| If menu is specified, uses that rather than scenario default. | |
| void | setTearOffsEnabled (bool b) |
| virtual void | setBaseCreateMenu (makVrf::DtMenu *) |
| virtual DtEntityType | nameToType (const QString &) const |
| Given a name of a menu item (e.g. M1A2) return the entity type that represents that. | |
| virtual bool | triggerAction (const DtEntityMapperKey &key) |
| Given an entity key, trigger that action to create it. Return true if action is found. | |
| bool | tearOffsEnabled () const |
| virtual void | setSignalCreation (bool) |
| Set to true to signal creation rather than creating immediately. Will send boost signal_createObject signal if true. | |
| bool | signalCreation () const |
| const AdditionalItems & | additionalItems () const |
| Returns items that are scheduled to be added to new create menus. | |
| AdditionalItems & | additionalItems () |
| virtual void | setCreateObjectActionCreatorFor (const DtEntityType &, DtCreateObjectActionCreator *) |
| Add/replace the object action creator for the specified entity mapper key. | |
| virtual DtCreateObjectActionCreator * | createObjectActionCreatorFor (const DtEntityType &) const |
| Return the object action creator for the specified type. | |
| const DtVrfCreateMenu::MappedActions & | mappedActions () const |
| virtual bool | removePaletteItems () const |
| virtual void | setRemovePaletteItems (bool b) |
| When creating the menu, set to true to remove the "Entity Palette..." and other palette related items item. | |
| virtual DtSubMenuConfiguration & | menuConfiguration () |
| Returns the configuration for the menu to be used in the master mode. | |
| virtual DtConfigurableMenuAssembler & | menuAssembler () |
| Returns the configuration for the menu to be used in the master mode. May be effected directly. | |
| virtual void | addItemToCreate (const makVrv::DtMenuPath &path, const DtEntityMapperKey &key, const DtString &keywords="", const DtString &menuIcon="") |
| Routines to add items to the menu to create. | |
| virtual void | removeItemToCreate (const makVrv::DtMenuPath &) |
| Call to remove an additional item to create. | |
| virtual void | addItemToCreateBefore (const makVrv::DtMenuPath &path, const makVrv::DtMenuPath &before, const DtEntityMapperKey &key, const DtString &keywords="", const DtString &menuIcon="") |
| Same as above, except adds before specified path. | |
| virtual void | addItemToCreateAfter (const makVrv::DtMenuPath &path, const makVrv::DtMenuPath &after, const DtEntityMapperKey &key, const DtString &keywords="", const DtString &menuIcon="") |
| Same as above, except adds after specified path. | |
Public Member Functions inherited from makVrf::DtConfigurableMenu | |
| DtConfigurableMenu (makVrv::DtDe &, const std::string &className) | |
| CTOR. | |
| virtual | ~DtConfigurableMenu () |
| DTOR. | |
| 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. | |
Protected Member Functions | |
| virtual QMenu * | createMenu (makVrv::DtDe &de, QWidget *parent) |
| Build a menu. | |
Protected Member Functions inherited from makVrf::DtCreateMenu | |
| virtual void | createMenuConfiguration (makVrv::DtDe &de) |
| Called to initially create the menu configuration. | |
| virtual void | slot_onCreateObject (const DtEntityType &, std::string, int, const std::vector< DtVector > &) |
Protected Member Functions inherited from makVrf::DtConfigurableMenu | |
| virtual void | initMenuItems (makVrv::DtDe &de) |
| DtConfigurableMenuAssembler & | assembler () |
| DtSubMenuConfiguration & | configuration () |
Class used in right click menu. Returns previously created instance of Create Menu.
| makVrf::DtRightClickCreateMenu::DtRightClickCreateMenu | ( | makVrv::DtDe & | de | ) |
|
protectedvirtual |
Build a menu.
Reimplemented from makVrf::DtCreateMenu.