From b0fd258cbb2a17610a185f76076cf6cda0bdfc09 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Fri, 18 Nov 2016 20:34:17 +0100 Subject: Add Drawer::interactive [ChangeLog][Controls][Drawer] Added interactive property that specifies whether the drawer reacts to swipes. This can be used to make drawer a non-closable persistent side-bar. Task-number: QTBUG-53169 Change-Id: I00a794b5ce47b86fcb28e0db784ca0488cd13a7d 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 76cce2d3..ef6787f4 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -225,6 +225,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) // QtQuick.Templates 2.2 (new types and revisions in Qt 5.9) qmlRegisterType(uri, 2, 2, "ComboBox"); qmlRegisterType(uri, 2, 2, "Dial"); + qmlRegisterType(uri, 2, 2, "Drawer"); qmlRegisterType(uri, 2, 2, "RangeSlider"); qmlRegisterType(uri, 2, 2, "Slider"); qmlRegisterType(uri, 2, 2, "SwipeDelegate"); -- cgit v1.2.3