Skip to content

Commit

Permalink
ENH: Convert ctkDoubleRangeSlider::setRange to a slot to expose to Py…
Browse files Browse the repository at this point in the history
…thon

Suggested-by: Harald Scheirich <[email protected]>
  • Loading branch information
jcfr committed Dec 19, 2023
1 parent 0ed831a commit f8bc141
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Libs/Widgets/ctkDoubleRangeSlider.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,6 @@ class CTK_WIDGETS_EXPORT ctkDoubleRangeSlider : public QWidget
double maximum()const;
void setMaximum(double max);

///
/// Sets the slider's minimum to min and its maximum to max.
/// If max is smaller than min, min becomes the only legal value.
void setRange(double min, double max);

///
/// This property holds the slider's current minimum value.
/// The slider forces the minimum value to be within the legal range:
Expand Down Expand Up @@ -235,6 +230,11 @@ class CTK_WIDGETS_EXPORT ctkDoubleRangeSlider : public QWidget

public Q_SLOTS:
///
/// Sets the slider's minimum to min and its maximum to max.
/// If max is smaller than min, min becomes the only legal value.
void setRange(double min, double max);

///
/// This property holds the slider's current minimum value.
/// The slider forces the minimum value to be within the legal range:
/// minimum <= minvalue <= maxvalue <= maximum.
Expand Down

0 comments on commit f8bc141

Please sign in to comment.