VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.

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::DtDemyDe
DtEnvironmentControlAreaLogicmyLogic
QHBoxLayout * myMainLayout
QLabelmyToDLabel
DtToDImageWidgetmyToDImageWidget

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.

DTOR.


Member Function Documentation

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.

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

virtual void makVrf::DtEnvironmentControlAreaWidget::setTimeOfDay ( int  hours,
int  mins,
int  secs 
) [protected, virtual]
virtual bool makVrf::DtEnvironmentControlAreaWidget::eventFilter ( QObject obj,
QEvent *  event 
) [protected, virtual]

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

virtual void makVrf::DtEnvironmentControlAreaWidget::slot_backendUpdated ( const DtVrfBackendState ,
int   
) [protected, virtual]

Calls updateEnabledStatus.

virtual void makVrf::DtEnvironmentControlAreaWidget::slot_onToDImageClicked ( ) [protected, virtual, slot]

Member Data Documentation


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)