Layer

This a python binding to the C++ class Mantidplot::Layer.

class mantidplot.Layer
Area = 4
Bottom = 2
Box = 13
ColorMap = 16
ColorMapContour = 18
Contour = 19
class CurveType
__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

conjugate()

Returns self, the complex conjugate of any int.

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

Layer.DrawChildren = 2
Layer.DrawWindowBackground = 1
Layer.ErrorBars = 12
Layer.Function = 20
Layer.GrayScale = 17
Layer.Histogram = 9
Layer.HorizontalBars = 10
Layer.HorizontalSteps = 8
Layer.IgnoreMask = 4
Layer.ImagePlot = 21
Layer.In = 3
Layer.InOut = 2
Layer.Left = 0
Layer.Line = 0
Layer.LineSymbols = 2
Layer.Linear = 0
Layer.Log10 = 1
Layer.NoTicks = 0
Layer.Out = 1
class Layer.PaintDeviceMetric
__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

conjugate()

Returns self, the complex conjugate of any int.

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

Layer.PdmDepth = 6
Layer.PdmDpiX = 7
Layer.PdmDpiY = 8
Layer.PdmHeight = 2
Layer.PdmHeightMM = 4
Layer.PdmNumColors = 5
Layer.PdmPhysicalDpiX = 9
Layer.PdmPhysicalDpiY = 10
Layer.PdmWidth = 1
Layer.PdmWidthMM = 3
Layer.Pie = 5
class Layer.RenderFlag
__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

conjugate()

Returns self, the complex conjugate of any int.

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

class Layer.RenderFlags

QWidget.RenderFlags(QWidget.RenderFlags) QWidget.RenderFlags(int) QWidget.RenderFlags()

__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Layer.Right = 1
Layer.Scatter = 1
Layer.Spline = 7
class Layer.TicksStyle
__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

conjugate()

Returns self, the complex conjugate of any int.

denominator

the denominator of a rational number in lowest terms

imag

the imaginary part of a complex number

numerator

the numerator of a rational number in lowest terms

real

the real part of a complex number

Layer.Top = 3
Layer.VectXYAM = 14
Layer.VectXYXY = 11
Layer.VerticalBars = 3
Layer.VerticalDropLines = 6
Layer.VerticalSteps = 15
Layer.__init__

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Layer.acceptDrops() → bool
Layer.accessibleDescription() → QString
Layer.accessibleName() → QString
Layer.actionEvent(QActionEvent)
Layer.actions() → list-of-QAction
Layer.activateWindow()
Layer.addAction(QAction)
Layer.addActions(list-of-QAction)
Layer.addArrow(ArrowMarker)
Layer.addCurve(Table, QString, int=0, float=1, int=3, int=0, int=-1) → bool
Layer.addCurves(Table, tuple, int=0, float=1, int=3, int=0, int=-1) → bool
Layer.addErrorBars(QString, Table, QString, int type=1, float width=1, int cap=8, QColor color=QColor(Qt.black), bool through=False, bool minus=True, bool plus=True)
Layer.addFunction(QString, float, float, int=100)
Layer.addHistogram(Matrix)
Layer.addImage(ImageMarker)

Layer.addImage(QString)

Layer.addParametricFunction(QString, QString, float, float, int=100, QString="m")
Layer.addPolarFunction(QString, QString, float, float, int=100, QString="t")
Layer.addTimeStamp()
Layer.adjustSize()
Layer.autoFillBackground() → bool
Layer.backgroundRole() → QPalette.ColorRole
Layer.baseSize() → QSize
Layer.blockSignals(bool) → bool
Layer.changeEvent(QEvent)
Layer.childAt(QPoint) → QWidget

QWidget.childAt(int, int) -> QWidget

Layer.childEvent(QChildEvent)
Layer.children() → list-of-QObject
Layer.childrenRect() → QRect
Layer.childrenRegion() → QRegion
Layer.clearFocus()
Layer.clearMask()
Layer.close() → bool
Layer.closeEvent(QCloseEvent)
Layer.colorCount() → int
Layer.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

Layer.connectNotify(SIGNAL())
Layer.contentsMargins() → QMargins
Layer.contentsRect() → QRect
Layer.contextMenuEvent(QContextMenuEvent)
Layer.contextMenuPolicy() → Qt.ContextMenuPolicy
Layer.create(int window=0, bool initializeWindow=True, bool destroyOldWindow=True)
Layer.cursor() → QCursor
Layer.curve(int) → QwtPlotCurve
Layer.curveTitle(int) → QString
Layer.customContextMenuRequested

