aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quicktemplates2/qquickrangeslider.cpp3
-rw-r--r--src/quicktemplates2/qquickslider.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickrangeslider.cpp b/src/quicktemplates2/qquickrangeslider.cpp
index 4da1df82..35797203 100644
--- a/src/quicktemplates2/qquickrangeslider.cpp
+++ b/src/quicktemplates2/qquickrangeslider.cpp
@@ -792,6 +792,9 @@ void QQuickRangeSlider::setStepSize(qreal step)
This property holds the snap mode.
+ The snap mode determines how the slider handles behave with
+ regards to the \l stepSize.
+
Possible values:
\value RangeSlider.NoSnap The slider does not snap (default).
\value RangeSlider.SnapAlways The slider snaps while the handle is dragged.
diff --git a/src/quicktemplates2/qquickslider.cpp b/src/quicktemplates2/qquickslider.cpp
index 0729b5d4..e9717368 100644
--- a/src/quicktemplates2/qquickslider.cpp
+++ b/src/quicktemplates2/qquickslider.cpp
@@ -421,6 +421,9 @@ void QQuickSlider::setStepSize(qreal step)
This property holds the snap mode.
+ The snap mode determines how the slider handle behaves with
+ regards to the \l stepSize.
+
Possible values:
\value Slider.NoSnap The slider does not snap (default).
\value Slider.SnapAlways The slider snaps while the handle is dragged.