![]() |
VR-Forces 4.0.4 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. | |
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 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 Attributes | |
| std::vector< std::string > | myCurrSelected |
| std::map< std::string, std::vector < makVrv::DtSimEntry * > > | myAwaitingEmitters |
| makVrv::DtSignalConnectionManager | myConnections |
| QWidget * | myCanvas |
| QComboBox * | myIdCombo |
| QComboBox * | myModeCombo |
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 makVrf::DtSetRadarModeDialog::~DtSetRadarModeDialog | ( | ) | [virtual] |
Destructor.
| virtual void makVrf::DtSetRadarModeDialog::onIdChanged | ( | const QString & | s | ) | [protected, virtual, slot] |
When the emitter id combo box changes, this function is called with the new selection.
| virtual void makVrf::DtSetRadarModeDialog::onModeChanged | ( | const QString & | s | ) | [protected, virtual, slot] |
When the mode combo box changes, this function is called with the new selection.
| virtual QWidget* makVrf::DtSetRadarModeDialog::contents | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
The default function called to setup the dialog box based on the entity data.
Implements makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSetRadarModeDialog::setupGui | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Called whenever a dialog is created to setup the dialog box based on entity data.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSetRadarModeDialog::setupFrom | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Called whenever a dialog is created in the context of things like the radio task set.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSetRadarModeDialog::initializeItems | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
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.
| virtual void makVrf::DtSetRadarModeDialog::resetDialog | ( | bool | resetModesOnly = false | ) | [protected, virtual] |
Used internally to reset the dialgo box. The flag can be used to only reset the mode combo box.
| virtual void makVrf::DtSetRadarModeDialog::updateComboBoxes | ( | ) | [protected, virtual] |
Updates the combo boxes based on cache data. This assumes cache data is up to date.
| virtual bool makVrf::DtSetRadarModeDialog::editStatement | ( | const std::vector< makVrv::DtSimEntry * > & | states, |
| const DtSimStatement * | s | ||
| ) | [protected, virtual] |
Called in plan dialogs when edit is selected.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSetRadarModeDialog::setupStatement | ( | const std::vector< makVrv::DtSimEntry * > & | data, |
| const DtSimStatement * | stmt | ||
| ) | [protected, virtual] |
Called in plan dialogs when the set is stored in the plan.
| virtual void makVrf::DtSetRadarModeDialog::sendRequest | ( | ) | [protected, virtual] |
Sends the request to set the radar mode.
Implements makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSetRadarModeDialog::slot_receivedRadarModes | ( | std::string | entityName, |
| int | emitterId | ||
| ) | [protected, virtual] |
When new radar modes are updated to cache, we find out about it and should update the dialog.
std::vector<std::string> makVrf::DtSetRadarModeDialog::myCurrSelected [protected] |
std::map<std::string, std::vector<makVrv::DtSimEntry*> > makVrf::DtSetRadarModeDialog::myAwaitingEmitters [protected] |
QWidget* makVrf::DtSetRadarModeDialog::myCanvas [protected] |
QComboBox* makVrf::DtSetRadarModeDialog::myIdCombo [protected] |
QComboBox* makVrf::DtSetRadarModeDialog::myModeCombo [protected] |