diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-25 05:51:22 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-25 05:51:22 (GMT) |
commit | b915bc2d710e365e7c9083ba65d08de08ea02f74 (patch) | |
tree | 8e87760b9154493372f1f8b499b52e661547e3ca /doc/src | |
parent | 950f3849e3bd2edd6bcc2784dbeadcb604c38e2d (diff) | |
parent | d022acd47350f61d3959b076d7bc92df86015b16 (diff) | |
download | Qt-b915bc2d710e365e7c9083ba65d08de08ea02f74.zip Qt-b915bc2d710e365e7c9083ba65d08de08ea02f74.tar.gz Qt-b915bc2d710e365e7c9083ba65d08de08ea02f74.tar.bz2 |
Merge branch 'master' of scm.dev.nokia.troll.no:qt/qt-qml
Diffstat (limited to 'doc/src')
-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 |