Hi all,

How can I attach an image file to QwtPlot as if it's a QwtPlotCurve so that I'll get to use the axis, legend, selection, zoom, etc ...

It seems that subclassing the QwtPlotRasterItem may be it, but I don't know how to override the renderImage method.
Qt Code:
  1. QImage OverlayImagePlot::renderImage(const QwtScaleMap &xMap,
  2. const QwtScaleMap &yMap, const QwtDoubleRect &area) const
  3. {
  4. //return QImage(_filename);
  5. }
To copy to clipboard, switch view to plain text mode 

Thanks