13#include <private/qquickanimatorjob_p.h>
15#include "private/qparallelanimationgroupjob_p.h"
117 a->setDisableUserControl();
135 while (
q->d_func()->animations.size()) {
137 q->d_func()->animations.removeAll(firstAnim);
157 emit q->runningChanged();
161 emit q->runningChanged();
177 : m_transition(transition)
240 int start =
d->reversed ?
d->animations.size() - 1 : 0;
241 int end =
d->reversed ? -1 :
d->animations.size();
245 anim =
d->animations.at(
i)->transition(actions, after,
direction, defaultTarget);
249 d->reversed ?
group->prependAnimation(anim) :
group->appendAnimation(anim);
251 d->reversed ? --
i : ++
i;
295 if (
f ==
d->fromState)
330 return d->reversible;
336 if (
r ==
d->reversible)
417 return d->runningInstanceCount;
447#include "moc_qquicktransition_p.cpp"
\qmltype Transition \instantiates QQuickTransition \inqmlmodule QtQuick
void updateState(QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) override
ParallelAnimationWrapper()
QQuickTransitionManager * manager
void addAnimationChangeListener(QAnimationJobChangeListener *listener, QAbstractAnimationJob::ChangeTypes)
QAbstractAnimationJob::State state() const
int currentLoopTime() const
QAbstractAnimationJob::Direction direction() const
int duration() const override
void updateState(QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) override
The QQmlListProperty class allows applications to expose list-like properties of QObject-derived clas...
void removeStateChangeListener()
QQuickTransitionInstance(QQuickTransition *transition, QAbstractAnimationJob *anim)
~QQuickTransitionInstance()
void animationStateChanged(QAbstractAnimationJob *, QAbstractAnimationJob::State, QAbstractAnimationJob::State) override
QAbstractAnimationJob::State state
static qsizetype animation_count(QQmlListProperty< QQuickAbstractAnimation > *list)
quint32 runningInstanceCount
static void clear_animations(QQmlListProperty< QQuickAbstractAnimation > *list)
static void append_animation(QQmlListProperty< QQuickAbstractAnimation > *list, QQuickAbstractAnimation *a)
static QQuickTransitionPrivate * get(QQuickTransition *q)
void animationStateChanged(QAbstractAnimationJob::State newState)
QList< QQuickAbstractAnimation * > animations
static QQuickAbstractAnimation * animation_at(QQmlListProperty< QQuickAbstractAnimation > *list, qsizetype pos)
QQuickTransitionPrivate()
QQmlListProperty< QQuickAbstractAnimation > animations
\qmlproperty list<Animation> QtQuick::Transition::animations \qmldefault
QQuickTransitionInstance * prepare(QQuickStateOperation::ActionList &actions, QList< QQmlProperty > &after, QQuickTransitionManager *end, QObject *defaultTarget)
void setEnabled(bool enabled)
QQuickTransition(QObject *parent=nullptr)
QString fromState() const
\qmlproperty string QtQuick::Transition::from \qmlproperty string QtQuick::Transition::to
void setFromState(const QString &)
void setToState(const QString &)
\macro QT_RESTRICTED_CAST_FROM_ASCII
void newState(QList< State > &states, const char *token, const char *lexem, bool pre)
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLdouble GLdouble GLdouble GLdouble q
void qmlExecuteDeferred(QObject *object)
QNetworkAccessManager manager
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent