chartitem_p.h
19 lines
| 442 B
| text/x-c
|
CLexer
/ src / chartitem_p.h
|
r104 | #ifndef CHARTITEM_H_ | ||
#define CHARTITEM_H_ | ||||
|
r677 | #include "chart_p.h" | ||
#include "chartpresenter_p.h" | ||||
|
r104 | #include <QGraphicsItem> | ||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
|
r108 | |||
|
r677 | class ChartItem : public QGraphicsItem, public Chart | ||
|
r104 | { | ||
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM}; | ||||
public: | ||||
|
r677 | ChartItem(ChartPresenter *presenter):QGraphicsItem(presenter->rootItem()),Chart(presenter){}; | ||
|
r104 | }; | ||
QTCOMMERCIALCHART_END_NAMESPACE | ||||
#endif /* CHARTITEM_H_ */ | ||||