彻底改版2.0

This commit is contained in:
feiyangqingyun
2021-11-17 16:41:30 +08:00
parent a7f4347959
commit ebfd531a91
2622 changed files with 8915 additions and 7263 deletions

View File

@@ -0,0 +1,38 @@
#ifndef _PLOT_H_
#define _PLOT_H_ 1
#include <qwt_plot.h>
#include <qwt_system_clock.h>
#include "settings.h"
class QwtPlotGrid;
class QwtPlotCurve;
class Plot: public QwtPlot
{
Q_OBJECT
public:
Plot( QWidget* = NULL );
public Q_SLOTS:
void setSettings( const Settings & );
protected:
virtual void timerEvent( QTimerEvent *e );
private:
void alignScales();
QwtPlotGrid *d_grid;
QwtPlotCurve *d_curve;
QwtSystemClock d_clock;
double d_interval;
int d_timerId;
Settings d_settings;
};
#endif