![]() |
VR-Forces 4.1 Class Documentation
|
A date and time widget. More...

Public Member Functions | |
| DtDateAndTimeWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR. | |
| virtual | ~DtDateAndTimeWidget () |
| DTOR. | |
| virtual void | activate () |
| Instantiates the widget logic. | |
| virtual void | deactivate () |
| Destroys the widget's logic. | |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setDateAndTime (int year, int month, int day, int hour, int minutes, double seconds) |
| Set the date and time. | |
| virtual void | setTimeScale (double timeScale) |
| Set the time scale. | |
Public Member Functions inherited from makVrv::DtDateAndTimeInterface | |
| DtDateAndTimeInterface () | |
| CTOR. | |
| virtual | ~DtDateAndTimeInterface () |
| DTOR. | |
Protected Slots | |
| void | updateTime () |
| Updates the currently displayed time to match the current time. | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| void | on_myCurrentTimeEdit_timeChanged (const QTime &) |
| void | on_myCalendar_selectedDateChanged (const QDate &) |
| void | on_myTimeScaleSpinBox_valueChanged (double) |
| void | on_myUseCurrentSettingsButton_clicked () |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
Protected Attributes | |
| DtDe & | myDe |
| DtDateAndTimeLogic * | myLogic |
| QCalendarWidget * | myCalendar |
| DtAnalogClock * | myAnalogClock |
| QTimeEdit * | myCurrentTimeEdit |
| QDoubleSpinBox * | myTimeScaleSpinBox |
| QPushButton * | myUseCurrentSettingsButton |
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 |
A date and time widget.
| makVrv::DtDateAndTimeWidget::DtDateAndTimeWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the date and time.
Implements makVrv::DtDateAndTimeInterface.
|
virtual |
Set the time scale.
Implements makVrv::DtDateAndTimeInterface.
|
virtual |
Instantiates the widget logic.
|
virtual |
Destroys the widget's logic.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
Updates the currently displayed time to match the current time.
Called by the widget's timer every 33 ms.
|
protected |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |