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

#include <pqAnimationKeyFrame.h>

Inherits QObject, and QGraphicsItem.

Public Slots

void setNormalizedStartTime (double t)
 
void setNormalizedEndTime (double t)
 
void setStartValue (const QVariant &)
 
void setEndValue (const QVariant &)
 
void setIcon (const QIcon &icon)
 
void setBoundingRect (const QRectF &r)
 
void adjustRect (double startPos, double endPos)
 

Signals

void startValueChanged ()
 
void endValueChanged ()
 
void iconChanged ()
 

Public Member Functions

 pqAnimationKeyFrame (pqAnimationTrack *p)
 
 ~pqAnimationKeyFrame () override=default
 
double normalizedStartTime () const
 
double normalizedEndTime () const
 
QVariant startValue () const
 
QVariant endValue () const
 
QIcon icon () const
 
QRectF boundingRect () const override
 

Protected Member Functions

pqAnimationTrackparentTrack () const
 Returns the parent pqAnimationTrack. More...
 
void paint (QPainter *p, const QStyleOptionGraphicsItem *option, QWidget *widget) override
 

Properties

double normalizedStartTime
 the time as a fraction of scene time that this keyframe starts at More...
 
double normalizedEndTime
 the time as a fraction of scene time that this keyframe ends at More...
 
QVariant startValue
 the value at the start of the keyframe More...
 
QVariant endValue
 the value at the end of the keyframe More...
 
QIcon icon
 an icon to help describe the keyframe More...
 

Detailed Description

Definition at line 44 of file pqAnimationKeyFrame.h.

Constructor & Destructor Documentation

◆ pqAnimationKeyFrame()

pqAnimationKeyFrame::pqAnimationKeyFrame ( pqAnimationTrack p)

◆ ~pqAnimationKeyFrame()

pqAnimationKeyFrame::~pqAnimationKeyFrame ( )
overridedefault

Member Function Documentation

◆ normalizedStartTime()

double pqAnimationKeyFrame::normalizedStartTime ( ) const

◆ normalizedEndTime()

double pqAnimationKeyFrame::normalizedEndTime ( ) const

◆ startValue()

QVariant pqAnimationKeyFrame::startValue ( ) const

◆ endValue()

QVariant pqAnimationKeyFrame::endValue ( ) const

◆ icon()

QIcon pqAnimationKeyFrame::icon ( ) const

◆ boundingRect()

QRectF pqAnimationKeyFrame::boundingRect ( ) const
override

◆ setNormalizedStartTime

void pqAnimationKeyFrame::setNormalizedStartTime ( double  t)
slot

◆ setNormalizedEndTime

void pqAnimationKeyFrame::setNormalizedEndTime ( double  t)
slot

◆ setStartValue

void pqAnimationKeyFrame::setStartValue ( const QVariant &  )
slot

◆ setEndValue

void pqAnimationKeyFrame::setEndValue ( const QVariant &  )
slot

◆ setIcon

void pqAnimationKeyFrame::setIcon ( const QIcon &  icon)
slot

◆ setBoundingRect

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

◆ adjustRect

void pqAnimationKeyFrame::adjustRect ( double  startPos,
double  endPos 
)
slot

◆ startValueChanged

void pqAnimationKeyFrame::startValueChanged ( )
signal

◆ endValueChanged

void pqAnimationKeyFrame::endValueChanged ( )
signal

◆ iconChanged

void pqAnimationKeyFrame::iconChanged ( )
signal

◆ parentTrack()

pqAnimationTrack* pqAnimationKeyFrame::parentTrack ( ) const
protected

Returns the parent pqAnimationTrack.

◆ paint()

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

Property Documentation

◆ normalizedStartTime

double pqAnimationKeyFrame::normalizedStartTime
readwrite

the time as a fraction of scene time that this keyframe starts at

Definition at line 52 of file pqAnimationKeyFrame.h.

◆ normalizedEndTime

double pqAnimationKeyFrame::normalizedEndTime
readwrite

the time as a fraction of scene time that this keyframe ends at

Definition at line 56 of file pqAnimationKeyFrame.h.

◆ startValue

QVariant pqAnimationKeyFrame::startValue
readwrite

the value at the start of the keyframe

Definition at line 60 of file pqAnimationKeyFrame.h.

◆ endValue

QVariant pqAnimationKeyFrame::endValue
readwrite

the value at the end of the keyframe

Definition at line 64 of file pqAnimationKeyFrame.h.

◆ icon

QIcon pqAnimationKeyFrame::icon
readwrite

an icon to help describe the keyframe

Definition at line 68 of file pqAnimationKeyFrame.h.


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