![]() |
VR-Forces 4.2 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 bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1)=0 |
| If a dialog has manages map focus handlers, inserts this map focus handler into the chain. | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &)=0 |
| Sets up dialog by asking logic to do it. | |
| virtual void | selectionChanged (const QString &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 | initializeFromAction (DtVrfTaskSetAction *)=0 |
| virtual void | onCancel ()=0 |
Public Attributes | |
| boost::signal< void()> | signal_cancelled |
| boost::signal< void(bool)> | signal_validStateChanged |
| Signal sent when the task becomes valid (or invalid) | |
| 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(const DtSimCommandObjectWrapper &)> | signal_sendCommandRequest |
| boost::signal< void(const std::vector< std::string > &, 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::DtCommandAssignmentWidgetInterface, makVrf::DtSimulationCommandIssuePlanDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtSetActiveSonarModeDialog, makVrf::DtSetRadarModeDialog, makVrf::DtSimulationCommandSetTimeOfDayDialog, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtReleaseBombTaskDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskMoveIntoFormationDialog, makVrf::DtScriptedTaskDialog, 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::DtCommandAssignmentWidget, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSetAttributesDialog, makVrf::DtBaseTaskSetDialogInterface, 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::DtTaskFireCruiseMissileDialog, makVrf::DtSetAttributesDialog, makVrf::DtTaskPatrolBetweenDialog, makVrf::DtBaseTaskSetDialogInterface, and makVrf::DtBaseYesNoTaskSetDialog.
|
pure virtual |
Sets whether or not the OK button is enabled.
Implemented in makVrf::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, makVrf::DtCommandAssignmentWidgetInterface, and makVrf::DtBaseTaskSetDialogInterface.
|
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::DtTaskSetDialogInterface, makVrf::DtCommandAssignmentWidget, and makVrf::DtBaseFilteredListViewTaskSetDialog.
|
pure virtual |
Sets up dialog by asking logic to do it.
Implemented in makVrf::DtCommandAssignmentWidget, makVrf::DtTaskSetDialogInterface, makVrf::DtReleaseBombTaskDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtScriptedTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtTaskFFLDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskDIGuyAnimationDialog, makVrf::DtSetReactiveTaskStatusDialog, makVrf::DtTaskFFEDialog, makVrf::DtSetDIGuyAppearanceDialog, makVrf::DtTaskFFTDialog, makVrf::DtSetActiveSonarModeDialog, makVrf::DtSetRadarModeDialog, makVrf::DtSetEmitterDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSetReactiveTaskDisabledDialog, makVrf::DtSetFormationDialog, 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::DtCommandAssignmentWidget, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSimulationCommandChangeHostilityWidget, vrfAddSimCommandExample::DtSimulationCommandMessageDialog, makVrf::DtSimulationCommandConsoleMessageDialog, makVrf::DtScriptedTaskDialog, 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 |
|
pure virtual |
Implemented in makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetRestoreDialog, makVrf::DtSetTaskedBySuperiorDialog, makVrf::DtTaskDisembarkAllDialog, makVrf::DtTaskDisembarkDialog, and makVrf::DtTaskWaitDialog.
| boost::signal<void ()> makVrf::DtCommandDialogExtensionInterface::signal_cancelled |
| boost::signal<void (bool)> makVrf::DtCommandDialogExtensionInterface::signal_validStateChanged |
Signal sent when the task becomes valid (or invalid)
| boost::signal<void (std::vector<std::string> names, const DtSetDataRequest&)> makVrf::DtCommandDialogExtensionInterface::signal_sendSetRequest |
| boost::signal<void (std::vector<std::string> names, const DtSimTask&)> makVrf::DtCommandDialogExtensionInterface::signal_sendTaskRequest |
| boost::signal<void (const DtSimCommandObjectWrapper&)> makVrf::DtCommandDialogExtensionInterface::signal_sendCommandRequest |
| boost::signal<void (const std::vector<std::string>&, 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 |