[PyKDE] QPixmap.grabWidget question
Bowen, Brian M
bmbowen at sandia.gov
Thu Jan 12 18:27:47 GMT 2006
> I've found that is necessary to invoke show() on a widget before you
> can use QPixmap.grabWidget to get the QPixMap. If you try to get the
> PixMap before calling show(), the image does not look right. My goal
> is to be able to convert a widget to an image and display it as an
> image rather than a widget. The reason is that I have a bunch of graph
> widgets (QwtPlots) that I need to be able to zoom in and out on.
> Anyone know a good way to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt