chartanimation_p.h
26 lines
| 540 B
| text/x-c
|
CLexer
Michal Klocek
|
r530 | #ifndef CHARTANIMATION_H_ | ||
#define CHARTANIMATION_H_ | ||||
#include "qchartglobal.h" | ||||
#include <QVariantAnimation> | ||||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class ChartAnimation: public QVariantAnimation | ||||
{ | ||||
public: | ||||
Michal Klocek
|
r622 | 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; | ||||
Michal Klocek
|
r530 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif /* AXISITEM_H_ */ | ||||