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.
33 lines
444 B
33 lines
444 B
#ifndef _PLOT_H_
|
|
#define _PLOT_H_
|
|
|
|
#include <qwt_plot.h>
|
|
|
|
class Settings;
|
|
class LegendItem;
|
|
class QwtLegend;
|
|
|
|
class Plot: public QwtPlot
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
Plot( QWidget *parent = NULL );
|
|
virtual ~Plot();
|
|
|
|
public Q_SLOTS:
|
|
void applySettings( const Settings & );
|
|
|
|
public:
|
|
virtual void replot();
|
|
|
|
private:
|
|
void insertCurve();
|
|
|
|
QwtLegend *d_externalLegend;
|
|
LegendItem *d_legendItem;
|
|
bool d_isDirty;
|
|
};
|
|
|
|
#endif
|