sptk2 logo
SPTK Home Page

sptk::CTimeInput Class Reference
[GUI Classes]

Time input widget. More...

#include <CDateTimeInput.h>

Inheritance diagram for sptk::CTimeInput:

sptk::CDateTimeBaseInput sptk::CInput sptk::CControl sptk::CLayoutClient

List of all members.

Public Member Functions

 CTimeInput (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 preferredWidth (int &w) const
 Computes the optimal widget width.

Static Public Member Functions

static CLayoutClientcreator (CXmlNode *node)
 Creates a widget based on the XML node information.


Detailed Description

Time input widget.

Masked time input


Constructor & Destructor Documentation

sptk::CTimeInput::CTimeInput ( const char *  label = 0,
int  layoutSize = 10,
CLayoutAlign  layoutAlign = SP_ALIGN_TOP 
)

Constructor in SPTK style.

Parameters:
label const char *, label
layoutSize int, widget align in layout
layoutAlign CLayoutAlign, widget align in layout


Member Function Documentation

virtual CControlKind sptk::CTimeInput::kind (  )  const [inline, virtual]

Returns the control kind, SPTK-style RTTI.

See also:
CControlKind for more information

Reimplemented from sptk::CInput.

References sptk::DCV_TIME.

virtual void sptk::CTimeInput::preferredWidth ( int &  w  )  const [virtual]

Computes the optimal widget width.

Parameters:
w int&, input - width offered by the program, output - width required by widget

Reimplemented from sptk::CInput.


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

Mon Mar 5 11:56:11 2012: SPTK 3.5.7