/[qspeakers]/plot.h
ViewVC logotype

Contents of /plot.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (show annotations)
Mon Oct 6 20:36:42 2014 UTC (7 years, 1 month ago) by ben
File MIME type: text/plain
File size: 386 byte(s)
add custom plot class
1 #ifndef PLOT_H
2 #define PLOT_H
3
4 #include <qwt/qwt_plot.h>
5 #include <qwt/qwt_plot_curve.h>
6
7 class Plot : public QwtPlot
8 {
9 Q_OBJECT
10
11 public:
12 Plot(QWidget *parent = 0);
13 Plot(QwtText title, QWidget *parent = 0);
14 ~Plot();
15
16 protected:
17 void initializeScales();
18 void initializeCanvas();
19 void initializeCurve();
20
21 private:
22 QwtPlotCurve *curve;
23 };
24
25 #endif // PLOT_H

  ViewVC Help
Powered by ViewVC 1.1.26