26 mColor = QColor(240, 170, 255, 255);
54 QDomDocument doc = dataNode.ownerDocument();
56 QDomElement colorNode = doc.createElement(
"color");
58 dataNode.appendChild(colorNode);
65 if (dataNode.isNull())
68 QDomNode colorNode = dataNode.namedItem(
"color");
69 if (!colorNode.isNull())
boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
QColor string2color(QString input, QColor defaultValue)
void addXml(QDomNode &dataNode)
adds xml information about the data and its variabels
QString color2string(QColor color)
void setColor(const QColor &color)
static RegistrationHistoryPtr getNullObject()
void propertiesChanged()
emitted when one of the metadata properties (uid, name etc) changes
PatientModelServicePtr mDataManager
virtual void addXml(QDomNode &dataNode)
adds xml information about the data and its variabels
virtual QString getSpace()
SpaceProviderPtr mSpaceProvider
void parseXml(QDomNode &dataNode)
Use a XML node to load data.
DataMetric(const QString &uid, const QString &name, PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
virtual void parseXml(QDomNode &dataNode)
Use a XML node to load data.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
RegistrationHistoryPtr m_rMd_History
Superclass for all data objects.
Namespace for all CustusX production code.