summaryrefslogtreecommitdiffstats
path: root/src/charts/animations/boxwhiskersanimation_p.h
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@theqtcompany.com>2015-09-11 08:50:08 +0300
committerTitta Heikkala <titta.heikkala@theqtcompany.com>2015-09-11 08:34:27 +0000
commit97642714ab1ee0484993593ad2de67a2053a9a57 (patch)
tree0043ba93314b41a2d4785c1afe0ceef258b15969 /src/charts/animations/boxwhiskersanimation_p.h
parent6ae307b421c60b7d0e4dde871451f670479b072b (diff)
Added possibility to set duration and easing curve for chart animation
Changed the animation API so that it's possible to change the duration and easing curve of the chart animation. Change-Id: I2ab3e0664a7f30bc2bb7085daa1d97181edb90ba Task-number: QTRD-3496 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@theqtcompany.com>
Diffstat (limited to 'src/charts/animations/boxwhiskersanimation_p.h')
-rw-r--r--src/charts/animations/boxwhiskersanimation_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charts/animations/boxwhiskersanimation_p.h b/src/charts/animations/boxwhiskersanimation_p.h
index 9cebe20e..4231afde 100644
--- a/src/charts/animations/boxwhiskersanimation_p.h
+++ b/src/charts/animations/boxwhiskersanimation_p.h
@@ -42,7 +42,8 @@ class BoxWhiskersAnimation : public ChartAnimation
Q_OBJECT
public:
- BoxWhiskersAnimation(BoxWhiskers *box, BoxPlotAnimation *boxPlotAnimation);
+ BoxWhiskersAnimation(BoxWhiskers *box, BoxPlotAnimation *boxPlotAnimation, int duration,
+ QEasingCurve &curve);
~BoxWhiskersAnimation();
public: // from QVariantAnimation