54 const std::string &
text,
74 std::string
text()
const;
80 std::string label()
const {
return text(); }
88 virtual void setText(
const std::string & newText );
94 void setLabel(
const std::string & newLabel ) {
setText( newLabel ); }
138 virtual bool setProperty(
const std::string & propertyName,
std::string value() const
virtual void setText(const std::string &newText)
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
virtual YPropertyValue getProperty(const std::string &propertyName)
virtual std::string debugLabel() const
virtual const YPropertySet & propertySet()
YLabel(YWidget *parent, const std::string &text, bool isHeading=false, bool isOutputField=false)
void setValue(const std::string &newValue)
virtual void setUseBoldFont(bool bold=true)
virtual const char * widgetClass() const
bool isOutputField() const