summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-20 14:08:26 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-20 14:08:26 (GMT)
commit991a5ed5a8dc0c81d56c88823bd69d986618d4e5 (patch)
treed0391f75f14d3dfcf10773006869da3b574dd136 /doc
parentea990fc4c575a76c46464e8b8caa2a03c64f067b (diff)
parentd9fa92933ff6ff1afad342f7f94e37f810cf8176 (diff)
downloadQt-991a5ed5a8dc0c81d56c88823bd69d986618d4e5.zip
Qt-991a5ed5a8dc0c81d56c88823bd69d986618d4e5.tar.gz
Qt-991a5ed5a8dc0c81d56c88823bd69d986618d4e5.tar.bz2
Merge commit 'd9fa92' into origin-4.6
Diffstat (limited to 'doc')
-rw-r--r--doc/src/frameworks-technologies/graphicsview.qdoc14
1 files changed, 4 insertions, 10 deletions
diff --git a/doc/src/frameworks-technologies/graphicsview.qdoc b/doc/src/frameworks-technologies/graphicsview.qdoc
index 1503f53..ba89c7d 100644
--- a/doc/src/frameworks-technologies/graphicsview.qdoc
+++ b/doc/src/frameworks-technologies/graphicsview.qdoc
@@ -437,13 +437,10 @@
\section2 Animation
Graphics View supports animation at several levels. You can easily
- assemble animation paths by associating a QGraphicsItemAnimation with
- your item. This allows timeline controlled animations that operate at
- a steady speed on all platforms (although the frame rate may vary
- depending on the platform's performance). QGraphicsItemAnimation
- allows you to create a path for an item's position, rotation, scale,
- shear and translation. The animation can be controlled by a QSlider,
- or more commonly by QTimeLine.
+ assemble animation by using the Animation Framework. For that you'll
+ need your items to inherit from QGraphicsObject and associate
+ QPropertyAnimation with them. QPropertyAnimation allows to animate any
+ QObject property.
Another option is to create a custom item that inherits from QObject
and QGraphicsItem. The item can the set up its own timers, and control
@@ -454,9 +451,6 @@
QGraphicsScene::advance(), which in turn calls
QGraphicsItem::advance().
- See also the \l{Drag and Drop Robot Example}{Drag and Drop Robot}
- example for an illustration of timeline-based animation techniques.
-
\section2 OpenGL Rendering
To enable OpenGL rendering, you simply set a new QGLWidget as the