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

Public Member Functions

 YQCheckBox (YWidget *parent, const std::string &label, bool checked)
 Constructor.
 
virtual ~YQCheckBox ()
 Destructor.
 
virtual YCheckBoxState value ()
 Get the current value: More...
 
virtual void setValue (YCheckBoxState state)
 Set the CheckBox value (on/off/don't care). 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...
 

Detailed Description

Definition at line 32 of file YQCheckBox.h.

Member Function Documentation

int YQCheckBox::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 129 of file YQCheckBox.cc.

int YQCheckBox::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 123 of file YQCheckBox.cc.

void YQCheckBox::setEnabled ( bool  enabled)
virtual

Set enabled / disabled state.

Reimplemented from YWidget.

Definition at line 116 of file YQCheckBox.cc.

bool YQCheckBox::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

Definition at line 141 of file YQCheckBox.cc.

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

Change the label (the text) on the RadioButton.

Reimplemented from YRadioButton.

Definition at line 99 of file YQCheckBox.cc.

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 135 of file YQCheckBox.cc.

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

Use a bold font.

Reimplemented from YRadioButton.

Definition at line 106 of file YQCheckBox.cc.

Here is the call graph for this function:

void YQCheckBox::setValue ( YCheckBoxState  state)
virtual

Set the CheckBox value (on/off/don't care).

Reimplemented from YCheckBox.

Definition at line 77 of file YQCheckBox.cc.

YCheckBoxState YQCheckBox::value ( )
virtual

Get the current value:

YCheckBox_on CheckBox is checked YCheckBox_off CheckBox is unchecked

YCheckBox_dont_care tri-state: CheckBox is greyed out, neither checked nor unchecked

Reimplemented from YCheckBox.

Definition at line 63 of file YQCheckBox.cc.


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