diff -r 1115791a4c35 -r 2e1610865683 plot.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plot.h Fri Jan 27 00:18:40 2012 +0100 @@ -0,0 +1,20 @@ +#ifndef _plot_h +#define _plot_h + +#include "pch.h" + + +class Plot : public QGraphicsScene +{ + Q_OBJECT + public: + Plot(QObject *parent = 0); + void setXAxis(qreal max, qreal step = 0); + void setXAxis(qreal min, qreal max, qreal step = 0); + void setYAxis(qreal min, qreal max, qreal step = 0); + private: + static const QPointF zero; + +}; + +#endif