26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YBusyIndicator.h"
53 const std::string & label,
59 YUI_CHECK_NEW( priv );
95 priv->timeout = newTimeout;
121 propSet.
add(
YProperty( YUIProperty_Timeout, YIntegerProperty ) );
122 propSet.
add(
YProperty( YUIProperty_Alive, YBoolProperty ) );
123 propSet.
add(
YProperty( YUIProperty_Label, YStringProperty ) );
136 if ( propertyName == YUIProperty_Timeout )
setTimeout( val.integerVal() );
137 else if ( propertyName == YUIProperty_Alive )
setAlive( val.boolVal() );
virtual YPropertyValue getProperty(const std::string &propertyName)
void check(const std::string &propertyName) const
virtual void setAlive(bool newAlive)
void add(const YProperty &prop)
virtual ~YBusyIndicator()
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
std::string stringVal() const
virtual void setLabel(const std::string &label)
virtual void setTimeout(int newTimeout)
virtual const YPropertySet & propertySet()
YPropertyType type() const
YBusyIndicator(YWidget *parent, const std::string &label, int timeout=1000, bool alive=true)