64 Q_PROPERTY(QString quantity READ quantity WRITE setQuantity)
74 Q_PROPERTY(UnitAwareProperties unitAwareProperties READ unitAwareProperties WRITE setUnitAwareProperties)
75 Q_PROPERTY(Qt::Orientation orientation READ orientation WRITE setOrientation)
92 All = Prefix | Suffix | Precision | MinimumValue | MaximumValue | Scaling
94 Q_DECLARE_FLAGS(UnitAwareProperties, UnitAwareProperty)
102 QString quantity()const;
106 UnitAwareProperties unitAwareProperties()const;
111 void setMinimum(
double) override;
112 void setMaximum(
double) override;
113 void setRange(
double,
double) override;
117 Qt::Orientation orientation();
120 void setQuantity(const QString& baseName);
126 void setUnitAwareProperties(UnitAwareProperties flags);
130 void setOrientation(Qt::Orientation orientation);
133 void updateWidgetFromUnitNode();
136 QScopedPointer<qMRMLSliderWidgetPrivate> d_ptr;