|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
27 retval->mName = name.isEmpty() ? uid : name;
29 retval->mRange = range;
32 retval->mDecimals = decimals;
36 DoublePairProperty::DoublePairProperty()
virtual QString getUid() const
QString qstring_cast(const T &val)
Namespace for all CustusX production code.
virtual Eigen::Vector2d getValue() const
get the data value.
static DoublePairPropertyPtr initialize(const QString &uid, QString name, QString help, DoubleRange range, int decimals, QDomNode root=QDomNode())
void changed()
emit when the underlying data value is changed: The user interface will be updated.
void setInternal2Display(double factor)
virtual QString getDisplayName() const
name of data entity. Used for display to user.
Helper class for storing one string value in an xml document.
boost::shared_ptr< class DoublePairProperty > DoublePairPropertyPtr
virtual bool setValue(const Eigen::Vector2d &value)
set the data value.
virtual void setValueRange(DoubleRange range)
range of value. Use if data is constrained to a set.
Implementation of DoublePairPropertyBase.
void writeValue(const QString &val)
Utility class for describing a bounded numeric range.
virtual DoubleRange getValueRange() const
virtual int getValueDecimals() const
number of relevant decimals in value
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
Eigen::Vector2d fromString(const QString &text)