[PyQt] Screenshot with no show

Mads Ipsen madsipsen at gmail.com
Tue Jun 21 10:40:56 BST 2011


I have a GLWidget (OpenGL) based window which is used for displaying 
chemical structures. I would like to use this window to generate 
thumbnails used as icons for the files containing the chemical structures.

I would like to hide this process of icon generation from the user, so 
is there any way that you can

    * Show/display a GLWidget/QWidget in some sort of virtual frame
      buffer, in such a way that is does NOT appear visual to the user.
    * Dump the contents of the invisible window into a pixmap.

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110621/1c0dd604/attachment-0001.html>

More information about the PyQt mailing list