All Classes Functions Properties
EasingCurve Class Reference

The EasingCurve class. More...

`#include <plugins/Utils/easingcurve.h>`

Inherits QObject.

## Signals

void | typeChanged ()
void | periodChanged ()
void | progressChanged ()

## Public Member Functions

| EasingCurve (QObject *parent=0)
QEasingCurve::Type | type () const
void | setType (const QEasingCurve::Type &type)
qreal | period () const
void | setPeriod (qreal period)
qreal | progress () const
void | setProgress (qreal progress)
qreal | value () const

## Properties

QEasingCurve::Type | type
qreal | period
qreal | progress
qreal | value

## Detailed Description

The EasingCurve class.

This class exposes the QEasingCurve C++ API to QML. This is useful for user interactive animations. While the QML Animation types all require a "from", "to" and "duration", this one is based on "period" and "progress". So you can control the position of the aimation by changing the progress, also going back and forward in the animation. Depending on the type of the easing curve, value will return the transformed progress.

Definition at line 36 of file easingcurve.h.

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

- plugins/Utils/easingcurve.h
- plugins/Utils/easingcurve.cpp