##// END OF EJS Templates
One more alternative for changing themes
One more alternative for changing themes

File last commit:

r108:4cbe204cc325
r108:4cbe204cc325
Show More
chartitem_p.h
21 lines | 508 B | text/x-c | CLexer
#ifndef CHARTITEM_H_
#define CHARTITEM_H_
#include "plotdomain_p.h"
#include <QGraphicsItem>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartItem : public QGraphicsItem
{
enum ChartItemTypes{ AXIS_ITEM = UserType+1, XYLINE_ITEM};
public:
ChartItem(QGraphicsItem* parent = 0):QGraphicsItem(parent){};
virtual ~ChartItem(){};
virtual void setSize(const QSize &size) = 0;
virtual void setPlotDomain(const PlotDomain& data) = 0;
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif /* CHARTITEM_H_ */