Grabber

Inheritance diagram of Grabber
class Grabber(widget, fileName)[source]

Bases: PyQt4.QtCore.QObject, taurus.core.util.log.Logger

grab
grabTrigger()[source]
static grabWidget(widget, fileName, period=None)[source]

Grabs the given widget into the given image filename. If period is not given (or given with None) means grab immediately once and return. If period is given and >0 means grab the image every period seconds

Parameters:
  • widget (QWidget) – the qt widget to be grabbed
  • fileName (str) – the name of the image file
  • period (float) – period (seconds)
onGrab()[source]