32 #include <yui/YDateField.h> 47 const std::string & label );
60 virtual std::string
value();
68 virtual void setValue(
const std::string & newValue );
75 virtual void setLabel(
const std::string & label );
103 virtual void setSize(
int newWidth,
int newHeight );
117 void changed (
const QDate & );
122 QDateEdit * _qt_dateEdit;
126 #endif // YQDateField_h virtual void setEnabled(bool enabled)
Set enabled/disabled state.
YQDateField(YWidget *parent, const std::string &label)
Constructor.
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 int preferredWidth()
Preferred width of the widget.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual bool setKeyboardFocus()
Accept the keyboard focus.
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 setLabel(const std::string &label)
Set the label (the caption above the input field).
virtual int preferredHeight()
Preferred height of the widget.
virtual ~YQDateField()
Destructor.