10 #ifndef QWT_PLOT_SPECTROGRAM_H 11 #define QWT_PLOT_SPECTROGRAM_H 18 template <
typename T>
class QList;
71 void setMaxRGBTableSize(
int numColors );
72 int maxRGBTableSize()
const;
75 virtual QRectF pixelHint( const QRectF & ) const QWT_OVERRIDE;
77 void setDefaultContourPen( const QColor &,
78 qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
79 void setDefaultContourPen( const QPen & );
80 QPen defaultContourPen() const;
82 virtual QPen contourPen(
double level ) const;
87 void setContourLevels( const
QList<
double> & );
88 QList<
double> contourLevels() const;
90 virtual
int rtti() const QWT_OVERRIDE;
92 virtual
void draw( QPainter *,
94 const QRectF &canvasRect ) const QWT_OVERRIDE;
97 virtual QImage renderImage(
99 const QRectF &area, const QSize &imageSize ) const QWT_OVERRIDE;
101 virtual QSize contourRasterSize(
102 const QRectF &, const QRect & ) const;
105 const QRectF &rect, const QSize &raster ) const;
107 virtual
void drawContourLines( QPainter *,
112 const QRect &tile, QImage * ) const;
A class representing an interval.
A class, which displays raster data.
QFlags< DisplayMode > DisplayModes
Display modes.
A plot item, which displays a spectrogram.
virtual QwtInterval interval(Qt::Axis) const
QwtColorMap is used to map values into colors.
QwtRasterData defines an interface to any type of raster data.