29 Q_DISABLE_COPY(QAnimationGroupJob)
31 using Children = QDoubleEndedList<QAbstractAnimationJob>;
34 ~QAnimationGroupJob() override;
36 void appendAnimation(QAbstractAnimationJob *animation);
37 void prependAnimation(QAbstractAnimationJob *animation);
38 void removeAnimation(QAbstractAnimationJob *animation);
40 Children *children() {
return &m_children; }
41 const Children *children()
const {
return &m_children; }
46 virtual void uncontrolledAnimationFinished(QAbstractAnimationJob *animation);
48 void topLevelAnimationLoopChanged() override;
50 virtual void animationInserted(QAbstractAnimationJob*) { }
51 virtual void animationRemoved(QAbstractAnimationJob*, QAbstractAnimationJob*, QAbstractAnimationJob*);
54 void resetUncontrolledAnimationsFinishTime();
55 void resetUncontrolledAnimationFinishTime(QAbstractAnimationJob *anim);
56 int uncontrolledAnimationFinishTime(
const QAbstractAnimationJob *anim)
const
58 return anim->m_uncontrolledFinishTime;
60 void setUncontrolledAnimationFinishTime(QAbstractAnimationJob *anim,
int time);
62 void debugChildren(QDebug d)
const;
64 void ungroupChild(QAbstractAnimationJob *animation);
65 void handleAnimationRemoved(QAbstractAnimationJob *animation);