VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Slots | Protected Attributes
makVrf::DtEnvironmentSettingsWeatherWidget Class Reference

A GUI widget for configuring the environment (weather and Time of Day). More...

Inheritance diagram for makVrf::DtEnvironmentSettingsWeatherWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtEnvironmentSettingsWeatherWidget (makVrv::DtDe &de, QWidget *parent=0)
 CTOR.
virtual ~DtEnvironmentSettingsWeatherWidget ()
 DTOR.
virtual void setupGui ()
 Sets up the dialog's contents (called by initialize)
virtual void setLogic (DtBaseEnvironmentSettingsWeatherLogic *logic)
 Sets up the GUI and initializes the dialog with the corresponding logic.
virtual void setPrecipitationEnabled (bool enabledFlag)
 DtVrfEnvironmentInterface implementations.
virtual void setPrecipitationIntensity (float intensity)
virtual void setPrecipitationType (int type)
virtual void setSkyConditions (int state)
virtual void setWindDirection (float)
virtual void setWindSpeed (float)
virtual void setVisibilityDistance (float distance)
 Distance is in meters.
virtual void setMaximumVisibility (float distance)
virtual bool precipitationEnabled ()
virtual float precipitationIntensity ()
virtual int precipitationType ()
virtual int skyConditions ()
virtual float visibilityDistance ()
 Visibility distance in meters.
virtual float windDirection ()
virtual float windSpeed ()

Protected Slots

void on_myPrecipitationBox_clicked (bool)
void on_myPrecipitationIntensityBox_valueChanged (double)
void on_myPrecipitationTypeBox_indexChanged (int)
void on_mySkyConditionsBox_indexChanged (int)
void on_myVisibilityBox_valueChanged (double)
void on_myWindSpeedBox_valueChanged (double)
void on_myWindDirectionBox_valueChanged (double)
virtual void refreshLabels ()

Protected Attributes

DtBaseEnvironmentSettingsWeatherLogicmyLogic
makVrv::DtDemyDe
QLabelmySkyConditionsLabel
QComboBoxmySkyConditionsBox
QLabelmyVisibilityLabel
QDoubleSpinBox * myVisibilityBox
QGroupBox * myPrecipitationBox
QLabelmyPrecipitionTypeLabel
QComboBoxmyPrecipitationTypeBox
QLabelmyPrecipitionIntensityLabel
QDoubleSpinBox * myPrecipitionIntensityBox
QLabelmyWindSpeedLabel
QDoubleSpinBox * myWindSpeedBox
QLabelmyWindDirectionLabel
QDoubleSpinBox * myWindDirectionBox
QVBoxLayout * myMainLayout
double myNativeUnitVisibilityDistance
 These hold their respective values in the native units, instead of the display configured units.
double myNativeUnitMaxVisibilityDistance
double myNativeUnitWindSpeed
double myNativeUnitWindDirection

Detailed Description

A GUI widget for configuring the environment (weather and Time of Day).


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

Sets up the dialog's contents (called by initialize)

Sets up the GUI and initializes the dialog with the corresponding logic.

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setPrecipitationIntensity ( float  intensity) [virtual]
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setSkyConditions ( int  state) [virtual]
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setVisibilityDistance ( float  distance) [virtual]

Distance is in meters.

Implements makVrf::DtEnvironmentWeatherInterface.

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setMaximumVisibility ( float  distance) [virtual]

Visibility distance in meters.

Implements makVrf::DtEnvironmentWeatherInterface.

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::refreshLabels ( ) [protected, virtual, slot]

Member Data Documentation

These hold their respective values in the native units, instead of the display configured units.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)