![]() |
VR-Forces 4.1 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 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 |
| void | setPartOfPlan (bool b) |
| bool | 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 | 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 |
Protected Member Functions | |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| bool | myPartOfPlan |
| std::vector< makVrv::DtSimEntry * > | myConnectedTo |
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 |
Edits the current statement. Return true if the statement can be edited.
Implements makVrf::DtCommandDialogExtensionInterface.
Reimplemented in makVrf::DtBaseTaskSetDialogInterface, makVrf::DtSimulationCommandSetGlobalWeatherDialog, makVrf::DtSimulationCommandIssuePlanDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtSetRadarModeDialog, makVrf::DtSimulationCommandSetTimeOfDayDialog, makVrf::DtSimulationCommandDeleteDialog, makVrf::DtSimulationCommandRestartPlanDialog, makVrf::DtReleaseBombTaskDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSimulationCommandAbandonPlanDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskMoveIntoFormationDialog, makVrf::DtScriptedTaskDialog, makVrf::DtSetFormationDialog, makVrf::DtSetAppearanceDialog, 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::DtReleaseBombTaskDialog, makVrf::DtLaunchCounterMeasuresTaskDialog, makVrf::DtBaseTaskSetDialogInterface, makVrf::DtScriptedTaskDialog, makVrf::DtSetResourcesDialog, makVrf::DtTaskDIGuyAnimationDialog, makVrf::DtSetDIGuyAppearanceDialog, makVrf::DtSetRadarModeDialog, makVrf::DtSetEmitterDialog, makVrf::DtTaskFireAtTargetDialog, makVrf::DtSetFormationDialog, 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::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.
|
virtual |
Sends signal to send out task.
|
virtual |
Sends signal to send out command.
Reimplemented in makVrf::DtBaseTaskSetDialogInterface.
|
virtual |
|
inline |
|
inline |
|
virtual |
Sends out cancel signal.
Reimplemented in makVrf::DtSetDIGuyAppearanceDialog.
|
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::DtSetAttributesDialog, makVrf::DtTaskPatrolBetweenDialog, makVrf::DtBaseTaskSetDialogInterface, and makVrf::DtBaseYesNoTaskSetDialog.
|
inlinevirtual |
Returns the widget.
Implements makVrf::DtCommandDialogExtensionInterface.
|
inline |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |