##// END OF EJS Templates
Declarative series classed now derived from QSeries childs
Declarative series classed now derived from QSeries childs

File last commit:

r738:ce991d3dee26
r789:a31eb092569c
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_ */