##// END OF EJS Templates
Added support for data from model to QBarSeries. Various fixes and small modifications to data from model support to other series
Added support for data from model to QBarSeries. Various fixes and small modifications to data from model support to other series

File last commit:

r531:64f37cf5241e
r630:dd8db9a3a988
Show More
chartitem_p.h
33 lines | 706 B | text/x-c | CLexer
#ifndef CHARTITEM_H_
#define CHARTITEM_H_
#include "domain_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartAnimator;
class ChartItem : public QGraphicsItem
{
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM};
public:
ChartItem(QGraphicsItem* parent = 0):QGraphicsItem(parent),
m_animator(0){};
//TODO make pure
virtual void handleGeometryChanged(const QRectF&){};
virtual void handleDomainChanged(qreal,qreal,qreal,qreal){};
void setAnimator(ChartAnimator* animator){
m_animator=animator;
}
virtual ~ChartItem(){};
protected:
ChartAnimator* m_animator;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTITEM_H_ */