![]() |
VR-Forces Development_Version Class Documentation
|
This subclass is registered with the right click menu. More...

Public Member Functions | |
| DtRightClickEmbeddedEntitiesMenu (makVrv::DtDe &de) | |
Public Member Functions inherited from makVrf::DtEmbeddedEntitiesMenu | |
| DtEmbeddedEntitiesMenu (makVrv::DtDe &, const std::string &menuIdName=DtEmbeddedEntitiesMenuId) | |
| Connects DtEmbeddedEntitiesListRequestor::signal_InfoCacheUpdated to onAboutToShow(). | |
| virtual | ~DtEmbeddedEntitiesMenu () |
| Destructor. | |
| virtual DtSubMenuConfiguration & | menuConfiguration () |
| Returns theMenuConfiguration. | |
| virtual DtConfigurableMenuAssembler & | menuAssembler () |
| Returns theMenuAssembler. | |
| virtual void | buildMenu () |
| Builds the submenus for each embedded entity and puts a DtEmbeddedEntityTaskMenu and DtEmbeddedEntitySetMenu under each one. | |
| virtual void | clearMenu () |
| Calls clear() on myMenu. | |
| virtual void | setPlanEntitySet (const makVrv::DtSelectionManager::IdSet &set) |
| Called by DtEditEntityPlanWidget::setupMenuForPlanDialog to setup the source for the embedded entities. | |
| virtual DtEmbeddedEntitiesMenu * | newInstance () |
| Creates a DtEmbeddedEntitiesMenu and returns the pointer. | |
| virtual void | slot_planTaskCreated (const DtSimTask &task) |
| Connected to the signal_planTaskCreated of each of the DtEmbeddedEntityVrfSetMenu and DtEmbeddedEntityVrfTaskMenu instances. | |
| virtual void | setPartOfPlanDialog (int partOfPlanDialog) |
| virtual int | partOfPlanDialog () |
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) |
| Creates a new QMenu and caches the pointer in myMenu. | |
Protected Member Functions inherited from makVrf::DtEmbeddedEntitiesMenu | |
| virtual void | slot_onInfoCacheUpdated (const DtObjectType &updatedType) |
| Disconnects itself from the requestor's signal and calls clearMenu() and buildMenu() if the updated type is the one in context. | |
| virtual void | resolveContext (DtObjectType &objType, DtUUID &uuid, bool &isHomogeneous) |
| Gets the currently selected object type and name, and (assuming a multiple-object context) whether or not all object types are homogeneous. | |
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. | |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrf::DtEmbeddedEntitiesMenu | |
| static DtEmbeddedEntitiesMenu & | instance (makVrv::DtDe &) |
| Finds the instance of DtEmbeddedEntitiesMenuId registered with the DtDe and allocates it if it isn't found. | |
| static DtEmbeddedEntitiesMenu * | menuInstance (makVrv::DtDe &) |
| Return a new copy, not the registered copy. | |
Public Attributes inherited from makVrf::DtEmbeddedEntitiesMenu | |
| boost::signal< void(std::vector < DtUUID > names, const DtSimTask &)> | signal_planTaskCreated |
| Connected to DtEditEntityPlanWidget::slot_addTaskRequest by DtEditEntityPlanWidget::setupMenuForPlanDialog to add the DtEmbeddedTaskForwardTask or DtEmbeddedSetForwardTask to the plan. | |
Protected Slots inherited from makVrf::DtEmbeddedEntitiesMenu | |
| virtual void | onAboutToShow () |
| Checks that the object for which the menu is currently based on is the object currently in context. | |
Protected Attributes inherited from makVrf::DtEmbeddedEntitiesMenu | |
| DtObjectType | myHostObjectType |
| Name & type of the object that was in context when the menu is created, along with any other context data relevant from the last time the menu was built. | |
| DtUUID | myHost |
| int | myHostPlanPart |
| bool | myHostContextIsHomogeneous |
| QMenu * | myMenu |
| int | myPartOfPlanDialog |
| makVrv::DtSelectionManager::IdSet | myPlanEntitySet |
Static Protected Attributes inherited from makVrf::DtEmbeddedEntitiesMenu | |
| static DtConfigurableMenuAssembler * | theMenuAssembler |
| static DtSubMenuConfiguration * | theMenuConfiguration |
This subclass is registered with the right click menu.
| makVrf::DtRightClickEmbeddedEntitiesMenu::DtRightClickEmbeddedEntitiesMenu | ( | makVrv::DtDe & | de | ) |
|
protectedvirtual |
Creates a new QMenu and caches the pointer in myMenu.
Connects the aboutToShow() signal from the QMenu to the aboutToShow() function in this class.
Reimplemented from makVrf::DtEmbeddedEntitiesMenu.