libyui-qt  2.43.5
YQCheckBoxFrame Class Reference

List of all members.

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) [protected, virtual]

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.

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 177 of file YQCheckBoxFrame.cc.

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:

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