![]() |
VR-Forces 4.3 Class Documentation
|
Set menu for embedded entities; generates DtEmbeddedSetForwardTasks which carry a set payload. More...

Public Member Functions | |
| DtEmbeddedEntitySetMenu (std::string parentName, const DtEmbeddedEntity &entity, makVrv::DtDe &, const std::string &menuIdName=DtEmbeddedEntitySetMenuId, int partOfPlanDialog=3) | |
| Constructor. | |
| virtual | ~DtEmbeddedEntitySetMenu () |
| Destructor. | |
| virtual QMenu * | createMenu (makVrv::DtDe &, QWidget *parent) |
| Creates a new DtEmbeddedEntityVrfSetMenu and connects its signal_planTaskCreated to slot_planTaskCreated. | |
| virtual void | slot_planTaskCreated (const DtSimTask &set) |
| Connected to DtEmbeddedEntityVrfSetMenu::signal_planTaskCreated. | |
Public Member Functions inherited from makVrf::DtSetMenu | |
| DtSetMenu (makVrv::DtDe &, const std::string &menuIdName=DtSetMenuId) | |
| CTOR. | |
| virtual | ~DtSetMenu () |
| DTOR. | |
| 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. | |
Public Attributes | |
| boost::signal< void(const DtSimTask &)> | signal_planTaskCreated |
| Connected to DtEditEntityPlanWidget::slot_addTaskRequest to add a task to a plan (when partOfPlanDialog == 1). | |
Public Attributes inherited from makVrf::DtSetMenu | |
| 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 | |
| DtEmbeddedEntity | myEntity |
| std::string | myParentName |
| int | myPartOfPlanDialog |
Protected Attributes inherited from makVrf::DtSetMenu | |
| 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 | |
Static Public Member Functions inherited from makVrf::DtSetMenu | |
| static DtSetMenu & | instance (makVrv::DtDe &) |
| static DtSetMenu * | menuInstance (makVrv::DtDe &) |
| Return a new copy, not the registered copy. | |
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. | |
Set menu for embedded entities; generates DtEmbeddedSetForwardTasks which carry a set payload.
| makVrf::DtEmbeddedEntitySetMenu::DtEmbeddedEntitySetMenu | ( | std::string | parentName, |
| const DtEmbeddedEntity & | entity, | ||
| makVrv::DtDe & | , | ||
| const std::string & | menuIdName = DtEmbeddedEntitySetMenuId, |
||
| int | partOfPlanDialog = 3 |
||
| ) |
Constructor.
| parentName | Name of the host of the embedded entity |
| entity | The embedded entity to which this menu is attached |
| de | The DtDe, passed down to the base class |
| menuIdName | Defaults to DtEmbeddedEntityTaskMenuId |
| partOfPlanDialog | Based on DtVrfTaskSetMenu::partofPlan dialog |
|
virtual |
Destructor.
|
virtual |
Creates a new DtEmbeddedEntityVrfSetMenu and connects its signal_planTaskCreated to slot_planTaskCreated.
Reimplemented from makVrf::DtSetMenu.
|
virtual |
Connected to DtEmbeddedEntityVrfSetMenu::signal_planTaskCreated.
| boost::signal<void (const DtSimTask&)> makVrf::DtEmbeddedEntitySetMenu::signal_planTaskCreated |
Connected to DtEditEntityPlanWidget::slot_addTaskRequest to add a task to a plan (when partOfPlanDialog == 1).
|
protected |
|
protected |
|
protected |