30 #include <yui/YCheckBox.h> 42 const std::string & label,
61 virtual YCheckBoxState
value();
68 virtual void setValue( YCheckBoxState state );
75 virtual void setLabel(
const std::string & label );
110 virtual void setSize(
int newWidth,
int newHeight );
125 void stateChanged (
int newState );
129 #endif // YQCheckBox_h YQCheckBox(YWidget *parent, const std::string &label, bool checked)
Constructor.
virtual void setValue(YCheckBoxState state)
Set the CheckBox value (on/off/don't care).
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual ~YQCheckBox()
Destructor.
virtual YCheckBoxState value()
Get the current value:
virtual int preferredWidth()
Preferred width of the widget.
virtual void setUseBoldFont(bool bold=true)
Use a bold font.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual void setLabel(const std::string &label)
Change the label (the text) on the RadioButton.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setEnabled(bool enabled)
Set enabled / disabled state.