42 #include "private/qdeclarativestate_p.h" 43 #include "private/qdeclarativestategroup_p.h" 44 #include "private/qdeclarativestate_p_p.h" 45 #include "private/qdeclarativestateoperations_p.h" 46 #include "private/qdeclarativeanimation_p.h" 47 #include "private/qdeclarativeanimation_p_p.h" 48 #include "private/qdeclarativetransitionmanager_p_p.h" 50 #include <QParallelAnimationGroup> 119 reversed(false), reversible(false), endState(0)
167 q->d_func()->group.removeAnimation(firstAnim->
qtAnimation());
215 for (
int ii =
d->animations.count() - 1; ii >= 0; --ii) {
219 for (
int ii = 0; ii <
d->animations.count(); ++ii) {
224 d->endState = endState;
261 if (f ==
d->fromState)
298 return d->reversible;
304 if (r ==
d->reversible)
354 #include <qdeclarativetransition.moc>
static void clear_animations(QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list)
static int animation_count(QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list)
virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
Reimplemented Function
void setToState(const QString &)
~QDeclarativeTransition()
#define QT_END_NAMESPACE
This macro expands to.
State
This enum describes the state of the animation.
static QDeclarativeAbstractAnimation * animation_at(QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list, int pos)
long ASN1_INTEGER_get ASN1_INTEGER * a
void setDisableUserControl()
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations
QDeclarativeTransitionManager * endState
void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
Reimplemented Function
QAnimationGroup * group() const
If this animation is part of a QAnimationGroup, this function returns a pointer to the group; otherwi...
QDeclarativeTransitionPrivate * trans
int currentLoopTime() const
Returns the current time inside the current loop.
#define QT_BEGIN_NAMESPACE
This macro expands to.
Q_DECLARATIVE_EXPORT void qmlExecuteDeferred(QObject *)
QString fromState() const
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
void prepare(QDeclarativeStateOperation::ActionList &actions, QList< QDeclarativeProperty > &after, QDeclarativeTransitionManager *end)
#define Q_DECLARE_PUBLIC(Class)
The QParallelAnimationGroup class provides a parallel group of animations.
virtual QAbstractAnimation * qtAnimation()=0
ParallelAnimationWrapper(QObject *parent=0)
QObject * parent() const
Returns a pointer to the parent object.
static void append_animation(QDeclarativeListProperty< QDeclarativeAbstractAnimation > *list, QDeclarativeAbstractAnimation *a)
QDeclarativeTransition(QObject *parent=0)
Direction direction() const
QDeclarativeTransitionPrivate()
ParallelAnimationWrapper group
QList< QDeclarativeAbstractAnimation * > animations
void setFromState(const QString &)
int duration() const
Reimplemented Function
QDeclarativeListProperty< QDeclarativeAbstractAnimation > animations()
The QList class is a template class that provides lists.