Animation API
summary
A new Qt animation framework exposes QAbstractAnimation with concrete QAnimation (animates QObjects via Q_PROPERTY and pseudo‑properties for QGraphicsItem) and QAnimationGroup (sequential or parallel). States hold property snapshots and StateGroups make them exclusive; Transitions (subclassed from animation groups) run animations when state changes. Features: default 250ms duration, ~60fps timing, deleteWhenFinished ownership, ~40 predefined QEasingCurve types, demo code animates geometry, opacity and color. The API is unfinished and published on Labs for testing and feedback.
AI-written summary · about
chapters (14)
- 0:00Introduction to animation API
- 3:18Project goals and background
- 7:34States in animation API
- 10:08Demo: States switching
- 13:44Animations and their properties
- 21:20Graphics item animations
- 23:53Easing curves and effects
- 25:20Animation groups
- 27:27Demo: Color and opacity animation
- 31:18Sequential animation groups
- 34:24Transitions between states
- 36:55Demo: Elastic transitions
- 40:07Class diagram and summary
- 41:57Feedback and future plans
