| 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 |
|
|---|
| 9 | class t_availData;
|
|---|
| 10 |
|
|---|
| 11 | class t_elePlot: public QwtPlot {
|
|---|
| 12 | Q_OBJECT
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 15 | t_elePlot(QWidget* parent, QMap<QString, t_availData>* availDataMap);
|
|---|
| 16 |
|
|---|
| 17 | private:
|
|---|
| 18 | QwtPlotCurve* addCurve(const QString& name, const QwtSymbol& symbol,
|
|---|
| 19 | const QVector<double>& xData,
|
|---|
| 20 | const QVector<double>& yData);
|
|---|
| 21 | };
|
|---|
| 22 |
|
|---|
| 23 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.