28 #define YUILogComponent "ui" 31 #include "YUISymbols.h" 32 #include "YUIException.h" 33 #include "YMacroRecorder.h" 34 #include "YRadioButtonGroup.h" 35 #include "YRadioButton.h" 46 , radioButtonGroup( 0 )
47 , useBoldFont( false )
61 const std::string & label )
65 YUI_CHECK_NEW( priv );
79 if ( priv->radioButtonGroup )
89 priv->label = newLabel;
101 return priv->useBoldFont;
107 priv->useBoldFont = bold;
123 propSet.
add(
YProperty( YUIProperty_Value, YBoolProperty ) );
124 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
137 if ( propertyName == YUIProperty_Value )
setValue( val.boolVal() );
165 if ( ! priv->radioButtonGroup )
170 return priv->radioButtonGroup;
183 if ( radioButtonGroup )
184 return radioButtonGroup;
186 widget = widget->
parent();
Abstract base class for macro recorders.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
Transport class for the value of simple properties.
void add(const YProperty &prop)
Add a property to this property set.
A set of properties to check names and types against.
std::string stringVal() const
Methods to get the value of this property.
virtual void recordWidgetProperty(YWidget *widget, const char *propertyName)=0
Record one widget property.
Class for widget properties.
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
YPropertyType type() const
Returns the type of this property value.