libyui-qt  2.43.5
YQRadioButton Class Reference

List of all members.

Public Member Functions

 YQRadioButton (YWidget *parent, const std::string &label, bool checked)
virtual bool value ()
virtual void setValue (bool checked)
virtual void setLabel (const std::string &label)
virtual void setUseBoldFont (bool bold=true)
virtual void setEnabled (bool enabled)
virtual int preferredWidth ()
virtual int preferredHeight ()
virtual void setSize (int newWidth, int newHeight)
virtual bool setKeyboardFocus ()

Protected Slots

void changed (bool newState)
bool eventFilter (QObject *obj, QEvent *event)

Detailed Description

Definition at line 35 of file YQRadioButton.h.


Constructor & Destructor Documentation

YQRadioButton::YQRadioButton ( YWidget *  parent,
const std::string &  label,
bool  checked 
)

Constructor.

Definition at line 51 of file YQRadioButton.cc.

Here is the call graph for this function:


Member Function Documentation

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

Triggered when the RadioButton is toggled.

Definition at line 148 of file YQRadioButton.cc.

Here is the call graph for this function:

bool YQRadioButton::eventFilter ( QObject *  obj,
QEvent *  event 
) [protected, slot]

Redirect events to this object.

Definition at line 169 of file YQRadioButton.cc.

Here is the call graph for this function:

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:
 All Classes Functions Variables