diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2010-02-16 12:50:52 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-02-16 12:50:52 (GMT) |
commit | 5f41a70bf1bc5c28b7d08d6da84aff4126479b6d (patch) | |
tree | c15dd5a0a256995f6f44efc2b5f68f529c8c31ab /doc/src/declarative/integrating.qdoc | |
parent | 0ca62a15e146f1c038b3ee8db8cac51509a3b28e (diff) | |
parent | 80d33cec47b8188efd473070acb5ebcc1e772583 (diff) | |
download | Qt-5f41a70bf1bc5c28b7d08d6da84aff4126479b6d.zip Qt-5f41a70bf1bc5c28b7d08d6da84aff4126479b6d.tar.gz Qt-5f41a70bf1bc5c28b7d08d6da84aff4126479b6d.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-1
Diffstat (limited to 'doc/src/declarative/integrating.qdoc')
-rw-r--r-- | doc/src/declarative/integrating.qdoc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/declarative/integrating.qdoc b/doc/src/declarative/integrating.qdoc index 86c513e..b7f8b17 100644 --- a/doc/src/declarative/integrating.qdoc +++ b/doc/src/declarative/integrating.qdoc @@ -68,10 +68,12 @@ elements, and QML is a better choice if your UI is comprised of a large number of simple and dynamic elements. \section1 Adding QML to a QGraphicsView based UI -If you have an existing Graphics View based UI you can create new items in QML, -and use \l{QmlComponent} to create \l{QGraphicsObject}s from the QML files. These -\l{QGraphicsObject}s can then be placed into your \l{QGraphicsScene} using \l{QGraphicsScene::addItem} -or by reparenting them to an item already in the \l{QGraphicsScene}. + +If you have an existing Graphics View based UI you can create new +items in QML, and use \l{QmlComponent} to create \l{QGraphicsObject}s +from the QML files. These \l{QGraphicsObject}s can then be placed into +your \l{QGraphicsScene} using \l{QGraphicsScene::addItem()} or by +reparenting them to an item already in the \l{QGraphicsScene}. Example, for local QML files: |