|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
29 retval->mName = name.isEmpty() ? uid : name;
boost::shared_ptr< class ColorProperty > ColorPropertyPtr
virtual QString getUid() const
virtual QColor getValue() const
get the data value.
Namespace for all CustusX production code.
QColor string2color(QString input, QColor defaultValue)
void changed()
emit when the underlying data value is changed: The user interface will be updated.
static ColorPropertyPtr initialize(const QString &uid, QString name, QString help, QColor value, QDomNode root=QDomNode())
QString color2string(QColor color)
Helper class for storing one string value in an xml document.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual bool setValue(QColor value)
set the data value.
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
void writeValue(const QString &val)