libyui-qt
2.43.5
|
Public Member Functions | |
YQTimeField (YWidget *parent, const std::string &label) | |
virtual | ~YQTimeField () |
virtual std::string | value () |
virtual void | setValue (const std::string &newValue) |
virtual void | setLabel (const std::string &label) |
virtual void | setEnabled (bool enabled) |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual bool | setKeyboardFocus () |
Protected Attributes | |
YQWidgetCaption * | _caption |
QTimeEdit * | _qt_timeEdit |
Definition at line 36 of file YQTimeField.h.
YQTimeField::YQTimeField | ( | YWidget * | parent, |
const std::string & | label | ||
) |
Constructor.
Definition at line 38 of file YQTimeField.cc.
YQTimeField::~YQTimeField | ( | ) | [virtual] |
Destructor.
Definition at line 62 of file YQTimeField.cc.
int YQTimeField::preferredHeight | ( | ) | [virtual] |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 100 of file YQTimeField.cc.
int YQTimeField::preferredWidth | ( | ) | [virtual] |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 94 of file YQTimeField.cc.
void YQTimeField::setEnabled | ( | bool | enabled | ) | [virtual] |
Set enabled/disabled state.
Reimplemented from YWidget.
Definition at line 87 of file YQTimeField.cc.
bool YQTimeField::setKeyboardFocus | ( | ) | [virtual] |
Accept the keyboard focus.
Reimplemented from YWidget.
Definition at line 112 of file YQTimeField.cc.
void YQTimeField::setLabel | ( | const std::string & | label | ) | [virtual] |
Set the label (the caption above the input field).
Reimplemented from YSimpleInputField.
Definition at line 80 of file YQTimeField.cc.
void YQTimeField::setSize | ( | int | newWidth, |
int | newHeight | ||
) | [virtual] |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 106 of file YQTimeField.cc.
void YQTimeField::setValue | ( | const std::string & | newValue | ) | [virtual] |
Set the current value (the text entered by the user or set from the outside) of this input field.
Implemented from YSimpleInputField.
Definition at line 74 of file YQTimeField.cc.
string YQTimeField::value | ( | ) | [virtual] |
Get the current value (the text entered by the user or set from the outside) of this input field.
Implemented from YSimpleInputField.
Definition at line 68 of file YQTimeField.cc.