|
#include <CDateTimeInput.h>

Public Member Functions | |
| CDateTimeInput (const char *label=0, int layoutSize=10, CLayoutAlign layoutAlign=SP_ALIGN_TOP) | |
| Constructor in SPTK style. | |
| virtual CControlKind | kind () const |
| Returns the control kind, SPTK-style RTTI. | |
| virtual std::string | className () const |
| Returns the control class name, SPTK-style RTTI. | |
| virtual void | resize (int x, int y, int w, int h) |
| Resizes the control and inside widgets. | |
| virtual CDateTime | dateTimeValue () const |
| Returns widget date or time value. | |
| virtual void | dateTimeValue (CDateTime dt) |
| Sets widget date or time value. | |
| virtual CVariant | data () const |
| Universal data connection, returns data from control. | |
| virtual void | data (const CVariant v) |
| Universal data connection, sets data from control. | |
Static Public Member Functions | |
| static CLayoutClient * | creator (CXmlNode *node) |
| Creates a widget based on the XML node information. | |
Combines date and time input widgets. Includes two input boxes and the drop-down calendar for the date input.
| sptk::CDateTimeInput::CDateTimeInput | ( | const char * | label = 0, |
|
| int | layoutSize = 10, |
|||
| CLayoutAlign | layoutAlign = SP_ALIGN_TOP | |||
| ) |
Constructor in SPTK style.
| label | const char *, label | |
| layoutSize | int, widget align in layout | |
| layoutAlign | CLayoutAlign, widget align in layout |
| virtual CControlKind sptk::CDateTimeInput::kind | ( | ) | const [inline, virtual] |
Returns the control kind, SPTK-style RTTI.
Reimplemented from sptk::CInput.
References sptk::DCV_DATETIME.
| virtual void sptk::CDateTimeInput::resize | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) | [virtual] |
Resizes the control and inside widgets.
| x | int, x-position | |
| y | int, y-position | |
| w | int, width | |
| h | int, height |
Reimplemented from sptk::CControl.