libyui-qt
Loading...
Searching...
No Matches
YQTimeField Class Reference
Inheritance diagram for YQTimeField:
Collaboration diagram for YQTimeField:

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
 

Constructor & Destructor Documentation

◆ YQTimeField()

YQTimeField::YQTimeField ( YWidget *  parent,
const std::string &  label 
)

Constructor.

◆ ~YQTimeField()

YQTimeField::~YQTimeField ( )
virtual

Destructor.

Member Function Documentation

◆ preferredHeight()

int YQTimeField::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

◆ preferredWidth()

int YQTimeField::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

◆ setEnabled()

void YQTimeField::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

◆ setKeyboardFocus()

bool YQTimeField::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

◆ setLabel()

void YQTimeField::setLabel ( const std::string &  label)
virtual

Set the label (the caption above the input field).

Reimplemented from YSimpleInputField.

◆ setSize()

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

Set the new size of the widget.

Reimplemented from YWidget.

◆ setValue()

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.

◆ value()

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.


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