From 5313a2b3fd9fe83b20b3e589f29e744be5fcab38 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 15 Feb 2018 13:55:50 +0100 Subject: Add DialogButtonBox::buttonLayout [ChangeLog][Controls][DialogButtonBox] Added buttonLayout property that can be used to arrange the buttons. Change-Id: I9160e5df86a0c9444b45ed9f585c50166c145671 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 f9bcfc98..024eb6cf 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -330,6 +330,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType(uri, 2, 4, "SpinBox"); // QtQuick.Templates 2.5 (new types and revisions in Qt 5.12) + qmlRegisterType(uri, 2, 5, "DialogButtonBox"); qmlRegisterType(uri, 2, 5, "Control"); qmlRegisterType(uri, 2, 5, "Popup"); qmlRegisterType(uri, 2, 5, "TextField"); -- cgit v1.2.3