aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/qml-type-descriptions
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2011-06-22 17:17:06 +0200
committerChristian Kamm <christian.d.kamm@nokia.com>2011-06-23 11:01:15 +0200
commit46e970c37c33f37220eba7818154ddeb03045852 (patch)
tree21e56307483618b04066bdccfaebbcf8e3fb356d /share/qtcreator/qml-type-descriptions
parent600ec853d36c1191f36cb627b4843ec863c59ecb (diff)
qmldump: Fix for extended objects.
Before, extended objects had the same exports as the base object which lead to trouble. Change-Id: Id40f0e0fd2211db95020ce224cf2c52939e68df7 Reviewed-on: http://codereview.qt.nokia.com/642 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'share/qtcreator/qml-type-descriptions')
-rw-r--r--share/qtcreator/qml-type-descriptions/qtquick.qmltypes72
1 files changed, 34 insertions, 38 deletions
diff --git a/share/qtcreator/qml-type-descriptions/qtquick.qmltypes b/share/qtcreator/qml-type-descriptions/qtquick.qmltypes
index 1508158b4a..16f4a8abca 100644
--- a/share/qtcreator/qml-type-descriptions/qtquick.qmltypes
+++ b/share/qtcreator/qml-type-descriptions/qtquick.qmltypes
@@ -652,6 +652,22 @@ Module {
Property { name: "color"; type: "QColor" }
}
Component {
+ name: "QDeclarativeGraphicsWidget"
+ defaultProperty: "children"
+ prototype: "QGraphicsWidget"
+ exports: [
+ "Qt/QGraphicsWidget 4.7",
+ "QtQuick/QGraphicsWidget 1.0"
+ ]
+ Property { name: "anchors"; type: "QDeclarativeAnchors"; isReadonly: true; isPointer: true }
+ Property { name: "left"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ Property { name: "right"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ Property { name: "horizontalCenter"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ Property { name: "top"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ Property { name: "bottom"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ Property { name: "verticalCenter"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ }
+ Component {
name: "QDeclarativeGrid"
defaultProperty: "data"
prototype: "QDeclarativeBasePositioner"
@@ -2948,18 +2964,24 @@ Module {
Component {
name: "QGraphicsWidget"
defaultProperty: "children"
- prototype: "__extended__.QGraphicsWidget"
- exports: [
- "Qt/QGraphicsWidget 4.7",
- "QtQuick/QGraphicsWidget 1.0"
- ]
- Property { name: "anchors"; type: "QDeclarativeAnchors"; isReadonly: true; isPointer: true }
- Property { name: "left"; type: "QDeclarativeAnchorLine"; isReadonly: true }
- Property { name: "right"; type: "QDeclarativeAnchorLine"; isReadonly: true }
- Property { name: "horizontalCenter"; type: "QDeclarativeAnchorLine"; isReadonly: true }
- Property { name: "top"; type: "QDeclarativeAnchorLine"; isReadonly: true }
- Property { name: "bottom"; type: "QDeclarativeAnchorLine"; isReadonly: true }
- Property { name: "verticalCenter"; type: "QDeclarativeAnchorLine"; isReadonly: true }
+ prototype: "QGraphicsObject"
+ Property { name: "palette"; type: "QPalette" }
+ Property { name: "font"; type: "QFont" }
+ Property { name: "layoutDirection"; type: "Qt::LayoutDirection" }
+ Property { name: "size"; type: "QSizeF" }
+ Property { name: "minimumSize"; type: "QSizeF" }
+ Property { name: "preferredSize"; type: "QSizeF" }
+ Property { name: "maximumSize"; type: "QSizeF" }
+ Property { name: "sizePolicy"; type: "QSizePolicy" }
+ Property { name: "focusPolicy"; type: "Qt::FocusPolicy" }
+ Property { name: "windowFlags"; type: "Qt::WindowFlags" }
+ Property { name: "windowTitle"; type: "string" }
+ Property { name: "geometry"; type: "QRectF" }
+ Property { name: "autoFillBackground"; type: "bool" }
+ Property { name: "layout"; type: "QGraphicsLayout"; isPointer: true }
+ Signal { name: "geometryChanged" }
+ Signal { name: "layoutChanged" }
+ Method { name: "close"; type: "bool" }
}
Component {
name: "QIntValidator"
@@ -4305,31 +4327,5 @@ Module {
}
}
}
- Component {
- name: "__extended__.QGraphicsWidget"
- defaultProperty: "children"
- prototype: "QGraphicsObject"
- exports: [
- "Qt/QGraphicsWidget 4.7",
- "QtQuick/QGraphicsWidget 1.0"
- ]
- Property { name: "palette"; type: "QPalette" }
- Property { name: "font"; type: "QFont" }
- Property { name: "layoutDirection"; type: "Qt::LayoutDirection" }
- Property { name: "size"; type: "QSizeF" }
- Property { name: "minimumSize"; type: "QSizeF" }
- Property { name: "preferredSize"; type: "QSizeF" }
- Property { name: "maximumSize"; type: "QSizeF" }
- Property { name: "sizePolicy"; type: "QSizePolicy" }
- Property { name: "focusPolicy"; type: "Qt::FocusPolicy" }
- Property { name: "windowFlags"; type: "Qt::WindowFlags" }
- Property { name: "windowTitle"; type: "string" }
- Property { name: "geometry"; type: "QRectF" }
- Property { name: "autoFillBackground"; type: "bool" }
- Property { name: "layout"; type: "QGraphicsLayout"; isPointer: true }
- Signal { name: "geometryChanged" }
- Signal { name: "layoutChanged" }
- Method { name: "close"; type: "bool" }
- }
Component { name: "QEasingCurve"; prototype: "QDeclarativeEasingValueType" }
}