QWidget.customContextMenuRequested[QPoint] [signal]

Layer.customEvent(QEvent)
Layer.deleteLater()
Layer.depth() → int
Layer.destroy(bool destroyWindow=True, bool destroySubWindows=True)
Layer.destroyed

QObject.destroyed[QObject] [signal] QObject.destroyed[] [signal]

Layer.devType() → int
Layer.disconnect(QObject, SIGNAL(), QObject, SLOT()) → bool

QObject.disconnect(QObject, SIGNAL(), callable) -> bool

Layer.disconnectNotify(SIGNAL())
Layer.dragEnterEvent(QDragEnterEvent)
Layer.dragLeaveEvent(QDragLeaveEvent)
Layer.dragMoveEvent(QDragMoveEvent)
Layer.drawAxesBackbones(bool)
Layer.dropEvent(QDropEvent)
Layer.dumpObjectInfo()
Layer.dumpObjectTree()
Layer.dynamicPropertyNames() → list-of-QByteArray
Layer.effectiveWinId() → int
Layer.emit(SIGNAL(), ...)
Layer.enableAutoscaling(bool=True)
Layer.enableAxis(int, bool on=True)
Layer.enableAxisLabels(int, bool)
Layer.enableWaterfallFill(bool on=True)
Layer.enabledChange(bool)
Layer.ensurePolished()
Layer.enterEvent(QEvent)
Layer.errorBarSettings(int, int errorBarIndex=0) → ErrorBarSettings
Layer.event(QEvent) → bool
Layer.eventFilter(QObject, QEvent) → bool
Layer.export(QString)
Layer.exportImage(QString, int quality=100, bool transparent=False)
Layer.exportVector(QString, int res=0, bool color=True, bool keepAspect=True, QPrinter.PageSize pageSize=QPrinter.Custom)
Layer.find(int) → QWidget
Layer.findChild(type, QString name=QString()) → QObject
Layer.findChildren(type, QString name=QString()) → list-of-QObject

QObject.findChildren(type, QRegExp) -> list-of-QObject

Layer.focusInEvent(QFocusEvent)
Layer.focusNextChild() → bool
Layer.focusNextPrevChild(bool) → bool
Layer.focusOutEvent(QFocusEvent)
Layer.focusPolicy() → Qt.FocusPolicy
Layer.focusPreviousChild() → bool
Layer.focusProxy() → QWidget
Layer.focusWidget() → QWidget
Layer.font() → QFont
Layer.fontChange(QFont)
Layer.fontInfo() → QFontInfo
Layer.fontMetrics() → QFontMetrics
Layer.foregroundRole() → QPalette.ColorRole
Layer.frameGeometry() → QRect
Layer.frameSize() → QSize
Layer.geometry() → QRect
Layer.getContentsMargins() -> (int, int, int, int)
Layer.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))
Layer.grabKeyboard()
Layer.grabMouse()

QWidget.grabMouse(QCursor)

Layer.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) → int
Layer.graphicsEffect() → QGraphicsEffect
Layer.graphicsProxyWidget() → QGraphicsProxyWidget
Layer.grid() → Grid
Layer.handle() → int
Layer.hasFocus() → bool
Layer.hasMouseTracking() → bool
Layer.height() → int
Layer.heightForWidth(int) → int
Layer.heightMM() → int
Layer.hide()
Layer.hideEvent(QHideEvent)
Layer.inherits(str) → bool
Layer.inputContext() → QInputContext
Layer.inputMethodEvent(QInputMethodEvent)
Layer.inputMethodHints() → Qt.InputMethodHints
Layer.inputMethodQuery(Qt.InputMethodQuery) → QVariant
Layer.insertAction(QAction, QAction)
Layer.insertActions(QAction, list-of-QAction)
Layer.insertCurve(Table, QString, int style=1, int startRow=0, int endRow=-1) → bool

Layer.insertCurve(Table, QString, QString, int style=1, int startRow=0, int endRow=-1) -> bool Layer.insertCurve(QString, int, bool=False, Layer.CurveType style=Graph.Unspecified) -> bool Layer.insertCurve(Layer, int)

