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 }; | ||
Marek Rosa
|
r738 | ChartAnimation(QObject* parent=0):QVariantAnimation(parent), m_type(MoveDownAnimation){} | ||
Michal Klocek
|
r622 | void setAnimationType(Animation type){ | ||
m_type=type; | ||||
} | ||||
protected: | ||||
Animation m_type; | ||||
Michal Klocek
|
r530 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif /* AXISITEM_H_ */ | ||||