libyui-qt
Loading...
Searching...
No Matches
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)
 

Constructor & Destructor Documentation

◆ YQCheckBoxFrame()

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

Constructor.

Member Function Documentation

◆ childEvent()

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.

◆ preferredHeight()

int YQCheckBoxFrame::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

◆ preferredWidth()

int YQCheckBoxFrame::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

◆ setEnabled()

void YQCheckBoxFrame::setEnabled ( bool  enabled)
virtual

Set enabled / disabled state.

Reimplemented from YWidget.

◆ setKeyboardFocus()

bool YQCheckBoxFrame::setKeyboardFocus ( )
virtual

Accept the keyboard focus.

Reimplemented from YWidget.

◆ setLabel()

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

Change the label text on the CheckBoxFrame.

Reimplemented from YCheckBoxFrame.

◆ setSize()

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

Set the new size of the widget.

Reimplemented from YWidget.

◆ setValue()

void YQCheckBoxFrame::setValue ( bool  isChecked)
virtual

Check or uncheck the CheckBoxFrame's check box.

Reimplemented from YCheckBoxFrame.

◆ value()

bool YQCheckBoxFrame::value ( )
virtual

Get the status of the CheckBoxFrame's check box.

Reimplemented from YCheckBoxFrame.


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