QAbstractAnimation

#include <QtCore/QAbstractAnimation>

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


Overview

Public Types Index

enum DeletionPolicy

KeepWhenStopped 0, DeleteWhenStopped

enum Direction

Forward, Backward

enum State

Stopped, Paused, Running

Properties Index

intcurrentLoop [read-only]
intcurrentTime
Directiondirection
intduration [read-only]
intloopCount
Statestate [read-only]

Public Functions Index

QAbstractAnimation (QObject *parent=0)
virtual ~QAbstractAnimation ()
intcurrentLoop () const
intcurrentLoopTime () const
intcurrentTime () const
Directiondirection () const
intduration () const =0
QAnimationGroup *group () const
intloopCount () const
voidsetDirection (Direction direction)
voidsetLoopCount (int loopCount)
Statestate () const
inttotalDuration () const

Protected Functions Index

QAbstractAnimation (QAbstractAnimationPrivate &dd, QObject *parent=0)
virtual boolevent (QEvent *event)
voidupdateCurrentTime (int currentTime)=0
virtual voidupdateDirection (QAbstractAnimation::Direction direction)
virtual voidupdateState (QAbstractAnimation::State newState, QAbstractAnimation::State oldState)

Public Slots Index

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

Signals Index

voidcurrentLoopChanged (int currentLoop)
voiddirectionChanged (QAbstractAnimation::Direction)
voidfinished ()
voidstateChanged (QAbstractAnimation::State newState, QAbstractAnimation::State oldState)

Public Types

DeletionPolicy

KeepWhenStopped 0
DeleteWhenStopped

Direction

Forward
Backward

State

Stopped
Paused
Running

Properties

int currentLoop[read-only]

int currentTime

Direction direction

int duration[read-only]

int loopCount

State state[read-only]

Public Functions

QAbstractAnimation (

virtual~QAbstractAnimation ()

Destructor.

int currentLoop ()

int currentLoopTime ()

int currentTime ()

Direction direction ()

int duration ()

QAnimationGroup * group ()

int loopCount ()

void setDirection (
  • Directiondirection)

void setLoopCount (
  • intloopCount)

State state ()

int totalDuration ()

Protected Functions

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

virtual bool event (

void updateCurrentTime (
  • intcurrentTime)

virtual void updateDirection (
  • QAbstractAnimation::Directiondirection)

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

Public Slots

void pause ()

void resume ()

void setCurrentTime (
  • intmsecs)

void setPaused (
  • bool)

void start (
  • QAbstractAnimation::DeletionPolicypolicy)

void stop ()

Signals

void currentLoopChanged (
  • intcurrentLoop)

void directionChanged (
  • QAbstractAnimation::Direction)

void finished ()

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

Last modified: 2015-07-24



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

comments powered by Disqus