QPropertyAnimation

#include <QtCore/QPropertyAnimation>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QPropertyAnimation


Overview

Inheritance

Public Types Index

Only has inherited public types

enum DeletionPolicy

KeepWhenStopped 0, DeleteWhenStopped

enum Direction

Forward, Backward

QVariant(*Interpolator
QPair< qreal, QVariant >KeyValue
QVector< KeyValue >KeyValues

enum State

Stopped, Paused, Running

Public Functions Index

QPropertyAnimation (QObject *parent=0)
QPropertyAnimation (QObject *target, const QByteArray &propertyName, QObject *parent=0)
~QPropertyAnimation ()
QByteArraypropertyName () const
voidsetPropertyName (const QByteArray &propertyName)
voidsetTargetObject (QObject *target)
QObject *targetObject () const
intcurrentLoop () const Inherited
intcurrentLoopTime () const Inherited
intcurrentTime () const Inherited
QVariantcurrentValue () const Inherited
Directiondirection () const Inherited
virtual intduration () const Inherited
QEasingCurveeasingCurve () const Inherited
QVariantendValue () const Inherited
QAnimationGroup *group () const Inherited
QVariantkeyValueAt (qreal step) const Inherited
KeyValueskeyValues () const Inherited
intloopCount () const Inherited
QAbstractAnimation (QObject *parent=0)Inherited
QVariantAnimation (QObject *parent=0)Inherited
voidsetDirection (Direction direction)Inherited
voidsetDuration (int msecs)Inherited
voidsetEasingCurve (const QEasingCurve &easing)Inherited
voidsetEndValue (const QVariant &value)Inherited
voidsetKeyValueAt (qreal step, const QVariant &value)Inherited
voidsetKeyValues (const KeyValues &values)Inherited
voidsetLoopCount (int loopCount)Inherited
voidsetStartValue (const QVariant &value)Inherited
QVariantstartValue () const Inherited
Statestate () const Inherited
inttotalDuration () const Inherited

Protected Functions Index

virtual boolevent (QEvent *event)
virtual voidupdateCurrentValue (const QVariant &value)
virtual voidupdateState (QAbstractAnimation::State newState, QAbstractAnimation::State oldState)
virtual QVariantinterpolated (const QVariant &from, const QVariant &to, qreal progress) const Inherited
QAbstractAnimation (QAbstractAnimationPrivate &dd, QObject *parent=0)Inherited
QVariantAnimation (QVariantAnimationPrivate &dd, QObject *parent=0)Inherited
virtual voidupdateCurrentTime (int)Inherited
virtual voidupdateDirection (QAbstractAnimation::Direction direction)Inherited

Public Slots Index

Only has inherited public slots

voidpause ()Inherited
voidresume ()Inherited
voidsetCurrentTime (int msecs)Inherited
voidsetPaused (bool)Inherited
voidstart (QAbstractAnimation::DeletionPolicy policy=KeepWhenStopped)Inherited
voidstop ()Inherited

Signals Index

Only has inherited signals

voidcurrentLoopChanged (int currentLoop)Inherited
voiddirectionChanged (QAbstractAnimation::Direction)Inherited
voidfinished ()Inherited
voidstateChanged (QAbstractAnimation::State newState, QAbstractAnimation::State oldState)Inherited
voidvalueChanged (const QVariant &value)Inherited

Public Types

(Only has inherited public types)

DeletionPolicy Inherited

KeepWhenStopped 0
DeleteWhenStopped

Direction Inherited

Forward
Backward

typedef QVariant(* Interpolator Inherited

typedef QPair< qreal, QVariant > KeyValue Inherited

typedef QVector< KeyValue > KeyValues Inherited

State Inherited

Stopped
Paused
Running

Properties

QByteArray propertyName

QObject targetObject

int currentLoopInherited[read-only]

int currentTimeInherited

QVariant currentValueInherited[read-only]

Direction directionInherited

int durationInherited

QEasingCurve easingCurveInherited

QVariant endValueInherited

int loopCountInherited

QVariant startValueInherited

State stateInherited[read-only]

Public Functions

QPropertyAnimation (

QPropertyAnimation (

~QPropertyAnimation ()

Destructor.

QByteArray propertyName ()

void setPropertyName (

void setTargetObject (

QObject * targetObject ()

int currentLoop ()Inherited

int currentLoopTime ()Inherited

int currentTime ()Inherited

QVariant currentValue ()Inherited

Direction direction ()Inherited

virtual int duration ()Inherited

QEasingCurve easingCurve ()Inherited

QVariant endValue ()Inherited

QAnimationGroup * group ()Inherited

QVariant keyValueAt (
  • qrealstep)
Inherited

KeyValues keyValues ()Inherited

int loopCount ()Inherited

QAbstractAnimation (Inherited

QVariantAnimation (Inherited

void setDirection (
  • Directiondirection)
Inherited

void setDuration (
  • intmsecs)
Inherited

void setEasingCurve (Inherited

void setEndValue (Inherited

void setKeyValueAt (Inherited

void setKeyValues (Inherited

void setLoopCount (
  • intloopCount)
Inherited

void setStartValue (Inherited

QVariant startValue ()Inherited

State state ()Inherited

int totalDuration ()Inherited

Protected Functions

virtual bool event (

virtual void updateCurrentValue (

virtual void updateState (
  • QAbstractAnimation::StatenewState,
  • QAbstractAnimation::StateoldState )

virtualQVariant interpolated (Inherited

QAbstractAnimation (
  • QAbstractAnimationPrivate &dd,
  • QObject *parent )
Inherited

QVariantAnimation (
  • QVariantAnimationPrivate &dd,
  • QObject *parent )
Inherited

virtual void updateCurrentTime (
  • int)
Inherited

virtual void updateDirection (
  • QAbstractAnimation::Directiondirection)
Inherited

Public Slots

(Only has inherited public slots)

void pause ()Inherited

void resume ()Inherited

void setCurrentTime (
  • intmsecs)
Inherited

void setPaused (
  • bool)
Inherited

void start (
  • QAbstractAnimation::DeletionPolicypolicy)
Inherited

void stop ()Inherited

Signals

(Only has inherited signals)

void currentLoopChanged (
  • intcurrentLoop)
Inherited

void directionChanged (
  • QAbstractAnimation::Direction)
Inherited

void finished ()Inherited

void stateChanged (
  • QAbstractAnimation::StatenewState,
  • QAbstractAnimation::StateoldState )
Inherited

void valueChanged (Inherited

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus