| Line | |
|---|
| 1 | #ifndef ELEPLOT_H
|
|---|
| 2 | #define ELEPLOT_H
|
|---|
| 3 |
|
|---|
| 4 | #include <QtCore>
|
|---|
| 5 | #include <qwt_plot.h>
|
|---|
| 6 | #include <qwt_symbol.h>
|
|---|
| 7 | #include <qwt_plot_curve.h>
|
|---|
| 8 | #include "t_prn.h"
|
|---|
| 9 |
|
|---|
| 10 | class t_availData;
|
|---|
| 11 |
|
|---|
| 12 | class t_elePlot: public QwtPlot {
|
|---|
| 13 | Q_OBJECT
|
|---|
| 14 |
|
|---|
| 15 | public:
|
|---|
| 16 | t_elePlot(QWidget* parent, QMap<t_prn, t_availData>* availDataMap);
|
|---|
| 17 |
|
|---|
| 18 | private:
|
|---|
| 19 | QwtPlotCurve* addCurve(const QString& name, const QwtSymbol& symbol,
|
|---|
| 20 | const QVector<double>& xData,
|
|---|
| 21 | const QVector<double>& yData);
|
|---|
| 22 | };
|
|---|
| 23 |
|
|---|
| 24 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.