43 RangedSlider(QWidget* parent=0); |
43 RangedSlider(QWidget* parent=0); |
44 |
44 |
45 Q_PROPERTY( double value READ value WRITE setValue ) |
45 Q_PROPERTY( double value READ value WRITE setValue ) |
46 |
46 |
47 double value() const { return _val; } |
47 double value() const { return _val; } |
|
48 double minval() const { return _prefMin; } |
|
49 double maxval() const { return _prefMax; } |
48 |
50 |
49 //! \brief Set the background brush for the widget. |
51 //! \brief Set the background brush for the widget. |
50 void setBackgroundBrush( QBrush const& brush ); |
52 void setBackgroundBrush( QBrush const& brush ); |
51 //! \brief Set the brush for the marker. |
53 //! \brief Set the brush for the marker. |
52 void setMarkerBrush( QBrush const& brush ); |
54 void setMarkerBrush( QBrush const& brush ); |