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

YQIntField Class Reference

#include <YQIntField.h>

Inheritance diagram for YQIntField:

YIntField YWidget List of all members.

Public Slots

void setValueSlot (int newValue)

Public Member Functions

 YQIntField (QWidget *parent, const YWidgetOpt &opt, const YCPString &label, int minValue, int maxValue, int initialValue)
void setEnabling (bool enabled)
long nicesize (YUIDimension dim)
void setSize (long newWidth, long newHeight)
void setLabel (const YCPString &label)
virtual bool setKeyboardFocus ()
void setValue (int newValue)
virtual int value ()

Protected Attributes

QLabel * _qt_label
QSpinBox * _qt_spinbox

Constructor & Destructor Documentation

YQIntField::YQIntField QWidget *  parent,
const YWidgetOpt opt,
const YCPString label,
int  minValue,
int  maxValue,
int  initialValue
 

Constructor.


Member Function Documentation

long YQIntField::nicesize YUIDimension  dim  )  [virtual]
 

Preferred size. Inherited from YWidget.

Implements YWidget.

void YQIntField::setEnabling bool  enabled  )  [virtual]
 

Sets the widget's enabled state. Inherited from YWidget.

Reimplemented from YWidget.

bool YQIntField::setKeyboardFocus  )  [virtual]
 

Accept the keyboard focus.

Reimplemented from YWidget.

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

Change the IntField label. Calls YIntField::setLabel at the end. Inherited from YIntField.

Reimplemented from YIntField.

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

Set the new size of the widget. Inherited from YWidget.

Reimplemented from YWidget.

void YQIntField::setValue int  newValue  )  [virtual]
 

Change the value. Calls YIntField::setProgress at the end. Inherited from YIntField.

Reimplemented from YIntField.

void YQIntField::setValueSlot int  newValue  )  [slot]
 

Slot for setting the value. This is needed separately from setValue() to avoid infinite loops via ChangeWidget().

int YQIntField::value  )  [virtual]
 

Reimplemented from YIntField.


Member Data Documentation

QLabel* YQIntField::_qt_label [protected]
 

QSpinBox* YQIntField::_qt_spinbox [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 06:11:16 2008 for yast2-qt by  doxygen 1.3.9.1