diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-03-28 11:37:34 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-03-28 11:12:35 +0000 |
commit | 72e12f8e5ee54a919c254000a017f3f918825406 (patch) | |
tree | 37d7eed07ad198002aabf89bb626ba87f662ba07 /src/imports/templates | |
parent | b44048ae27bd916d0eaa1e7d6a5456488ff76f29 (diff) |
Slider: add horizontal and vertical properties for convenience
[ChangeLog][Controls][Slider] Added horizontal and vertical properties
to make it more convenient to create orientation-dependent bindings in
styles.
Change-Id: Iec3332f873e482590ab4f0cca08323c905527c77
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/templates')
-rw-r--r-- | src/imports/templates/qtquicktemplates2plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index a37fa977..36db0188 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -256,6 +256,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) // QtQuick.Templates 2.3 (new types and revisions in Qt 5.10) qmlRegisterType<QQuickIcon>(); qmlRegisterType<QQuickAbstractButton, 3>(uri, 2, 3, "AbstractButton"); + qmlRegisterType<QQuickSlider, 3>(uri, 2, 3, "Slider"); } QT_END_NAMESPACE |