diff options
Diffstat (limited to 'src/quicktemplates2/qquickrangeslider.cpp')
-rw-r--r-- | src/quicktemplates2/qquickrangeslider.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickrangeslider.cpp b/src/quicktemplates2/qquickrangeslider.cpp index c1cf13db..3c9065db 100644 --- a/src/quicktemplates2/qquickrangeslider.cpp +++ b/src/quicktemplates2/qquickrangeslider.cpp @@ -68,6 +68,13 @@ QT_BEGIN_NAMESPACE } \endcode + In order to perform an action when the value for a particular handle changes, + use the following syntax: + + \code + first.onValueChanged: console.log("first.value changed to " + first.value) + \endcode + The \l {first.position} and \l {second.position} properties are expressed as fractions of the control's size, in the range \c {0.0 - 1.0}. The \l {first.visualPosition} and \l {second.visualPosition} properties are |