##// END OF EJS Templates
Cleanup not used classes...
Cleanup not used classes * chartview * qchartgraphicswidget

File last commit:

r22:780f6083c9a1
r24:981dcbb0d17d
Show More
qchart.h
45 lines | 916 B | text/x-c | CLexer
Michal Klocek
adds missing files form previous commit
r12 #ifndef CHART_H
#define CHART_H
#include <qchartconfig.h>
#include <QGraphicsItem>
QCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor current draft to fit int current design specs...
r21 class Axis;
class XYGrid;
class QChartSeries;
Michal Klocek
Fix private header dependency...
r22 class XYPlotData;
Michal Klocek
Refactor current draft to fit int current design specs...
r21
Michal Klocek
adds missing files form previous commit
r12 class QCHART_EXPORT QChart : public QGraphicsItem
{
public:
Michal Klocek
Refactor current draft to fit int current design specs...
r21 QChart(QGraphicsItem* parent = 0);
Michal Klocek
adds missing files form previous commit
r12 virtual ~QChart();
Michal Klocek
Refactor current draft to fit int current design specs...
r21 //from QGraphicsItem
virtual QRectF boundingRect() const;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget){};
void addSeries(QChartSeries* series);
Michal Klocek
adds missing files form previous commit
r12
Michal Klocek
Refactor current draft to fit int current design specs...
r21 virtual void setSize(const QSizeF& rect);
Michal Klocek
adds missing files form previous commit
r12 void setMargin(int margin);
int margin() const { return m_marginSize;}
private:
Michal Klocek
Refactor current draft to fit int current design specs...
r21 QRect m_rect;
QList<const QChartSeries*> m_series;
Axis* m_axisX;
Axis* m_axisY;
XYGrid* m_grid;
Michal Klocek
Fix private header dependency...
r22 QList<XYPlotData*> m_plotDataList;
Michal Klocek
Refactor current draft to fit int current design specs...
r21 QList<QGraphicsItem*> m_items;
int m_plotDataIndex;
Michal Klocek
adds missing files form previous commit
r12 int m_marginSize;
};
QCHART_END_NAMESPACE
#endif