diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-05-27 10:11:23 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-05-27 13:14:56 +0000 |
commit | 8bce6c1dd0e57959f9a337ec999fa96953c3487f (patch) | |
tree | 593a3d5a61d40a3607786eabbcd96a27681871fd | |
parent | fdf8a963f556a4996ea09eda35fec191baff66b5 (diff) |
Templates: add missing QML type registrations
Change-Id: Ida61ff0290e92fd1df230636b558480d4831051f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r-- | src/imports/templates/qtquicktemplates2plugin.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index 7efddb3c..b0ec18d3 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -40,6 +40,7 @@ #include <QtQuickTemplates2/private/qquickapplicationwindow_p.h> #include <QtQuickTemplates2/private/qquickbusyindicator_p.h> #include <QtQuickTemplates2/private/qquickbutton_p.h> +#include <QtQuickTemplates2/private/qquickbuttongroup_p.h> #include <QtQuickTemplates2/private/qquickcheckbox_p.h> #include <QtQuickTemplates2/private/qquickcheckdelegate_p.h> #include <QtQuickTemplates2/private/qquickcombobox_p.h> @@ -111,6 +112,8 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType<QQuickApplicationWindowAttached>(); qmlRegisterType<QQuickBusyIndicator>(uri, 2, 0, "BusyIndicator"); qmlRegisterType<QQuickButton>(uri, 2, 0, "Button"); + qmlRegisterType<QQuickButtonGroup>(uri, 2, 0, "ButtonGroup"); + qmlRegisterType<QQuickButtonGroupAttached>(); qmlRegisterType<QQuickCheckBox>(uri, 2, 0, "CheckBox"); qmlRegisterType<QQuickCheckDelegate>(uri, 2, 0, "CheckDelegate"); qmlRegisterType<QQuickComboBox>(uri, 2, 0, "ComboBox"); @@ -135,11 +138,14 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType<QQuickRangeSlider>(uri, 2, 0, "RangeSlider"); qmlRegisterType<QQuickRangeSliderNode>(); qmlRegisterType<QQuickScrollBar>(uri, 2, 0, "ScrollBar"); + qmlRegisterType<QQuickScrollBarAttached>(); qmlRegisterType<QQuickScrollIndicator>(uri, 2, 0, "ScrollIndicator"); + qmlRegisterType<QQuickScrollIndicatorAttached>(); qmlRegisterType<QQuickSlider>(uri, 2, 0, "Slider"); qmlRegisterType<QQuickSpinBox>(uri, 2, 0, "SpinBox"); qmlRegisterType<QQuickSpinButton>(); qmlRegisterType<QQuickStackView>(uri, 2, 0, "StackView"); + qmlRegisterType<QQuickStackAttached>(); qmlRegisterType<QQuickSwipeDelegate>(uri, 2, 0, "SwipeDelegate"); qmlRegisterType<QQuickSwipe>(); qmlRegisterType<QQuickSwipeViewAttached>(); |