mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
check qwt-5.2, r588 into repository
This commit is contained in:
25
qwt/examples/bode/bode_plot.h
Normal file
25
qwt/examples/bode/bode_plot.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#include <qwt_plot.h>
|
||||
|
||||
class QwtPlotCurve;
|
||||
class QwtPlotMarker;
|
||||
|
||||
class BodePlot: public QwtPlot
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
BodePlot(QWidget *parent);
|
||||
|
||||
public slots:
|
||||
void setDamp(double damping);
|
||||
|
||||
private:
|
||||
void showData(double *frequency, double *amplitude,
|
||||
double *phase, int count);
|
||||
void showPeak(double freq, double amplitude);
|
||||
void show3dB(double freq);
|
||||
|
||||
QwtPlotCurve *d_crv1;
|
||||
QwtPlotCurve *d_crv2;
|
||||
QwtPlotMarker *d_mrk1;
|
||||
QwtPlotMarker *d_mrk2;
|
||||
};
|
||||
Reference in New Issue
Block a user