Files
ResInsight/ThirdParty/Qwt/examples/spectrogram/plot.h
T

34 lines
520 B
C++
Raw Normal View History

#include <qwt_plot.h>
#include <qwt_plot_spectrogram.h>
class Plot: public QwtPlot
{
Q_OBJECT
public:
2018-11-26 10:33:42 +01:00
enum ColorMap
{
RGBMap,
IndexMap,
HueMap,
AlphaMap
};
Plot( QWidget * = NULL );
public Q_SLOTS:
void showContour( bool on );
void showSpectrogram( bool on );
2018-11-26 10:33:42 +01:00
void setColorMap( int );
void setAlpha( int );
#ifndef QT_NO_PRINTER
void printPlot();
#endif
private:
QwtPlotSpectrogram *d_spectrogram;
2018-11-26 10:33:42 +01:00
int d_mapType;
int d_alpha;
};