##// END OF EJS Templates
Fix a major memory leak
Fix a major memory leak

File last commit:

r223:c82178b4ef05
r229:a66d0f17c040
Show More
chartitem_p.h
24 lines | 565 B | text/x-c | CLexer
#ifndef CHARTITEM_H_
#define CHARTITEM_H_
#include "domain_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartAnimationManager;
class ChartItem : public QGraphicsItem
{
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM};
public:
ChartItem(QGraphicsItem* parent = 0):QGraphicsItem(parent){};
//TODO make pure
virtual void handleGeometryChanged(const QRectF&){};
virtual void handleDomainChanged(const Domain& domain){};
virtual ~ChartItem(){};
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTITEM_H_ */