libyui-qt  2.46.13
YQRadioButton Class Reference
Inheritance diagram for YQRadioButton:
Collaboration diagram for YQRadioButton:

Public Member Functions

 YQRadioButton (YWidget *parent, const std::string &label, bool checked)
 Constructor.
 
virtual bool value ()
 Return the "checked" state of the RadioButton. More...
 
virtual void setValue (bool checked)
 Set the "checked" state of the RadioButton. More...
 
virtual void setLabel (const std::string &label)
 Change the label (the text) on the RadioButton. More...
 
virtual void setUseBoldFont (bool bold=true)
 Use a bold font. More...
 
virtual void setEnabled (bool enabled)
 Set enabled / disabled state. More...
 
virtual int preferredWidth ()
 Preferred width of the widget. More...
 
virtual int preferredHeight ()
 Preferred height of the widget. More...
 
virtual void setSize (int newWidth, int newHeight)
 Set the new size of the widget. More...
 
virtual bool setKeyboardFocus ()
 Accept the keyboard focus. More...
 

Protected Slots

void changed (bool newState)
 Triggered when the RadioButton is toggled.
 
bool eventFilter (QObject *obj, QEvent *event)
 Redirect events to this object.
 

Detailed Description

Definition at line 35 of file YQRadioButton.h.

Member Function Documentation

int YQRadioButton::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 91 of file YQRadioButton.cc.

int YQRadioButton::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 85 of file YQRadioButton.cc.

void YQRadioButton::setEnabled ( bool  enabled)
virtual

Set enabled / disabled state.

Reimplemented from YWidget.

Definition at line 133 of file YQRadioButton.cc.

bool YQRadioButton::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

Definition at line 140 of file YQRadioButton.cc.

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

Change the label (the text) on the RadioButton.

Reimplemented from YRadioButton.

Definition at line 126 of file YQRadioButton.cc.

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 97 of file YQRadioButton.cc.

void YQRadioButton::setUseBoldFont ( bool  bold = true)
virtual

Use a bold font.

Reimplemented from YRadioButton.

Definition at line 75 of file YQRadioButton.cc.

Here is the call graph for this function:

void YQRadioButton::setValue ( bool  checked)
virtual

Set the "checked" state of the RadioButton.

Reimplemented from YRadioButton.

Definition at line 109 of file YQRadioButton.cc.

bool YQRadioButton::value ( )
virtual

Return the "checked" state of the RadioButton.

Reimplemented from YRadioButton.

Definition at line 103 of file YQRadioButton.cc.


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