##// END OF EJS Templates
Adds donut and precent charts to chartviewer
Adds donut and precent charts to chartviewer

File last commit:

r1674:2849be5cffb7
r1865:27e7b2d61433
Show More
percentbaranimation_p.h
35 lines | 855 B | text/x-c | CLexer
/ src / animations / percentbaranimation_p.h
// W A R N I N G
// -------------
//
// This file is not part of the QtCommercial Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
#ifndef PERCENTBARANIMATION_P_H
#define PERCENTBARANIMATION_P_H
#include "chartanimation_p.h"
#include "abstractbaranimation_p.h"
#include "abstractbarchartitem_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class PercentBarChartItem;
class QBarSet;
class BarSetAnimation;
class PercentBarAnimation : public AbstractBarAnimation
{
Q_OBJECT
public:
PercentBarAnimation(PercentBarChartItem *item);
~PercentBarAnimation();
virtual QVariant interpolated(const QVariant &from, const QVariant &to, qreal progress) const;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // PERCENTBARANIMATION_P_H