—deprecated— grabWidget
—deprecated— QImage grabWidget(object)
This function takes a screenshot of the object
window (or widget) and returns it as an QImage object.
Note: Instead of using grabWidget
to get an AUT-side QImage, it is easier to capture an Image Object using Image object.grabScreenshot(object, [parameterMap]). The Image.save(fileName) function allows you to save directly to a location on the squishrunner host.
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.