From 53bfe6e0d84fa304b91e0295d7f4bb221d8296ef Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Mon, 23 Jun 2014 19:35:23 +0200 Subject: [PATCH] QmlDesigner.ItemLibrary: Adding TabView Change-Id: I7335f9ce23673ee1215390eb7bb3396fec8e5ebc Reviewed-by: Thomas Hartmann --- .../componentsplugin/components.metainfo | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/componentsplugin/components.metainfo b/src/plugins/qmldesigner/componentsplugin/components.metainfo index 9714d233b66..54c54717dfa 100644 --- a/src/plugins/qmldesigner/componentsplugin/components.metainfo +++ b/src/plugins/qmldesigner/componentsplugin/components.metainfo @@ -213,7 +213,23 @@ MetaInfo { } } - Type { + Type { + name: "QtQuick.Controls.TabView" + icon: ":/componentsplugin/images/window16.png" + + ItemLibraryEntry { + name: "Tab View" + category: "Qt Quick - Controls" + libraryIcon: ":/componentsplugin/images/window.png" + version: "1.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 360; } + Property { name: "height"; type: "int"; value: 300; } + } + } + + Type { name: "QtQuick.Controls.GroupBox" icon: ":/componentsplugin/images/window16.png"