![]() |
VR-Forces 4.10 Class Documentation
|
An advanced weather condition settings widget. More...

Public Member Functions | |
| DtEnvironmentConditionsWidget (DtDe &de, QWidget *parent=NULL, Qt::WindowFlags flags=0) | |
| Initialization CTOR. More... | |
| virtual | ~DtEnvironmentConditionsWidget () |
| Virtual DTOR. More... | |
| virtual void | setGroundSnowAccumulation (double depth) |
| Set the ground snow accumulation depth. More... | |
| virtual void | setGroundSnowAccumulationDecimals (int decimals) |
| Set the ground snow accumulation decimal places. More... | |
| virtual void | setGroundSnowAccumulationRange (double step, double max, double min=0.0) |
| Set the ground snow accumulation slider ranges. More... | |
| virtual void | setGroundSnowAccumulationUnits (const DtUnicode &units) |
| Set the snow accumulation depth units. More... | |
| virtual void | setRoadSnowAccumulation (double depth) |
| Set the road snow accumulation depth. More... | |
| virtual void | setRoadSnowAccumulationDecimals (int decimals) |
| Set the road snow accumulation decimal places. More... | |
| virtual void | setRoadSnowAccumulationRange (double step, double max, double min=0.0) |
| Set the road snow accumulation slider ranges. More... | |
| virtual void | setRoadSnowAccumulationUnits (const DtUnicode &units) |
| Set the road snow accumulation depth units. More... | |
| virtual void | setSnowMinimumElevation (double elevation) |
| Set the snow elevation transition range. More... | |
| virtual void | setSnowMinimumElevationDecimals (int decimals) |
| Set the snow elevation transition range decimal places. More... | |
| virtual void | setSnowMinimumElevationRange (double step, double max, double min=0.0) |
| Set the snow elevation transition range slider ranges. More... | |
| virtual void | setSnowMinimumElevationUnits (const DtUnicode &units) |
| Set the snow elevation transition range units. More... | |
| virtual void | setSnowElevationTransition (double elevation) |
| Set the snow minimum elevation. More... | |
| virtual void | setSnowElevationTransitionDecimals (int decimals) |
| Set the snow minimum elevation decimal places. More... | |
| virtual void | setSnowElevationTransitionRange (double step, double max, double min=0.0) |
| Set the snow minimum elevation slider ranges. More... | |
| virtual void | setSnowElevationTransitionUnits (const DtUnicode &units) |
| Set the snow minimum elevation units. More... | |
| virtual void | setGroundRainAccumulation (double depth) |
| Set the ground rain accumulation percentage. More... | |
| virtual void | setGroundRainAccumulationDecimals (int decimals) |
| Set the ground rain accumulation decimal places. More... | |
| virtual void | setGroundRainAccumulationRange (double step, double max, double min=0.0) |
| Set the ground rain accumulation slider ranges. More... | |
| virtual void | setGroundRainAccumulationUnits (const DtUnicode &units) |
| Set the rain accumulation depth units. More... | |
| virtual void | initWidgets () |
| Set up the weather/marine widgets fields. More... | |
Environment condition field value setters. | |
Sets the values of the widget's corresponding environment fields. | |
| virtual void | setEnvironmentConditionsNames (const std::list< DtUnicode > &names) |
| Set the list of environment condition names. More... | |
| virtual DtUnicodeList | environmentConditionNames () const |
| Get the list of environment conditions names. More... | |
| virtual void | setDefaultConditionName (const DtUnicode &name) |
| Set the name of the default environment condition. More... | |
Weather field value setters. | |
Sets the values of the widget's corresponding weather fields. | |
| virtual void | setWindSpeed (float baseMSLAltitude, float speed) |
| Set the wind speed. More... | |
| virtual void | setElevationalWindSpeedRange (double max) |
| Set the wind speed range. More... | |
| virtual void | setElevationalWindSpeedDecimals (int decimals) |
| Set the number of decimals places to use for an elevational configuration's wind speed. More... | |
| virtual void | setElevationalWindSpeedUnits (const DtUnicode &units) |
| Set the unit notation to use for an elevational configuration's wind speed. More... | |
| virtual void | setElevationalConfigurationBaseMSLAltitudeUnits (const DtUnicode &units) |
| Set the unit notation to use for an elevational configuration's base MSL altitude. More... | |
| virtual void | setElevationalVisibilityDistanceDecimals (int decimals) |
| Set the number of decimals places to use for elevational configuration's visibility distance. More... | |
| virtual void | setElevationalVisibilityDistanceUnits (const DtUnicode &units) |
| Set the unit notation to use for an elevational configuration's visibility distance. More... | |
| virtual void | setWindDirection (float baseMSLAltitude, float degrees) |
| Set the wind direction. More... | |
| virtual void | addElevationalConfiguration (float baseMSLAltitude, float windSpeed, int windDirection, float visibilityDistance, DtEnvironmentInterface::VisibilityObscurant obscurant, DtEnvironmentInterface::CloudType cloudType, float cloudDensity, int skyCoverage, bool isRemovable=true) |
| Add an elevational configuration to the UI. More... | |
| virtual void | removeElevationalConfiguration (float altitude) |
| Remove an elevational configuration from the UI by its base MSL altitude, in feet. More... | |
| virtual void | moveElevationalConfiguration (float oldAltitude, float newAltitude) |
| 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. More... | |
| virtual void | removeAllElevationalConfigurations () |
| Remove all the elevational configurations from the UI. More... | |
| virtual int | getElevationalConfigurationTableIndexByBaseMSLAltitude (float altitude) const |
| Returns the table index of an elevational configuration for the given base MSL altitude, in feet. More... | |
| virtual void | setElevationalConfigurationEditableStateByColumn (float altitude, int column, bool editable, bool force=false) |
| Set whether or not a particular column of the elevational configuration for the given base MSL altitude, in feet, is editable or not. More... | |
| virtual float | currentHighestElevationalConfigurationBaseMSLAltitude () |
| Get the current highest elevational configuration base MSL altitude, in feet. More... | |
| virtual int | elevationalConfigurationCount () const |
| Get the total number of elevational configurations in the UI. More... | |
| virtual void | setPrecipitationType (unsigned int type) |
| Set the precipitation type. More... | |
| virtual void | setPrecipitationIntensity (double intensity) |
| Set the precipitation intensity. More... | |
| virtual void | setPrecipitationIntensityUnits (DtDisplayUnitsConverter::VelocityUnits unit) |
| Set the precipitation intensity velocity units. More... | |
| virtual void | setVisibleDistance (float baseMSLAltitude, double distance) |
| Set the visible distance. More... | |
| virtual void | setVisibleObscurant (float baseMSLAltitude, DtEnvironmentInterface::VisibilityObscurant obscurant) |
| Set the visible obscurant. More... | |
| virtual void | setCloudType (float baseMSLAltitude, DtEnvironmentInterface::CloudType cloudType) |
| Set the cloud type. More... | |
| virtual void | setCloudDensity (float baseMSLAltitude, float cloudDensity) |
| Set the cloud density. More... | |
| virtual void | setSkyCoverage (float baseMSLAltitude, int skyCoverage) |
| Set the sky coverage. More... | |
| virtual void | setVisibilityObscurantNames (const DtUnicodeList &names) |
| Set the list of visibility obscurant names. More... | |
| virtual DtUnicodeList | visibilityObscurantNames () const |
| Get the list of visibility obscurant names. More... | |
| virtual void | setCloudTypeNames (const DtUnicodeList &names) |
| Set the list of cloud type names. More... | |
| virtual DtUnicodeList | cloudTypeNames () const |
| Get the list of cloud type names. More... | |
| virtual void | setSkyCoverageNames (const DtUnicodeList &names) |
| Set the list of sky coverage names. More... | |
| virtual DtUnicodeList | skyCoverageNames () const |
| Get the list of sky coverage names. More... | |
| virtual void | setLightningPresent (bool lightningPresent) |
| Set whether or not lightning is present. More... | |
Advanced weather field value setters. | |
Sets the values of the widget's corresponding weather fields. | |
| virtual void | setFogHeight (double height) |
| Set the height (or ceiling) of the fog layer. More... | |
| virtual void | setFogHeightDecimals (int decimals) |
| Set the fog height decimal places. More... | |
| virtual void | setFogHeightUnits (const DtUnicode &units) |
| Set the fog height units. More... | |
| virtual void | setFogHeightRange (double step, double max, double min=0.0) |
| Set the maximum and minimum range for fog height. More... | |
| virtual void | setFogColor (double red, double green, double blue) |
| Set the color of the fog layer. More... | |
Marine field value setters. | |
Sets the values of the widget's corresponding weather fields. | |
| virtual void | setSwellStateNames (const DtUnicodeList &names) |
| Set the list of sea-swell state names. More... | |
| virtual DtUnicodeList | swellStateNames () const |
| Get the list of sea-swell state names. More... | |
| virtual void | setSwellState (unsigned int index) |
| Set the current sea-swell state by index. More... | |
| virtual void | setSwellState (const DtUnicode &name) |
| Set the current sea-swell state by name. More... | |
| virtual void | setSwellStateDirection (double degrees) |
| Set the current sea-swell direction. More... | |
| virtual void | enableWindDrivenSeaState (bool enable) |
| Set the enabled state of wind-driven sea-state. More... | |
| virtual void | setSeaStateNames (const DtUnicodeList &names) |
| Set the list of sea-state names. More... | |
| virtual DtUnicodeList | seaStateNames () const |
| Get the list of sea-state names. More... | |
| virtual void | setSeaState (unsigned int index) |
| Set the current sea-state by index. More... | |
| virtual void | setSeaState (const DtUnicode &name) |
| Set the current sea-state by name. More... | |
| virtual void | setSeaStateDirection (double degrees) |
| Set the current sea-state direction. More... | |
Advanced marine field value setters. | |
Sets the values of the widget's corresponding advanced marine fields. | |
| virtual void | setSurfaceTransparency (double alpha) |
| Set the surface transparency of the water. More... | |
| virtual void | setUnderwaterVisibilityEnabled (bool enabled) |
| Set whether a different visibility is used when below sea level. More... | |
| virtual void | setUnderwaterVisibility (double distance) |
| Set the underwater visibility distance. More... | |
| virtual void | setUnderwaterVisibilityDecimals (int decimals) |
| Set the underwater visible distance decimal places. More... | |
| virtual void | setUnderwaterVisibilityUnits (const DtUnicode &units) |
| Set the underwater visible distance units. More... | |
| virtual void | setUnderwaterVisibilityRange (double step, double max, double min=0.0) |
| Set the maximum and minimum range for underwater visibility. More... | |
| virtual void | setWaterChoppiness (double chop) |
| Set the surface choppiness of the water. More... | |
| virtual void | setWindFetch (double distance) |
| Set the sea wave fetch. More... | |
| virtual void | setWindFetchDecimals (int decimals) |
| Set the sea wave fetch decimal places. More... | |
| virtual void | setWindFetchUnits (const DtUnicode &units) |
| Set the sea wave fetch units. More... | |
| virtual void | setWindFetchRange (double step, double max, double min=0.0) |
| Set the maximum and minimum range for sea fetch. More... | |
| virtual void | setSurgeDepth (double depth) |
| Set the surge depth. More... | |
| virtual void | setSurgeDepthDecimals (int decimals) |
| Set the surge depth decimal places. More... | |
| virtual void | setSurgeDepthUnits (const DtUnicode &units) |
| Set the surge depth units. More... | |
| virtual void | setSurgeDepthRange (double step, double max, double min=0.0) |
| Set the maximum and minimum range for surge depth. More... | |
| virtual void | setDepthOffset (double offset) |
| Set the depth offset. More... | |
| virtual void | setTidalCurrentSpeedDecimals (int decimals) |
| Set the tidal stream current speed decimal places. More... | |
| virtual void | setTidalCurrentSpeedUnits (const DtUnicode &units) |
| Set the tidal stream current speed units. More... | |
| virtual void | setTidalCurrentSpeedRange (double step, double max, double min=0.0) |
| Set the maximum and minimum range for tidal stream current speed. More... | |
| virtual void | setTidalCurrentSpeed (double speed) |
| Set the tidal stream current speed. More... | |
| virtual void | setTidalCurrentDirectionDecimals (int decimals) |
| Set the tidal stream current direction decimal places. More... | |
| virtual void | setTidalCurrentDirectionUnits (const DtUnicode &units) |
| Set the tidal stream current direction units. More... | |
| virtual void | setTidalCurrentDirectionRange (double step, double max, double min=0.0) |
| Set the maximum and minimum range for tidal stream current direction. More... | |
| virtual void | setTidalCurrentDirection (double direction) |
| Set the tidal stream current direction. More... | |
Field value setters for a listening to remote weather. | |
| virtual void | setListenToRemoteWeather (bool enable) |
| Sets whether or not to list to simulated weather messages. More... | |
Public Member Functions inherited from makVrv::DtEnvironmentConditionsInterface | |
| DtEnvironmentConditionsInterface (DtDe &de) | |
| Initialization CTOR. More... | |
| virtual | ~DtEnvironmentConditionsInterface () |
| Virtual DTOR. More... | |
| virtual void | setEnvironmentConditionsNames (const DtUnicodeList &names)=0 |
| Set the list of environment condition names. More... | |
Protected Types | |
| typedef QList< QWidget * > | WidgetList |
Protected Member Functions | |
| virtual void | setWidgetsEnabled (WidgetList &widgets, bool enable) const |
| Utility to enable/disable a set of widgets. More... | |
| virtual void | setWidgetEnabled (QWidget &widget, bool enable) const |
| Utility to enable/disable a widget while blocking its signals. More... | |
| virtual void | setWidgetsVisible (WidgetList &widgets, bool show) const |
| Utility to show/hide a set of widgets. More... | |
| virtual void | setWidgetVisible (QWidget &widget, bool show) const |
| Utility to show/hide a widget while blocking its signals. More... | |
| virtual int | getPrecipitationIntensityIndex (double intensity) |
| Utility to get the intensity index of the combo box. More... | |
| virtual void | initElevationalConfigurationWidgets () |
| Use the following init functions in the initWidgets() function, to init the widgets: widgets creations and signals connections. More... | |
| virtual void | initPrecipitationWidgets () |
| virtual void | initAdvancedWeatherWidgets () |
| virtual void | initFogColorWidgets () |
| Advanced weather widgets. More... | |
| virtual void | initFogHeightWidgets () |
| virtual void | initRainGroundAccumulationWidgets () |
| virtual void | initSnowMinimumElevationWidgets () |
| virtual void | initSnowGroundAccumulationWidgets () |
| virtual void | initSnowElevationTransitionWidgets () |
| virtual void | initSnowRoadAccumulationWidgets () |
| virtual void | initSeaStateWidgets () |
| Marine widgets. More... | |
| virtual void | initSeaSwellsStateWidgets () |
| virtual void | initAdvancedMarineWidgets () |
| virtual void | initUnderwaterVisibilityWidgets () |
| Advanced marine widgets. More... | |
| virtual void | initWaterChoppinessWidgets () |
| virtual void | initDepthOffsetWidgets () |
| virtual void | initSurfaceTransparencyWidgets () |
| virtual void | initSurgeDepthWidgets () |
| virtual void | initTidalCurrentDirectionWidgets () |
| virtual void | initTidalCurrentSpeedWidgets () |
| virtual void | initWaveFetchWidgets () |
| virtual void | initRemoteVRFEnvironmentWidgets () |
| Remote VRF environment widgets. More... | |
| virtual bool | widgetGroupInitialized (WidgetGroupId widgetGroupId) const |
| return true if the widget group was initialized see enum WidgetGroupId for supported id More... | |
| virtual void | setupBaseGui () |
| Sets up the base ui of the widgets: condition widgets and layouts. More... | |
| virtual void | connectToBaseSignals () |
| Connects base widget signals to slots. More... | |
| virtual void | setTranslatableStringsToComboBox (QComboBox &cbox, const DtUnicodeList &lst, bool srt=true) const |
| Utility to set a list of translatable unicode strings into a combo-box. More... | |
| virtual void | setStringsToComboBox (QComboBox &cbox, const DtUnicodeList &lst, bool srt=true) const |
| Utility to set a list of unicode strings into a combo-box. More... | |
| virtual DtUnicodeList | stringsFromComboBox (const QComboBox &cbox) const |
| Utility to get a list of unicode strings from a combo-box. More... | |
| virtual void | setQStringsToComboBox (QComboBox &cbox, QStringList lst, bool srt=true) const |
| Utility to set a list of Qt strings into a combo-box. More... | |
| virtual QStringList | qStringsFromComboBox (const QComboBox &cbox) const |
| Utility to get a list of Qt strings from a combo-box. More... | |
| virtual QTableWidgetItem * | findElevationalWindTableItem (float altitude, int column) const |
| Utility to get the table widget item for the elevational wind configuration at the specified altitude. More... | |
| virtual void | setIsHighestElevationalConfigurationDataPropertyForBaseMSLAltitude (float altitude, bool isHighest) |
| Utility method for setting the underlying property for an elevational configuration indicating it is the highest elevational configuration present in the current environment configuration. More... | |
| virtual void | applyAtmosphericTableConditionsStyleSheet () |
| Utility method for updating the style sheet of the atmospheric conditions table so that it appears consistently between Linux and Windows. More... | |
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_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 |
An advanced weather condition settings widget.
|
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.
|
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 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 tidal stream current speed.
| [in] | speed | is the tidal stream current in meters/second (0.0 - 10.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 tidal stream current direction.
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 |
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 |
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 |
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.
|
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 |
|
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 |
|
protected |
|
protected |
|
protected |