You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
338 B
24 lines
338 B
|
3 years ago
|
#ifndef _PLOT_H_
|
||
|
|
#define _PLOT_H_ 1
|
||
|
|
|
||
|
|
#include <qwt_plot.h>
|
||
|
|
|
||
|
|
class QwtPlotCurve;
|
||
|
|
class QwtSymbol;
|
||
|
|
|
||
|
|
class Plot : public QwtPlot
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
Plot( QWidget *parent = NULL );
|
||
|
|
|
||
|
|
void setSymbol( QwtSymbol * );
|
||
|
|
void setSamples( const QVector<QPointF> &samples );
|
||
|
|
|
||
|
|
private:
|
||
|
|
QwtPlotCurve *d_curve;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // _PLOT_H_
|