26 #define YUILogComponent "ui"
29 #include "YUISymbols.h"
30 #include "YRichText.h"
40 , plainTextMode( plainTextMode )
41 , autoScrollDown ( false )
58 YUI_CHECK_NEW( priv );
73 priv->text = newValue;
85 return priv->plainTextMode;
97 return priv->autoScrollDown;
109 return priv->shrinkable;
130 propSet.
add(
YProperty( YUIProperty_Value, YStringProperty ) );
131 propSet.
add(
YProperty( YUIProperty_Text, YStringProperty ) );
void check(const std::string &propertyName) const
std::string value() const
void add(const YProperty &prop)
virtual void setValue(const std::string &newValue)
virtual const YPropertySet & propertySet()
std::string stringVal() const
YRichText(YWidget *parent, const std::string &text, bool plainTextMode=false)
virtual YPropertyValue getProperty(const std::string &propertyName)
bool plainTextMode() const
YRichTextPrivate(const std::string &text, bool plainTextMode)
bool autoScrollDown() const
virtual void setAutoScrollDown(bool on=true)
YPropertyType type() const
void setShrinkable(bool shrinkable=true)
virtual void setPlainTextMode(bool on=true)
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)