![]() |
VR-Exchange 2.4 API Documentation
|
An widget for setting a precise time. More...

Signals | |
| void | theTimeChanged () |
Public Member Functions | |
| DtPreciseTimeEdit (QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtPreciseTimeEdit () |
| DTOR. | |
| virtual void | setPaletteForegroundColor (const QColor &color) |
| virtual bool | isValidTime () const |
| Check to see if input is valid. | |
| virtual int | hours () const |
| Get the hours part. | |
| virtual void | setHours (int val) |
| Set the hours part. | |
| virtual int | minutes () const |
| Get the minutes part. | |
| virtual void | setMinutes (int val) |
| Set the minutes part, if minutes > 60 hours are incremented. | |
| virtual int | seconds () const |
| Get the seconds part. | |
| virtual void | setSeconds (int val) |
| Set the seconds part, if seconds > 60 minutes are incremented. | |
| virtual float | subseconds () const |
| Get the subseconds part. | |
| virtual void | setSubseconds (float val) |
| Set the subseconds part, if subseconds > 1.0 seconds are incremented. | |
| virtual double | time () const |
| Get the total time compressed into seconds. | |
| virtual void | setTime (double val) |
| Set the total time is seconds. | |
| virtual QString | timeString () const |
| Get the time in an encoded string. | |
| virtual void | setTimeString (const QString &str, bool *ok) |
| Set the time in an encoded string. | |
Protected Types | |
| enum | CurrentSection { Selected_None, Selected_Hours, Selected_Minutes, Selected_Seconds, Selected_SubSeconds } |
Protected Slots | |
| virtual void | validateInput () |
| virtual void | selectedTimeChanged () |
| virtual void | increaseTime () |
| virtual void | decreaseTime () |
Protected Attributes | |
| CurrentSection | myCurrentSection |
| QFrame * | myInputFrame |
| QLabel * | myHourSeperator |
| QLabel * | myMinuteSeparator |
| QLabel * | mySecondSeparator |
| QLineEdit * | myHourEdit |
| QLineEdit * | myMinuteEdit |
| QLineEdit * | mySecondEdit |
| QLineEdit * | mySubSecondEdit |
An widget for setting a precise time.
|
protected |
| MAKVrExchange::DtPreciseTimeEdit::DtPreciseTimeEdit | ( | QWidget * | parent = 0 | ) |
CTOR.
|
virtual |
DTOR.
|
protectedvirtualslot |
|
virtual |
Get the hours part.
|
protectedvirtualslot |
|
virtual |
Check to see if input is valid.
|
virtual |
Get the minutes part.
|
virtual |
Get the seconds part.
|
protectedvirtualslot |
|
virtual |
Set the hours part.
|
virtual |
Set the minutes part, if minutes > 60 hours are incremented.
|
virtual |
|
virtual |
Set the seconds part, if seconds > 60 minutes are incremented.
|
virtual |
Set the subseconds part, if subseconds > 1.0 seconds are incremented.
|
virtual |
Set the total time is seconds.
|
virtual |
Set the time in an encoded string.
|
virtual |
Get the subseconds part.
|
signal |
|
virtual |
Get the total time compressed into seconds.
|
virtual |
Get the time in an encoded string.
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |