![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Types | |
enum | Mode { Track , Velocity , Spring , Track , Velocity , Spring } |
enum | Mode { Track , Velocity , Spring , Track , Velocity , Spring } |
typedef QHash< QQmlProperty, QSpringAnimation * > | ActiveAnimationHash |
typedef ActiveAnimationHash::Iterator | ActiveAnimationHashIt |
typedef QHash< QQmlProperty, QSpringAnimation * > | ActiveAnimationHash |
typedef ActiveAnimationHash::Iterator | ActiveAnimationHashIt |
Public Types inherited from QAbstractAnimationJob | |
enum | Direction { Forward , Backward } |
enum | State { Stopped , Paused , Running } |
enum | ChangeType { Completion = 0x01 , StateChange = 0x02 , CurrentLoop = 0x04 , CurrentTime = 0x08 } |
Public Attributes | |
qreal | currentValue |
qreal | to |
qreal | velocity |
int | startTime |
int | dura |
int | lastTime |
int | stopTime |
Mode | mode |
QQmlProperty | target |
qreal | velocityms |
qreal | maxVelocity |
qreal | mass |
qreal | spring |
qreal | damping |
qreal | epsilon |
qreal | modulus |
bool | useMass: 1 |
bool | haveModulus: 1 |
bool | skipUpdate: 1 |
Public Attributes inherited from QAbstractAnimationJob | |
SelfDeletable | m_selfDeletable |
Protected Member Functions | |
void | updateCurrentTime (int time) override |
void | updateState (QAbstractAnimationJob::State, QAbstractAnimationJob::State) override |
void | debugAnimation (QDebug d) const override |
void | updateCurrentTime (int time) override |
void | updateState (QAbstractAnimationJob::State, QAbstractAnimationJob::State) override |
void | debugAnimation (QDebug d) const override |
Protected Member Functions inherited from QAbstractAnimationJob | |
virtual void | updateLoopCount (int) |
virtual void | updateDirection (QAbstractAnimationJob::Direction direction) |
virtual void | topLevelAnimationLoopChanged () |
void | fireTopLevelAnimationLoopChanged () |
void | setState (QAbstractAnimationJob::State state) |
void | finished () |
void | stateChanged (QAbstractAnimationJob::State newState, QAbstractAnimationJob::State oldState) |
void | currentLoopChanged () |
void | directionChanged (QAbstractAnimationJob::Direction) |
void | currentTimeChanged (int currentTime) |
Additional Inherited Members | |
Protected Attributes inherited from QAbstractAnimationJob | |
int | m_loopCount |
QAnimationGroupJob * | m_group |
QAbstractAnimationJob::Direction | m_direction |
QAbstractAnimationJob::State | m_state |
int | m_totalCurrentTime |
int | m_currentTime |
int | m_currentLoop |
int | m_uncontrolledFinishTime |
int | m_currentLoopStartTime |
std::vector< ChangeListener > | changeListeners |
QQmlAnimationTimer * | m_timer = nullptr |
bool | m_hasRegisteredTimer:1 |
bool | m_isPause:1 |
bool | m_isGroup:1 |
bool | m_disableUserControl:1 |
bool | m_hasCurrentTimeChangeListeners:1 |
bool | m_isRenderThreadJob:1 |
bool | m_isRenderThreadProxy:1 |
Definition at line 22 of file qquickspringanimation.cpp.
Definition at line 59 of file qquickspringanimation.cpp.
Definition at line 59 of file qquickspringanimation.cpp.
Definition at line 60 of file qquickspringanimation.cpp.
Definition at line 60 of file qquickspringanimation.cpp.
Enumerator | |
---|---|
Track | |
Velocity | |
Spring | |
Track | |
Velocity | |
Spring |
Definition at line 40 of file qquickspringanimation.cpp.
Enumerator | |
---|---|
Track | |
Velocity | |
Spring | |
Track | |
Velocity | |
Spring |
Definition at line 40 of file qquickspringanimation.cpp.
QSpringAnimation::QSpringAnimation | ( | QQuickSpringAnimationPrivate * | priv = nullptr | ) |
Definition at line 108 of file qquickspringanimation.cpp.
QSpringAnimation::~QSpringAnimation | ( | ) |
Definition at line 132 of file qquickspringanimation.cpp.
QSpringAnimation::QSpringAnimation | ( | QQuickSpringAnimationPrivate * | = nullptr | ) |
QSpringAnimation::~QSpringAnimation | ( | ) |
|
inline |
Definition at line 62 of file qquickspringanimation.cpp.
|
inline |
Definition at line 62 of file qquickspringanimation.cpp.
Reimplemented from QAbstractAnimationJob.
Definition at line 285 of file qquickspringanimation.cpp.
Reimplemented from QAbstractAnimationJob.
|
overridevirtual |
Reimplemented from QAbstractAnimationJob.
Definition at line 151 of file qquickspringanimation.cpp.
|
overridevirtual |
Reimplemented from QAbstractAnimationJob.
void QSpringAnimation::init | ( | ) |
Definition at line 167 of file qquickspringanimation.cpp.
void QSpringAnimation::init | ( | ) |
void QSpringAnimation::restart | ( | ) |
Definition at line 156 of file qquickspringanimation.cpp.
void QSpringAnimation::restart | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from QAbstractAnimationJob.
Definition at line 173 of file qquickspringanimation.cpp.
|
overrideprotectedvirtual |
Reimplemented from QAbstractAnimationJob.
|
overrideprotectedvirtual |
Reimplemented from QAbstractAnimationJob.
Definition at line 279 of file qquickspringanimation.cpp.
|
overrideprotectedvirtual |
Reimplemented from QAbstractAnimationJob.
qreal QSpringAnimation::currentValue |
Definition at line 33 of file qquickspringanimation.cpp.
qreal QSpringAnimation::damping |
Definition at line 52 of file qquickspringanimation.cpp.
int QSpringAnimation::dura |
Definition at line 37 of file qquickspringanimation.cpp.
qreal QSpringAnimation::epsilon |
Definition at line 53 of file qquickspringanimation.cpp.
bool QSpringAnimation::haveModulus |
Definition at line 57 of file qquickspringanimation.cpp.
int QSpringAnimation::lastTime |
Definition at line 38 of file qquickspringanimation.cpp.
qreal QSpringAnimation::mass |
Definition at line 50 of file qquickspringanimation.cpp.
qreal QSpringAnimation::maxVelocity |
Definition at line 49 of file qquickspringanimation.cpp.
Mode QSpringAnimation::mode |
Definition at line 45 of file qquickspringanimation.cpp.
qreal QSpringAnimation::modulus |
Definition at line 54 of file qquickspringanimation.cpp.
bool QSpringAnimation::skipUpdate |
Definition at line 58 of file qquickspringanimation.cpp.
qreal QSpringAnimation::spring |
Definition at line 51 of file qquickspringanimation.cpp.
int QSpringAnimation::startTime |
Definition at line 36 of file qquickspringanimation.cpp.
int QSpringAnimation::stopTime |
Definition at line 39 of file qquickspringanimation.cpp.
QQmlProperty QSpringAnimation::target |
Definition at line 46 of file qquickspringanimation.cpp.
qreal QSpringAnimation::to |
Definition at line 34 of file qquickspringanimation.cpp.
bool QSpringAnimation::useMass |
Definition at line 56 of file qquickspringanimation.cpp.
qreal QSpringAnimation::velocity |
Definition at line 35 of file qquickspringanimation.cpp.
qreal QSpringAnimation::velocityms |
Definition at line 48 of file qquickspringanimation.cpp.