Grabber

Inheritance diagram of Grabber

class Grabber(widget, fileName)[source]

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

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 (:class:~`Qt.QWidget`) – the qt widget to be grabbed
  • fileName (:class:~`str`) – the name of the image file
  • period (:class:~`float`) – period (seconds)
onGrab()[source]