##// END OF EJS Templates
Adds owvership to domain
Adds owvership to domain

File last commit:

r760:1544a9974795
r787:e08865d3185f
Show More
chartitem_p.h
19 lines | 464 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_ */