qt_demoe/third/qwtdemo/examples/animation/plot.h

22 lines
304 B
C
Raw Normal View History

2019-11-07 02:55:57 +00:00
#include <qwt_plot.h>
#include <qdatetime.h>
class Curve;
class Plot: public QwtPlot
{
public:
Plot( QWidget * = NULL);
protected:
virtual void timerEvent( QTimerEvent * );
private:
void updateCurves();
enum { CurveCount = 4 };
Curve *d_curves[CurveCount];
QTime d_time;
};