##// END OF EJS Templates
Make pie fit better inside its given rectangle. Label texts still go outside. Needs a bit more work...
Make pie fit better inside its given rectangle. Label texts still go outside. Needs a bit more work...

File last commit:

r223:c82178b4ef05
r289:46889b1144e0
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_ */