CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
CFxUIPropertyAnimation Class Reference

#include <FxUIPropertyAnimation.h>

Inheritance diagram for CFxUIPropertyAnimation:
CFxUIObject

Public Member Functions

 CFxUIPropertyAnimation ()
 
 ~CFxUIPropertyAnimation ()
 
void setTargetObject (CFxUIObject *target)
 
CFxUIObjecttargetObject () const
 
void setPropertyName (const CFxUIByteArray &propertyName)
 
void setDuration (int msecs)
 
void setStartValue (const CFxUIVariant &value)
 
void setEndValue (const CFxUIVariant &value)
 
void start ()
 
void stop ()
 
CFxUISignal< void(void)> & finished ()
 
- Public Member Functions inherited from CFxUIObject
 CFxUIObject ()
 
virtual ~CFxUIObject ()
 
FxNativeHandle getHandle () const
 
void setHandle (FxNativeHandle handle)
 
void setParent (CFxUIObject *parent)
 
CFxUIObjectparent ()
 
const CFxUIObjectparent () const
 
void setObjectName (const CFxUIString &objectName)
 
CFxUIString objectName () const
 
bool setProperty (const char *name, const CFxUIVariant &value)
 
CFxUIVariant property (const char *name)
 
CFxUIList< CFxUIObject * > children () const
 
template<typename T>
CFxUIList< T > findChildren (const CFxUIString &name=CFxUIString())
 
void blockSignals (bool block)
 
bool signalsBlocked () const
 

Additional Inherited Members

- Protected Member Functions inherited from CFxUIObject
CFxUIObjectsender ()
 
- Protected Attributes inherited from CFxUIObject
CFxUIObjectImpl * m_pImpl
 
CFxUIObjectData * m_pData
 

Detailed Description

Definition at line 28 of file FxUIPropertyAnimation.h.

Constructor & Destructor Documentation

◆ CFxUIPropertyAnimation()

CFxUIPropertyAnimation::CFxUIPropertyAnimation ( )
explicit

Constructor

◆ ~CFxUIPropertyAnimation()

CFxUIPropertyAnimation::~CFxUIPropertyAnimation ( )

Destructor

Member Function Documentation

◆ finished()

CFxUISignal< void(void)> & CFxUIPropertyAnimation::finished ( )

Signal is emitted after animation is finished

◆ setDuration()

void CFxUIPropertyAnimation::setDuration ( int msecs)

Sets the duration of the animation in milliseconds

Parameters
msecs;default: 250 milliseconds

◆ setEndValue()

void CFxUIPropertyAnimation::setEndValue ( const CFxUIVariant & value)

Sets the end value of the animation

Parameters
_value_

◆ setPropertyName()

void CFxUIPropertyAnimation::setPropertyName ( const CFxUIByteArray & propertyName)

Sets the target property name for this animation

Parameters
propertyName

◆ setStartValue()

void CFxUIPropertyAnimation::setStartValue ( const CFxUIVariant & value)

Sets the optional start value of the animation

Parameters
_value_

◆ setTargetObject()

void CFxUIPropertyAnimation::setTargetObject ( CFxUIObject * target)

Sets the target CFxUIObject for this animation.

Parameters
target

◆ start()

void CFxUIPropertyAnimation::start ( )

Starts the animation

◆ stop()

void CFxUIPropertyAnimation::stop ( )

Stops the animation

◆ targetObject()

CFxUIObject * CFxUIPropertyAnimation::targetObject ( ) const

Returns the target CFxUIObject for this animation.

Returns
targetObject

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