1 #ifndef TORCTRANSITIONCONTROL_H 2 #define TORCTRANSITIONCONTROL_H 5 #include <QEasingCurve> 6 #include <QPropertyAnimation> 20 static QEasingCurve::Type EasingCurveFromString (
const QString &Curve);
21 static QString StringFromEasingCurve (QEasingCurve::Type
Type);
22 bool Validate (
void)
override;
24 QStringList GetDescription (
void)
override;
26 static qreal LinearLEDFunction (qreal progress);
29 bool event (QEvent *Event)
override;
35 void CalculateOutput (
void)
override;
39 QEasingCurve::Type m_type;
40 QPropertyAnimation m_animation;
43 double m_transitionValue;
46 #endif // TORCTRANSITIONCONTROL_H
void SetAnimationValue(double Value)
Our main output, value, is read only. So the animation operates on a proxy, animationValue.
double GetAnimationValue(void)
bool event(QEvent *Event) override