Screenshot
This 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(bool) → bool
-
childEvent(QChildEvent)
-
children() → list-of-QObject
-
connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection) → bool
QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection) -> bool
QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection) -> bool
-
connectNotify(SIGNAL())
-
customEvent(QEvent)
-
deleteLater()
-
destroyed
QObject.destroyed[QObject] [signal]
QObject.destroyed [signal]
-
disconnect(QObject, SIGNAL(), QObject, SLOT()) → bool
QObject.disconnect(QObject, SIGNAL(), callable) -> bool
-
disconnectNotify(SIGNAL())
-
dumpObjectInfo()
-
dumpObjectTree()
-
dynamicPropertyNames() → list-of-QByteArray
-
emit(SIGNAL(), ...)
-
event(QEvent) → bool
-
eventFilter(QObject, QEvent) → bool
-
findChild(type, QString name=QString()) → QObject
QObject.findChild(tuple, QString name=QString()) -> QObject
-
findChildren(type, QString name=QString()) → list-of-QObject
QObject.findChildren(tuple, QString name=QString()) -> list-of-QObject
QObject.findChildren(type, QRegExp) -> list-of-QObject
QObject.findChildren(tuple, QRegExp) -> list-of-QObject
-
inherits(str) → bool
-
installEventFilter(QObject)
-
isWidgetType() → bool
-
killTimer(int)
-
metaObject() → QMetaObject
-
moveToThread(QThread)
-
objectName() → QString
-
parent() → QObject
-
property(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(SIGNAL()) → int
-
removeEventFilter(QObject)
-
sender() → QObject
-
senderSignalIndex() → int
-
setObjectName(QString)
-
setParent(QObject)
-
setProperty(str, QVariant) → bool
-
signalsBlocked() → bool
-
startTimer(int) → int
-
staticMetaObject = <PyQt4.QtCore.QMetaObject object at 0xf2c00c0>
-
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() → QThread
-
timerEvent(QTimerEvent)
-
tr(str, str disambiguation=None, int n=-1) → QString
-
trUtf8(str, str disambiguation=None, int n=-1) → QString