Container class that will create instances of scripted task configurable menu.
More...
Protected Member Functions |
| virtual void | scriptIdChanged (const std::string &oldId, const std::string &newId, int action) |
| virtual void | menuRecreated () |
| virtual void | clearScriptedTasks () |
| virtual void | scriptedTaskAboutToBeRemoved (std::string id) |
| virtual void | scriptedTaskAdded (std::string id) |
| virtual void | receivedScriptedTasks () |
| virtual void | clearRegisteredMenuAssemblers () |
| virtual void | clearRegisteredMenuAssembler (const std::string &) |
| virtual void | removeAllScriptedTasks (bool signal=true) |
| virtual void | removeScriptedTask (const std::string &id, bool signal=true) |
| virtual std::string | addScriptedTaskMenuLocation (const std::string &scriptedTaskId, const std::string &potentialPath, const QString &menuName, const QString &extMenuName, const QString &toolTip, DtSubMenuConfiguration &configuration, DtConfigurableMenuAssembler &, bool showInMenu=true, bool addToolbarMenuItems=true, bool useGlobalMenuManager=false) |
| | This could get added if it is not shown in the menu if it is show in the toolbar.
|
| virtual std::string | addScriptedTaskToolbarLocation (const std::string &scriptedTaskId, makVrv::DtToolbarConfiguration &configuration) |
Additional Inherited Members |
Detailed Description
Container class that will create instances of scripted task configurable menu.
- Examples
-
Member Typedef Documentation
Member Enumeration Documentation
- Enumerator:
| RecreateNone |
|
| RecreateOnScenarioLoad |
|
| RecreateOnScriptedTaskChange |
|
| RecreateToolbars |
|
| UseGlobalMenuManager |
|
| RecreateMenuOnSelectionChange |
|
| SkipInitialMenuSetup |
|
Constructor & Destructor Documentation
| makVrf::DtScriptedTaskConfigurableMenu::DtScriptedTaskConfigurableMenu |
( |
makVrv::DtDe & |
, |
|
|
const std::string & |
menuIdName |
|
) |
| |
| virtual makVrf::DtScriptedTaskConfigurableMenu::~DtScriptedTaskConfigurableMenu |
( |
| ) |
|
|
virtual |
Member Function Documentation
| virtual void makVrf::DtScriptedTaskConfigurableMenu::setEditMode |
( |
bool |
| ) |
|
|
virtual |
If in edit mode shows all scripted task items regardless of show in menu status. Default is false.
| virtual bool makVrf::DtScriptedTaskConfigurableMenu::editMode |
( |
| ) |
const |
|
virtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::setRecreateFlags |
( |
RecreateFlags |
| ) |
|
|
virtual |
If true will respond to recreate message. Default is false.
Adds the scripted tasks into the supplied configuration.
| virtual void makVrf::DtScriptedTaskConfigurableMenu::setScriptedTasks |
( |
const ScriptedTasks & |
, |
|
|
bool |
signal = true |
|
) |
| |
|
virtual |
Sets/gets the scripted tasks to use with this task menu.
If signal is true signal to recreate menu
| virtual const ScriptedTasks& makVrf::DtScriptedTaskConfigurableMenu::scriptedTasks |
( |
| ) |
const |
|
virtual |
If set use this instead of the default task menu configuration.
| virtual int makVrf::DtScriptedTaskConfigurableMenu::supportedScriptType |
( |
int |
type | ) |
const |
|
pure virtual |
| virtual const char* makVrf::DtScriptedTaskConfigurableMenu::supportsToolbarType |
( |
| ) |
const |
|
pure virtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::scriptIdChanged |
( |
const std::string & |
oldId, |
|
|
const std::string & |
newId, |
|
|
int |
action |
|
) |
| |
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::menuRecreated |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::clearScriptedTasks |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::scriptedTaskAboutToBeRemoved |
( |
std::string |
id | ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::scriptedTaskAdded |
( |
std::string |
id | ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::receivedScriptedTasks |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::clearRegisteredMenuAssemblers |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::clearRegisteredMenuAssembler |
( |
const std::string & |
| ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::removeAllScriptedTasks |
( |
bool |
signal = true | ) |
|
|
protectedvirtual |
| virtual void makVrf::DtScriptedTaskConfigurableMenu::removeScriptedTask |
( |
const std::string & |
id, |
|
|
bool |
signal = true |
|
) |
| |
|
protectedvirtual |
| virtual std::string makVrf::DtScriptedTaskConfigurableMenu::addScriptedTaskMenuLocation |
( |
const std::string & |
scriptedTaskId, |
|
|
const std::string & |
potentialPath, |
|
|
const QString & |
menuName, |
|
|
const QString & |
extMenuName, |
|
|
const QString & |
toolTip, |
|
|
DtSubMenuConfiguration & |
configuration, |
|
|
DtConfigurableMenuAssembler & |
, |
|
|
bool |
showInMenu = true, |
|
|
bool |
addToolbarMenuItems = true, |
|
|
bool |
useGlobalMenuManager = false |
|
) |
| |
|
protectedvirtual |
This could get added if it is not shown in the menu if it is show in the toolbar.
If the last variable is false do not register toolbar items to be created. This should only be set to true for the main task menu
| virtual std::string makVrf::DtScriptedTaskConfigurableMenu::addScriptedTaskToolbarLocation |
( |
const std::string & |
scriptedTaskId, |
|
|
makVrv::DtToolbarConfiguration & |
configuration |
|
) |
| |
|
protectedvirtual |
Member Data Documentation
| boost::signal<void (DtSubMenuConfiguration&)> makVrf::DtScriptedTaskConfigurableMenu::signal_preCreateConfiguration |
Signal sent right before menu is configured.
| boost::signal<void ()> makVrf::DtScriptedTaskConfigurableMenu::signal_recreateMenu |
Sent when the task menus need to be recreated because menu configuration has changed.
| RecreateFlags makVrf::DtScriptedTaskConfigurableMenu::myRecreateFlags |
|
protected |
| ScriptedTasks makVrf::DtScriptedTaskConfigurableMenu::myScriptedTasks |
|
protected |
| bool makVrf::DtScriptedTaskConfigurableMenu::myEditMode |
|
protected |
| std::set<std::string> makVrf::DtScriptedTaskConfigurableMenu::myScriptedTasksAddedToMenuAssember |
|
protected |
The documentation for this class was generated from the following file: