diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2022-09-08 16:09:02 +0200 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2022-09-20 14:28:08 +0200 |
commit | 4a338aa1804a4d812cf1b9bb20274e480e3c8e9c (patch) | |
tree | 913c8d28f4c1706de017b272c05135c75ba451ab /src/corelib/animation/qpropertyanimation.cpp | |
parent | 82e7ac23a035a1c034d2ed665ecaeeb72914b715 (diff) |
Doc: Update the animation framework overview
- Clarify how the object ownership works
- Language clean up
- Update the snippets
Pick-to: 6.4 6.3 6.2
Task-number: QTBUG-106071
Change-Id: I7caf42a150ef82dee920df4d03db6fd988796bd4
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/corelib/animation/qpropertyanimation.cpp')
-rw-r--r-- | src/corelib/animation/qpropertyanimation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/animation/qpropertyanimation.cpp b/src/corelib/animation/qpropertyanimation.cpp index 109358b389..985371d30f 100644 --- a/src/corelib/animation/qpropertyanimation.cpp +++ b/src/corelib/animation/qpropertyanimation.cpp @@ -22,6 +22,10 @@ \snippet code/src_corelib_animation_qpropertyanimation.cpp 0 + \note You can also control an animation's lifespan by choosing a + \l{QAbstractAnimation::DeletionPolicy}{delete policy} while starting the + animation. + The property name and the QObject instance of which property should be animated are passed to the constructor. You can then specify the start and end value of the property. The procedure is |