From 63088a000da149665e4b7bc74a7e300e8832eb0a Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 18 Apr 2013 15:58:00 +0200 Subject: [PATCH] QmlDesigner.Controls: Adding missing items to library Change-Id: I96b7916b4ce64c404c175e72edc2b0a3ef015155 Reviewed-by: Marco Bubke --- .../componentsplugin/components.metainfo | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/src/plugins/qmldesigner/componentsplugin/components.metainfo b/src/plugins/qmldesigner/componentsplugin/components.metainfo index 206d719a246..6337597aa70 100644 --- a/src/plugins/qmldesigner/componentsplugin/components.metainfo +++ b/src/plugins/qmldesigner/componentsplugin/components.metainfo @@ -235,6 +235,23 @@ MetaInfo { } } + Type { + name: "QtQuick.Controls.ToolButton" + icon: ":/desktopplugin/images/button16.png" + + ItemLibraryEntry { + name: "Tool Button" + category: "Qt Quick - Controls" + libraryIcon: ":/desktopplugin/images/button.png" + version: "1.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 360; } + Property { name: "height"; type: "int"; value: 50; } + } + } + + Type { name: "QtQuick.Controls.ToolBar" icon: ":/desktopplugin/images/toolbar16.png" @@ -251,6 +268,22 @@ MetaInfo { } } + Type { + name: "QtQuick.Controls.StatusBar" + icon: ":/desktopplugin/images/toolbar16.png" + + ItemLibraryEntry { + name: "Status Bar" + category: "Qt Quick - Controls" + libraryIcon: ":/desktopplugin/images/toolbar.png" + version: "1.0" + requiredImport: "QtQuick.Controls" + + Property { name: "width"; type: "int"; value: 360; } + Property { name: "height"; type: "int"; value: 50; } + } + } + Type { name: "QtQuick.Controls.Dial" //icon: ":/desktopplugin/images/progressbar16.png" @@ -267,4 +300,52 @@ MetaInfo { } } + Type { + name: "QtQuick.Layouts.RowLayout" + icon: ":/qtquickplugin/images/item-icon16.png" + + ItemLibraryEntry { + name: "Row Layout" + category: "Qt Quick - Layouts" + libraryIcon: ":/qtquickplugin/images/item-icon.png" + version: "1.0" + requiredImport: "QtQuick.Layouts" + + Property { name: "width"; type: "int"; value: 100; } + Property { name: "height"; type: "int"; value: 100; } + } + } + + Type { + name: "QtQuick.Layouts.ColumnLayout" + icon: ":/qtquickplugin/images/item-icon16.png" + + ItemLibraryEntry { + name: "Column Layout" + category: "Qt Quick - Layouts" + libraryIcon: ":/qtquickplugin/images/item-icon.png" + version: "1.0" + requiredImport: "QtQuick.Layouts" + + Property { name: "width"; type: "int"; value: 100; } + Property { name: "height"; type: "int"; value: 100; } + } + } + + Type { + name: "QtQuick.Layouts.GridLayout" + icon: ":/qtquickplugin/images/item-icon16.png" + + ItemLibraryEntry { + name: "Grid Layout" + category: "Qt Quick - Layouts" + libraryIcon: ":/qtquickplugin/images/item-icon.png" + version: "1.0" + requiredImport: "QtQuick.Layouts" + + Property { name: "width"; type: "int"; value: 100; } + Property { name: "height"; type: "int"; value: 100; } + } + } + }