Qt 6.x
The Qt SDK
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
QQuickTimeLineValueProxy< T > Class Template Reference

#include <qquicktimeline_p_p.h>

+ Inheritance diagram for QQuickTimeLineValueProxy< T >:
+ Collaboration diagram for QQuickTimeLineValueProxy< T >:

Public Member Functions

 QQuickTimeLineValueProxy (T *cls, void(T::*func)(qreal), qreal v=0.)
 
 QQuickTimeLineValueProxy (T *cls, void(T::*func)(int), qreal v=0.)
 
void setValue (qreal v) override
 Set the current value.
 
- Public Member Functions inherited from QQuickTimeLineValue
 QQuickTimeLineValue (qreal v=0.)
 Construct a new QQuickTimeLineValue with an initial value.
 
virtual qreal value () const
 Return the current value.
 
virtual void setValue (qreal v)
 Set the current value.
 
QQuickTimeLinetimeLine () const
 If a QQuickTimeLine is operating on this value, return a pointer to it, otherwise return null.
 
 operator qreal () const
 
QQuickTimeLineValueoperator= (qreal v)
 
- Public Member Functions inherited from QQuickTimeLineObject
 QQuickTimeLineObject ()
 
virtual ~QQuickTimeLineObject ()
 

Additional Inherited Members

- Protected Attributes inherited from QQuickTimeLineObject
QQuickTimeLine_t
 

Detailed Description

template<class T>
class QQuickTimeLineValueProxy< T >

Definition at line 134 of file qquicktimeline_p_p.h.

Constructor & Destructor Documentation

◆ QQuickTimeLineValueProxy() [1/2]

template<class T >
QQuickTimeLineValueProxy< T >::QQuickTimeLineValueProxy ( T *  cls,
void(T::*)(qreal func,
qreal  v = 0. 
)
inline

Definition at line 137 of file qquicktimeline_p_p.h.

References Q_ASSERT.

◆ QQuickTimeLineValueProxy() [2/2]

template<class T >
QQuickTimeLineValueProxy< T >::QQuickTimeLineValueProxy ( T *  cls,
void(T::*)(int)  func,
qreal  v = 0. 
)
inline

Definition at line 143 of file qquicktimeline_p_p.h.

References Q_ASSERT.

Member Function Documentation

◆ setValue()

template<class T >
void QQuickTimeLineValueProxy< T >::setValue ( qreal  v)
inlineoverridevirtual

Set the current value.

Reimplemented from QQuickTimeLineValue.

Definition at line 149 of file qquicktimeline_p_p.h.

References QQuickTimeLineValue::setValue().

Referenced by QQuickFlickablePrivate::drag(), QQuickFlickableReboundTransition::finished(), QQuickPathViewPrivate::handleMouseReleaseEvent(), QQuickPathViewPrivate::snapToIndex(), QQuickFlickableReboundTransition::stopTransition(), and QQuickPathViewPrivate::updateHighlight().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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