26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YShortcut.h"
53 YUI_CHECK_NEW( priv );
68 const std::string & iconName )
89 propSet.
add(
YProperty( YUIProperty_Items, YOtherProperty ) );
90 propSet.
add(
YProperty( YUIProperty_EnabledItems, YOtherProperty ) );
91 propSet.
add(
YProperty( YUIProperty_IconPath, YStringProperty ) );
104 if ( propertyName == YUIProperty_Items )
return false;
105 else if ( propertyName == YUIProperty_EnabledItems )
return false;
121 if ( propertyName == YUIProperty_Items )
return YPropertyValue( YOtherProperty );
122 else if ( propertyName == YUIProperty_EnabledItems )
return YPropertyValue( YOtherProperty );
void add(const YProperty &prop)
Add a property to this property set.
A set of properties to check names and types against.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
std::string stringVal() const
Methods to get the value of this property.
YPropertyType type() const
Returns the type of this property value.
Class for widget properties.
void check(const std::string &propertyName) const
Check if a property 'propertyName' exists in this property set.
Transport class for the value of simple properties.