![]() |
VR-Forces 5.0.3 Developer's Guide
|
An advanced weather condition settings widget.

Public Member Functions | |
| DtEnvironmentConditionsWidget (DtDe &de, QWidget *parent=NULL, Qt::WindowFlags flags=0) | |
| virtual | ~DtEnvironmentConditionsWidget () |
| virtual void | setGroundSnowAccumulation (double depth) |
| virtual void | setGroundSnowAccumulationDecimals (int decimals) |
| virtual void | setGroundSnowAccumulationRange (double step, double max, double min=0.0) |
| virtual void | setGroundSnowAccumulationUnits (const DtUnicode &units) |
| virtual void | setRoadSnowAccumulation (double depth) |
| virtual void | setRoadSnowAccumulationDecimals (int decimals) |
| virtual void | setRoadSnowAccumulationRange (double step, double max, double min=0.0) |
| virtual void | setRoadSnowAccumulationUnits (const DtUnicode &units) |
| virtual void | setSnowMinimumElevation (double elevation) |
| virtual void | setSnowMinimumElevationDecimals (int decimals) |
| virtual void | setSnowMinimumElevationRange (double step, double max, double min=0.0) |
| virtual void | setSnowMinimumElevationUnits (const DtUnicode &units) |
| virtual void | setSnowElevationTransition (double elevation) |
| virtual void | setSnowElevationTransitionDecimals (int decimals) |
| virtual void | setSnowElevationTransitionRange (double step, double max, double min=0.0) |
| virtual void | setSnowElevationTransitionUnits (const DtUnicode &units) |
| virtual void | setGroundRainAccumulation (double depth) |
| virtual void | setGroundRainAccumulationDecimals (int decimals) |
| virtual void | setGroundRainAccumulationRange (double step, double max, double min=0.0) |
| virtual void | setGroundRainAccumulationUnits (const DtUnicode &units) |
| virtual void | initWidgets () |
Environment condition field value setters. | |
Sets the values of the widget's corresponding environment fields. | |
| virtual void | setEnvironmentConditionsNames (const std::list< DtUnicode > &names) |
| virtual DtUnicodeList | environmentConditionNames () const |
| virtual void | setDefaultConditionName (const DtUnicode &name) |
Weather field value setters. | |
Sets the values of the widget's corresponding weather fields. | |
| virtual void | setWindSpeed (float baseMSLAltitude, float speed) |
| virtual void | setElevationalWindSpeedRange (double max) |
| virtual void | setElevationalWindSpeedDecimals (int decimals) |
| virtual void | setElevationalWindSpeedUnits (const DtUnicode &units) |
| virtual void | setElevationalConfigurationBaseMSLAltitudeUnits (const DtUnicode &units) |
| virtual void | setElevationalVisibilityDistanceDecimals (int decimals) |
| virtual void | setElevationalVisibilityDistanceUnits (const DtUnicode &units) |
| virtual void | setElevationalVisibilityDistanceRange (float minimum, float maximum) |
| virtual void | setWindDirection (float baseMSLAltitude, float degrees) |
| virtual void | addElevationalConfiguration (float baseMSLAltitude, float windSpeed, int windDirection, float visibilityDistance, DtEnvironmentInterface::VisibilityObscurant obscurant, DtEnvironmentInterface::CloudType cloudType, float cloudDensity, int skyCoverage, bool isRemovable=true) |
| virtual void | removeElevationalConfiguration (float altitude) |
| virtual void | moveElevationalConfiguration (float oldAltitude, float newAltitude) |
| virtual void | removeAllElevationalConfigurations () |
| virtual int | getElevationalConfigurationTableIndexByBaseMSLAltitude (float altitude) const |
| virtual void | setElevationalConfigurationEditableStateByColumn (float altitude, int column, bool editable, bool force=false) |
| virtual float | currentHighestElevationalConfigurationBaseMSLAltitude () |
| virtual int | elevationalConfigurationCount () const |
| virtual void | setPrecipitationType (unsigned int type) |
| virtual void | setPrecipitationIntensity (double intensity) |
| virtual void | setPrecipitationIntensityUnits (DtDisplayUnitsConverter::VelocityUnits unit) |
| virtual void | setVisibleDistance (float baseMSLAltitude, double distance) |
| virtual void | setVisibleObscurant (float baseMSLAltitude, DtEnvironmentInterface::VisibilityObscurant obscurant) |
| virtual void | setCloudType (float baseMSLAltitude, DtEnvironmentInterface::CloudType cloudType) |
| virtual void | setCloudDensity (float baseMSLAltitude, float cloudDensity) |
| virtual void | setSkyCoverage (float baseMSLAltitude, int skyCoverage) |
| virtual void | setVisibilityObscurantNames (const DtUnicodeList &names) |
| virtual DtUnicodeList | visibilityObscurantNames () const |
| virtual void | setCloudTypeNames (const DtUnicodeList &names) |
| virtual DtUnicodeList | cloudTypeNames () const |
| virtual void | setSkyCoverageNames (const DtUnicodeList &names) |
| virtual DtUnicodeList | skyCoverageNames () const |
| virtual void | setLightningPresent (bool lightningPresent) |
Advanced weather field value setters. | |
Sets the values of the widget's corresponding weather fields. | |
| virtual void | setFogHeight (double height) |
| virtual void | setFogHeightDecimals (int decimals) |
| virtual void | setFogHeightUnits (const DtUnicode &units) |
| virtual void | setFogHeightRange (double step, double max, double min=0.0) |
| virtual void | setFogColor (double red, double green, double blue) |
Marine field value setters. | |
Sets the values of the widget's corresponding weather fields. | |
| virtual void | setSwellStateNames (const DtUnicodeList &names) |
| virtual DtUnicodeList | swellStateNames () const |
| virtual void | setSwellState (unsigned int index) |
| virtual void | setSwellState (const DtUnicode &name) |
| virtual void | setSwellStateDirection (double degrees) |
| virtual void | enableWindDrivenSeaState (bool enable) |
| virtual void | setSeaStateNames (const DtUnicodeList &names) |
| virtual DtUnicodeList | seaStateNames () const |
| virtual void | setSeaState (unsigned int index) |
| virtual void | setSeaState (const DtUnicode &name) |
| virtual void | setSeaStateDirection (double degrees) |
Advanced marine field value setters. | |
Sets the values of the widget's corresponding advanced marine fields. | |
| virtual void | setSurfaceTransparency (double alpha) |
| virtual void | setUnderwaterVisibilityEnabled (bool enabled) |
| virtual void | setUnderwaterVisibility (double distance) |
| virtual void | setUnderwaterVisibilityDecimals (int decimals) |
| virtual void | setUnderwaterVisibilityUnits (const DtUnicode &units) |
| virtual void | setUnderwaterVisibilityRange (double step, double max, double min=0.0) |
| virtual void | setWaterChoppiness (double chop) |
| virtual void | setWindFetch (double distance) |
| virtual void | setWindFetchDecimals (int decimals) |
| virtual void | setWindFetchUnits (const DtUnicode &units) |
| virtual void | setWindFetchRange (double step, double max, double min=0.0) |
| virtual void | setSurgeDepth (double depth) |
| virtual void | setSurgeDepthDecimals (int decimals) |
| virtual void | setSurgeDepthUnits (const DtUnicode &units) |
| virtual void | setSurgeDepthRange (double step, double max, double min=0.0) |
| virtual void | setDepthOffset (double offset) |
| virtual void | setTidalCurrentSpeedDecimals (int decimals) |
| virtual void | setTidalCurrentSpeedUnits (const DtUnicode &units) |
| virtual void | setTidalCurrentSpeedRange (double step, double max, double min=0.0) |
| virtual void | setTidalCurrentSpeed (double speed) |
| virtual void | setTidalCurrentDirectionDecimals (int decimals) |
| virtual void | setTidalCurrentDirectionUnits (const DtUnicode &units) |
| virtual void | setTidalCurrentDirectionRange (double step, double max, double min=0.0) |
| virtual void | setTidalCurrentDirection (double direction) |
Field value setters for a listening to remote weather. | |
| virtual void | setListenToRemoteWeather (bool enable) |
Public Member Functions inherited from makVrv::DtEnvironmentConditionsInterface | |
| DtEnvironmentConditionsInterface (DtDe &de) | |
| virtual | ~DtEnvironmentConditionsInterface () |
| virtual void | setEnvironmentConditionsNames (const DtUnicodeList &names)=0 |
Protected Types | |
| typedef QList< QWidget * > | WidgetList |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtEnvironmentConditionsInterface | |
| boost::signalslib::signal < void(const DtUnicode &)> | signal_selectEnvironmentConditions |
| boost::signalslib::signal < void(const DtUnicode &)> | signal_addEnvironmentConditions |
| boost::signalslib::signal < void(const DtUnicode &)> | signal_removeEnvironmentConditions |
| boost::signalslib::signal < void(const DtUnicode &)> | signal_saveEnvironmentConditions |
| boost::signalslib::signal < void(const DtUnicode &)> | signal_setDefaultEnvironmentConditions |
| boost::signalslib::signal< void()> | signal_addElevationalConfiguration |
| boost::signalslib::signal < void(float)> | signal_removeElevationalConfiguration |
| boost::signalslib::signal < void(float, float)> | signal_elevationalConfigurationAltitudeChanged |
| boost::signalslib::signal < void(float, float, int, float, DtEnvironmentInterface::VisibilityObscurant, DtEnvironmentInterface::CloudType, float, int)> | signal_elevationalConfigurationUpdated |
| boost::signalslib::signal < void(int)> | signal_changePrecipitationType |
| boost::signalslib::signal < void(double)> | signal_changePrecipitationIntensity |
| boost::signalslib::signal < void(makArchives::DtCloudCoverType)> | signal_cloudCoverChanged |
| boost::signalslib::signal < void(bool)> | signal_lightningPresentChanged |
| boost::signalslib::signal < void(double)> | signal_changeGroundSnowAccumulation |
| boost::signalslib::signal < void(double)> | signal_changeRoadSnowAccumulation |
| boost::signalslib::signal < void(double)> | signal_changeSnowMinimumElevation |
| boost::signalslib::signal < void(double)> | signal_changeSnowElevationTransition |
| boost::signalslib::signal < void(double)> | signal_changeWindSpeed |
| boost::signalslib::signal < void(double)> | signal_changeWindDirection |
| boost::signalslib::signal < void(double)> | signal_changeGroundRainAccumulation |
| boost::signalslib::signal < void(double)> | signal_changeFogHeight |
| boost::signalslib::signal < void(double, double, double)> | signal_changeFogColor |
| boost::signalslib::signal < void(unsigned int)> | signal_changeSwellState |
| boost::signalslib::signal < void(double)> | signal_changeSwellStateDirection |
| boost::signalslib::signal < void(bool)> | signal_enableWindDrivenSeaState |
| boost::signalslib::signal < void(unsigned int)> | signal_changeSeaState |
| boost::signalslib::signal < void(double)> | signal_changeSeaStateDirection |
| boost::signalslib::signal < void(double)> | signal_changeSeaSurfaceTransparency |
| boost::signalslib::signal < void(bool)> | signal_changeUnderWaterVisibilityEnabled |
| boost::signalslib::signal < void(double)> | signal_changeUnderWaterVisibility |
| boost::signalslib::signal < void(double)> | signal_changeSeaChoppiness |
| boost::signalslib::signal < void(double)> | signal_changeWindFetch |
| boost::signalslib::signal < void(double)> | signal_changeSurgeDepth |
| boost::signalslib::signal < void(double)> | signal_changeDepthOffset |
| boost::signalslib::signal < void(double)> | signal_changeTidalCurrentSpeed |
| boost::signalslib::signal < void(double)> | signal_changeTidalCurrentDirection |
| boost::signalslib::signal < void(bool)> | signal_changeRemoteSettings |
| boost::signalslib::signal< void()> | signal_requestRemoteSettings |
|
protected |
enumuration for each widget group DtEnvironmentConditionsWidget supports.
| makVrv::DtEnvironmentConditionsWidget::DtEnvironmentConditionsWidget | ( | DtDe & | de, |
| QWidget * | parent = NULL, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
Initialization CTOR.
| [in] | de | is the display engine. |
| [in] | parent | is a parent for this widget. |
| [in] | flags | is a set of enumerated window flags. |
|
virtual |
Virtual DTOR.
|
virtual |
Set the list of environment condition names.
| [in] | names | is the list of environment condition names. |
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Get the list of environment conditions names.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the name of the default environment condition.
| [in] | name | is the name of the default condition. |
Implements makVrv::DtEnvironmentConditionsInterface.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Set the wind speed.
| [in] | baseMSLAltitude | The MSL altitude, in feet, associated the wind configuration being updated |
| [in] | speed | is the wind speed to set, in knots. |
Implements makVrv::DtEnvironmentConditionsInterface.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Set the wind speed range. The minumum is always 0.0.
| [in] | max | is the maximum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the number of decimals places to use for an elevational configuration's wind speed.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the unit notation to use for an elevational configuration's wind speed.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the unit notation to use for an elevational configuration's base MSL altitude.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the number of decimals places to use for elevational configuration's visibility distance.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the unit notation to use for an elevational configuration's visibility distance.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the range allowed all elevational configuration's visibility distance.
| [in] | minimum | The minimum value that the visibility distance can be. |
| [in] | maximum | The maximum value that the visibility distance can be. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the wind direction.
| [in] | baseMSLAltitude | The MSL altitude, in feet, associated the wind configuration being updated |
| [in] | degrees | is the wind direction, in degrees from True North (clockwise). |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Add an elevational configuration to the UI.
| [in] | baseMSLAltitude | The MSL altitude, in feet, associated the wind configuration being updated. |
| [in] | windSpeed | is the wind speed, in knots. |
| [in] | windDirection | is the wind direction, in degrees from True North (clockwise). |
| [in] | visibilityDistance | is the visibility distance, in whatever unit of measurement is specified for the Weather/Visibility display unit. |
| [in] | obscurant | is an enumerated value representing a type of particulate matter that can obscure visibility |
| [in] | isRemovable | decides whether or not to include an 'X' in the 6th column of the elevational configuration, which allows the user to remove that elevational configuration from the UI. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Remove an elevational configuration from the UI by its base MSL altitude, in feet.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Move an elevational configuration in the UI This function does not check if there is already an elevational configuration set for the new base MSL altitude.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Remove all the elevational configurations from the UI.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Returns the table index of an elevational configuration for the given base MSL altitude, in feet. Returns -1 if an elevational configuration with the provided base MSL altitude doesn't exist within a delta of 0.0001.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set whether or not a particular column of the elevational configuration for the given base MSL altitude, in feet, is editable or not.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the current highest elevational configuration base MSL altitude, in feet.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the total number of elevational configurations in the UI.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the precipitation type.
| [in] | type | is the type of precipitation type. |
Implements makVrv::DtEnvironmentConditionsInterface.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Set the precipitation intensity.
| [in] | intensity | is the precipitation intensity from zero to one. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the precipitation intensity velocity units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the visible distance.
| [in] | baseMSLAltitude | The MSL altitude associated with the elevational configuration being updated |
| [in] | distance | is the visible distance. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the visible obscurant.
| [in] | baseMSLAltitude | The MSL altitude, in meters, associated with the elevational configuration being updated |
| [in] | obscurant | is the particulate matter type causing the visibility. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the cloud type.
| [in] | baseMSLAltitude | The MSL altitude, in meters, associated with the elevational configuration being updated |
| [in] | cloudType | is the type of cloud present at the provided altitude. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the cloud density.
| [in] | baseMSLAltitude | The MSL altitude, in meters, associated with the elevational configuration being updated |
| [in] | cloudDensity | is the density of the cloud present at the provided altitude. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the sky coverage.
| [in] | baseMSLAltitude | The MSL altitude, in meters, associated with the elevational configuration being updated |
| [in] | skyCoverage | is the sky coverage. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the list of visibility obscurant names.
| [in] | names | is the list of visibility obscurant names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the list of visibility obscurant names.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the list of cloud type names.
| [in] | names | is the list of cloud type names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the list of cloud type names.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the list of sky coverage names.
| [in] | names | is the list of sky coverage names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the list of sky coverage names.
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set whether or not lightning is present.
Implements makVrv::DtEnvironmentConditionsInterface.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Set the ground snow accumulation depth.
| [in] | depth | of accumulation, Currently only changes visuals for first .1 meters |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the ground snow accumulation decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the ground snow accumulation slider ranges.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow accumulation depth units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the road snow accumulation depth.
| [in] | depth | of accumulation of snow on the road. Translated to a coverage percentage in the shader effect manager. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the road snow accumulation decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the road snow accumulation slider ranges.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the road snow accumulation depth units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow elevation transition range.
| [in] | difference | in elevation between when the snow starts showing up and complete coverage |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow elevation transition range decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow elevation transition range slider ranges.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow elevation transition range units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow minimum elevation.
| [in] | elevation | where snow starts to show up |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow minimum elevation decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow minimum elevation slider ranges.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the snow minimum elevation units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the ground rain accumulation percentage.
| [in] | depth | of accumulation in meters. Translated to a coverage percentage in the shader effect manager. currently only changes visuals for 0.01 meters |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the ground rain accumulation decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the ground rain accumulation slider ranges.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the rain accumulation depth units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the height (or ceiling) of the fog layer.
| [in] | height | is the height of the fog layer. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the fog height decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the fog height units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the maximum and minimum range for fog height.
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the color of the fog layer.
| [in] | red | is a normalized color component from 0.0 to 1.0. |
| [in] | green | is a normalized color component from 0.0 to 1.0. |
| [in] | blue | is a normalized color component from 0.0 to 1.0. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the list of sea-swell state names.
| [in] | names | is the list of sea-swell names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the list of sea-swell state names.
Implements makVrv::DtEnvironmentConditionsInterface.
Set the current sea-swell state by index.
| [in] | index | is the sea-swell in sea-swell state names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the current sea-swell state by name.
| [in] | name | is the name of the sea-swell state. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the current sea-swell direction.
| [in] | degrees | is the sea-swell direction |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the enabled state of wind-driven sea-state.
| [in] | enable | is the enable flag for wind-driven sea-state. |
Implements makVrv::DtEnvironmentConditionsInterface.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Set the list of sea-state names.
| [in] | names | is the list of sea-state names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Get the list of sea-state names.
Implements makVrv::DtEnvironmentConditionsInterface.
Set the current sea-state by index.
| [in] | index | is the index of the sea-state in sea-state names. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the current sea-state by name.
| [in] | name | is the name of the sea-state. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the current sea-state direction.
| [in] | degrees | is the sea-state direction |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surface transparency of the water.
| [in] | alpha | is the transparency value (0.0 to 1.0). |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set whether a different visibility is used when below sea level.
| [in] | enabled | (or not) |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the underwater visibility distance.
| [in] | distance | is the visible distance underwater. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the underwater visible distance decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the underwater visible distance units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the maximum and minimum range for underwater visibility.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surface choppiness of the water.
| [in] | chop | is the intensity of choppiness (0.0 to 1.0). |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the sea wave fetch.
| [in] | distance | is the distance of fetch. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the sea wave fetch decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the sea wave fetch units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the maximum and minimum range for sea fetch.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surge depth.
| [in] | depth | is the surge depth in meters. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surge depth decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surge depth units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the maximum and minimum range for surge depth.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the depth offset.
| [in] | offset | is the distance for depth offset (0.0 - 1.0). |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the tidal stream current speed decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the tidal stream current speed units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the maximum and minimum range for tidal stream current speed.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surface transparency of the water.
| [in] | alpha | is the transparency value (0.0 to 1.0). |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the tidal stream current direction decimal places.
| [in] | decimals | is the number of decimals to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the tidal stream current direction units.
| [in] | units | is the unit type to display. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the maximum and minimum range for tidal stream current direction.
| [in] | step | is the default step through the range. |
| [in] | max | is the maximum range boundary. |
| [in] | min | is the minimum range boundary. |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Set the surface transparency of the water.
| [in] | alpha | is the transparency value (0.0 to 1.0). |
Implements makVrv::DtEnvironmentConditionsInterface.
|
virtual |
Sets whether or not to list to simulated weather messages.
| [in] | enable | is the flag to enable/disable listening. |
Implements makVrv::DtEnvironmentConditionsInterface.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
virtual |
Set up the weather/marine widgets fields. Can be overrided to set up the widgets in a specific order. See more info at the init widget functions below.
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtVrfEnvironmentConditionsWeatherWidget.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtual |
Utility to enable/disable a set of widgets.
| [in] | widgets | is a list of widgets to enable or disable. |
| [in] | enable | is the new enabled state of the widgets. |
|
protectedvirtual |
Utility to enable/disable a widget while blocking its signals.
| [in] | widget | is the widget to enable or disable. |
| [in] | enable | is the new enabled state of the widget. |
|
protectedvirtual |
Utility to show/hide a set of widgets.
| [in] | widgets | is a list of widgets to show or hide. |
| [in] | show | is the new visible state of the widgets. |
|
protectedvirtual |
Utility to show/hide a widget while blocking its signals.
| [in] | widget | is the widget to show or hide. |
| [in] | show | is the new visible state of the widget. |
|
protectedvirtual |
Utility to get the intensity index of the combo box.
|
protectedvirtual |
Utility to resize the atmospheric conditions table width to fit the contents of the provided row index.
|
protectedvirtual |
Use the following init functions in the initWidgets() function, to init the widgets: widgets creations and signals connections. Each widget (except Remote VRF) is either a part of the weather group or marine group, in or out of the advanced section. These functions should be non-virtual. Calling one of these functions will add the widget in the end of its designated group, so to maintatin a tab order, the order should be: Weather -> Adanced weather -> Marine -> Advanced Marine -> Remote VRF The widget group will be added to myWidgetsGroupsInitializedSet.
Weather widgets
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Advanced weather widgets.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Marine widgets.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Advanced marine widgets.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Remote VRF environment widgets.
|
protectedvirtual |
return true if the widget group was initialized see enum WidgetGroupId for supported id
|
protectedvirtual |
Sets up the base ui of the widgets: condition widgets and layouts. Weather and Marine widgets are created in initWidgets().
|
protectedvirtual |
Connects base widget signals to slots. Weather and Marine widgets' singnals are connected in each specific init widget function.
|
protectedvirtual |
Utility to set a list of translatable unicode strings into a combo-box.
| [in] | cbox | is the widget to populate; |
| [in] | lst | is a list of unicode strings; |
| [in] | srt | is a flag to sort the string in the combo-box. |
|
protectedvirtual |
Utility to set a list of unicode strings into a combo-box.
| [in] | cbox | is the widget to populate; |
| [in] | lst | is a list of unicode strings; |
| [in] | srt | is a flag to sort the string in the combo-box. |
|
protectedvirtual |
Utility to get a list of unicode strings from a combo-box.
| [in] | cbox | is the widget to read from; |
|
protectedvirtual |
Utility to set a list of Qt strings into a combo-box.
| [in] | cbox | is the widget to populate; |
| [in] | lst | is a list of Qt strings; |
| [in] | srt | is a flag to sort the string in the combo-box. |
|
protectedvirtual |
Utility to get a list of Qt strings from a combo-box.
| [in] | cbox | is the widget to read from; |
|
protectedvirtual |
Utility to get the table widget item for the elevational wind configuration at the specified altitude.
|
protectedvirtual |
Utility method for setting the underlying property for an elevational configuration indicating it is the highest elevational configuration present in the current environment configuration.
|
protectedvirtual |
Utility method for updating the style sheet of the atmospheric conditions table so that it appears consistently between Linux and Windows.
|
protectedvirtual |
Utility method for creating specialized table widget item classes to be used in the atmospheric conditions table. Special logic is embedded in the table widget item class to achieve desired behavior, e.g. always displaying degree values with three digits (10 degrees is displayed as 010 degrees).
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
These values are assumed to be in m/s.
|
protected |
These values are assumed to be in m/s.
|
protected |
These values are assumed to be in m/s.
|
protected |
These values are assumed to be in m/s.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |