56 retval->mName = name.isEmpty() ? uid : name;
59 retval->mValue = retval->mStore.
readValue(QString::number(value)).toInt();
static BoolPropertyPtr initialize(const QString &uid, QString name, QString help, bool value, QDomNode root=QDomNode())
virtual bool setValue(bool value)
set the data value.
void setHelp(QString val)
virtual bool getValue() const
get the data value.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
Helper class for storing one string value in an xml document.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
void writeValue(const QString &val)
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
QString readValue(const QString &defval) const
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
virtual QString getUid() const