taurus taurus

Previous topic

ExternalAppAction

Next topic

QtColorPalette

This Page

Grabber

Inheritance diagram of Grabber

class Grabber(widget, fileName)

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

grabTrigger()
static grabWidget(widget, fileName, period=None)

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()