65 Q_PROPERTY(QString quantity READ quantity WRITE setQuantity)
74 Q_PROPERTY(UnitAwareProperties unitAwareProperties READ unitAwareProperties WRITE setUnitAwareProperties)
93 Q_DECLARE_FLAGS(UnitAwareProperties, UnitAwareProperty)
99 QString quantity()const;
101 UnitAwareProperties unitAwareProperties()const;
104 void setQuantity(const QString& baseName);
110 void setUnitAwareProperties(UnitAwareProperties flags);
113 void updateWidgetFromUnitNode();
116 QScopedPointer<qMRMLSpinBoxPrivate> d_ptr;