summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 00:29:39 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-02-25 00:32:27 (GMT)
commitb888a694c35fb0c291942a2aa4a056d7deec3245 (patch)
treeb7fcf749da72553ea619113e6ad0a27747ebb35b /doc
parent88eb10ee9163777d7534e3c7bb297745e0ed102e (diff)
downloadQt-b888a694c35fb0c291942a2aa4a056d7deec3245.zip
Qt-b888a694c35fb0c291942a2aa4a056d7deec3245.tar.gz
Qt-b888a694c35fb0c291942a2aa4a056d7deec3245.tar.bz2
Revert "Add QDeclarativeGraphicsWidget, a QGraphicsWidget version of QmlView"
This reverts commit 327d212f5cff81f1c21b7be5c54b3e1eab4f0ac5.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/declarative/integrating.qdoc10
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