Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQDate Class Reference

#include <YQDate.h>

Inheritance diagram for YQDate:

YDate YWidget List of all members.

Public Member Functions

 YQDate (QWidget *parent, const YWidgetOpt &opt, const YCPString &label, const YCPString &date)
void setEnabling (bool enabled)
long nicesize (YUIDimension dim)
void setNewDate (const YCPString &text)
void setSize (long newWidth, long newHeight)
YCPString getDate ()
void setLabel (const YCPString &label)

Protected Attributes

QDateEdit * _qt_dateedit
QLabel * _qt_label

Constructor & Destructor Documentation

YQDate::YQDate QWidget *  parent,
const YWidgetOpt opt,
const YCPString label,
const YCPString date
 

Constructor.


Member Function Documentation

YCPString YQDate::getDate  )  [virtual]
 

Gets the date currently entered in the Date entry

Implements YDate.

long YQDate::nicesize YUIDimension  dim  )  [virtual]
 

Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT

Implements YWidget.

void YQDate::setEnabling bool  enabled  )  [virtual]
 

Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input.

Reimplemented from YWidget.

void YQDate::setLabel const YCPString label  )  [virtual]
 

Changes the label of the date entry.

Reimplemented from YDate.

void YQDate::setNewDate const YCPString text  )  [virtual]
 

Set the date in the entry to a new value

Implements YDate.

void YQDate::setSize long  newWidth,
long  newHeight
[virtual]
 

Sets the new size of the widget.

Reimplemented from YWidget.


Member Data Documentation

QDateEdit* YQDate::_qt_dateedit [protected]
 

Change the label text.

QLabel* YQDate::_qt_label [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:59:03 2005 for yast2-qt by  doxygen 1.4.4