彻底改版2.0
This commit is contained in:
21
third/qwtdemo/examples/animation/plot.h
Normal file
21
third/qwtdemo/examples/animation/plot.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user