libyui-qt  2.44.0
 All Classes Functions Variables
YQDateField Class Reference
Inheritance diagram for YQDateField:
Collaboration diagram for YQDateField:

Public Member Functions

 YQDateField (YWidget *parent, const std::string &label)
 
virtual ~YQDateField ()
 
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
 
QDateEdit * _qt_dateEdit
 

Detailed Description

Definition at line 37 of file YQDateField.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 38 of file YQDateField.cc.

YQDateField::~YQDateField ( )
virtual

Destructor.

Definition at line 64 of file YQDateField.cc.

Member Function Documentation

int YQDateField::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 103 of file YQDateField.cc.

int YQDateField::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 97 of file YQDateField.cc.

void YQDateField::setEnabled ( bool  enabled)
virtual

Set enabled/disabled state.

Reimplemented from YWidget.

Definition at line 90 of file YQDateField.cc.

bool YQDateField::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

Definition at line 115 of file YQDateField.cc.

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

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

Reimplemented from YSimpleInputField.

Definition at line 83 of file YQDateField.cc.

Here is the call graph for this function:

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 109 of file YQDateField.cc.

void YQDateField::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 76 of file YQDateField.cc.

string YQDateField::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 70 of file YQDateField.cc.


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