VR-Forces 4.8 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. More...
 
virtual ~DtEnvironmentControlAreaWidget ()
 DTOR. More...
 
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. More...
 
virtual void updateWeatherIcon ()
 
- Public Member Functions inherited from makVrf::DtEnvironmentControlAreaInterface
virtual ~DtEnvironmentControlAreaInterface ()
 Virtual DTOR. More...
 

Public Attributes

QHBoxLayout * myMainLayout
 
QLabelmyToDLabel
 
QLabelmyWeatherIcon
 
QLabelmyIlluminationIcon
 
- Public Attributes inherited from makVrf::DtEnvironmentControlAreaInterface
boost::signals2::signal< void()> signal_timeEnvironmentSettingsRequested
 
boost::signals2::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. More...
 
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). More...
 
virtual void slot_backendUpdated (const DtVrfBackendState &, int)
 Calls updateEnabledStatus. More...
 
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)