This is a Python binding to the C++ class Mantidplot::Layer.
mantidplot.
Layer
¶Area
= 4¶Bottom
= 2¶Box
= 13¶ColorMap
= 16¶ColorMapContour
= 18¶Contour
= 19¶DrawChildren
= 2¶DrawWindowBackground
= 1¶ErrorBars
= 12¶Function
= 20¶GrayScale
= 17¶Histogram
= 9¶HorizontalBars
= 10¶HorizontalSteps
= 8¶IgnoreMask
= 4¶ImagePlot
= 21¶In
= 3¶InOut
= 2¶Left
= 0¶Line
= 0¶LineSymbols
= 2¶Linear
= 0¶Log10
= 1¶NoTicks
= 0¶Out
= 1¶PaintDeviceMetric
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
PdmDepth
= 6¶PdmDpiX
= 7¶PdmDpiY
= 8¶PdmHeight
= 2¶PdmHeightMM
= 4¶PdmNumColors
= 5¶PdmPhysicalDpiX
= 9¶PdmPhysicalDpiY
= 10¶PdmWidth
= 1¶PdmWidthMM
= 3¶Pie
= 5¶RenderFlag
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
RenderFlags
¶QWidget.RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) QWidget.RenderFlags(QWidget.RenderFlags)
Right
= 1¶Scatter
= 1¶Spline
= 7¶TicksStyle
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
Top
= 3¶User
= 22¶VectXYAM
= 14¶VectXYXY
= 11¶VerticalBars
= 3¶VerticalDropLines
= 6¶VerticalSteps
= 15¶acceptDrops
(self) → bool¶accessibleDescription
(self) → str¶accessibleName
(self) → str¶actionEvent
(self, QActionEvent)¶actions
(self) → List[QAction]¶activateWindow
(self)¶addAction
(self, QAction)¶addActions
(self, object)¶addArrow
(self, ArrowMarker)¶addCurve
(self, Table, str, int = 0, float = 1, int = 3, int = 0, int = -1) → bool¶addCurves
(self, Table, Tuple, int = 0, float = 1, int = 3, int = 0, int = -1) → bool¶addErrorBars
(self, str, Table, str, int = 1, float = 1, int = 8, Union[QColor, Qt.GlobalColor, QGradient] = QColor(Qt.black), bool = False, bool = True, bool = True)¶addFunction
(self, str, float, float, int = 100)¶addHistogram
(self, Matrix)¶addImage
(self, ImageMarker)¶addImage(self, str)
addParametricFunction
(self, str, str, float, float, int = 100, str = '')¶addPolarFunction
(self, str, str, float, float, int = 100, str = '')¶addTimeStamp
(self)¶adjustSize
(self)¶autoFillBackground
(self) → bool¶backgroundRole
(self) → QPalette.ColorRole¶baseSize
(self) → QSize¶blockSignals
(self, bool) → bool¶changeEvent
(self, QEvent)¶childAt
(self, QPoint) → QWidget¶childAt(self, int, int) -> QWidget
childEvent
(self, QChildEvent)¶children
(self) → object¶childrenRect
(self) → QRect¶childrenRegion
(self) → QRegion¶clearFocus
(self)¶clearMask
(self)¶close
(self) → bool¶closeEvent
(self, QCloseEvent)¶colorCount
(self) → int¶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)¶contentsMargins
(self) → QMargins¶contentsRect
(self) → QRect¶contextMenuEvent
(self, QContextMenuEvent)¶contextMenuPolicy
(self) → Qt.ContextMenuPolicy¶create
(self, window: int = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶cursor
(self) → QCursor¶curve
(self, int) → QwtPlotCurve¶curveTitle
(self, int) → str¶customContextMenuRequested
¶customContextMenuRequested(self, QPoint) [signal]
customEvent
(self, QEvent)¶deleteLater
(self)¶depth
(self) → int¶destroy
(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶destroyed
¶destroyed(self, QObject = None) [signal] destroyed(self) [signal]
devType
(self) → int¶disconnect
(QObject, QT_SIGNAL, QObject, QT_SLOT) → bool¶disconnect(QObject, QT_SIGNAL, Callable[…, None]) -> bool
disconnectNotify
(self, QT_SIGNAL)¶dragEnterEvent
(self, QDragEnterEvent)¶dragLeaveEvent
(self, QDragLeaveEvent)¶dragMoveEvent
(self, QDragMoveEvent)¶drawAxesBackbones
(self, bool)¶dropEvent
(self, QDropEvent)¶dumpObjectInfo
(self)¶dumpObjectTree
(self)¶dynamicPropertyNames
(self) → object¶effectiveWinId
(self) → int¶emit
(self, QT_SIGNAL, *)¶enableAutoscaling
(self, bool = True)¶enableAxis
(self, int, bool = True)¶enableAxisLabels
(self, int, bool)¶enableWaterfallFill
(self, bool = True)¶enabledChange
(self, bool)¶ensurePolished
(self)¶enterEvent
(self, QEvent)¶errorBarSettings
(self, int, int = 0) → ErrorBarSettings¶event
(self, QEvent) → bool¶eventFilter
(self, QObject, QEvent) → bool¶export
(self, str)¶exportImage
(self, str, int = 100, bool = False)¶exportVector
(self, str, int = 0, bool = True, bool = True, QPrinter.PageSize = QPrinter.Custom)¶find
(int) → QWidget¶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]
focusInEvent
(self, QFocusEvent)¶focusNextChild
(self) → bool¶focusNextPrevChild
(self, bool) → bool¶focusOutEvent
(self, QFocusEvent)¶focusPolicy
(self) → Qt.FocusPolicy¶focusPreviousChild
(self) → bool¶focusProxy
(self) → QWidget¶focusWidget
(self) → QWidget¶font
(self) → QFont¶fontChange
(self, QFont)¶fontInfo
(self) → QFontInfo¶fontMetrics
(self) → QFontMetrics¶foregroundRole
(self) → QPalette.ColorRole¶frameGeometry
(self) → QRect¶frameSize
(self) → QSize¶geometry
(self) → QRect¶getContentsMargins
(self) → Tuple[int, int, int, int]¶grabGesture
(self, Qt.GestureType, flags: Union[Qt.GestureFlags, Qt.GestureFlag] = Qt.GestureFlags(0))¶grabKeyboard
(self)¶grabMouse
(self)¶grabMouse(self, Union[QCursor, Qt.CursorShape])
grabShortcut
(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) → int¶graphicsEffect
(self) → QGraphicsEffect¶graphicsProxyWidget
(self) → QGraphicsProxyWidget¶grid
(self) → Grid¶handle
(self) → int¶hasFocus
(self) → bool¶hasMouseTracking
(self) → bool¶height
(self) → int¶heightForWidth
(self, int) → int¶heightMM
(self) → int¶hide
(self)¶hideEvent
(self, QHideEvent)¶inherits
(self, str) → bool¶inputContext
(self) → QInputContext¶inputMethodEvent
(self, QInputMethodEvent)¶inputMethodHints
(self) → Qt.InputMethodHints¶inputMethodQuery
(self, Qt.InputMethodQuery) → Any¶insertAction
(self, QAction, QAction)¶insertActions
(self, QAction, Sequence[QAction])¶insertCurve
(self, Table, str, int = 1, int = 0, int = -1) → bool¶insertCurve(self, Table, str, str, int = 1, int = 0, int = -1) -> bool insertCurve(self, str, int, bool = False, GraphOptions.CurveType = GraphOptions.Unspecified, bool = False) -> bool insertCurve(self, Layer, int)
installEventFilter
(self, QObject)¶isActiveWindow
(self) → bool¶isAncestorOf
(self, QWidget) → bool¶isEnabled
(self) → bool¶isEnabledTo
(self, QWidget) → bool¶isEnabledToTLW
(self) → bool¶isFullScreen
(self) → bool¶isHidden
(self) → bool¶isLeftToRight
(self) → bool¶isMaximized
(self) → bool¶isMinimized
(self) → bool¶isModal
(self) → bool¶isPiePlot
(self) → bool¶isRightToLeft
(self) → bool¶isTopLevel
(self) → bool¶isVisible
(self) → bool¶isVisibleTo
(self, QWidget) → bool¶isWidgetType
(self) → bool¶isWindow
(self) → bool¶isWindowModified
(self) → bool¶keyPressEvent
(self, QKeyEvent)¶keyReleaseEvent
(self, QKeyEvent)¶keyboardGrabber
() → QWidget¶killTimer
(self, int)¶languageChange
(self)¶layout
(self) → QLayout¶layoutDirection
(self) → Qt.LayoutDirection¶leaveEvent
(self, QEvent)¶legend
(self) → LegendWidget¶linColor
(self)¶linearAxes
(self)¶locale
(self) → QLocale¶logColor
(self)¶logLogAxes
(self)¶logXLinY
(self)¶logYlinX
(self)¶logicalDpiX
(self) → int¶logicalDpiY
(self) → int¶lower
(self)¶mapFrom
(self, QWidget, QPoint) → QPoint¶mapFromGlobal
(self, QPoint) → QPoint¶mapFromParent
(self, QPoint) → QPoint¶mapTo
(self, QWidget, QPoint) → QPoint¶mapToGlobal
(self, QPoint) → QPoint¶mapToParent
(self, QPoint) → QPoint¶mask
(self) → QRegion¶maximumHeight
(self) → int¶maximumSize
(self) → QSize¶maximumWidth
(self) → int¶metaObject
(self) → QMetaObject¶metric
(self, QPaintDevice.PaintDeviceMetric) → int¶minimumHeight
(self) → int¶minimumSize
(self) → QSize¶minimumSizeHint
(self) → QSize¶minimumWidth
(self) → int¶mouseDoubleClickEvent
(self, QMouseEvent)¶mouseGrabber
() → QWidget¶mouseMoveEvent
(self, QMouseEvent)¶mousePressEvent
(self, QMouseEvent)¶mouseReleaseEvent
(self, QMouseEvent)¶move
(self, QPoint)¶move(self, int, int)
moveEvent
(self, QMoveEvent)¶moveToThread
(self, QThread)¶nativeParentWidget
(self) → QWidget¶newLegend
(self, str = '') → LegendWidget¶nextInFocusChain
(self) → QWidget¶normalGeometry
(self) → QRect¶numColors
(self) → int¶numCurves
(self) → int¶objectName
(self) → str¶overrideWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶overrideWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶paintEngine
(self) → QPaintEngine¶paintEvent
(self, QPaintEvent)¶paintingActive
(self) → bool¶palette
(self) → QPalette¶paletteChange
(self, QPalette)¶parent
(self) → QObject¶parentWidget
(self) → QWidget¶physicalDpiX
(self) → int¶physicalDpiY
(self) → int¶pieLegend
(self) → object¶pos
(self) → QPoint¶previousInFocusChain
(self) → QWidget¶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.
raise_
(self)¶receivers
(self, QT_SIGNAL) → int¶rect
(self) → QRect¶releaseKeyboard
(self)¶releaseMouse
(self)¶releaseShortcut
(self, int)¶removeAction
(self, QAction)¶removeCurve
(self, int)¶removeCurve(self, str)
removeEventFilter
(self, QObject)¶removeLegend
(self)¶removeTitle
(self)¶render
(self, QPaintDevice, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlags = QWidget.DrawWindowBackground|QWidget.DrawChildren)¶render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlags = QWidget.DrawWindowBackground|QWidget.DrawChildren)
repaint
(self)¶repaint(self, int, int, int, int) repaint(self, QRect) repaint(self, QRegion)
replot
(self)¶resetInputContext
(self)¶resize
(self, QSize)¶resize(self, int, int)
resizeEvent
(self, QResizeEvent)¶restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶saveGeometry
(self) → QByteArray¶scroll
(self, int, int)¶scroll(self, int, int, QRect)
sender
(self) → QObject¶senderSignalIndex
(self) → int¶setAcceptDrops
(self, bool)¶setAccessibleDescription
(self, str)¶setAccessibleName
(self, str)¶setAntialiasing
(self, bool = True, bool = True)¶setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶setAutoFillBackground
(self, bool)¶setAutoScale
(self)¶setAutoscaleFonts
(self, bool = True)¶setAxesLinewidth
(self, int)¶setAxisColor
(self, int, Union[QColor, Qt.GlobalColor, QGradient])¶setAxisFont
(self, int, QFont)¶setAxisLabelRotation
(self, int, int)¶setAxisLabelsColor
(self, int, Union[QColor, Qt.GlobalColor, QGradient])¶setAxisNumericFormat
(self, int, int, int = 6, str = '')¶setAxisScale
(self, int, float, float, int = -1, float = 0, int = 5, int = 5)¶setAxisTicksLength
(self, int, int, int, int, int)¶setAxisTitle
(self, int, str)¶setAxisTitleAlignment
(self, int, int)¶setAxisTitleColor
(self, int, Union[QColor, Qt.GlobalColor, QGradient])¶setAxisTitleFont
(self, int, QFont)¶setBackgroundColor
(self, Union[QColor, Qt.GlobalColor, QGradient])¶setBackgroundRole
(self, QPalette.ColorRole)¶setBaseSize
(self, int, int)¶setBaseSize(self, QSize)
setCanvasColor
(self, Union[QColor, Qt.GlobalColor, QGradient])¶setCanvasFrame
(self, int = 1, Union[QColor, Qt.GlobalColor, QGradient] = QColor(Qt.black))¶setContentsMargins
(self, int, int, int, int)¶setContentsMargins(self, QMargins)
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶setCursor
(self, Union[QCursor, Qt.CursorShape])¶setCurveAxes
(self, int, int, int)¶setCurveBrush
(self, int, Union[QBrush, QColor, Qt.GlobalColor, QGradient])¶setCurveLineColor
(self, int, int)¶setCurveLineColor(self, int, Union[QColor, Qt.GlobalColor])
setCurveLineStyle
(self, int, Qt.PenStyle)¶setCurveLineWidth
(self, int, float)¶setCurvePen
(self, int, Union[QPen, QColor, Qt.GlobalColor])¶setCurveSkipSymbolsCount
(self, int, int)¶setCurveSymbol
(self, int, PlotSymbol)¶setCurveTitle
(self, int, str)¶setDisabled
(self, bool)¶setEnabled
(self, bool)¶setFixedHeight
(self, int)¶setFixedSize
(self, QSize)¶setFixedSize(self, int, int)
setFixedWidth
(self, int)¶setFocus
(self)¶setFocus(self, Qt.FocusReason)
setFocusPolicy
(self, Qt.FocusPolicy)¶setFocusProxy
(self, QWidget)¶setFont
(self, QFont)¶setForegroundRole
(self, QPalette.ColorRole)¶setFrame
(self, int = 1, Union[QColor, Qt.GlobalColor, QGradient] = QColor(Qt.black))¶setGeometry
(self, QRect)¶setGeometry(self, int, int, int, int)
setGraphicsEffect
(self, QGraphicsEffect)¶setGrayScale
(self)¶setHidden
(self, bool)¶setIgnoreResize
(self, bool = True)¶setIndexedColors
(self)¶setInputContext
(self, QInputContext)¶setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶setLayout
(self, QLayout)¶setLayoutDirection
(self, Qt.LayoutDirection)¶setLegend
(self, str)¶setLocale
(self, QLocale)¶setMargin
(self, int)¶setMask
(self, QBitmap)¶setMask(self, QRegion)
setMaximumHeight
(self, int)¶setMaximumSize
(self, int, int)¶setMaximumSize(self, QSize)
setMaximumWidth
(self, int)¶setMinimumHeight
(self, int)¶setMinimumSize
(self, int, int)¶setMinimumSize(self, QSize)
setMinimumWidth
(self, int)¶setMouseTracking
(self, bool)¶setObjectName
(self, str)¶setPalette
(self, QPalette)¶setParent
(self, QWidget)¶setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType])
setProperty
(self, str, Any) → bool¶setScale
(self, int, float, float, float = 0, int = 5, int = 5, int = 0, bool = False, float = -DBL_MAX, float = DBL_MAX, int = 50, float = 0, float = 0, int = 4, int = 4, bool = False, int = 4, bool = True)¶setShortcutAutoRepeat
(self, int, enabled: bool = True)¶setShortcutEnabled
(self, int, enabled: bool = True)¶setShown
(self, bool)¶setSizeIncrement
(self, int, int)¶setSizeIncrement(self, QSize)
setSizePolicy
(self, QSizePolicy)¶setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy)
setStatusTip
(self, str)¶setStyle
(self, QStyle)¶setStyleSheet
(self, str)¶setTabOrder
(QWidget, QWidget)¶setTicksLength
(self, int, int)¶setTitle
(self, str)¶setTitleAlignment
(self, int)¶setTitleColor
(self, Union[QColor, Qt.GlobalColor, QGradient])¶setTitleFont
(self, QFont)¶setToolTip
(self, str)¶setUpdatesEnabled
(self, bool)¶setVisible
(self, bool)¶setWaterfallFillColor
(self, Union[QColor, Qt.GlobalColor, QGradient])¶setWaterfallOffset
(self, int, int, bool = True)¶setWhatsThis
(self, str)¶setWindowFilePath
(self, str)¶setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶setWindowIcon
(self, QIcon)¶setWindowIconText
(self, str)¶setWindowModality
(self, Qt.WindowModality)¶setWindowModified
(self, bool)¶setWindowOpacity
(self, float)¶setWindowRole
(self, str)¶setWindowState
(self, Union[Qt.WindowStates, Qt.WindowState])¶setWindowTitle
(self, str)¶setXTitle
(self, str)¶setYTitle
(self, str)¶show
(self)¶showEvent
(self, QShowEvent)¶showFullScreen
(self)¶showGrid
(self, int)¶showGrid(self)
showMaximized
(self)¶showMinimized
(self)¶showNormal
(self)¶signalsBlocked
(self) → bool¶size
(self) → QSize¶sizeHint
(self) → QSize¶sizeIncrement
(self) → QSize¶sizePolicy
(self) → QSizePolicy¶spectrogram
(self) → Spectrogram¶stackUnder
(self, QWidget)¶startTimer
(self, int) → int¶staticMetaObject
= <PyQt4.QtCore.QMetaObject object>¶statusTip
(self) → str¶style
(self) → QStyle¶styleSheet
(self) → str¶tabletEvent
(self, QTabletEvent)¶testAttribute
(self, Qt.WidgetAttribute) → bool¶thread
(self) → QThread¶timerEvent
(self, QTimerEvent)¶toolTip
(self) → str¶topLevelWidget
(self) → QWidget¶tr
(self, str, disambiguation: str = None, n: int = -1) → str¶trUtf8
(self, str, disambiguation: str = None, n: int = -1) → str¶underMouse
(self) → bool¶ungrabGesture
(self, Qt.GestureType)¶unsetCursor
(self)¶unsetLayoutDirection
(self)¶unsetLocale
(self)¶update
(self)¶update(self, QRect) update(self, QRegion) update(self, int, int, int, int)
updateGeometry
(self)¶updateMicroFocus
(self)¶updatesEnabled
(self) → bool¶visibleRegion
(self) → QRegion¶whatsThis
(self) → str¶wheelEvent
(self, QWheelEvent)¶width
(self) → int¶widthMM
(self) → int¶winId
(self) → int¶window
(self) → QWidget¶windowActivationChange
(self, bool)¶windowFilePath
(self) → str¶windowFlags
(self) → Qt.WindowFlags¶windowIcon
(self) → QIcon¶windowIconText
(self) → str¶windowModality
(self) → Qt.WindowModality¶windowOpacity
(self) → float¶windowRole
(self) → str¶windowState
(self) → Qt.WindowStates¶windowTitle
(self) → str¶windowType
(self) → Qt.WindowType¶x
(self) → int¶x11Info
(self) → QX11Info¶x11PictureHandle
(self) → int¶y
(self) → int¶