26 #ifndef YQCheckBoxFrame_h 27 #define YQCheckBoxFrame_h 29 #include <qgroupbox.h> 30 #include <yui/YCheckBoxFrame.h> 46 const std::string & label,
54 virtual void setLabel(
const std::string & label );
61 virtual void setValue(
bool isChecked );
96 virtual void setSize(
int newWidth,
int newHeight );
111 void stateChanged(
bool newState );
122 virtual bool event(QEvent *e);
126 #endif // YQCheckBoxFrame_h virtual int preferredWidth()
Preferred width of the widget.
virtual void childEvent(QChildEvent *)
Reimplemented from QGroupBox to prevent QGroupBox from disabling children according to the check box ...
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual bool value()
Get the status of the CheckBoxFrame's check box.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual void setValue(bool isChecked)
Check or uncheck the CheckBoxFrame's check box.
YQCheckBoxFrame(YWidget *parent, const std::string &label, bool checked)
Constructor.
virtual void setLabel(const std::string &label)
Change the label text on the CheckBoxFrame.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setEnabled(bool enabled)
Set enabled / disabled state.