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

Public Member Functions | |
| virtual | ~DtCommandDialogExtensionInterface () |
| virtual QWidget * | widget ()=0 |
| Returns the widget. | |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *)=0 |
| Edits the current statement. Return true if the statement can be edited. | |
| virtual void | run (const std::vector< makVrv::DtSimEntry * > &)=0 |
| Override to run the dialog. | |
| virtual bool | valid () const =0 |
| Override to return whether or not extension is valid. | |
| virtual void | setOKEnabled (bool)=0 |
| Sets whether or not the OK button is enabled. | |
| virtual void | setCancelEnabled (bool)=0 |
| Sets whether or not the Cancel button is enabled. | |
| virtual bool | initiallyBroadcast () const |
| Whether or not to initially set to broadcast. Default is false. | |
| virtual bool | allowBroadcasting () const |
| Whether or not to allow broadcasting. Default is true. | |
| virtual bool | hasUserEntry () const |
| Returns true if there is user entry. Default is to assume there is. | |
| virtual QString | entitySelectionGroupBoxTitle () const |
| If defined, title for the group box for entity selection on command widget. | |
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1)=0 |
| If a dialog has manages map focus handlers, inserts this map focus handler into the chain. | |
| virtual std::vector< std::string > | commandDialogFiltersFor (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt, int &initialSelection) const =0 |
| If part of a command dialog the filters to use for the command dialog selection. | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &)=0 |
| Sets up dialog by asking logic to do it. | |
| virtual void | selectionChanged (const DtUUID &selection)=0 |
| virtual bool | wantsSelectionOfObjectInCommandMode () const =0 |
| Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to. | |
| virtual void | noObjectsSelected ()=0 |
| Called when there are no objects selected in the interface. | |
| virtual void | initializeFromAction (DtVrfTaskSetAction *)=0 |
| Called to initialize from the given action. | |
| virtual void | onCancel ()=0 |
| virtual void | onOK ()=0 |
| virtual void | hideButtons (bool)=0 |
| If OK and Cancel buttons are present, hide them (or not) | |
| virtual makVrv::DtUnicode | broadcastTitle () const |
Public Attributes | |
| boost::signal< void()> | signal_cancelled |
| boost::signal< void(bool)> | signal_enableCommandModeSelection |
| Signal sent when the task becomes valid (or invalid) | |
| boost::signal< void(bool)> | signal_validStateChanged |
| boost::signal< void(bool)> | signal_disableCancel |
| boost::signal< void(std::vector < DtUUID > names, const DtSetDataRequest &)> | signal_sendSetRequest |
| boost::signal< void(std::vector < DtUUID > names, const DtSimTask &)> | signal_sendTaskRequest |
| boost::signal< void(const DtSimCommandObjectWrapper &)> | signal_sendCommandRequest |
| boost::signal< void(const std::vector< DtUUID > &, const DtSimTask &, DtVrfTaskSetMenu *)> | signal_commandActivated |
| boost::signal< void(const DtSimCommandObjectWrapper &)> | signal_simCommandActivated |
| boost::signal< void(const std::vector < makVrv::DtSimEntry * > &)> | signal_stopWatching |
|
inlinevirtual |
|
pure virtual |
Returns the widget.
Implemented in makVrf::DtTaskSetDialogInterface, and makVrf::DtCommandAssignmentWidget.
|
pure virtual |
Edits the current statement. Return true if the statement can be edited.
Implemented in makVrf::DtCommandAssignmentWidget, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtTaskSetDialogInterface, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtScriptedTaskDialog, makVrf::DtCommandAssignmentWidgetInterface, makVrf::DtSimulationCommandIssuePlanDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtSimulationCommandLaunchGlobalPlanDialog, makVrf::DtSimulationCommandSetTimeOfDayDialog, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtReleaseBombTaskDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSetActiveSonarModeDialog, makVrf::DtSetRadarModeDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskMoveIntoFormationDialog, makVrf::DtSetAiEnabledDialog, makVrf::DtSetInvulnerableDialog, makVrf::DtSetAppearanceDialog, makVrf::DtSetFormationDialog, makVrf::DtSetCapabilitiesDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetRestoreDialog, makVrf::DtSetTaskedBySuperiorDialog, makVrf::DtTaskDisembarkAllDialog, makVrf::DtTaskDisembarkDialog, and makVrf::DtTaskWaitDialog.
|
pure virtual |
Override to run the dialog.
Supplies data of entities that are selected for this dialog
Implemented in makVrf::DtScriptedTaskDialog, makVrf::DtSimulationCommandLaunchGlobalPlanDialog, makVrf::DtCommandAssignmentWidget, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtSetAttributesDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSetAiEnabledDialog, makVrf::DtSetInvulnerableDialog, makVrf::DtSetCapabilitiesDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetRestoreDialog, makVrf::DtSetTaskedBySuperiorDialog, makVrf::DtTaskDisembarkAllDialog, makVrf::DtTaskDisembarkDialog, makVrf::DtTaskWaitDialog, and makVrf::DtSetAppearanceDialog.
|
pure virtual |
Override to return whether or not extension is valid.
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, makVrf::DtBaseFilteredListViewTaskSetDialog, makVrf::DtSimulationCommandDynamicTerrainChangesWidget, makVrf::DtTaskFireCruiseMissileDialog, makVrf::DtTaskAggregateIndirectFireDialog, makVrf::DtTaskNbcAttackDialog, makVrf::DtTaskAggregateBombLocationDialog, makVrf::DtSimulationCommandStealthCommandWidget, makVrf::DtTaskSetChooserDialog, makVrf::DtSetAttributesDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtTaskPatrolBetweenDialog, and makVrf::DtBaseYesNoTaskSetDialog.
|
pure virtual |
Sets whether or not the OK button is enabled.
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, and makVrf::DtBaseTaskSetDialogInterface.
|
pure virtual |
Sets whether or not the Cancel button is enabled.
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, and makVrf::DtBaseTaskSetDialogInterface.
|
inlinevirtual |
Whether or not to initially set to broadcast. Default is false.
Reimplemented in makVrf::DtSimulationCommandSetGlobalWeatherDialog.
|
inlinevirtual |
Whether or not to allow broadcasting. Default is true.
Reimplemented in makVrf::DtSimulationCommandLaunchGlobalPlanDialog.
|
inlinevirtual |
Returns true if there is user entry. Default is to assume there is.
Reimplemented in makVrf::DtSimulationCommandLaunchGlobalPlanDialog, makVrf::DtSimulationCommandAbandonPlanDialog, and makVrf::DtSimulationCommandDeleteDialog.
|
inlinevirtual |
If defined, title for the group box for entity selection on command widget.
Reimplemented in makVrf::DtTaskSetChooserDialog.
|
pure virtual |
If a dialog has manages map focus handlers, inserts this map focus handler into the chain.
Return true if inserted into focus chain
Implemented in makVrf::DtScriptedTaskDialog, makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, makVrf::DtBaseFilteredListViewTaskSetDialog, makVrf::DtSimulationCommandIssuePlanDialog, and makVrf::DtEmbeddedEntityCommandAssignmentWidget.
|
pure virtual |
If part of a command dialog the filters to use for the command dialog selection.
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtCommandAssignmentWidget, makVrf::DtSimulationCommandDialogInterface, makVrf::DtSimulationCommandScenarioEventWidget, makVrf::DtSimulationCommandLaunchGlobalPlanDialog, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtEmbeddedEntityCommandAssignmentWidget, and makVrf::DtSetActivationDialog.
|
pure virtual |
Sets up dialog by asking logic to do it.
Implemented in makVrf::DtScriptedTaskDialog, makVrf::DtCommandAssignmentWidget, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtTaskSetDialogInterface, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSetStatePropertiesDialog, makVrf::DtReleaseBombTaskDialog, makVrf::DtSetEmbarkedDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtTaskFFLDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskAggregateIndirectFireDialog, makVrf::DtTaskNbcAttackDialog, makVrf::DtTaskAggregateBombLocationDialog, makVrf::DtTaskDIGuyAnimationDialog, makVrf::DtSetReactiveTaskStatusDialog, makVrf::DtSetDIGuyHandItemDialog, makVrf::DtTaskFFEDialog, makVrf::DtTaskSetChooserDialog, makVrf::DtSetDIGuyHeadDialog, makVrf::DtSetDIGuyAppearanceDialog, makVrf::DtSetTrackJamTargetsDialog, makVrf::DtSetDIGuyCharacteristicsDialog, makVrf::DtTaskFFTDialog, makVrf::DtSetActiveSonarModeDialog, makVrf::DtSetEmitterDialog, makVrf::DtSetRadarModeDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSetActivationDialog, makVrf::DtSetReactiveTaskDisabledDialog, makVrf::DtSetSensorEnabledDialog, makVrf::DtSetFormationDialog, makVrf::DtTaskEmbarkDialog, makVrf::DtTaskDIGuyGestureDialog, makVrf::DtSetActivityDialog, makVrf::DtSetAppearanceDialog, and makVrf::DtSetCapabilitiesDialog.
|
pure virtual |
|
pure virtual |
Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to.
Calls down to logic with method of same name
Implemented in makVrf::DtScriptedTaskDialog, makVrf::DtCommandAssignmentWidget, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSimulationCommandDynamicTerrainChangesWidget, makVrf::DtSimulationCommandChangeHostilityWidget, vrfAddSimCommandExample::DtSimulationCommandMessageDialog, makVrf::DtSimulationCommandConsoleMessageDialog, makVrf::DtSimulationCommandScenarioEventWidget, makVrf::DtSimulationCommandRemoveDynamicTerrainDamageWidget, makVrf::DtSimulationCommandStealthCommandWidget, makVrf::DtSetAiEnabledDialog, makVrf::DtSetInvulnerableDialog, makVrf::DtSimulationCommandSetTimeOfDayDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetAppearanceDialog, makVrf::DtSetRestoreDialog, makVrf::DtTaskDisembarkDialog, makVrf::DtTaskWaitDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetTaskedBySuperiorDialog, makVrf::DtTaskDisembarkAllDialog, and makVrf::DtSetCapabilitiesDialog.
|
pure virtual |
Called when there are no objects selected in the interface.
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, makVrf::DtTaskSetChooserDialog, and makVrf::DtCommandAssignmentWidgetInterface.
|
pure virtual |
Called to initialize from the given action.
Implemented in makVrf::DtScriptedTaskDialog, makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, makVrf::DtTaskMoveToLocationDialog, makVrf::DtCommandAssignmentWidgetInterface, makVrf::DtTaskMoveAlongRouteDialog, and makVrf::DtTaskMoveToDialog.
|
pure virtual |
Implemented in makVrf::DtSetAiEnabledDialog, makVrf::DtSetInvulnerableDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandLaunchGlobalPlanDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetRestoreDialog, makVrf::DtSetTaskedBySuperiorDialog, makVrf::DtTaskDisembarkAllDialog, makVrf::DtTaskDisembarkDialog, and makVrf::DtTaskWaitDialog.
|
pure virtual |
Implemented in makVrf::DtCommandAssignmentWidget, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSetAiEnabledDialog, makVrf::DtSetInvulnerableDialog, makVrf::DtSetAppearanceDialog, makVrf::DtSetCapabilitiesDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetRestoreDialog, makVrf::DtTaskDisembarkDialog, makVrf::DtTaskWaitDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetTaskedBySuperiorDialog, and makVrf::DtTaskDisembarkAllDialog.
|
pure virtual |
If OK and Cancel buttons are present, hide them (or not)
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, and makVrf::DtBaseTaskSetDialogInterface.
|
inlinevirtual |
Reimplemented in makVrf::DtSimulationCommandSetGlobalWeatherDialog.
References makVrv::DtUnicode::tr().
| boost::signal<void ()> makVrf::DtCommandDialogExtensionInterface::signal_cancelled |
| boost::signal<void (bool)> makVrf::DtCommandDialogExtensionInterface::signal_enableCommandModeSelection |
Signal sent when the task becomes valid (or invalid)
| boost::signal<void (bool)> makVrf::DtCommandDialogExtensionInterface::signal_validStateChanged |
| boost::signal<void (bool)> makVrf::DtCommandDialogExtensionInterface::signal_disableCancel |
| boost::signal<void (std::vector<DtUUID> names, const DtSetDataRequest&)> makVrf::DtCommandDialogExtensionInterface::signal_sendSetRequest |
| boost::signal<void (std::vector<DtUUID> names, const DtSimTask&)> makVrf::DtCommandDialogExtensionInterface::signal_sendTaskRequest |
| boost::signal<void (const DtSimCommandObjectWrapper&)> makVrf::DtCommandDialogExtensionInterface::signal_sendCommandRequest |
| boost::signal<void (const std::vector<DtUUID>&, const DtSimTask&, DtVrfTaskSetMenu*)> makVrf::DtCommandDialogExtensionInterface::signal_commandActivated |
| boost::signal<void (const DtSimCommandObjectWrapper&)> makVrf::DtCommandDialogExtensionInterface::signal_simCommandActivated |
| boost::signal<void (const std::vector<makVrv::DtSimEntry*>&)> makVrf::DtCommandDialogExtensionInterface::signal_stopWatching |