A Time field editor. More...
#include <Wt/WTimeEdit>

Public Member Functions | |
| WTimeEdit (WContainerWidget *parent=0) | |
| Creates a new time edit. | |
| void | setTime (const WTime &time) |
| Sets the time. | |
| WTime | time () const |
| Returns the time. | |
| virtual WTimeValidator * | validator () const |
| Returns the validator. | |
| void | setFormat (const WString &format) |
| Sets the format of the Time. | |
| WString | format () const |
| returns the format | |
| virtual void | setHidden (bool hidden, const WAnimation &animation=WAnimation()) |
| set the hidden status | |
| int | minuteStep () const |
| returns the minutes step | |
| void | setMinuteStep (int step) |
| sets the minute step | |
Protected Member Functions | |
| virtual void | render (WFlags< RenderFlag > flags) |
| render the widget | |
| virtual void | propagateSetEnabled (bool enabled) |
| enable or disable propagation | |
| virtual void | setFromTimePicker () |
| Sets the value from the time scroller to the line edit. | |
| virtual void | setFromLineEdit () |
| Sets the value from the line edit to the time scroller. | |
| virtual void | setText (const WString &text) |
| sets the text | |
A Time field editor.
Styling through CSS is not applicable.
| void Wt::WTimeEdit::setTime | ( | const WTime & | time | ) |
| WTime Wt::WTimeEdit::time | ( | ) | const |
Returns the time.
Returns an invalid time (for which WTime::isValid() returns false) if the time coult not be parsed using the current format().
| WTimeValidator * Wt::WTimeEdit::validator | ( | ) | const [virtual] |
1.7.6.1