Hi,
My program has the capability to create a movie from two different sources, one is vtkWindowToImageFilter, the other is QwtPlot. To achieve commonality between these two sources, I want to create a QImage from the QwtPlot. I'm not saying this is the best approach, but I have something that almost works, and it although it may be inefficient I do not have any concerns about speed.

What I have so far is this:

// Create an image
QImage image( qp->canvas()->size(), QImage::Format_RGB32 );
image.fill( QColor( Qt::white ).rgb() ); // guess you don't need this line
QPainter p( &image );
qp->drawCanvas( &p );
p.drawImage( 0, 0, image );

This works, but the image is just of the QwtPlot canvas. I want to find a way to make an image that includes the axes etc. Can someone tell me how to do this? BTW I am using Qwt 5.2.1.

Thanks
Gib