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