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

Public Member Functions | |
| DtTaskLaunchSmokeDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskLaunchSmokeDialog () |
| virtual bool | atNearestTarget () const |
| Returns whether "At Nearest Target" mode is set. | |
| virtual void | setAtNearestTarget (bool) |
| Sets "At Nearest Target" mode. | |
| virtual double | heading () const |
| Returns heading in current display units. | |
| virtual void | setHeading (double) |
| Sets compass heading; expects value in the current display units. | |
| virtual void | setHeadingLabel (QString label) |
| Sets the heading label string (part of the "TowardHeading" radio button) | |
| virtual void | setHeadingDecimalPlaces (int decimalPlaces) |
| Called by DtTaskLaunchSmokeLogic::refreshLabels to set the number of decimal places based on the DtSharedDisplayUnitsSettings. | |
Public Attributes | |
| QWidget * | myCanvas |
| QVBoxLayout * | myMainLayout |
| QGridLayout * | myGridLayout |
| QRadioButton * | myAtNearestTargetButton |
| QRadioButton * | myTowardHeadingButton |
| QLineEdit * | myHeading |
| QDoubleValidator * | myValidator |
Protected Slots | |
| virtual void | onTargetTypeChanged () |
Protected Member Functions | |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| Creates set dialog contents. Called from setupGui. | |
| virtual void | setupStatement (const DtSimStatement *stmt) |
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &data) |
| If there is a single entry, find its location and convert to local to set. | |
| virtual void | slot_onUnitChanged (int attribute, int newVal, int oldVal) |
| Connected to signal_displayUnitChanged on DtDisplayUnitsSettingsSignaler. | |
| virtual void | slot_displayUnitDecimalsChanged (makVrv::DtUnitConverterCollection::DisplayUnitType, int, int) |
| Connected to signal_displayUnitDecimalsChanged on DtDisplayUnitsSettingsSignaler. | |
| virtual void | refreshLabels () |
| Configures the DtSetAltitudeDialog with the current display unit settings from DtSharedDisplayUnitsSettings. | |
| virtual void | sendRequest () |
| Override to send the set or task request. | |
| makVrf::DtTaskLaunchSmokeDialog::DtTaskLaunchSmokeDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
| virtual makVrf::DtTaskLaunchSmokeDialog::~DtTaskLaunchSmokeDialog | ( | ) | [virtual] |
| virtual bool makVrf::DtTaskLaunchSmokeDialog::atNearestTarget | ( | ) | const [virtual] |
Returns whether "At Nearest Target" mode is set.
| virtual void makVrf::DtTaskLaunchSmokeDialog::setAtNearestTarget | ( | bool | ) | [virtual] |
Sets "At Nearest Target" mode.
| virtual double makVrf::DtTaskLaunchSmokeDialog::heading | ( | ) | const [virtual] |
Returns heading in current display units.
| virtual void makVrf::DtTaskLaunchSmokeDialog::setHeading | ( | double | ) | [virtual] |
Sets compass heading; expects value in the current display units.
| virtual void makVrf::DtTaskLaunchSmokeDialog::setHeadingLabel | ( | QString | label | ) | [virtual] |
Sets the heading label string (part of the "TowardHeading" radio button)
| virtual void makVrf::DtTaskLaunchSmokeDialog::setHeadingDecimalPlaces | ( | int | decimalPlaces | ) | [virtual] |
Called by DtTaskLaunchSmokeLogic::refreshLabels to set the number of decimal places based on the DtSharedDisplayUnitsSettings.
| virtual QWidget* makVrf::DtTaskLaunchSmokeDialog::contents | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Creates set dialog contents. Called from setupGui.
Implements makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtTaskLaunchSmokeDialog::setupStatement | ( | const DtSimStatement * | stmt | ) | [protected, virtual] |
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtTaskLaunchSmokeDialog::setupGui | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
If there is a single entry, find its location and convert to local to set.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtTaskLaunchSmokeDialog::slot_onUnitChanged | ( | int | attribute, |
| int | newVal, | ||
| int | oldVal | ||
| ) | [protected, virtual] |
Connected to signal_displayUnitChanged on DtDisplayUnitsSettingsSignaler.
Calls refreshLabels if the attribute is Orientation
| virtual void makVrf::DtTaskLaunchSmokeDialog::slot_displayUnitDecimalsChanged | ( | makVrv::DtUnitConverterCollection::DisplayUnitType | , |
| int | , | ||
| int | |||
| ) | [protected, virtual] |
Connected to signal_displayUnitDecimalsChanged on DtDisplayUnitsSettingsSignaler.
| virtual void makVrf::DtTaskLaunchSmokeDialog::refreshLabels | ( | ) | [protected, virtual] |
Configures the DtSetAltitudeDialog with the current display unit settings from DtSharedDisplayUnitsSettings.
| virtual void makVrf::DtTaskLaunchSmokeDialog::sendRequest | ( | ) | [protected, virtual] |
Override to send the set or task request.
Implements makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtTaskLaunchSmokeDialog::onTargetTypeChanged | ( | ) | [protected, virtual, slot] |
| QVBoxLayout* makVrf::DtTaskLaunchSmokeDialog::myMainLayout |
| QGridLayout* makVrf::DtTaskLaunchSmokeDialog::myGridLayout |
| QRadioButton* makVrf::DtTaskLaunchSmokeDialog::myAtNearestTargetButton |
| QRadioButton* makVrf::DtTaskLaunchSmokeDialog::myTowardHeadingButton |
| QDoubleValidator* makVrf::DtTaskLaunchSmokeDialog::myValidator |