#include <qwt_plot.h> #include <qwt_plot_spectrogram.h> class Plot: public QwtPlot { Q_OBJECT public: Plot(QWidget * = NULL); public Q_SLOTS: void showContour(bool on); void showSpectrogram(bool on); #ifndef QT_NO_PRINTER void printPlot(); #endif private: QwtPlotSpectrogram *d_spectrogram; };