|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
15 #include <QDomElement>
16 #include <QStringList>
35 retval->mName = name.isEmpty() ? uid : name;
37 retval->mFilePath.setFilepath(value);
38 foreach (QString path, paths)
39 retval->mFilePath.appendRootPath(path);
41 retval->mFilePath.setFilepath(retval->mStore.readValue(value));
Namespace for all CustusX production code.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
static FilePathPropertyPtr initialize(const QString &uid, QString name, QString help, QString value, QStringList paths, QDomNode root=QDomNode())
boost::shared_ptr< class FilePathProperty > FilePathPropertyPtr
virtual void setValueFromVariant(QVariant val)
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 QString getValue() const
virtual void setHelp(QString val)
virtual QVariant getValueAsVariant() const
virtual bool setValue(const QString &value)
virtual QString getUid() const