qt_demoe/qwtdemo/examples/stockchart/plot.h

25 lines
309 B
C++

#ifndef _PLOT_H_
#define _PLOT_H_
#include <qwt_plot.h>
class Plot: public QwtPlot
{
Q_OBJECT
public:
Plot( QWidget * = NULL );
public Q_SLOTS:
void setMode( int );
void exportPlot();
private Q_SLOTS:
void showItem( QwtPlotItem *, bool on );
private:
void populate();
};
#endif