Layer.installEventFilter(QObject)
Layer.isActiveWindow() → bool
Layer.isAncestorOf(QWidget) → bool
Layer.isEnabled() → bool
Layer.isEnabledTo(QWidget) → bool
Layer.isEnabledToTLW() → bool
Layer.isFullScreen() → bool
Layer.isHidden() → bool
Layer.isLeftToRight() → bool
Layer.isMaximized() → bool
Layer.isMinimized() → bool
Layer.isModal() → bool
Layer.isPiePlot() → bool
Layer.isRightToLeft() → bool
Layer.isTopLevel() → bool
Layer.isVisible() → bool
Layer.isVisibleTo(QWidget) → bool
Layer.isWidgetType() → bool
Layer.isWindow() → bool
Layer.isWindowModified() → bool
Layer.keyPressEvent(QKeyEvent)
Layer.keyReleaseEvent(QKeyEvent)
Layer.keyboardGrabber() → QWidget
Layer.killTimer(int)
Layer.languageChange()
Layer.layout() → QLayout
Layer.layoutDirection() → Qt.LayoutDirection
Layer.leaveEvent(QEvent)
Layer.legend() → LegendWidget
Layer.linColor()
Layer.linearAxes()
Layer.locale() → QLocale
Layer.logColor()
Layer.logLogAxes()
Layer.logXLinY()
Layer.logYlinX()
Layer.logicalDpiX() → int
Layer.logicalDpiY() → int
Layer.lower()
Layer.mapFrom(QWidget, QPoint) → QPoint
Layer.mapFromGlobal(QPoint) → QPoint
Layer.mapFromParent(QPoint) → QPoint
Layer.mapTo(QWidget, QPoint) → QPoint
Layer.mapToGlobal(QPoint) → QPoint
Layer.mapToParent(QPoint) → QPoint
Layer.mask() → QRegion
Layer.maximumHeight() → int
Layer.maximumSize() → QSize
Layer.maximumWidth() → int
Layer.metaObject() → QMetaObject
Layer.metric(QPaintDevice.PaintDeviceMetric) → int
Layer.minimumHeight() → int
Layer.minimumSize() → QSize
Layer.minimumSizeHint() → QSize
Layer.minimumWidth() → int
Layer.mouseDoubleClickEvent(QMouseEvent)
Layer.mouseGrabber() → QWidget
Layer.mouseMoveEvent(QMouseEvent)
Layer.mousePressEvent(QMouseEvent)
Layer.mouseReleaseEvent(QMouseEvent)
Layer.move(QPoint)

QWidget.move(int, int)

Layer.moveEvent(QMoveEvent)
Layer.moveToThread(QThread)
Layer.nativeParentWidget() → QWidget
Layer.newLegend(QString=QString()) → LegendWidget
Layer.nextInFocusChain() → QWidget
Layer.normalGeometry() → QRect
Layer.numColors() → int
Layer.numCurves() → int
Layer.objectName() → QString
Layer.overrideWindowFlags(Qt.WindowFlags)
Layer.overrideWindowState(Qt.WindowStates)
Layer.paintEngine() → QPaintEngine
Layer.paintEvent(QPaintEvent)
Layer.paintingActive() → bool
Layer.palette() → QPalette
Layer.paletteChange(QPalette)
Layer.parent() → QObject
Layer.parentWidget() → QWidget
Layer.physicalDpiX() → int
Layer.physicalDpiY() → int
Layer.pieLegend() → object
Layer.pos() → QPoint
Layer.previousInFocusChain() → QWidget
Layer.property(str) → QVariant
Layer.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.

Layer.raise_()
Layer.receivers(SIGNAL()) → int
Layer.rect() → QRect
Layer.releaseKeyboard()
Layer.releaseMouse()
Layer.releaseShortcut(int)
Layer.removeAction(QAction)
Layer.removeCurve(int)

Layer.removeCurve(QString)

Layer.removeEventFilter(QObject)
Layer.removeLegend()
Layer.removeTitle()
Layer.render(QPaintDevice, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)

QWidget.render(QPainter, QPoint targetOffset=QPoint(), QRegion sourceRegion=QRegion(), QWidget.RenderFlags flags=QWidget.DrawWindowBackground|QWidget.DrawChildren)

Layer.repaint()

QWidget.repaint(int, int, int, int) QWidget.repaint(QRect) QWidget.repaint(QRegion)

