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

Public Member Functions

 YQCheckBoxFrame (YWidget *parent, const std::string &label, bool checked)
 Constructor.
 
virtual void setLabel (const std::string &label)
 Change the label text on the CheckBoxFrame. More...
 
virtual void setValue (bool isChecked)
 Check or uncheck the CheckBoxFrame's check box. More...
 
virtual bool value ()
 Get the status of the CheckBoxFrame's check box. 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 Member Functions

virtual void childEvent (QChildEvent *)
 Reimplemented from QGroupBox to prevent QGroupBox from disabling children according to the check box status as the children are inserted.
 
virtual bool event (QEvent *e)
 

Detailed Description

Definition at line 36 of file YQCheckBoxFrame.h.

Member Function Documentation

int YQCheckBoxFrame::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 177 of file YQCheckBoxFrame.cc.

int YQCheckBoxFrame::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 167 of file YQCheckBoxFrame.cc.

void YQCheckBoxFrame::setEnabled ( bool  enabled)
virtual

Set enabled / disabled state.

Reimplemented from YWidget.

Definition at line 79 of file YQCheckBoxFrame.cc.

Here is the call graph for this function:

bool YQCheckBoxFrame::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

Definition at line 187 of file YQCheckBoxFrame.cc.

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

Change the label text on the CheckBoxFrame.

Reimplemented from YCheckBoxFrame.

Definition at line 59 of file YQCheckBoxFrame.cc.

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

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 148 of file YQCheckBoxFrame.cc.

void YQCheckBoxFrame::setValue ( bool  isChecked)
virtual

Check or uncheck the CheckBoxFrame's check box.

Reimplemented from YCheckBoxFrame.

Definition at line 72 of file YQCheckBoxFrame.cc.

Here is the call graph for this function:

bool YQCheckBoxFrame::value ( )
virtual

Get the status of the CheckBoxFrame's check box.

Reimplemented from YCheckBoxFrame.

Definition at line 66 of file YQCheckBoxFrame.cc.


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