VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Slots | Protected Attributes
makVrf::DtEnvironmentSettingsDateAndTimeWidget Class Reference

A widget for configuring the environment. More...

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

Public Member Functions

 DtEnvironmentSettingsDateAndTimeWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR.
virtual ~DtEnvironmentSettingsDateAndTimeWidget ()
 DTOR.
virtual void setupGui ()
 Sets up the dialog's contents (called by initialize)
virtual void setLogic (DtEnvironmentSettingsDateAndTimeLogic *logic)
 Sets up the GUI and initializes the dialog with the corresponding logic.
virtual void setDateAndTime (int year, int month, int day, int hour, int minutes, double seconds)
 Set the date and time of the widget.
virtual void setTime (int hour, int minutes, double seconds)
 Set the time of the widget.
virtual void setTime (double secondsPastMidnight)
 Set the time of the widget given a time amount in seconds.
virtual void getTime (int &hour, int &min, int &secs)
 Returns the time in hour, min, secs.
virtual float getTime ()
 Returns the time in seconds.
virtual void setTimeScale (double timeScale)
- Public Member Functions inherited from makVrv::DtDateAndTimeInterface
 DtDateAndTimeInterface ()
 CTOR.
virtual ~DtDateAndTimeInterface ()
 DTOR.

Protected Slots

void on_myCurrentTimeEdit_timeChanged (const QTime &)

Protected Attributes

DtEnvironmentSettingsDateAndTimeLogicmyLogic
makVrv::DtDemyDe
makVrv::DtAnalogClockmyAnalogClock
QTimeEdit * myCurrentTimeEdit

Additional Inherited Members

- Public Attributes inherited from makVrv::DtDateAndTimeInterface
boost::signal< void()> signal_timeUpdateRequested
boost::signal< void(int hour,
int minutes, double seconds)> 
signal_changeTime
boost::signal< void(int year,
int month, double day)> 
signal_changeDate
boost::signal< void(double)> signal_changeTimeScale

Detailed Description

A widget for configuring the environment.

Constructor & Destructor Documentation

makVrf::DtEnvironmentSettingsDateAndTimeWidget::DtEnvironmentSettingsDateAndTimeWidget ( makVrv::DtDe de,
QWidget parent = 0,
Qt::WindowFlags  f = 0 
)

CTOR.

virtual makVrf::DtEnvironmentSettingsDateAndTimeWidget::~DtEnvironmentSettingsDateAndTimeWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::setupGui ( )
virtual

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

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::setLogic ( DtEnvironmentSettingsDateAndTimeLogic logic)
virtual

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

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::setDateAndTime ( int  year,
int  month,
int  day,
int  hour,
int  minutes,
double  seconds 
)
virtual

Set the date and time of the widget.

Implements makVrv::DtDateAndTimeInterface.

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::setTime ( int  hour,
int  minutes,
double  seconds 
)
virtual

Set the time of the widget.

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::setTime ( double  secondsPastMidnight)
virtual

Set the time of the widget given a time amount in seconds.

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::getTime ( int &  hour,
int &  min,
int &  secs 
)
virtual

Returns the time in hour, min, secs.

virtual float makVrf::DtEnvironmentSettingsDateAndTimeWidget::getTime ( )
virtual

Returns the time in seconds.

virtual void makVrf::DtEnvironmentSettingsDateAndTimeWidget::setTimeScale ( double  timeScale)
virtual
void makVrf::DtEnvironmentSettingsDateAndTimeWidget::on_myCurrentTimeEdit_timeChanged ( const QTime &  )
protectedslot

Member Data Documentation

DtEnvironmentSettingsDateAndTimeLogic* makVrf::DtEnvironmentSettingsDateAndTimeWidget::myLogic
protected
makVrv::DtDe& makVrf::DtEnvironmentSettingsDateAndTimeWidget::myDe
protected
makVrv::DtAnalogClock* makVrf::DtEnvironmentSettingsDateAndTimeWidget::myAnalogClock
protected
QTimeEdit* makVrf::DtEnvironmentSettingsDateAndTimeWidget::myCurrentTimeEdit
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)