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

Public Slots | |
| virtual void | validate () |
Public Member Functions | |
| DtVrfTaskSetMenu (const std::string &className, const QString &title, QWidget *parent, makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtVrfTaskSetMenu () |
| DtTaskSetMenu. | |
| virtual void | setValidate (bool b) |
| virtual void | setPartOfPlanDialog (int b) |
| 0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu from the top-level entities menu or the right click menu | |
| virtual void | setEntitySet (const makVrv::DtSelectionManager::IdSet &set) |
| virtual void | setMenuItemValidation (bool b) |
| virtual void | setHideDisabledItem (bool yesNo) |
| If set to True, disabled task and set items in the menu will be hidden. | |
| virtual void | setSignalDialogCreation (bool b) |
| Set to true to signal a dialog wants to be created rather than simply creating it. Default is false. | |
| bool | signalDialogCreation () const |
| virtual void | setSignalTaskSetRequests (bool b) |
| If flag is set to true, signal is sent when a request comes in for a task or set. | |
| bool | signalTaskSetRequests () const |
| int | partOfPlanDialog () const |
| const makVrv::DtSelectionManager::IdSet & | entitySet () const |
| virtual makVrv::DtSelectionManager::IdSet | selectionsToUseForTaskSetDialog () const |
| Returns the selection set to use to seed task/set dialogs if there is a selection. | |
| const makVrv::DtSelectionManager::IdSet & | validatingFor () const |
| When connecting to the signal_validateMenuItem from the menu signaler, this method will contain the entities being validated. | |
| void | setParentMenu (DtVrfTaskSetMenu *p) |
| DtVrfTaskSetMenu * | parentMenu () |
| virtual void | clearMenu () |
| Clears out all menu items. | |
| virtual bool | updateSubMenuVisibilityState (QMenu *) |
| Hide submenus that have no visible children or show sub menus that have at least one visible child. | |
| virtual void | slot_sendSetRequest (std::vector< std::string > names, const DtSetDataRequest &s) |
| virtual void | slot_sendTaskRequest (std::vector< std::string > names, const DtSimTask &s) |
| virtual void | slot_createTaskSetDialog (int menuItemType, QWidget *, DtVrfTaskSetAction *, const std::vector< makVrv::DtSimEntry * > &, int) |
| Sends off signal sent by action. | |
| virtual void | signalCommandDialogCreation (int menuItemType, QWidget *parent, DtVrfTaskSetAction *forAction, const std::vector< makVrv::DtSimEntry * > &data, int partOfPlan) |
| Signals that a command dialog wants to be created (on behalf of radio menu) | |
| virtual void | mergeChangesFrom (const std::string &menu, const DtSubMenuConfiguration &, DtSubMenuConfiguration &, bool maintainOriginalOrder=false) |
| Merges the changes from the source into the configuration. | |
Public Member Functions inherited from makVrf::DtSelectionEnabledMenu | |
| DtSelectionEnabledMenu (const QString &title, QWidget *parent, makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtSelectionEnabledMenu () |
| DTOR. | |
| virtual void | slot_validateMenuItems () |
Public Member Functions inherited from makVrf::DtAssembledMenu | |
| DtAssembledMenu (const QString &title, QWidget *parent, makVrv::DtDe &) | |
| CTOR. | |
| virtual | ~DtAssembledMenu () |
| DTOR. | |
| const DtConfigurableMenuAssembler & | assembler () const |
Public Attributes | |
| boost::signal< void(std::vector < std::string > names, const DtSetDataRequest &)> | signal_sendSetRequest |
| boost::signal< void(std::vector < std::string > names, const DtSimTask &)> | signal_sendTaskRequest |
| boost::signal< void(QAction *)> | signal_validateMenuItem |
| boost::signal< void(int menuItemType, QWidget *, DtVrfTaskSetAction *, const std::vector < makVrv::DtSimEntry * > &, int, DtVrfTaskSetMenu *)> | signal_createTaskSetDialog |
| boost::signal< void(int menuItemType, QWidget *, DtVrfTaskSetAction *, const std::vector < makVrv::DtSimEntry * > &, int, DtVrfTaskSetMenu *)> | signal_createCommandDialog |
Protected Types | |
| typedef std::map< int, std::set< QAction * > > | TaskActions |
Protected Member Functions | |
| virtual void | renameIfDuplicate (QAction *) |
| Given the action, if there is an action with the same name, rename this one based upon either the configured extended name, or if that fails, the script id. | |
| virtual QString | alternateName (QAction *) const |
| Determines the alternate name for an action if it must be renamed to avoid conflict with another action. | |
| virtual void | revalidate (makVrv::DtUniqueID) |
| Called when tasks/sets have been updated due to message, revalidate this menu if the entity that it represents has changed. | |
| virtual bool | eventFilter (QObject *, QEvent *) |
| virtual void | actionAdded (QEvent *) |
| virtual void | addTaskAction (QAction *) |
| virtual void | rebuildToolbar (const std::string &) |
| virtual void | validateMenuItems (int terrainPatchOffset) |
| virtual void | slot_backendUpdated (const DtVrfBackendState &, int) |
| virtual bool | available (int menu, std::vector< int > &l) const |
| virtual void | availableMenuItems (const makVrv::DtSelectionManager::IdSet &selections, std::vector< int > &available, bool noTaskSetValueMeansAll) |
| Calls DtVrfTaskSetManager::available. | |
| virtual bool | enableForEnvironmentals () const |
| Returns true if this should be enabled for environmentals. Default is false. | |
| virtual bool | shouldAddAsPartOfMenu (const QList< QAction * > &acts, QAction *toMatch) const |
| virtual std::vector< std::string > | whoShouldITask (const std::vector< std::string > &name, const DtSimTask &newTask) |
| Given the list of names, see who should be tasked given current setting for asking to abandon task and plan. | |
| virtual void | destroyActions (const QList< QAction * > &actions) |
Protected Member Functions inherited from makVrf::DtSelectionEnabledMenu | |
| virtual void | slot_terrainPatchToBeDeleted () |
| virtual void | slot_selectionChanged () |
| virtual bool | terrainLoaded (int terrainCountOffset) const |
|
protected |
| makVrf::DtVrfTaskSetMenu::DtVrfTaskSetMenu | ( | const std::string & | className, |
| const QString & | title, | ||
| QWidget * | parent, | ||
| makVrv::DtDe & | |||
| ) |
CTOR.
|
virtual |
DtTaskSetMenu.
|
virtual |
|
virtual |
0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu from the top-level entities menu or the right click menu
|
virtual |
|
virtual |
|
virtual |
If set to True, disabled task and set items in the menu will be hidden.
Otherwise, they will simply be disabled but still visible.
|
virtual |
Set to true to signal a dialog wants to be created rather than simply creating it. Default is false.
|
inline |
|
virtual |
If flag is set to true, signal is sent when a request comes in for a task or set.
If false, sent directly to DtGuiThreadVrfRemoteController
|
inline |
|
inline |
|
inline |
|
virtual |
Returns the selection set to use to seed task/set dialogs if there is a selection.
Reimplemented in makVrf::DtEmbeddedEntityVrfTaskMenu, and makVrf::DtEmbeddedEntityVrfSetMenu.
|
inline |
When connecting to the signal_validateMenuItem from the menu signaler, this method will contain the entities being validated.
|
inline |
|
inline |
|
virtual |
Clears out all menu items.
Hide submenus that have no visible children or show sub menus that have at least one visible child.
Returns true if any of the children of the menu are visible
|
virtual |
|
virtual |
|
virtual |
Sends off signal sent by action.
|
virtual |
Signals that a command dialog wants to be created (on behalf of radio menu)
|
virtual |
Merges the changes from the source into the configuration.
Will need to expand paths to be what create menu is expecting.
|
virtualslot |
|
protectedvirtual |
Given the action, if there is an action with the same name, rename this one based upon either the configured extended name, or if that fails, the script id.
|
protectedvirtual |
Determines the alternate name for an action if it must be renamed to avoid conflict with another action.
|
protectedvirtual |
Called when tasks/sets have been updated due to message, revalidate this menu if the entity that it represents has changed.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Implements makVrf::DtSelectionEnabledMenu.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Calls DtVrfTaskSetManager::available.
If noTaskSetValueMeansAll is true then if there is no entry for the item (or items) then all tasks or sets are used
Reimplemented in makVrf::DtEmbeddedEntityVrfTaskMenu, and makVrf::DtEmbeddedEntityVrfSetMenu.
|
protectedvirtual |
Returns true if this should be enabled for environmentals. Default is false.
Reimplemented in makVrf::DtVrfSetMenu.
|
protectedvirtual |
|
protectedvirtual |
Given the list of names, see who should be tasked given current setting for asking to abandon task and plan.
|
protectedvirtual |
| boost::signal<void (std::vector<std::string> names, const DtSetDataRequest&)> makVrf::DtVrfTaskSetMenu::signal_sendSetRequest |
| boost::signal<void (std::vector<std::string> names, const DtSimTask&)> makVrf::DtVrfTaskSetMenu::signal_sendTaskRequest |
| boost::signal<void (QAction*)> makVrf::DtVrfTaskSetMenu::signal_validateMenuItem |
| boost::signal<void (int menuItemType, QWidget*, DtVrfTaskSetAction*, const std::vector<makVrv::DtSimEntry*>&, int, DtVrfTaskSetMenu*)> makVrf::DtVrfTaskSetMenu::signal_createTaskSetDialog |
| boost::signal<void (int menuItemType, QWidget*, DtVrfTaskSetAction*, const std::vector<makVrv::DtSimEntry*>&, int, DtVrfTaskSetMenu*)> makVrf::DtVrfTaskSetMenu::signal_createCommandDialog |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |