schrodinger.test.get_widget_image module

Saves an image of the current workspace taken directly fro the Qt Widget framebuffer rendering.

This can be called from Maestro as:

pythonrun get_widget_image.save_maestro_workspace filename

Copyright Schrodinger, LLC. All rights reserved.

schrodinger.test.get_widget_image.get_qglwidget_image(widget_name='')[source]

Returns a QImage of a QGLWidget with optional name widget_name.

schrodinger.test.get_widget_image.save_maestro_workspace(filename)[source]

Retrieves a rendering of the current Maestro workspace and saves it to the specified filename.