libyui-qt  2.43.3
 All Classes Functions Variables
YQCheckBoxFrame Class Reference
Inheritance diagram for YQCheckBoxFrame:
Collaboration diagram for YQCheckBoxFrame:

Public Member Functions

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

Protected Member Functions

virtual void childEvent (QChildEvent *)
 
virtual bool event (QEvent *e)
 

Detailed Description

Definition at line 36 of file YQCheckBoxFrame.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 43 of file YQCheckBoxFrame.cc.

Here is the call graph for this function:

Member Function Documentation

void YQCheckBoxFrame::childEvent ( QChildEvent *  event)
protectedvirtual

Reimplemented from QGroupBox to prevent QGroupBox from disabling children according to the check box status as the children are inserted.

Definition at line 133 of file YQCheckBoxFrame.cc.

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: