You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
304 B
22 lines
304 B
|
3 years ago
|
#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;
|
||
|
|
};
|