![]() |
VR-Forces 4.1 Class Documentation
|
The dialog for setting Radar Mode on entities with emitter systems. More...

Public Member Functions | |
| DtSetRadarModeDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| Constructor. | |
| virtual | ~DtSetRadarModeDialog () |
| Destructor. | |
Public Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| 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. | |
Public Member Functions inherited from makVrf::DtTaskSetDialogInterface | |
| 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 | 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 |
| void | setPartOfPlan (bool b) |
| bool | 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 void | onCancel ()=0 |
Protected Slots | |
| virtual void | onIdChanged (const QString &s) |
| When the emitter id combo box changes, this function is called with the new selection. | |
| virtual void | onModeChanged (const QString &s) |
| When the mode combo box changes, this function is called with the new selection. | |
Protected Slots inherited from makVrf::DtBaseTaskSetDialogInterface | |
| virtual void | onOk () |
| virtual void | onCancel () |
Protected Member Functions | |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| The default function called to setup the dialog box based on the entity data. | |
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &data) |
| Called whenever a dialog is created to setup the dialog box based on entity data. | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| Called whenever a dialog is created in the context of things like the radio task set. | |
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| Initialize the entity data for the dialog and requests data to the sim for data if it is not in cache. | |
| virtual void | resetDialog (bool resetModesOnly=false) |
| Used internally to reset the dialgo box. The flag can be used to only reset the mode combo box. | |
| virtual void | updateComboBoxes () |
| Updates the combo boxes based on cache data. This assumes cache data is up to date. | |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &states, const DtSimStatement *s) |
| Called in plan dialogs when edit is selected. | |
| virtual void | setupStatement (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt) |
| Called in plan dialogs when the set is stored in the plan. | |
| virtual void | sendRequest () |
| Sends the request to set the radar mode. | |
| virtual void | slot_receivedRadarModes (std::string entityName, int emitterId) |
| When new radar modes are updated to cache, we find out about it and should update the dialog. | |
Protected Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| 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 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. | |
Protected Member Functions inherited from makVrf::DtTaskSetDialogInterface | |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
Protected Attributes | |
| std::vector< std::string > | myCurrSelected |
| std::map< std::string, std::vector < makVrv::DtSimEntry * > > | myAwaitingEmitters |
| makVrv::DtSignalConnectionManager | myConnections |
| QWidget * | myCanvas |
| QComboBox * | myIdCombo |
| QComboBox * | myModeCombo |
Additional Inherited Members | |
Public Attributes inherited from makVrf::DtBaseTaskSetDialogInterface | |
| QVBoxLayout * | myMasterLayout |
| QHBoxLayout * | myButtonLayout |
| QPushButton * | myOKButton |
| QPushButton * | myCancelButton |
The dialog for setting Radar Mode on entities with emitter systems.
| makVrf::DtSetRadarModeDialog::DtSetRadarModeDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtualslot |
When the emitter id combo box changes, this function is called with the new selection.
|
protectedvirtualslot |
When the mode combo box changes, this function is called with the new selection.
|
protectedvirtual |
The default function called to setup the dialog box based on the entity data.
Implements makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Called whenever a dialog is created to setup the dialog box based on entity data.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Called whenever a dialog is created in the context of things like the radio task set.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Initialize the entity data for the dialog and requests data to the sim for data if it is not in cache.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Used internally to reset the dialgo box. The flag can be used to only reset the mode combo box.
|
protectedvirtual |
Updates the combo boxes based on cache data. This assumes cache data is up to date.
|
protectedvirtual |
Called in plan dialogs when edit is selected.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Called in plan dialogs when the set is stored in the plan.
|
protectedvirtual |
Sends the request to set the radar mode.
Implements makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
When new radar modes are updated to cache, we find out about it and should update the dialog.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |