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

YQRadioButton Class Reference

#include <YQRadioButton.h>

Inheritance diagram for YQRadioButton:

YRadioButton YWidget List of all members.

Public Member Functions

 YQRadioButton (QWidget *parent, const YWidgetOpt &opt, YRadioButtonGroup *rbg, const YCPString &label, bool checked)
void setEnabling (bool enabled)
long nicesize (YUIDimension dim)
void setSize (long newWidth, long newHeight)
void setValue (const YCPBoolean &checked)
YCPBoolean getValue ()
void setLabel (const YCPString &label)
virtual bool setKeyboardFocus ()
QRadioButton * getQtButton ()

Protected Slots

void changed (bool newState)

Protected Attributes

QRadioButton * _qt_radiobutton

Constructor & Destructor Documentation

YQRadioButton::YQRadioButton (  QWidget *  parent,
const YWidgetOpt &  opt,
YRadioButtonGroup *  rbg,
const YCPString &  label,
bool  checked
) 
 

Constructor.


Member Function Documentation

void YQRadioButton::changed (  bool  newState  )  [protected, slot]
 

Triggered when the RadioButton is toggled. This _may_ be of interest to the module.

QRadioButton * YQRadioButton::getQtButton (   ) 
 

Returns the actual qt button. Used by YQButtonGroup

YCPBoolean YQRadioButton::getValue (   )  [virtual]
 

Returns, whether the RadioButton is checked.

Implements YRadioButton.

long YQRadioButton::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 YQRadioButton::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.

bool YQRadioButton::setKeyboardFocus (   )  [virtual]
 

Accept the keyboard focus.

Reimplemented from YWidget.

void YQRadioButton::setLabel (  const YCPString &  label  )  [virtual]
 

Changes the label of the text entry.

Reimplemented from YRadioButton.

void YQRadioButton::setSize (  long  newWidth,
long  newHeight
)  [virtual]
 

Sets the new size of the widget.

Reimplemented from YWidget.

void YQRadioButton::setValue (  const YCPBoolean &  checked  )  [virtual]
 

Sets the checked-state of the RadioButton

Implements YRadioButton.


Member Data Documentation

QRadioButton* YQRadioButton::_qt_radiobutton [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