From 2a2a58a061bef4360708b8dcfda31a959b01ba66 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 2 Dec 2016 14:58:52 +0100 Subject: Add QQuickSpinBox::valueModified() Another name candidate was valueEdited(), but it was left available in case we want to have the respective signal for text editing in the future. [ChangeLog][Controls][SpinBox] Added a valueModified() signal that is emitted whenever the value of a spin box has been interactively modified by the user by using either touch, mouse, wheel, or keys. Task-number: QTBUG-57203 Change-Id: I705c7e63d23235f51d401abf27f3458f8a5b0589 Reviewed-by: Mitch Curtis --- src/imports/templates/qtquicktemplates2plugin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/imports/templates/qtquicktemplates2plugin.cpp') diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index 203cba30..b78d3146 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -229,6 +229,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType(uri, 2, 2, "Drawer"); qmlRegisterType(uri, 2, 2, "RangeSlider"); qmlRegisterType(uri, 2, 2, "Slider"); + qmlRegisterType(uri, 2, 2, "SpinBox"); qmlRegisterType(uri, 2, 2, "SwipeDelegate"); qmlRegisterType(uri, 2, 2, "Tumbler"); } -- cgit v1.2.3