##// END OF EJS Templates
Set the first pie slice exploded and label visible in chartthemes demo
Set the first pie slice exploded and label visible in chartthemes demo

File last commit:

r690:847ff650439d
r699:367aeb7897cf
Show More
chartitem_p.h
19 lines | 454 B | text/x-c | CLexer
#ifndef CHARTITEM_H_
#define CHARTITEM_H_
#include "chart_p.h"
#include "chartpresenter_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartItem : public QGraphicsItem, public Chart
{
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM};
public:
ChartItem(ChartPresenter *presenter):QGraphicsItem(presenter?presenter->rootItem():0),Chart(presenter){};
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTITEM_H_ */