Layer.replot()
Layer.resetInputContext()
Layer.resize(QSize)

QWidget.resize(int, int)

Layer.resizeEvent(QResizeEvent)
Layer.restoreGeometry(QByteArray) → bool
Layer.saveGeometry() → QByteArray
Layer.scroll(int, int)

QWidget.scroll(int, int, QRect)

Layer.sender() → QObject
Layer.setAcceptDrops(bool)
Layer.setAccessibleDescription(QString)
Layer.setAccessibleName(QString)
Layer.setAntialiasing(bool on=True, bool update=True)
Layer.setAttribute(Qt.WidgetAttribute, bool on=True)
Layer.setAutoFillBackground(bool)
Layer.setAutoScale()
Layer.setAutoscaleFonts(bool=True)
Layer.setAxesLinewidth(int)
Layer.setAxisColor(int, QColor)
Layer.setAxisFont(int, QFont)
Layer.setAxisLabelRotation(int, int)
Layer.setAxisLabelsColor(int, QColor)
Layer.setAxisNumericFormat(int, int, int=6, QString=QString())
Layer.setAxisScale(int, float, float, int=-1, float=0, int=5, int=5)
Layer.setAxisTicksLength(int, int, int, int, int)
Layer.setAxisTitle(int, QString)
Layer.setAxisTitleAlignment(int, int)
Layer.setAxisTitleColor(int, QColor)
Layer.setAxisTitleFont(int, QFont)
Layer.setBackgroundColor(QColor)
Layer.setBackgroundRole(QPalette.ColorRole)
Layer.setBaseSize(int, int)

QWidget.setBaseSize(QSize)

Layer.setCanvasColor(QColor)
Layer.setCanvasFrame(int width=1, QColor color=QColor(Qt.black))
Layer.setContentsMargins(int, int, int, int)

QWidget.setContentsMargins(QMargins)

Layer.setContextMenuPolicy(Qt.ContextMenuPolicy)
Layer.setCursor(QCursor)
Layer.setCurveAxes(int, int, int)
Layer.setCurveBrush(int, QBrush)
Layer.setCurveLineColor(int, int)

Layer.setCurveLineColor(int, QColor)

Layer.setCurveLineStyle(int, Qt.PenStyle)
Layer.setCurveLineWidth(int, float)
Layer.setCurvePen(int, QPen)
Layer.setCurveSkipSymbolsCount(int, int)
Layer.setCurveSymbol(int, PlotSymbol)
Layer.setCurveTitle(int, QString)
Layer.setDisabled(bool)
Layer.setEnabled(bool)
Layer.setFixedHeight(int)
Layer.setFixedSize(QSize)

QWidget.setFixedSize(int, int)

Layer.setFixedWidth(int)
Layer.setFocus()

QWidget.setFocus(Qt.FocusReason)

Layer.setFocusPolicy(Qt.FocusPolicy)
Layer.setFocusProxy(QWidget)
Layer.setFont(QFont)
Layer.setForegroundRole(QPalette.ColorRole)
Layer.setFrame(int width=1, QColor color=QColor(Qt.black))
Layer.setGeometry(QRect)

QWidget.setGeometry(int, int, int, int)

Layer.setGraphicsEffect(QGraphicsEffect)
Layer.setGrayScale()
Layer.setHidden(bool)
Layer.setIgnoreResize(bool=True)
Layer.setIndexedColors()
Layer.setInputContext(QInputContext)
Layer.setInputMethodHints(Qt.InputMethodHints)
Layer.setLayout(QLayout)
Layer.setLayoutDirection(Qt.LayoutDirection)
Layer.setLegend(QString)
Layer.setLocale(QLocale)
Layer.setMargin(int)
Layer.setMask(QBitmap)

QWidget.setMask(QRegion)

Layer.setMaximumHeight(int)
Layer.setMaximumSize(int, int)

QWidget.setMaximumSize(QSize)

Layer.setMaximumWidth(int)
Layer.setMinimumHeight(int)
Layer.setMinimumSize(int, int)

QWidget.setMinimumSize(QSize)

Layer.setMinimumWidth(int)
Layer.setMouseTracking(bool)
Layer.setObjectName(QString)
Layer.setPalette(QPalette)
Layer.setParent(QWidget)

QWidget.setParent(QWidget, Qt.WindowFlags)

