Screenshot
This is a Python binding to the C++ class Mantidplot::Screenshot.
-
class mantidplot.Screenshot
Handles taking a screenshot while
ensuring the call takes place on the GUI
thread
-
__init__
x.__init__(...) initializes x; see help(type(x)) for signature
-
blockSignals(self, bool) → bool
-
childEvent(self, QChildEvent)
-
children(self) → object
-
connect(QObject, QT_SIGNAL, QObject, QT_SLOT_QT_SIGNAL, Qt.ConnectionType = Qt.AutoConnection) → object
connect(QObject, QT_SIGNAL, Callable[..., None], Qt.ConnectionType = Qt.AutoConnection) -> object
connect(self, QObject, QT_SIGNAL, QT_SLOT_QT_SIGNAL, Qt.ConnectionType = Qt.AutoConnection) -> object
-
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_QT_SIGNAL) → object
disconnect(QObject, QT_SIGNAL, Callable[..., None]) -> object
-
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: QString = QString()) → object
findChild(self, Tuple, name: QString = QString()) -> object
-
findChildren(self, type, name: QString = QString()) → List
findChildren(self, Tuple, name: QString = QString()) -> List
findChildren(self, type, QRegExp) -> List
findChildren(self, Tuple, QRegExp) -> List
-
inherits(self, str) → bool
-
installEventFilter(self, QObject)
-
isWidgetType(self) → bool
-
killTimer(self, int)
-
metaObject(self) → QMetaObject
-
moveToThread(self, QThread)
-
objectName(self) → QString
-
parent(self) → QObject
-
property(self, str) → QVariant
-
pyqtConfigure(...)
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, QString)
-
setParent(self, QObject)
-
setProperty(self, str, QVariant) → bool
-
signalsBlocked(self) → bool
-
startTimer(self, int) → int
-
staticMetaObject = <PyQt4.QtCore.QMetaObject object at 0x7fac8370bf50>
-
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, object, disambiguation: str = None, n: int = -1) → QString
-
trUtf8(self, object, disambiguation: str = None, n: int = -1) → QString