VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtVrfTimeOfDayWidget Class Reference

A widget for configuring the time of day. More...

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

Public Member Functions

 DtVrfTimeOfDayWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR. More...
 
virtual ~DtVrfTimeOfDayWidget ()
 DTOR. More...
 
virtual void activate ()
 Activate this widget. More...
 
virtual void deactivate ()
 Deactivate this widget. More...
 
- Public Member Functions inherited from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget
 DtVrfEnvironmentConditionsDateAndTimeWidget (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR. More...
 
virtual ~DtVrfEnvironmentConditionsDateAndTimeWidget ()
 DTOR. More...
 
virtual void setTimeScale (double timeScale)
 Changed the time scale. More...
 
virtual void setDateAndTimeOfDay (time_t)
 Sets date and time of day from UTC date/time. More...
 
virtual time_t dateAndTimeOfDay (bool removeObserverPosition=true) const
 Returns date and time of day as UTC time. More...
 
virtual void setDataEntryOnly (bool)
 If true only allows for data entry, not for update of sim. More...
 
virtual void setAllowTimezoneSelection (bool)
 If true only allows time zone selection. Default is true. More...
 
virtual void setUseDateTimeIlluminationForModel (bool)
 Sets wether or not GMT time is used for illumination or the entities position is. More...
 
virtual bool useDateTimeIlluminationForModel () const
 
virtual void setTimezone (const std::string &)
 Sets the timezone to use. More...
 
virtual void setFormatsSet (const std::string &)
 Sets the formatsSet to use. More...
 
virtual void setDateAndTimeFormatting (const std::string &)
 Sets the display of the date/time. More...
 
virtual void setTimeOnCreationIsFrozen (bool)
 
virtual void setTimeSetToLocalOnFirstPlacement (bool)
 
virtual void trackObserverForTimeZoneChange (bool)
 
virtual void initTimezoneSettings ()
 
virtual time_t dateAndTimeOfDayWithoutObserverOffset () const
 
- Public Member Functions inherited from makVrv::DtDateAndTimeWidget
 DtDateAndTimeWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR. More...
 
virtual ~DtDateAndTimeWidget ()
 DTOR. More...
 
virtual void setWidgetsEnabled (bool isEnabled)
 Enable or disable all the date and time widgets on this widget Widgets are disabled when listening to remote weather. More...
 
virtual void setDateAndTime (int year, int month, int day, int hours, int minutes, double seconds)
 Set the date and time of the widget. More...
 
virtual void setDate (int year, int month, int day)
 Set the date of the widget. More...
 
virtual void setTime (int hours, int minutes, double seconds)
 Set the time of the widget. More...
 
- Public Member Functions inherited from makVrv::DtDateAndTimeInterface
 DtDateAndTimeInterface ()
 Default CTOR. More...
 
virtual ~DtDateAndTimeInterface ()
 Virtual DTOR. More...
 

Additional Inherited Members

- Public Attributes inherited from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget
boost::signals2::signal< void(bool)> signal_dataEntryOnly
 
boost::signals2::signal< void(bool)> signal_setTimeBasedOnCreationChanged
 
QLabelmyDateTimeDisplayLabel
 
QFrame * myDateTimeDisplaySeparator
 
QWidget * myTimezoneCanvas
 
QLabelmyTimezoneDisplayLabel
 
QFrame * mySeparator
 
QGridLayout * myTimezoneLayout
 
QCheckBoxmyAlwaysDaylight
 
QCheckBoxmySetTimeBasedOnCreation
 
QLabelmyTimezoneLabel
 
QComboBoxmyTimezoneCombo
 
QLabelmyDateTimeFormatLabel
 
QComboBoxmyDateTimeFormat
 
QLabelmyFormatsSetLabel
 
QComboBoxmyFormatsSetCombo
 
- Public Attributes inherited from makVrv::DtDateAndTimeInterface
boost::signalslib::signal< void()> signal_timeUpdateRequested
 
boost::signalslib::signal
< void(int, int, double)> 
signal_changeTime
 
boost::signalslib::signal
< void(int, int, int)> 
signal_changeDate
 
boost::signalslib::signal
< void(double)> 
signal_changeTimeScale
 
- Protected Slots inherited from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget
virtual void timezoneChanged ()
 
virtual void dateTimeFormatChanged ()
 
virtual void alwaysDaylightChanged ()
 
virtual void on_myYearMonthChanged (int, int)
 
virtual void onSetTimeBasedOnCreationChanged ()
 
virtual void formatsSetChanged ()
 
- Protected Slots inherited from makVrv::DtDateAndTimeWidget
virtual void updateTime ()
 Updates the currently displayed time to match the current time. More...
 
virtual void on_myHourChanged (int hour)
 
virtual void on_myMinuteChanged (int minute)
 
virtual void on_myTimeChanged (const QTime &)
 
virtual void on_myDateChanged (const QDate &)
 
virtual void on_myTimeScaleChanged (double)
 
virtual void on_myUseCurrentSettingsClicked ()
 
- Protected Member Functions inherited from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget
virtual void timezoneChanged (const std::string &oldTZ, const std::string &newTZ)
 
virtual void tick ()
 
virtual void refreshTimezones ()
 
- Protected Member Functions inherited from makVrv::DtDateAndTimeWidget
void setupGui ()
 Sets up the widget's fields. More...
 
int getSeconds (double seconds)
 Helper function to get the whole number of seconds from a double. More...
 
int getMilliseconds (double seconds)
 Helper function to get the whole number of milliseconds from a double. More...
 
double getSeconds (int sec, int millisec)
 Helper function to join seconds and milliseconds as integers into a single double of seconds with fraction of seconds. More...
 
- Protected Attributes inherited from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget
DtVrfEnvironmentConditionsDateAndTimeLogicmyLogic
 
bool myHasCustomDateTimeFormat
 
bool myResizeTimezonesToContent
 
bool myTrackObserverForTimeZoneChange
 
boost::signals2::connection myObserverConnection
 
DtGeodeticCoord myEyepoint
 
- Protected Attributes inherited from makVrv::DtDateAndTimeWidget
DtDemyDe
 
DtAnalogClockmyAnalogClock
 
QCalendarWidget * myCalendar
 
QDoubleSpinBoxmyTimeScaleSpinBox
 
QTimeEdit * myCurrentTimeEdit
 
QLabelmyHourLabel
 
QSlider * myHourSlider
 
QLabelmyMinuteLabel
 
QSlider * myMinuteSlider
 
QTimer * myTimer
 
QPushButtonmyUseCurrentSettingsButton
 
QLabelmyCurrentTimeLabel
 
QLabelmyTimeScaleLabel
 
QLabelmyHelpLabel
 

Detailed Description

A widget for configuring the time of day.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrf::DtVrfTimeOfDayWidget::~DtVrfTimeOfDayWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::DtVrfTimeOfDayWidget::activate ( )
inlinevirtual

Activate this widget.

Reimplemented from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget.

virtual void makVrf::DtVrfTimeOfDayWidget::deactivate ( )
inlinevirtual

Deactivate this widget.

Reimplemented from makVrf::DtVrfEnvironmentConditionsDateAndTimeWidget.


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)