Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
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 *object, void(T::*func)(qreal), 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.
 
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()

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

Definition at line 137 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 143 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: