Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
pqAnimationTrack Class Reference

#include <pqAnimationTrack.h>

Inherits QObject, and QGraphicsItem.

Public Slots

void setProperty (const QVariant &p)
 
void setBoundingRect (const QRectF &r)
 
void setEnabled (bool enable)
 

Signals

void propertyChanged ()
 
void enabledChanged ()
 

Public Member Functions

 pqAnimationTrack (QObject *p=nullptr)
 
 ~pqAnimationTrack () override
 
int count ()
 number of keyframes More...
 
pqAnimationKeyFramekeyFrame (int)
 get a keyframe More...
 
pqAnimationKeyFrameaddKeyFrame ()
 add a keyframe More...
 
void removeKeyFrame (pqAnimationKeyFrame *frame)
 remove a keyframe More...
 
bool isDeletable () const
 
void setDeletable (bool d)
 
QVariant property () const
 
QRectF boundingRect () const override
 

Protected Member Functions

void paint (QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 

Properties

QVariant property
 the property animated in this track More...
 

Detailed Description

Definition at line 19 of file pqAnimationTrack.h.

Constructor & Destructor Documentation

◆ pqAnimationTrack()

pqAnimationTrack::pqAnimationTrack ( QObject *  p = nullptr)

◆ ~pqAnimationTrack()

pqAnimationTrack::~pqAnimationTrack ( )
override

Member Function Documentation

◆ count()

int pqAnimationTrack::count ( )

number of keyframes

◆ keyFrame()

pqAnimationKeyFrame* pqAnimationTrack::keyFrame ( int  )

get a keyframe

◆ addKeyFrame()

pqAnimationKeyFrame* pqAnimationTrack::addKeyFrame ( )

add a keyframe

◆ removeKeyFrame()

void pqAnimationTrack::removeKeyFrame ( pqAnimationKeyFrame frame)

remove a keyframe

◆ isDeletable()

bool pqAnimationTrack::isDeletable ( ) const
inline

Definition at line 53 of file pqAnimationTrack.h.

◆ setDeletable()

void pqAnimationTrack::setDeletable ( bool  d)
inline

Definition at line 54 of file pqAnimationTrack.h.

◆ property()

QVariant pqAnimationTrack::property ( ) const

◆ boundingRect()

QRectF pqAnimationTrack::boundingRect ( ) const
override

◆ setProperty

void pqAnimationTrack::setProperty ( const QVariant &  p)
slot

◆ setBoundingRect

void pqAnimationTrack::setBoundingRect ( const QRectF &  r)
slot

◆ setEnabled

void pqAnimationTrack::setEnabled ( bool  enable)
inlineslot

Definition at line 65 of file pqAnimationTrack.h.

◆ propertyChanged

void pqAnimationTrack::propertyChanged ( )
signal

◆ enabledChanged

void pqAnimationTrack::enabledChanged ( )
signal

◆ paint()

void pqAnimationTrack::paint ( QPainter *  p,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
overrideprotected

Property Documentation

◆ property

QVariant pqAnimationTrack::property
readwrite

the property animated in this track

Definition at line 30 of file pqAnimationTrack.h.


The documentation for this class was generated from the following file: