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