Layer.setProperty(str, QVariant) → bool
Layer.setScale(int, float, float, float step=0, int majorTicks=5, int minorTicks=5, int type=0, bool inverted=False, float left_break=-DBL_MAX, float right_break=DBL_MAX, int pos=50, float stepBeforeBreak=0, float stepAfterBreak=0, int minTicksBeforeBreak=4, int minTicksAfterBreak=4, bool log10AfterBreak=False, int breakWidth=4, bool breakDecoration=True)
Layer.setShortcutAutoRepeat(int, bool enabled=True)
Layer.setShortcutEnabled(int, bool enabled=True)
Layer.setShown(bool)
Layer.setSizeIncrement(int, int)

QWidget.setSizeIncrement(QSize)

Layer.setSizePolicy(QSizePolicy)

QWidget.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy)

Layer.setStatusTip(QString)
Layer.setStyle(QStyle)
Layer.setStyleSheet(QString)
Layer.setTabOrder(QWidget, QWidget)
Layer.setTicksLength(int, int)
Layer.setTitle(QString)
Layer.setTitleAlignment(int)
Layer.setTitleColor(QColor)
Layer.setTitleFont(QFont)
Layer.setToolTip(QString)
Layer.setUpdatesEnabled(bool)
Layer.setVisible(bool)
Layer.setWaterfallFillColor(QColor)
Layer.setWaterfallOffset(int, int, bool=True)
Layer.setWhatsThis(QString)
Layer.setWindowFilePath(QString)
Layer.setWindowFlags(Qt.WindowFlags)
Layer.setWindowIcon(QIcon)
Layer.setWindowIconText(QString)
Layer.setWindowModality(Qt.WindowModality)
Layer.setWindowModified(bool)
Layer.setWindowOpacity(float)
Layer.setWindowRole(QString)
Layer.setWindowState(Qt.WindowStates)
Layer.setWindowTitle(QString)
Layer.setXTitle(QString)
Layer.setYTitle(QString)
Layer.show()
Layer.showEvent(QShowEvent)
Layer.showFullScreen()
Layer.showGrid(int)

Layer.showGrid()

Layer.showMaximized()
Layer.showMinimized()
Layer.showNormal()
Layer.signalsBlocked() → bool
Layer.size() → QSize
Layer.sizeHint() → QSize
Layer.sizeIncrement() → QSize
Layer.sizePolicy() → QSizePolicy
Layer.spectrogram() → Spectrogram
Layer.stackUnder(QWidget)
Layer.startTimer(int) → int
Layer.staticMetaObject = <PyQt4.QtCore.QMetaObject object at 0xc7a19a8>
Layer.statusTip() → QString
Layer.style() → QStyle
Layer.styleSheet() → QString
Layer.tabletEvent(QTabletEvent)
Layer.testAttribute(Qt.WidgetAttribute) → bool
Layer.thread() → QThread
Layer.timerEvent(QTimerEvent)
Layer.toolTip() → QString
Layer.topLevelWidget() → QWidget
Layer.tr(str, str disambiguation=None, int n=-1) → QString
Layer.trUtf8(str, str disambiguation=None, int n=-1) → QString
Layer.underMouse() → bool
Layer.ungrabGesture(Qt.GestureType)
Layer.unsetCursor()
Layer.unsetLayoutDirection()
Layer.unsetLocale()
Layer.update()

QWidget.update(QRect) QWidget.update(QRegion) QWidget.update(int, int, int, int)

Layer.updateGeometry()
Layer.updateMicroFocus()
Layer.updatesEnabled() → bool
Layer.visibleRegion() → QRegion
Layer.whatsThis() → QString
Layer.wheelEvent(QWheelEvent)
Layer.width() → int
Layer.widthMM() → int
Layer.winId() → int
Layer.window() → QWidget
Layer.windowActivationChange(bool)
Layer.windowFilePath() → QString
Layer.windowFlags() → Qt.WindowFlags
Layer.windowIcon() → QIcon
Layer.windowIconText() → QString
Layer.windowModality() → Qt.WindowModality
Layer.windowOpacity() → float
Layer.windowRole() → QString
Layer.windowState() → Qt.WindowStates
Layer.windowTitle() → QString
Layer.windowType() → Qt.WindowType
Layer.x() → int
Layer.x11Info() → QX11Info
Layer.x11PictureHandle() → int
Layer.y() → int