1#include "easingcurve.h"
4EasingCurve::EasingCurve(QObject *parent):
10QEasingCurve::Type EasingCurve::type() const
12 return m_easingCurve.type();
15void EasingCurve::setType(const QEasingCurve::Type &type)
17 m_easingCurve.setType(type);
21qreal EasingCurve::period() const
23 return m_easingCurve.period();
26void EasingCurve::setPeriod(qreal period)
28 m_easingCurve.setPeriod(period);
29 Q_EMIT periodChanged();
32qreal EasingCurve::progress() const
37void EasingCurve::setProgress(qreal progress)
39 if (m_progress != progress) {
40 m_progress = progress;
41 m_value = m_easingCurve.valueForProgress(m_progress);
42 Q_EMIT progressChanged();
46qreal EasingCurve::value() const
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list