This is a Python binding to the C++ class Mantidplot::Screenshot.
mantidplot.
Screenshot
¶Handles taking a screenshot while ensuring the call takes place on the GUI thread
blockSignals
(self, bool) → bool¶childEvent
(self, QChildEvent)¶children
(self) → object¶connect
(QObject, QT_SIGNAL, QObject, QT_SLOT, Qt.ConnectionType = Qt.AutoConnection) → bool¶connect(QObject, QT_SIGNAL, Callable[…, None], Qt.ConnectionType = Qt.AutoConnection) -> bool connect(self, QObject, QT_SIGNAL, QT_SLOT, Qt.ConnectionType = Qt.AutoConnection) -> bool
connectNotify
(self, QT_SIGNAL)¶customEvent
(self, QEvent)¶deleteLater
(self)¶destroyed
¶destroyed(self, QObject = None) [signal] destroyed(self) [signal]
disconnect
(QObject, QT_SIGNAL, QObject, QT_SLOT) → bool¶disconnect(QObject, QT_SIGNAL, Callable[…, None]) -> bool
disconnectNotify
(self, QT_SIGNAL)¶dumpObjectInfo
(self)¶dumpObjectTree
(self)¶dynamicPropertyNames
(self) → object¶emit
(self, QT_SIGNAL, *)¶event
(self, QEvent) → bool¶eventFilter
(self, QObject, QEvent) → bool¶findChild
(self, type, name: str = '') → QObject¶findChild(self, Tuple, name: str = ‘’) -> QObject
findChildren
(self, type, name: str = '') → List[QObject]¶findChildren(self, Tuple, name: str = ‘’) -> List[QObject] findChildren(self, type, QRegExp) -> List[QObject] findChildren(self, Tuple, QRegExp) -> List[QObject]
inherits
(self, str) → bool¶installEventFilter
(self, QObject)¶isWidgetType
(self) → bool¶killTimer
(self, int)¶metaObject
(self) → QMetaObject¶moveToThread
(self, QThread)¶objectName
(self) → str¶parent
(self) → QObject¶property
(self, str) → Any¶pyqtConfigure
(**options)¶Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.
receivers
(self, QT_SIGNAL) → int¶removeEventFilter
(self, QObject)¶sender
(self) → QObject¶senderSignalIndex
(self) → int¶setObjectName
(self, str)¶setParent
(self, QObject)¶setProperty
(self, str, Any) → bool¶signalsBlocked
(self) → bool¶startTimer
(self, int) → int¶staticMetaObject
= <PyQt4.QtCore.QMetaObject object>¶take_picture
(widget, filename)¶Takes a screenshot and saves it to the filename given, ensuring the call is processed through a slot if the call is from a separate thread
thread
(self) → QThread¶timerEvent
(self, QTimerEvent)¶tr
(self, str, disambiguation: str = None, n: int = -1) → str¶trUtf8
(self, str, disambiguation: str = None, n: int = -1) → str¶