Make the animation framework docs more framework-agnostic
* (i.e. do not mention Kinetic) * Add some relevant references to Qt Quick * Refer to QMetaType::Type instead of the obsolete QVariant::Type Change-Id: I82b69250c933c7e54dc0c268fa6ce4379726fb0d Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
This commit is contained in:
parent
ca35995c1b
commit
7cba8a052f
@ -50,7 +50,7 @@
|
||||
QPropertyAnimation interpolates over \l{Qt's Property System}{Qt
|
||||
properties}. As property values are stored in \l{QVariant}s, the
|
||||
class inherits QVariantAnimation, and supports animation of the
|
||||
same \l{QVariant::Type}{variant types} as its super class.
|
||||
same \l{QMetaType::Type}{meta types} as its super class.
|
||||
|
||||
A class declaring properties must be a QObject. To make it
|
||||
possible to animate a property, it must provide a setter (so that
|
||||
|
@ -45,11 +45,14 @@
|
||||
|
||||
\keyword Animation
|
||||
|
||||
The animation framework is part of the Kinetic project, and aims
|
||||
to provide an easy way for creating animated and smooth GUI's. By
|
||||
animating Qt properties, the framework provides great freedom for
|
||||
animating widgets and other \l{QObject}s. The framework can also
|
||||
be used with the Graphics View framework.
|
||||
The animation framework aims to provide an easy way for creating animated
|
||||
and smooth GUI's. By animating Qt properties, the framework provides great
|
||||
freedom for animating widgets and other \l{QObject}s. The framework can
|
||||
also be used with the Graphics View framework. Many of the concepts
|
||||
available in the animation framework are also available in \l{Qt Quick},
|
||||
where it offers a declarative way of defining animations. Much of the
|
||||
knowledge acquired about the animation framework can be applied to
|
||||
\l{Qt Quick}.
|
||||
|
||||
In this overview, we explain the basics of its architecture. We
|
||||
also show examples of the most common techniques that the
|
||||
|
Loading…
Reference in New Issue
Block a user