26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YCheckBox.h"
37 , useBoldFont(
false )
49 YUI_CHECK_NEW( priv );
61 priv->label = newLabel;
73 return priv->useBoldFont;
79 priv->useBoldFont = bold;
95 propSet.
add(
YProperty( YUIProperty_Value, YOtherProperty ) );
96 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
109 if ( propertyName == YUIProperty_Value )
return false;
125 if ( propertyName == YUIProperty_Value )
return YPropertyValue( YOtherProperty );
virtual const YPropertySet & propertySet()
void check(const std::string &propertyName) const
void add(const YProperty &prop)
YCheckBox(YWidget *parent, const std::string &label)
std::string stringVal() const
virtual void setLabel(const std::string &label)
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
virtual void setUseBoldFont(bool bold=true)
YPropertyType type() const
std::string label() const
virtual YPropertyValue getProperty(const std::string &propertyName)