libyui-qt  2.46.13
YQTimeField Class Reference
Inheritance diagram for YQTimeField:
Collaboration diagram for YQTimeField:

Public Member Functions

 YQTimeField (YWidget *parent, const std::string &label)
 Constructor.
 
virtual ~YQTimeField ()
 Destructor.
 
virtual std::string value ()
 Get the current value (the text entered by the user or set from the outside) of this input field. More...
 
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. More...
 
virtual void setLabel (const std::string &label)
 Set the label (the caption above the input field). More...
 
virtual void setEnabled (bool enabled)
 Set enabled/disabled state. More...
 
virtual int preferredWidth ()
 Preferred width of the widget. More...
 
virtual int preferredHeight ()
 Preferred height of the widget. More...
 
virtual void setSize (int newWidth, int newHeight)
 Set the new size of the widget. More...
 
virtual bool setKeyboardFocus ()
 Accept the keyboard focus. More...
 

Protected Attributes

YQWidgetCaption_caption
 
QTimeEdit * _qt_timeEdit
 

Detailed Description

Definition at line 36 of file YQTimeField.h.

Member Function Documentation

int YQTimeField::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 106 of file YQTimeField.cc.

int YQTimeField::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 100 of file YQTimeField.cc.

void YQTimeField::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 93 of file YQTimeField.cc.

bool YQTimeField::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

Definition at line 118 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 86 of file YQTimeField.cc.

Here is the call graph for this function:

void YQTimeField::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 112 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 78 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 72 of file YQTimeField.cc.


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