26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YCheckBoxFrame.h"
38 , invertAutoEnable(
false )
43 bool invertAutoEnable;
50 const std::string & label,
55 YUI_CHECK_NEW( priv );
77 return priv->autoEnable;
88 return priv->invertAutoEnable;
105 yuiDebug() << ( enabled ?
"Enabling" :
"Disabling" ) <<
" child widgets of " <<
this << std::endl;
123 propSet.
add(
YProperty( YUIProperty_Value, YBoolProperty ) );
124 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
137 if ( propertyName == YUIProperty_Value )
setValue( val.boolVal() );
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
YCheckBoxFrame(YWidget *parent, const std::string &label, bool checked)
void check(const std::string &propertyName) const
void add(const YProperty &prop)
virtual void setAutoEnable(bool autoEnable)
std::string label() const
std::string stringVal() const
bool invertAutoEnable() const
virtual YPropertyValue getProperty(const std::string &propertyName)
void handleChildrenEnablement(bool isChecked)
virtual const YPropertySet & propertySet()
YPropertyType type() const
virtual void setInvertAutoEnable(bool invertAutoEnable)
virtual void setLabel(const std::string &label)
virtual ~YCheckBoxFrame()
virtual void setValue(bool isChecked)=0