Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qvariantanimation_p.h File Reference
#include "qvariantanimation.h"
#include <QtCore/qeasingcurve.h>
#include <QtCore/qmetaobject.h>
#include "private/qabstractanimation_p.h"
#include "private/qproperty_p.h"
#include <type_traits>
+ Include dependency graph for qvariantanimation_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QVariantAnimationPrivate
 

Functions

 QT_REQUIRE_CONFIG (animation)
 
template<typename T >
std::enable_if< std::is_unsigned< T >::value, T >::type _q_interpolate (const T &f, const T &t, qreal progress)
 
template<typename T >
std::enable_if<!std::is_unsigned< T >::value, T >::type _q_interpolate (const T &f, const T &t, qreal progress)
 
template<typename T >
QVariant _q_interpolateVariant (const T &from, const T &to, qreal progress)
 

Function Documentation

◆ _q_interpolate() [1/2]

template<typename T >
std::enable_if< std::is_unsigned< T >::value, T >::type _q_interpolate ( const T &  f,
const T &  t,
qreal  progress 
)

Definition at line 81 of file qvariantanimation_p.h.

Referenced by _q_interpolateVariant().

+ Here is the caller graph for this function:

◆ _q_interpolate() [2/2]

template<typename T >
std::enable_if<!std::is_unsigned< T >::value, T >::type _q_interpolate ( const T &  f,
const T &  t,
qreal  progress 
)

Definition at line 89 of file qvariantanimation_p.h.

◆ _q_interpolateVariant()

template<typename T >
QVariant _q_interpolateVariant ( const T &  from,
const T &  to,
qreal  progress 
)
inline

Definition at line 94 of file qvariantanimation_p.h.

References _q_interpolate().

+ Here is the call graph for this function:

◆ QT_REQUIRE_CONFIG()

QT_REQUIRE_CONFIG ( animation  )