Rev | Line | |
---|
[4662] | 1 | #ifndef ELEPLOT_H
|
---|
| 2 | #define ELEPLOT_H
|
---|
[4659] | 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 |
|
---|
[4662] | 11 | class t_elePlot: public QwtPlot {
|
---|
[4659] | 12 | Q_OBJECT
|
---|
| 13 |
|
---|
| 14 | public:
|
---|
[4662] | 15 | t_elePlot(QWidget* parent, QMap<QString, t_availData>* availDataMap);
|
---|
[4659] | 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.