##// END OF EJS Templates
minor code review issues. indent, spaces, brackets etc.
minor code review issues. indent, spaces, brackets etc.

File last commit:

r690:847ff650439d
r743:e20e9148b1b0
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_ */