26 #define YUILogComponent "ui" 29 #include "YUISymbols.h" 31 #include "YShortcut.h" 49 YUI_CHECK_NEW( priv );
82 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
YFrame(YWidget *parent, const std::string &label)
Constructor.
std::string label() const
Get the current frame label.
virtual ~YFrame()
Destructor.
bool isEmpty() const
Returns 'true' if this property set does not contain anything.
virtual void setLabel(const std::string &newLabel)
Change the frame label.
Transport class for the value of simple properties.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
void add(const YProperty &prop)
Add a property to this property set.
A set of properties to check names and types against.
Helper class for shortcut management: This class holds data about the shortcut for one single widget...
std::string cleanShortcutString()
Returns the shortcut string ( from the widget's shortcut property ) without any "&" markers...
std::string stringVal() const
Methods to get the value of this property.
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
Class for widget properties.
virtual const YPropertySet & propertySet()
Return this class's property set.
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.