VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtEnvironmentControlAreaWidget Class Reference

A widget class for managing simulation back-ends. More...

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

Public Member Functions

 DtEnvironmentControlAreaWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR.
virtual ~DtEnvironmentControlAreaWidget ()
 DTOR.
void updateEnabledStatus ()
 Determines if the control area should be enabled or disabled and if the event filter should be installed or removed based on the current state of the scenario as determined by callbacks from the DtVrfSimBackendManager and the DtVrfScenarioManager.
virtual void updateWeatherIcon ()
- Public Member Functions inherited from makVrf::DtEnvironmentControlAreaInterface
virtual ~DtEnvironmentControlAreaInterface ()
 Virtual DTOR.

Public Attributes

QHBoxLayout * myMainLayout
QLabelmyToDLabel
QLabelmyWeatherIcon
QLabelmyIlluminationIcon
- Public Attributes inherited from makVrf::DtEnvironmentControlAreaInterface
boost::signal< void()> signal_timeEnvironmentSettingsRequested
boost::signal< void()> signal_weatherEnvironmentSettingsRequested

Protected Slots

virtual void updateTimeOfDay ()

Protected Member Functions

void setupUi (QWidget *p)
 Sets up the contents of the widget onto the supplied parent.
virtual void updateTimeZone ()
virtual void setTimeOfDay (int hours, int mins, int secs)
virtual void setDateAndTimeOfDay (int year, int month, int day, int hours, int mins, int secs)
virtual bool eventFilter (QObject *obj, QEvent *event)
 Processes mouse clicks on myToDLabel (when the control area is enabled).
virtual void slot_backendUpdated (const DtVrfBackendState &, int)
 Calls updateEnabledStatus.
virtual void setIllumination (double, int sunState, const std::string &)
virtual void showEvent (QShowEvent *)
virtual void hideEvent (QHideEvent *)

Protected Attributes

makVrv::DtDemyDe
DtEnvironmentControlAreaLogicmyLogic
makVrv::DtSignalConnectionManager myConnectionManager
double myNextTimeToCheck
double myLastSimTime
DtGeodeticCoord myEyepoint

Detailed Description

A widget class for managing simulation back-ends.

Constructor & Destructor Documentation

makVrf::DtEnvironmentControlAreaWidget::DtEnvironmentControlAreaWidget ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual makVrf::DtEnvironmentControlAreaWidget::~DtEnvironmentControlAreaWidget ( )
virtual

DTOR.

Member Function Documentation

void makVrf::DtEnvironmentControlAreaWidget::updateEnabledStatus ( )

Determines if the control area should be enabled or disabled and if the event filter should be installed or removed based on the current state of the scenario as determined by callbacks from the DtVrfSimBackendManager and the DtVrfScenarioManager.

virtual void makVrf::DtEnvironmentControlAreaWidget::updateWeatherIcon ( )
virtual
void makVrf::DtEnvironmentControlAreaWidget::setupUi ( QWidget *  p)
protected

Sets up the contents of the widget onto the supplied parent.

virtual void makVrf::DtEnvironmentControlAreaWidget::updateTimeZone ( )
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::setTimeOfDay ( int  hours,
int  mins,
int  secs 
)
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::setDateAndTimeOfDay ( int  year,
int  month,
int  day,
int  hours,
int  mins,
int  secs 
)
protectedvirtual
virtual bool makVrf::DtEnvironmentControlAreaWidget::eventFilter ( QObject obj,
QEvent *  event 
)
protectedvirtual

Processes mouse clicks on myToDLabel (when the control area is enabled).

virtual void makVrf::DtEnvironmentControlAreaWidget::slot_backendUpdated ( const DtVrfBackendState ,
int   
)
protectedvirtual

Calls updateEnabledStatus.

virtual void makVrf::DtEnvironmentControlAreaWidget::setIllumination ( double  ,
int  sunState,
const std::string &   
)
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::showEvent ( QShowEvent *  )
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::hideEvent ( QHideEvent *  )
protectedvirtual
virtual void makVrf::DtEnvironmentControlAreaWidget::updateTimeOfDay ( )
protectedvirtualslot

Member Data Documentation

QHBoxLayout* makVrf::DtEnvironmentControlAreaWidget::myMainLayout
QLabel* makVrf::DtEnvironmentControlAreaWidget::myToDLabel
QLabel* makVrf::DtEnvironmentControlAreaWidget::myWeatherIcon
QLabel* makVrf::DtEnvironmentControlAreaWidget::myIlluminationIcon
makVrv::DtDe& makVrf::DtEnvironmentControlAreaWidget::myDe
protected
DtEnvironmentControlAreaLogic* makVrf::DtEnvironmentControlAreaWidget::myLogic
protected
makVrv::DtSignalConnectionManager makVrf::DtEnvironmentControlAreaWidget::myConnectionManager
protected
double makVrf::DtEnvironmentControlAreaWidget::myNextTimeToCheck
protected
double makVrf::DtEnvironmentControlAreaWidget::myLastSimTime
protected
DtGeodeticCoord makVrf::DtEnvironmentControlAreaWidget::myEyepoint
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)