28 #define YUILogComponent "ui" 31 #include "YUISymbols.h" 32 #include "YUIException.h" 33 #include "YMacroRecorder.h" 34 #include "YRadioButtonGroup.h" 35 #include "YRadioButton.h" 47 , radioButtonGroup( 0 )
48 , useBoldFont( false )
62 const string & label )
66 YUI_CHECK_NEW( priv );
80 if ( priv->radioButtonGroup )
90 priv->label = newLabel;
102 return priv->useBoldFont;
108 priv->useBoldFont = bold;
124 propSet.
add(
YProperty( YUIProperty_Value, YBoolProperty ) );
125 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
138 if ( propertyName == YUIProperty_Value )
setValue( val.boolVal() );
166 if ( ! priv->radioButtonGroup )
171 return priv->radioButtonGroup;
184 if ( radioButtonGroup )
185 return radioButtonGroup;
187 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.