##// END OF EJS Templates
Set the first pie slice exploded and label visible in chartthemes demo
Set the first pie slice exploded and label visible in chartthemes demo

File last commit:

r622:960bcf5125b7
r699:367aeb7897cf
Show More
chartanimation_p.h
26 lines | 540 B | text/x-c | CLexer
#ifndef CHARTANIMATION_H_
#define CHARTANIMATION_H_
#include "qchartglobal.h"
#include <QVariantAnimation>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartAnimation: public QVariantAnimation
{
public:
enum Animation { LineDrawAnimation, MoveDownAnimation, MoveUpAnimation };
ChartAnimation(QObject* parent=0):QVariantAnimation(parent),m_type(MoveDownAnimation){};
void setAnimationType(Animation type){
m_type=type;
}
protected:
Animation m_type;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* AXISITEM_H_ */