diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2010-02-25 01:17:49 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2010-02-25 01:17:49 (GMT) |
commit | d9e0fad176e277d84af4d80c916becabdf01d969 (patch) | |
tree | cfd1fb57e7b50b629308c7cbdaf4ad4c46f0c836 /doc | |
parent | 091467faaed8728e3f49dbb402f71372f088f808 (diff) | |
parent | b888a694c35fb0c291942a2aa4a056d7deec3245 (diff) | |
download | Qt-d9e0fad176e277d84af4d80c916becabdf01d969.zip Qt-d9e0fad176e277d84af4d80c916becabdf01d969.tar.gz Qt-d9e0fad176e277d84af4d80c916becabdf01d969.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/integrating.qdoc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/doc/src/declarative/integrating.qdoc b/doc/src/declarative/integrating.qdoc index 09ed178..c685d3d 100644 --- a/doc/src/declarative/integrating.qdoc +++ b/doc/src/declarative/integrating.qdoc @@ -86,9 +86,6 @@ QGraphicsObject *object = scene->addItem(object); \endcode -There is a convenience QGraphicsWidget subclass, QDeclarativeGraphicsWidget, which takes care of the engine -and component instantiation for you. - The following QGraphicsView options are recommended for optimal performance of QML UIs: @@ -98,13 +95,6 @@ of QML UIs: \o QGraphicsScene::setItemIndexMethod(QGraphicsScene::NoIndex); \endlist -And the following QGraphicsView options are required for QML key handling to work: - -\list -\o QGraphicsView::viewport()->setFocusPolicy(Qt::NoFocus); -\o QGraphicsScene::setStickyFocus(true); -\endlist - \section1 Using existing QGraphicsWidgets in QML Another way of integrating with a QGraphicsView based UI is to expose your existing QGraphicsWidgets to QML, and constructing your scene in QML. Note that |