mpi
21st June 2011, 12:01
Hi,
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,
Mads
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,
Mads