VR-Forces 4.2 Class Documentation
List of all members | Public Member Functions | 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.
- Public Member Functions inherited from makVrf::DtEnvironmentControlAreaInterface
virtual ~DtEnvironmentControlAreaInterface ()
 Virtual DTOR.

Protected Slots

virtual void slot_onToDImageClicked ()

Protected Member Functions

void setupUi (QWidget *p)
 Sets up the contents of the widget onto the supplied parent.
virtual void setTimeOfDay (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.

Protected Attributes

makVrv::DtDe & myDe
DtEnvironmentControlAreaLogicmyLogic
QHBoxLayout * myMainLayout
QLabel * myToDLabel
DtToDImageWidgetmyToDImageWidget

Additional Inherited Members

- Public Attributes inherited from makVrf::DtEnvironmentControlAreaInterface
boost::signal< void()> signal_environmentSettingsRequested

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.

void makVrf::DtEnvironmentControlAreaWidget::setupUi ( QWidget p)
protected

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

virtual void makVrf::DtEnvironmentControlAreaWidget::setTimeOfDay ( 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::slot_onToDImageClicked ( )
protectedvirtualslot

Member Data Documentation

makVrv::DtDe& makVrf::DtEnvironmentControlAreaWidget::myDe
protected
DtEnvironmentControlAreaLogic* makVrf::DtEnvironmentControlAreaWidget::myLogic
protected
QHBoxLayout* makVrf::DtEnvironmentControlAreaWidget::myMainLayout
protected
QLabel* makVrf::DtEnvironmentControlAreaWidget::myToDLabel
protected
DtToDImageWidget* makVrf::DtEnvironmentControlAreaWidget::myToDImageWidget
protected

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

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)