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
QQuickTimeLineValue Class Reference

The QQuickTimeLineValue class provides a value that can be modified by QQuickTimeLine. More...

#include <qquicktimeline_p_p.h>

+ Inheritance diagram for QQuickTimeLineValue:
+ Collaboration diagram for QQuickTimeLineValue:

Public Member Functions

 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 ()
 

Friends

class QQuickTimeLine
 
struct QQuickTimeLinePrivate
 

Additional Inherited Members

- Protected Attributes inherited from QQuickTimeLineObject
QQuickTimeLine_t
 

Detailed Description

The QQuickTimeLineValue class provides a value that can be modified by QQuickTimeLine.

Definition at line 96 of file qquicktimeline_p_p.h.

Constructor & Destructor Documentation

◆ QQuickTimeLineValue()

QQuickTimeLineValue::QQuickTimeLineValue ( qreal v = 0.)
inline

Construct a new QQuickTimeLineValue with an initial value.

Definition at line 99 of file qquicktimeline_p_p.h.

Member Function Documentation

◆ operator qreal()

QQuickTimeLineValue::operator qreal ( ) const
inline

Definition at line 106 of file qquicktimeline_p_p.h.

◆ operator=()

QQuickTimeLineValue & QQuickTimeLineValue::operator= ( qreal v)
inline

Definition at line 107 of file qquicktimeline_p_p.h.

References setValue().

+ Here is the call graph for this function:

◆ setValue()

void QQuickTimeLineValue::setValue ( qreal v)
inlinevirtual

Set the current value.

Reimplemented in QQuickFlickablePrivate::Velocity, QQuickTimeLineValueProxy< T >, QQuickTimeLineValueProxy< QQuickFlickablePrivate >, and QQuickTimeLineValueProxy< QQuickPathViewPrivate >.

Definition at line 102 of file qquicktimeline_p_p.h.

Referenced by QQuickFlickablePrivate::Velocity::setValue(), and QQuickTimeLineValueProxy< T >::setValue().

+ Here is the caller graph for this function:

◆ timeLine()

QQuickTimeLine * QQuickTimeLineValue::timeLine ( ) const
inline

If a QQuickTimeLine is operating on this value, return a pointer to it, otherwise return null.

Definition at line 104 of file qquicktimeline_p_p.h.

◆ value()

qreal QQuickTimeLineValue::value ( ) const
inlinevirtual

Return the current value.

Definition at line 101 of file qquicktimeline_p_p.h.

Referenced by QQuickFlickablePrivate::drag(), QQuickFlickablePrivate::handlePressEvent(), QQuickFlickablePrivate::maybeBeginDrag(), and QQuickFlickablePrivate::updateBeginningEnd().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QQuickTimeLine

friend class QQuickTimeLine
friend

Definition at line 109 of file qquicktimeline_p_p.h.

◆ QQuickTimeLinePrivate

friend struct QQuickTimeLinePrivate
friend

Definition at line 110 of file qquicktimeline_p_p.h.


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