From cea175fca9e07d4b8bbb47508c49a8dac554797b Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Tue, 10 Apr 2018 15:19:11 +0200 Subject: SwipeView: add contentWidth and contentHeight [ChangeLog][Controls][SwipeView] Added contentWidth and contentHeight properties. Change-Id: I9c37583cb5fcfb1af2d98d5d3753277e17e82608 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 ace2b316..72e76b02 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -338,6 +338,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType(); qmlRegisterType(uri, 2, 5, "RangeSlider"); qmlRegisterType(uri, 2, 5, "Slider"); + qmlRegisterType(uri, 2, 5, "SwipeView"); qmlRegisterType(uri, 2, 5, "TextArea"); qmlRegisterType(uri, 2, 5, "TextField"); qmlRegisterType(uri, 2, 5, "ToolTip"); -- cgit v1.2.3