|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
35 retval->mName = name.isEmpty() ? uid : name;
38 retval->mValue = retval->mStore.readValue(QString::number(value)).toInt();
static BoolPropertyPtr initialize(const QString &uid, QString name, QString help, bool value, QDomNode root=QDomNode())
void setHelp(QString val)
virtual bool getValue() const
get the data value.
virtual QString getUid() const
Namespace for all CustusX production code.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
boost::shared_ptr< class BoolProperty > BoolPropertyPtr
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
Helper class for storing one string value in an xml document.
virtual bool setValue(bool value)
set the data value.
void writeValue(const QString &val)