forked from qt-creator/qt-creator
QmlDesinger: remove QtQuick 1 items
Change-Id: I439e3bacbe8bde7a82194e247bcb47dff926bcc2 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
@@ -4,16 +4,6 @@ MetaInfo {
|
||||
name: "QtQuick.Item"
|
||||
icon: ":/qtquickplugin/images/item-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Item"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/item-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 200; }
|
||||
Property { name: "height"; type: "int"; value: 200; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Item"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -29,18 +19,6 @@ MetaInfo {
|
||||
name: "QtQuick.Rectangle"
|
||||
icon: ":/qtquickplugin/images/rect-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Rectangle"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/rect-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 200; }
|
||||
Property { name: "height"; type: "int"; value: 200; }
|
||||
Property { name: "color"; type: "QColor"; value: "#ffffff"; }
|
||||
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Rectangle"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -57,16 +35,6 @@ MetaInfo {
|
||||
name: "QtQuick.Text"
|
||||
icon: ":/qtquickplugin/images/text-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Text"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/text-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "font.pixelSize"; type: "int"; value: 12; }
|
||||
Property { name: "text"; type: "binding"; value: "qsTr(\"Text\")"; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Text"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -82,19 +50,6 @@ MetaInfo {
|
||||
name: "QtQuick.TextEdit"
|
||||
icon: ":/qtquickplugin/images/text-edit-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Text Edit"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/text-edit-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 80; }
|
||||
Property { name: "height"; type: "int"; value: 20; }
|
||||
Property { name: "font.pixelSize"; type: "int"; value: 12; }
|
||||
Property { name: "text"; type: "binding"; value: "qsTr(\"Text Edit\")"; }
|
||||
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Text Edit"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -112,18 +67,6 @@ MetaInfo {
|
||||
name: "QtQuick.TextInput"
|
||||
icon: ":/qtquickplugin/images/text-input-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Text Input"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/text-edit-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 80; }
|
||||
Property { name: "height"; type: "int"; value: 20; }
|
||||
Property { name: "font.pixelSize"; type: "int"; value: 12; }
|
||||
Property { name: "text"; type: "binding"; value: "qsTr(\"Text Input\")"; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Text Input"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -141,17 +84,6 @@ MetaInfo {
|
||||
name: "QtQuick.MouseArea"
|
||||
icon: ":/qtquickplugin/images/mouse-area-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "MouseArea"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/mouse-area-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 100; }
|
||||
Property { name: "height"; type: "int"; value: 100; }
|
||||
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "MouseArea"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -167,17 +99,6 @@ MetaInfo {
|
||||
name: "QtQuick.Image"
|
||||
icon: ":/qtquickplugin/images/image-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Image"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/image-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 100; }
|
||||
Property { name: "height"; type: "int"; value: 100; }
|
||||
Property { name: "source"; type: "QUrl"; value:"qrc:/qtquickplugin/images/template_image.png"; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Image"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -194,17 +115,6 @@ MetaInfo {
|
||||
name: "QtQuick.BorderImage"
|
||||
icon: ":/qtquickplugin/images/border-image-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Border Image"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/border-image-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 100; }
|
||||
Property { name: "height"; type: "int"; value: 100; }
|
||||
Property { name: "source"; type: "QUrl"; value:"qrc:/qtquickplugin/images/template_image.png"; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Border Image"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -221,16 +131,6 @@ MetaInfo {
|
||||
name: "QtQuick.Flickable"
|
||||
icon: ":/qtquickplugin/images/flickable-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Flickable"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/flickable-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 300; }
|
||||
Property { name: "height"; type: "int"; value: 300; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Flickable"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -246,15 +146,6 @@ MetaInfo {
|
||||
name: "QtQuick.GridView"
|
||||
icon: ":/qtquickplugin/images/gridview-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Grid View"
|
||||
category: "Qt Quick - Views"
|
||||
libraryIcon: ":/qtquickplugin/images/gridview-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
QmlSource { source: ":/qtquickplugin/source/gridview.qml" }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Grid View"
|
||||
category: "Qt Quick - Views"
|
||||
@@ -292,15 +183,6 @@ MetaInfo {
|
||||
name: "QtQuick.PathView"
|
||||
icon: ":/qtquickplugin/images/pathview-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Path View"
|
||||
category: "Qt Quick - Views"
|
||||
libraryIcon: ":/qtquickplugin/images/pathview-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
QmlSource { source: ":/qtquickplugin/source/pathview.qml" }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Path View"
|
||||
category: "Qt Quick - Views"
|
||||
@@ -315,16 +197,6 @@ MetaInfo {
|
||||
name: "QtQuick.FocusScope"
|
||||
icon: ":/qtquickplugin/images/focusscope-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Focus Scope"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/focusscope-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 100; }
|
||||
Property { name: "height"; type: "int"; value: 100; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Focus Scope"
|
||||
category: "Qt Quick - Basic"
|
||||
@@ -336,49 +208,10 @@ MetaInfo {
|
||||
}
|
||||
}
|
||||
|
||||
Type {
|
||||
name: "QtWebKit.WebView"
|
||||
icon: ":/qtquickplugin/images/webview-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Web View"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/webview-icon.png"
|
||||
version: "1.0"
|
||||
requiredImport: "QtWebKit"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 300; }
|
||||
Property { name: "height"; type: "int"; value: 300; }
|
||||
Property { name: "url"; type: "QString"; value: "qrc:/qtquickplugin/html/welcome.html" }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Web View"
|
||||
category: "Qt Quick - Basic"
|
||||
libraryIcon: ":/qtquickplugin/images/webview-icon.png"
|
||||
version: "2.0"
|
||||
requiredImport: "QtWebKit"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 300; }
|
||||
Property { name: "height"; type: "int"; value: 300; }
|
||||
Property { name: "url"; type: "QString"; value: "qrc:/qtquickplugin/html/welcome.html" }
|
||||
}
|
||||
}
|
||||
|
||||
Type {
|
||||
name: "QtQuick.Column"
|
||||
icon: ":/qtquickplugin/images/item-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Column"
|
||||
category: "Qt Quick - Positioner"
|
||||
libraryIcon: ":/qtquickplugin/images/item-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 200; }
|
||||
Property { name: "height"; type: "int"; value: 400; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Column"
|
||||
category: "Qt Quick - Positioner"
|
||||
@@ -394,16 +227,6 @@ MetaInfo {
|
||||
name: "QtQuick.Row"
|
||||
icon: ":/qtquickplugin/images/item-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Row"
|
||||
category: "Qt Quick - Positioner"
|
||||
libraryIcon: ":/qtquickplugin/images/item-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 200; }
|
||||
Property { name: "height"; type: "int"; value: 400; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Row"
|
||||
category: "Qt Quick - Positioner"
|
||||
@@ -419,16 +242,6 @@ MetaInfo {
|
||||
name: "QtQuick.Grid"
|
||||
icon: ":/qtquickplugin/images/item-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Grid"
|
||||
category: "Qt Quick - Positioner"
|
||||
libraryIcon: ":/qtquickplugin/images/item-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 400; }
|
||||
Property { name: "height"; type: "int"; value: 400; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Grid"
|
||||
category: "Qt Quick - Positioner"
|
||||
@@ -444,16 +257,6 @@ MetaInfo {
|
||||
name: "QtQuick.Flow"
|
||||
icon: ":/qtquickplugin/images/item-icon16.png"
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Flow"
|
||||
category: "Qt Quick - Positioner"
|
||||
libraryIcon: ":/qtquickplugin/images/item-icon.png"
|
||||
version: "1.0"
|
||||
|
||||
Property { name: "width"; type: "int"; value: 400; }
|
||||
Property { name: "height"; type: "int"; value: 400; }
|
||||
}
|
||||
|
||||
ItemLibraryEntry {
|
||||
name: "Flow"
|
||||
category: "Qt Quick - Positioner"
|
||||
|
||||
Reference in New Issue
Block a user