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

Public Member Functions | |
| DtTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskSetDialogInterface () |
| virtual void | connectSignals (const std::vector< makVrv::DtSimEntry * > &) |
| Setup signals to cancel dialog if all objects deleted that this dialog is representing. | |
| virtual void | setSendToRemoteController (bool b) |
| Set to true to send the message immediately to the remote controller given the currently selected entities when the dialog was created. | |
| virtual bool | sendToRemoteController () const |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *) |
| Edits the current statement. Return true if the statement can be edited. | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &) |
| Sets up dialog by asking logic to do it. | |
| virtual void | selectionChanged (const QString &selection) |
| Notify dialog of selection changes from attached dialogs. | |
| virtual void | sendSetRequest (std::vector< std::string > names, const DtSetDataRequest &) |
| Sends signal to send out set. | |
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| If a dialog has manages map focus handlers, inserts this map focus handler into the chain. | |
| virtual void | initializeFromAction (DtVrfTaskSetAction *) |
| Intializes contents from action as an action could have relevant properties assigned to it containing additional data. | |
| virtual void | sendTaskRequest (std::vector< std::string > names, const DtSimTask &) |
| Sends signal to send out task. | |
| virtual void | sendCommandRequest (const DtSimCommandObjectWrapper &) |
| Sends signal to send out command. | |
| virtual std::vector< std::string > | names () const |
| virtual void | setPartOfPlan (int b) |
| 0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu | |
| int | partOfPlan () const |
| virtual void | cancel () |
| Sends out cancel signal. | |
| virtual void | setOKEnabled (bool b) |
| Sets whether or not the OK button is enabled. | |
| virtual bool | valid () const |
| Override to return whether or not extension is valid. | |
| virtual QWidget * | widget () |
| Returns the widget. | |
| const std::vector < makVrv::DtSimEntry * > & | connectedTo () const |
Public Member Functions inherited from makVrf::DtCommandDialogExtensionInterface | |
| virtual | ~DtCommandDialogExtensionInterface () |
| virtual void | run (const std::vector< makVrv::DtSimEntry * > &)=0 |
| Override to run the dialog. | |
| virtual bool | initiallyBroadcast () const |
| Whether or not to initially set to broadcast. Default is false. | |
| 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 | onCancel ()=0 |
| virtual makVrv::DtUnicode | broadcastTitle () const |
Protected Member Functions | |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| virtual std::vector< std::string > | commandDialogFiltersFor (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt, int &initialSelection) const |
| If part of a command dialog the filters to use for the command dialog selection. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| int | myPartOfPlan |
| std::vector< makVrv::DtSimEntry * > | myConnectedTo |
| bool | mySendToRemoteController |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtCommandDialogExtensionInterface | |
| 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 |
| makVrf::DtTaskSetDialogInterface::DtTaskSetDialogInterface | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
Setup signals to cancel dialog if all objects deleted that this dialog is representing.
|
virtual |
Set to true to send the message immediately to the remote controller given the currently selected entities when the dialog was created.
Default is false. This flag only works for tasks/sets that are not part of a plan dialog
|
virtual |
|
virtual |
Edits the current statement. Return true if the statement can be edited.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSimulationCommandIssuePlanDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtSetActiveSonarModeDialog, makVrf::DtSetRadarModeDialog, makVrf::DtSimulationCommandSetTimeOfDayDialog, makVrf::DtScriptedTaskDialog, makVrf::DtReleaseBombTaskDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskMoveIntoFormationDialog, makVrf::DtSetAppearanceDialog, makVrf::DtSetFormationDialog, makVrf::DtSetCapabilitiesDialog, makVrf::DtSetDestroyedDialog, makVrf::DtSetDisembarkedDialog, makVrf::DtSetReorganizeDialog, makVrf::DtSetRestoreDialog, makVrf::DtSetTaskedBySuperiorDialog, makVrf::DtTaskDisembarkAllDialog, makVrf::DtTaskDisembarkDialog, and makVrf::DtTaskWaitDialog.
|
virtual |
Sets up dialog by asking logic to do it.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtScriptedTaskDialog, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtSetStatePropertiesDialog, makVrf::DtReleaseBombTaskDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtTaskFFLDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskAggregateIndirectFireDialog, makVrf::DtTaskNbcAttackDialog, makVrf::DtTaskAggregateBombLocationDialog, makVrf::DtSetReactiveTaskStatusDialog, makVrf::DtTaskDIGuyAnimationDialog, makVrf::DtTaskFFEDialog, makVrf::DtSetDIGuyAppearanceDialog, makVrf::DtSetDIGuyHandItemDialog, makVrf::DtSetTrackJamTargetsDialog, makVrf::DtSetActiveSonarModeDialog, makVrf::DtSetRadarModeDialog, makVrf::DtTaskFFTDialog, makVrf::DtSetEmitterDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSetReactiveTaskDisabledDialog, makVrf::DtSetFormationDialog, makVrf::DtSetActivityDialog, makVrf::DtSetAppearanceDialog, and makVrf::DtSetCapabilitiesDialog.
|
virtual |
Notify dialog of selection changes from attached dialogs.
Put in place to allow simCommand dialogs to notify their extension dialogs–the dialogs that fill in the specific command/task/set information–to be notified of which entity(s) they are being applied to. In many cases not necessary to the base class is a no op. However, derived class may wish to make use of this information.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtSimulationCommandIssuePlanDialog.
|
virtual |
Sends signal to send out set.
|
virtual |
If a dialog has manages map focus handlers, inserts this map focus handler into the chain.
Default is a no-op and will return false (not handled)
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtScriptedTaskDialog, and makVrf::DtBaseFilteredListViewTaskSetDialog.
|
virtual |
Intializes contents from action as an action could have relevant properties assigned to it containing additional data.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtScriptedTaskDialog, makVrf::DtTaskMoveToLocationDialog, makVrf::DtTaskMoveAlongRouteDialog, and makVrf::DtTaskMoveToDialog.
|
virtual |
Sends signal to send out task.
|
virtual |
Sends signal to send out command.
Reimplemented in makVrf::DtBaseTaskSetDialogInterface.
|
virtual |
|
inlinevirtual |
0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu
Reimplemented in makVrf::DtSetAttributesDialog, and makVrf::DtTaskMoveToLocationDialog.
|
inline |
|
virtual |
Sends out cancel signal.
Reimplemented in makVrf::DtSetDIGuyAppearanceDialog, and makVrf::DtSetDIGuyHandItemDialog.
|
inlinevirtual |
Sets whether or not the OK button is enabled.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtBaseTaskSetDialogInterface.
|
inlinevirtual |
Override to return whether or not extension is valid.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtBaseFilteredListViewTaskSetDialog, makVrf::DtTaskFireCruiseMissileDialog, makVrf::DtTaskAggregateIndirectFireDialog, makVrf::DtTaskNbcAttackDialog, makVrf::DtTaskAggregateBombLocationDialog, makVrf::DtSimulationCommandStealthCommandWidget, makVrf::DtSetAttributesDialog, makVrf::DtTaskPatrolBetweenDialog, makVrf::DtBaseTaskSetDialogInterface, and makVrf::DtBaseYesNoTaskSetDialog.
|
inlinevirtual |
Returns the widget.
Implements makVrf::DtCommandDialogExtensionInterface.
|
inline |
|
protectedvirtual |
|
protectedvirtual |
If part of a command dialog the filters to use for the command dialog selection.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtSimulationCommandSetGlobalWeatherDialog, and makVrf::DtSimulationCommandScenarioEventWidget.
|
protected |
|
protected |
|
protected |
|
protected |