diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-04-04 08:56:17 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-04-05 09:12:02 +0000 |
commit | 583b7b0324a03337b8f21b5c2eacb6657c16ade7 (patch) | |
tree | 1f419c1de9c129e8b5120a97d5a11b2870854edc /src/imports/templates | |
parent | 449ebc4fbc26db7b8ef4091f780163e3045b97c7 (diff) |
RangeSlider: add first.moved() and second.moved() signals
This is necessary to respond to changes in values, as the documentation
currently advises using onValuedChanged, which can result in
binding loop errors and is generally not the right way to respond
to input changes.
[ChangeLog][Controls][RangeSlider] Added a moved() signal to
each handle (similar to the Slider's moved() signal) to
react to the values being interactively changed by the user.
Task-number: QTBUG-67311
Change-Id: I4a026042855c69f22755415031bac8833cd566a9
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/imports/templates')
-rw-r--r-- | src/imports/templates/qtquicktemplates2plugin.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index f565dafb..81330447 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -340,7 +340,6 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType<QQuickTextArea, 5>(uri, 2, 5, "TextArea"); qmlRegisterType<QQuickTextField, 5>(uri, 2, 5, "TextField"); qmlRegisterType<QQuickToolTip, 5>(uri, 2, 5, "ToolTip"); - } QT_END_NAMESPACE |