30 #include <yui/YTimeField.h> 45 const std::string & label );
58 virtual std::string
value();
66 virtual void setValue(
const std::string & newValue );
73 virtual void setLabel(
const std::string & label );
101 virtual void setSize(
int newWidth,
int newHeight );
115 void changed (
const QTime &);
120 QTimeEdit * _qt_timeEdit;
124 #endif // YQTimeField_h virtual void setValue(const std::string &newValue)
Set the current value (the text entered by the user or set from the outside) of this input field...
virtual bool setKeyboardFocus()
Accept the keyboard focus.
YQTimeField(YWidget *parent, const std::string &label)
Constructor.
virtual ~YQTimeField()
Destructor.
virtual int preferredHeight()
Preferred height of the widget.
virtual int preferredWidth()
Preferred width of the widget.
virtual std::string value()
Get the current value (the text entered by the user or set from the outside) of this input field...
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual void setLabel(const std::string &label)
Set the label (the caption above the input field).
virtual void setEnabled(bool enabled)
Set enabled/disabled state.