VR-Forces 4.1.1 Class Documentation
List of all members | 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]

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 double visibilityDistance ()
 Visibility distance in meters.
virtual double maximumVisibility ()
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

Additional Inherited Members

- Public Attributes inherited from makVrf::DtEnvironmentWeatherInterface
boost::signal< void(bool)> signal_precipitationEnableChanged
boost::signal< void(int)> signal_precipitationTypeChanged
boost::signal< void(float)> signal_precipitationIntensityChanged
boost::signal< void(int)> signal_skyConditionsChanged
boost::signal< void(float)> signal_visibilityChanged
boost::signal< void(float)> signal_windDirectionChanged
boost::signal< void(float)> signal_windSpeedChanged

Detailed Description

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

Constructor & Destructor Documentation

makVrf::DtEnvironmentSettingsWeatherWidget::DtEnvironmentSettingsWeatherWidget ( makVrv::DtDe de,
QWidget parent = 0 
)

CTOR.

virtual makVrf::DtEnvironmentSettingsWeatherWidget::~DtEnvironmentSettingsWeatherWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setupGui ( )
virtual

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

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setLogic ( DtBaseEnvironmentSettingsWeatherLogic logic)
virtual

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

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setPrecipitationEnabled ( bool  enabledFlag)
virtual
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setPrecipitationIntensity ( float  intensity)
virtual
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setPrecipitationType ( int  type)
virtual
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setSkyConditions ( int  state)
virtual
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setWindDirection ( float  )
virtual
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setWindSpeed ( float  )
virtual
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setVisibilityDistance ( float  distance)
virtual

Distance is in meters.

Implements makVrf::DtEnvironmentWeatherInterface.

virtual void makVrf::DtEnvironmentSettingsWeatherWidget::setMaximumVisibility ( float  distance)
virtual
virtual bool makVrf::DtEnvironmentSettingsWeatherWidget::precipitationEnabled ( )
virtual
virtual float makVrf::DtEnvironmentSettingsWeatherWidget::precipitationIntensity ( )
virtual
virtual int makVrf::DtEnvironmentSettingsWeatherWidget::precipitationType ( )
virtual
virtual int makVrf::DtEnvironmentSettingsWeatherWidget::skyConditions ( )
virtual
virtual double makVrf::DtEnvironmentSettingsWeatherWidget::visibilityDistance ( )
virtual

Visibility distance in meters.

Implements makVrf::DtEnvironmentWeatherInterface.

virtual double makVrf::DtEnvironmentSettingsWeatherWidget::maximumVisibility ( )
virtual
virtual float makVrf::DtEnvironmentSettingsWeatherWidget::windDirection ( )
virtual
virtual float makVrf::DtEnvironmentSettingsWeatherWidget::windSpeed ( )
virtual
void makVrf::DtEnvironmentSettingsWeatherWidget::on_myPrecipitationBox_clicked ( bool  )
protectedslot
void makVrf::DtEnvironmentSettingsWeatherWidget::on_myPrecipitationIntensityBox_valueChanged ( double  )
protectedslot
void makVrf::DtEnvironmentSettingsWeatherWidget::on_myPrecipitationTypeBox_indexChanged ( int  )
protectedslot
void makVrf::DtEnvironmentSettingsWeatherWidget::on_mySkyConditionsBox_indexChanged ( int  )
protectedslot
void makVrf::DtEnvironmentSettingsWeatherWidget::on_myVisibilityBox_valueChanged ( double  )
protectedslot
void makVrf::DtEnvironmentSettingsWeatherWidget::on_myWindSpeedBox_valueChanged ( double  )
protectedslot
void makVrf::DtEnvironmentSettingsWeatherWidget::on_myWindDirectionBox_valueChanged ( double  )
protectedslot
virtual void makVrf::DtEnvironmentSettingsWeatherWidget::refreshLabels ( )
protectedvirtualslot

Member Data Documentation

DtBaseEnvironmentSettingsWeatherLogic* makVrf::DtEnvironmentSettingsWeatherWidget::myLogic
protected
makVrv::DtDe& makVrf::DtEnvironmentSettingsWeatherWidget::myDe
protected
QLabel* makVrf::DtEnvironmentSettingsWeatherWidget::mySkyConditionsLabel
protected
QComboBox* makVrf::DtEnvironmentSettingsWeatherWidget::mySkyConditionsBox
protected
QLabel* makVrf::DtEnvironmentSettingsWeatherWidget::myVisibilityLabel
protected
QDoubleSpinBox* makVrf::DtEnvironmentSettingsWeatherWidget::myVisibilityBox
protected
QGroupBox* makVrf::DtEnvironmentSettingsWeatherWidget::myPrecipitationBox
protected
QLabel* makVrf::DtEnvironmentSettingsWeatherWidget::myPrecipitionTypeLabel
protected
QComboBox* makVrf::DtEnvironmentSettingsWeatherWidget::myPrecipitationTypeBox
protected
QLabel* makVrf::DtEnvironmentSettingsWeatherWidget::myPrecipitionIntensityLabel
protected
QDoubleSpinBox* makVrf::DtEnvironmentSettingsWeatherWidget::myPrecipitionIntensityBox
protected
QLabel* makVrf::DtEnvironmentSettingsWeatherWidget::myWindSpeedLabel
protected
QDoubleSpinBox* makVrf::DtEnvironmentSettingsWeatherWidget::myWindSpeedBox
protected
QLabel* makVrf::DtEnvironmentSettingsWeatherWidget::myWindDirectionLabel
protected
QDoubleSpinBox* makVrf::DtEnvironmentSettingsWeatherWidget::myWindDirectionBox
protected
QVBoxLayout* makVrf::DtEnvironmentSettingsWeatherWidget::myMainLayout
protected
double makVrf::DtEnvironmentSettingsWeatherWidget::myNativeUnitVisibilityDistance
protected

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

double makVrf::DtEnvironmentSettingsWeatherWidget::myNativeUnitMaxVisibilityDistance
protected
double makVrf::DtEnvironmentSettingsWeatherWidget::myNativeUnitWindSpeed
protected
double makVrf::DtEnvironmentSettingsWeatherWidget::myNativeUnitWindDirection
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)