summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-12-30 13:04:38 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-12-30 13:04:38 (GMT)
commitd280dcda3fc8ec2ae99641c95bc64823652b9f86 (patch)
tree23a2f956c041934df58ad05ce42a9c9649766cca /src/declarative/graphicsitems
parent411e60e45a779d8c80e70daee2bff9a1306f98db (diff)
downloadQt-d280dcda3fc8ec2ae99641c95bc64823652b9f86.zip
Qt-d280dcda3fc8ec2ae99641c95bc64823652b9f86.tar.gz
Qt-d280dcda3fc8ec2ae99641c95bc64823652b9f86.tar.bz2
Add documentation for integrating with existing Qt UI code
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsgraphicsobjectcontainer.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsgraphicsobjectcontainer.cpp b/src/declarative/graphicsitems/qmlgraphicsgraphicsobjectcontainer.cpp
index 275d38d..fa8aaeb 100644
--- a/src/declarative/graphicsitems/qmlgraphicsgraphicsobjectcontainer.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsgraphicsobjectcontainer.cpp
@@ -84,6 +84,16 @@ public:
/*!
\qmlclass GraphicsObjectContainer QmlGraphicsGraphicsObjectContainer
\brief The GraphicsObjectContainer element allows you to add QGraphicsObjects into Fluid UI elements.
+
+ While any QObject based class can be exposed to QML, QmlGraphicsItem
+ provides a lot of important functionality, including anchors and proper
+ management of child items. GraphicsObjectContainer helps provide these
+ functions to other QGraphicsObjects, so that they can be used unaltered in
+ a QML scene.
+
+ A GraphicsObjectContainer can have one element inside it, and it must be a
+ QGraphicsObject or subclass. The graphics object inside the
+ GraphicsObjectContainer can then be used normally.
*/
/*!