47 mColor = QColor(240, 170, 255, 255);
62 return QString(
"%1 \"%2\"")
82 QDomDocument doc = dataNode.ownerDocument();
84 QDomElement colorNode = doc.createElement(
"color");
86 dataNode.appendChild(colorNode);
93 if (dataNode.isNull())
96 QDomNode colorNode = dataNode.namedItem(
"color");
97 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
virtual QString getType() const
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
QString getSingleLineHeader() const
cxLogicManager_EXPORT SpaceProviderPtr spaceProvider()
RegistrationHistoryPtr m_rMd_History
Superclass for all data objects.