~ubuntu-branches/ubuntu/oneiric/qwt/oneiric-proposed

« back to all changes in this revision

Viewing changes to qwt-5.1.2/examples/bode/bode_plot.h

  • Committer: Bazaar Package Importer
  • Author(s): Fathi Boudra
  • Date: 2009-07-01 16:08:21 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20090701160821-gog44m4w7x2f4u6o
Tags: 5.2.0-1
* New upstream release.
* Add branch pull patch from svn r544.
* Bump Standards-Version to 3.8.2. No changes needed.
* Update installed manpages.
* Use qwt as base name for directory (drop version).
* Add missing warnings patch.
* Rewrite debian/rules: use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <qwt_plot.h>
2
 
 
3
 
class QwtPlotCurve;
4
 
class QwtPlotMarker;
5
 
 
6
 
class BodePlot: public QwtPlot
7
 
{
8
 
    Q_OBJECT
9
 
public:
10
 
    BodePlot(QWidget *parent);
11
 
 
12
 
public slots:
13
 
    void setDamp(double damping);
14
 
 
15
 
private:
16
 
    void showData(double *frequency, double *amplitude, 
17
 
        double *phase, int count);
18
 
    void showPeak(double freq, double amplitude);
19
 
    void show3dB(double freq);
20
 
 
21
 
    QwtPlotCurve *d_crv1;
22
 
    QwtPlotCurve *d_crv2;
23
 
    QwtPlotMarker *d_mrk1;
24
 
    QwtPlotMarker *d_mrk2;
25
 
};