Public Member Functions |
| | DtReleaseBombTaskDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) |
| | Constructor.
|
| virtual | ~DtReleaseBombTaskDialog () |
| | Destructor.
|
| virtual void | disable (const QString &reason) |
| | Disables all controls in the dialog dialog (except for cancel button).
|
| virtual void | enable () |
| | Enables all controls in the dialog.
|
|
| virtual void | setDetonationProximity (const double proximity) |
| | Set/get the detonation proximity for the warhead.
|
| virtual const double | detonationProximity () const |
| | Set/get the detonation proximity for the warhead.
|
| | DtBaseComboTaskSetDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) |
| virtual | ~DtBaseComboTaskSetDialog () |
| virtual void | setSelectedIndex (int) |
| virtual int | selectedIndex () const |
| virtual void | setSelectedText (const QString &) |
| virtual QString | selectedText () const |
| virtual void | setSelectedData (const QVariant &) |
| virtual QVariant | selectedData () const |
| virtual QVariant | itemData (int iIndex) const |
| virtual QVariant | selectedItemData () const |
| virtual void | addItem (const QString &, const QVariant &data=QVariant()) |
| virtual void | removeItem (const QString &) |
| virtual void | clear () |
| | Clears combo.
|
| | DtBaseTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) |
| virtual | ~DtBaseTaskSetDialogInterface () |
| virtual void | run (const std::vector< makVrv::DtSimEntry * > &) |
| | Calls setupGui and shows the dialog.
|
| virtual void | setOKEnabled (bool) |
| | Enables/disables OK button.
|
| virtual bool | valid () const |
| | Override to return whether or not extension is valid.
|
| int | accepted () const |
| | 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel
|
| | 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 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 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 QWidget * | widget () |
| | Returns the widget.
|
const std::vector
< makVrv::DtSimEntry * > & | connectedTo () const |
Public Member Functions inherited from makVrf::DtCommandDialogExtensionInterface |
| virtual | ~DtCommandDialogExtensionInterface () |
| virtual bool | initiallyBroadcast () const |
| | Whether or not to initially set to broadcast. Default is false.
|
| virtual void | onCancel ()=0 |
| virtual makVrv::DtUnicode | broadcastTitle () const |
| | DtVrfResourceRequestor (makVrv::DtDe &) |
| virtual | ~DtVrfResourceRequestor () |
| virtual void | requestResourcesFor (const std::vector< makVrv::DtSimEntry * > &data, bool entitiesOnly=true) |
| | Requests resources for all items in the vector.
|
| virtual void | startMonitoring (const std::string &, int rate=-1) |
| | Start monitoring for this entity.
|
| virtual void | stopMonitoring (const std::string &) |
| | Stop monitoring for the specified entity.
|
| virtual void | setUpdateRate (const std::string &entity, int) |
| | Sets the update rate for entity being monitored.
|
Protected Member Functions |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &states, const DtSimStatement *s) |
| | Edits the current statement.
|
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| | Creates and lays out all controls.
|
| virtual QBoxLayout * | createMainLayout () |
| | Creates a new QVBoxLayout.
|
| virtual void | sendRequest ()=0 |
| | The subclasses must create and send the proper type of DtReleaseBombTask.
|
| virtual void | populateTaskFromDialog (DtReleaseBombTask *task) |
| | Takes the ammunition resource name and detonationProximity from the dialog and copies it into the task.
|
| virtual void | setupStatement (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt) |
| | If the task is a DtReleaseBombTask, calls setupGui with the data to set the ammunition resource name and then sets the detonation proximity from the task.
|
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &d) |
| | Clears myResources and myCombo and requests resources for the given DtSimEntry.
|
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &data) |
| | Calls down to the base class and requests resources for the given DtSimEntry.
|
| virtual void | addResource (const DtResource &) |
| | If the given resource has a kind of DtMunition, a domain of DtBattlefieldSupport and a category of DtMunitionGuided it will be added by calling addItem().
|
| virtual void | resourceUpdated (const DtResource &) |
| | Called when a particular resource has been updated.
|
| virtual void | resourcesChanged () |
| | Calls clear().
|
| virtual void | resourceCheckingDisabled () |
| | Sets myCanSetResources to false and calls disable().
|
| virtual void | resourceCheckComplete () |
| | If myReleaseBombTask is not null, calls setSeletectedText() with the name of the ammo from myReleaseBombTask, calls comboChange() and then deletes the task.
|
| virtual void | comboChanged (const QString &) |
| virtual void | postGuiSetup (const std::vector< makVrv::DtSimEntry * > &data) |
| | Called after setupGui to set up other items in the gui (fill combo boxes, initial text edit, etc)
|
| virtual void | setupStatement (const DtSimStatement *stmt) |
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| | Override for dialogs that need item initialization.
|
| virtual void | closeEvent (QCloseEvent *) |
| | Figure out if a cancelled signal needs to be sent.
|
| virtual bool | wantsSelectionOfObjectInCommandMode () const |
| | 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 | sendSetRequest (const DtSetDataRequest &) |
| virtual void | sendTaskRequest (const DtSimTask &) |
| virtual void | sendCommandRequest (const DtSimCommandObjectWrapper &) |
| | Sends signal to send out command.
|
| 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.
|
| virtual void | slot_resourceResponse (const DtIfServerRequestResponse &) |
DtReleaseBombTask dialog is the base class for all the other release bomb task dialogs.
It allows the user to configure the parameters which are common to all the tasks; the ammo selection and detonation proximity.