plotpy.cross_section¶
- The cross_section module provides cross section related objects:
plotpy.cross_section.XCrossSection: the X-axis cross-section panelplotpy.cross_section.YCrossSection: the Y-axis cross-section panel- and other related objects which are exclusively used by the cross-section panels
Example¶
Simple cross-section demo:
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 CEA
# Pierre Raybaut
# Licensed under the terms of the CECILL License
# (see plotpy/__init__.py for details)
"""Renders a cross section chosen by a cross marker"""
SHOW = True # Show test in GUI-based test launcher
import os.path as osp, numpy as np
from plotpy.plot import ImageDialog
from plotpy.builder import make
def create_window():
win = ImageDialog(edit=False, toolbar=True, wintitle="Cross sections test",
options=dict(show_xsection=True, show_ysection=True,
show_itemlist=True))
win.resize(800, 600)
return win
def test():
"""Test"""
# -- Create QApplication
import guidata
_app = guidata.qapplication()
# --
filename = osp.join(osp.dirname(__file__), "brain.png")
win = create_window()
image = make.image(filename=filename, colormap="bone")
data2 = np.array(image.data.T[200:], copy=True)
image2 = make.image(data2, title="Modified", alpha_mask=True)
plot = win.get_plot()
plot.add_item(image)
plot.add_item(image2, z=1)
win.exec_()
if __name__ == "__main__":
test()
Reference¶
-
class
plotpy.cross_section.XCrossSection(parent=None)[source]¶ X-axis cross section widget
-
CrossSectionPlotKlass¶ alias of
XCrossSectionPlot
-
class
RenderFlags(QWidget.RenderFlags)¶ QWidget.RenderFlags(int) QWidget.RenderFlags()
-
XCrossSection.acceptDrops() → bool¶
-
XCrossSection.accessibleDescription() → str¶
-
XCrossSection.accessibleName() → str¶
-
XCrossSection.actionEvent(QActionEvent)¶
-
XCrossSection.actions() → list-of-QAction¶
-
XCrossSection.activateWindow()¶
-
XCrossSection.addAction(QAction)¶
-
XCrossSection.addActions(list-of-QAction)¶
-
XCrossSection.adjustSize()¶
-
XCrossSection.autoFillBackground() → bool¶
-
XCrossSection.backgroundRole() → QPalette.ColorRole¶
-
XCrossSection.baseSize() → QSize¶
-
XCrossSection.blockSignals(bool) → bool¶
-
XCrossSection.changeEvent(QEvent)¶
-
XCrossSection.childAt(QPoint) → QWidget¶ QWidget.childAt(int, int) -> QWidget
-
XCrossSection.children() → list-of-QObject¶
-
XCrossSection.childrenRect() → QRect¶
-
XCrossSection.childrenRegion() → QRegion¶
-
XCrossSection.clearFocus()¶
-
XCrossSection.clearMask()¶
-
XCrossSection.close() → bool¶
-
XCrossSection.colorCount() → int¶
-
XCrossSection.configure_panel()¶ Configure panel
-
XCrossSection.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
-
XCrossSection.contentsMargins() → QMargins¶
-
XCrossSection.contentsRect() → QRect¶
-
XCrossSection.contextMenuEvent(QContextMenuEvent)¶
-
XCrossSection.contextMenuPolicy() → Qt.ContextMenuPolicy¶
-
XCrossSection.create(sip.voidptr window=None, bool initializeWindow=True, bool destroyOldWindow=True)¶
-
XCrossSection.create_dockwidget(title)¶ Add to parent QMainWindow as a dock widget
-
XCrossSection.cs_curve_has_changed(curve)¶ Cross section curve has just changed
-
XCrossSection.cursor() → QCursor¶
-
XCrossSection.customContextMenuRequested¶ QWidget.customContextMenuRequested[QPoint] [signal]
-
XCrossSection.deleteLater()¶
-
XCrossSection.depth() → int¶
-
XCrossSection.destroy(bool destroyWindow=True, bool destroySubWindows=True)¶
-
XCrossSection.destroyed¶ QObject.destroyed[QObject] [signal] QObject.destroyed [signal]
-
XCrossSection.devType() → int¶
-
XCrossSection.disconnect(QObject, SIGNAL(), QObject, SLOT()) → bool¶ QObject.disconnect(QObject, SIGNAL(), callable) -> bool
-
XCrossSection.dragEnterEvent(QDragEnterEvent)¶
-
XCrossSection.dragLeaveEvent(QDragLeaveEvent)¶
-
XCrossSection.dragMoveEvent(QDragMoveEvent)¶
-
XCrossSection.dropEvent(QDropEvent)¶
-
XCrossSection.dumpObjectInfo()¶
-
XCrossSection.dumpObjectTree()¶
-
XCrossSection.dynamicPropertyNames() → list-of-QByteArray¶
-
XCrossSection.effectiveWinId() → sip.voidptr¶
-
XCrossSection.emit(SIGNAL(), ...)¶
-
XCrossSection.enabledChange(bool)¶
-
XCrossSection.ensurePolished()¶
-
XCrossSection.enterEvent(QEvent)¶
-
XCrossSection.event(QEvent) → bool¶
-
XCrossSection.eventFilter(QObject, QEvent) → bool¶
-
XCrossSection.find(sip.voidptr) → QWidget¶
-
XCrossSection.findChild(type, str name='') → QObject¶ QObject.findChild(tuple, str name=’‘) -> QObject
-
XCrossSection.findChildren(type, str name='') → list-of-QObject¶ QObject.findChildren(tuple, str name=’‘) -> list-of-QObject QObject.findChildren(type, QRegExp) -> list-of-QObject QObject.findChildren(tuple, QRegExp) -> list-of-QObject
-
XCrossSection.focusInEvent(QFocusEvent)¶
-
XCrossSection.focusNextChild() → bool¶
-
XCrossSection.focusNextPrevChild(bool) → bool¶
-
XCrossSection.focusOutEvent(QFocusEvent)¶
-
XCrossSection.focusPolicy() → Qt.FocusPolicy¶
-
XCrossSection.focusPreviousChild() → bool¶
-
XCrossSection.focusProxy() → QWidget¶
-
XCrossSection.focusWidget() → QWidget¶
-
XCrossSection.font() → QFont¶
-
XCrossSection.fontChange(QFont)¶
-
XCrossSection.fontInfo() → QFontInfo¶
-
XCrossSection.fontMetrics() → QFontMetrics¶
-
XCrossSection.foregroundRole() → QPalette.ColorRole¶
-
XCrossSection.frameGeometry() → QRect¶
-
XCrossSection.frameSize() → QSize¶
-
XCrossSection.geometry() → QRect¶
-
XCrossSection.getContentsMargins() -> (int, int, int, int)¶
-
XCrossSection.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))¶
-
XCrossSection.grabKeyboard()¶
-
XCrossSection.grabMouse()¶ QWidget.grabMouse(QCursor)
-
XCrossSection.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) → int¶
-
XCrossSection.graphicsEffect() → QGraphicsEffect¶
-
XCrossSection.graphicsProxyWidget() → QGraphicsProxyWidget¶
-
XCrossSection.hasFocus() → bool¶
-
XCrossSection.hasMouseTracking() → bool¶
-
XCrossSection.height() → int¶
-
XCrossSection.heightForWidth(int) → int¶
-
XCrossSection.heightMM() → int¶
-
XCrossSection.hide()¶
-
XCrossSection.inherits(str) → bool¶
-
XCrossSection.inputContext() → QInputContext¶
-
XCrossSection.inputMethodEvent(QInputMethodEvent)¶
-
XCrossSection.inputMethodHints() → Qt.InputMethodHints¶
-
XCrossSection.inputMethodQuery(Qt.InputMethodQuery) → object¶
-
XCrossSection.insertAction(QAction, QAction)¶
-
XCrossSection.insertActions(QAction, list-of-QAction)¶
-
XCrossSection.installEventFilter(QObject)¶
-
XCrossSection.isActiveWindow() → bool¶
-
XCrossSection.isAncestorOf(QWidget) → bool¶
-
XCrossSection.isEnabled() → bool¶
-
XCrossSection.isEnabledTo(QWidget) → bool¶
-
XCrossSection.isEnabledToTLW() → bool¶
-
XCrossSection.isFullScreen() → bool¶
-
XCrossSection.isHidden() → bool¶
-
XCrossSection.isLeftToRight() → bool¶
-
XCrossSection.isMaximized() → bool¶
-
XCrossSection.isMinimized() → bool¶
-
XCrossSection.isModal() → bool¶
-
XCrossSection.isRightToLeft() → bool¶
-
XCrossSection.isTopLevel() → bool¶
-
XCrossSection.isVisible() → bool¶
-
XCrossSection.isVisibleTo(QWidget) → bool¶
-
XCrossSection.isWidgetType() → bool¶
-
XCrossSection.isWindow() → bool¶
-
XCrossSection.isWindowModified() → bool¶
-
XCrossSection.keyPressEvent(QKeyEvent)¶
-
XCrossSection.keyReleaseEvent(QKeyEvent)¶
-
XCrossSection.keyboardGrabber() → QWidget¶
-
XCrossSection.killTimer(int)¶
-
XCrossSection.languageChange()¶
-
XCrossSection.layout() → QLayout¶
-
XCrossSection.layoutDirection() → Qt.LayoutDirection¶
-
XCrossSection.leaveEvent(QEvent)¶
-
XCrossSection.locale() → QLocale¶
-
XCrossSection.logicalDpiX() → int¶
-
XCrossSection.logicalDpiY() → int¶
-
XCrossSection.lower()¶
-
XCrossSection.mapFrom(QWidget, QPoint) → QPoint¶
-
XCrossSection.mapFromGlobal(QPoint) → QPoint¶
-
XCrossSection.mapFromParent(QPoint) → QPoint¶
-
XCrossSection.mapTo(QWidget, QPoint) → QPoint¶
-
XCrossSection.mapToGlobal(QPoint) → QPoint¶
-
XCrossSection.mapToParent(QPoint) → QPoint¶
-
XCrossSection.mask() → QRegion¶
-
XCrossSection.maximumHeight() → int¶
-
XCrossSection.maximumSize() → QSize¶
-
XCrossSection.maximumWidth() → int¶
-
XCrossSection.metaObject() → QMetaObject¶
-
XCrossSection.metric(QPaintDevice.PaintDeviceMetric) → int¶
-
XCrossSection.minimumHeight() → int¶
-
XCrossSection.minimumSize() → QSize¶
-
XCrossSection.minimumSizeHint() → QSize¶
-
XCrossSection.minimumWidth() → int¶
-
XCrossSection.mouseDoubleClickEvent(QMouseEvent)¶
-
XCrossSection.mouseGrabber() → QWidget¶
-
XCrossSection.mouseMoveEvent(QMouseEvent)¶
-
XCrossSection.mousePressEvent(QMouseEvent)¶
-
XCrossSection.mouseReleaseEvent(QMouseEvent)¶
-
XCrossSection.move(QPoint)¶ QWidget.move(int, int)
-
XCrossSection.moveEvent(QMoveEvent)¶
-
XCrossSection.moveToThread(QThread)¶
-
XCrossSection.nativeParentWidget() → QWidget¶
-
XCrossSection.nextInFocusChain() → QWidget¶
-
XCrossSection.normalGeometry() → QRect¶
-
XCrossSection.numColors() → int¶
-
XCrossSection.objectName() → str¶
-
XCrossSection.overrideWindowFlags(Qt.WindowFlags)¶
-
XCrossSection.overrideWindowState(Qt.WindowStates)¶
-
XCrossSection.paintEngine() → QPaintEngine¶
-
XCrossSection.paintEvent(QPaintEvent)¶
-
XCrossSection.paintingActive() → bool¶
-
XCrossSection.palette() → QPalette¶
-
XCrossSection.paletteChange(QPalette)¶
-
XCrossSection.parent() → QObject¶
-
XCrossSection.parentWidget() → QWidget¶
-
XCrossSection.physicalDpiX() → int¶
-
XCrossSection.physicalDpiY() → int¶
-
XCrossSection.pos() → QPoint¶
-
XCrossSection.previousInFocusChain() → QWidget¶
-
XCrossSection.property(str) → object¶
-
XCrossSection.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.
-
XCrossSection.raise_()¶
-
XCrossSection.rect() → QRect¶
-
XCrossSection.register_panel(manager)¶ Register panel to plot manager
-
XCrossSection.releaseKeyboard()¶
-
XCrossSection.releaseMouse()¶
-
XCrossSection.releaseShortcut(int)¶
-
XCrossSection.removeAction(QAction)¶
-
XCrossSection.removeEventFilter(QObject)¶
-
XCrossSection.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)
-
XCrossSection.repaint()¶ QWidget.repaint(int, int, int, int) QWidget.repaint(QRect) QWidget.repaint(QRegion)
-
XCrossSection.resetInputContext()¶
-
XCrossSection.resize(QSize)¶ QWidget.resize(int, int)
-
XCrossSection.resizeEvent(QResizeEvent)¶
-
XCrossSection.restoreGeometry(QByteArray) → bool¶
-
XCrossSection.saveGeometry() → QByteArray¶
-
XCrossSection.scroll(int, int)¶ QWidget.scroll(int, int, QRect)
-
XCrossSection.setAcceptDrops(bool)¶
-
XCrossSection.setAccessibleDescription(str)¶
-
XCrossSection.setAccessibleName(str)¶
-
XCrossSection.setAttribute(Qt.WidgetAttribute, bool on=True)¶
-
XCrossSection.setAutoFillBackground(bool)¶
-
XCrossSection.setBackgroundRole(QPalette.ColorRole)¶
-
XCrossSection.setBaseSize(int, int)¶ QWidget.setBaseSize(QSize)
-
XCrossSection.setContentsMargins(int, int, int, int)¶ QWidget.setContentsMargins(QMargins)
-
XCrossSection.setContextMenuPolicy(Qt.ContextMenuPolicy)¶
-
XCrossSection.setCursor(QCursor)¶
-
XCrossSection.setDisabled(bool)¶
-
XCrossSection.setEnabled(bool)¶
-
XCrossSection.setFixedHeight(int)¶
-
XCrossSection.setFixedSize(QSize)¶ QWidget.setFixedSize(int, int)
-
XCrossSection.setFixedWidth(int)¶
-
XCrossSection.setFocus()¶ QWidget.setFocus(Qt.FocusReason)
-
XCrossSection.setFocusPolicy(Qt.FocusPolicy)¶
-
XCrossSection.setFocusProxy(QWidget)¶
-
XCrossSection.setFont(QFont)¶
-
XCrossSection.setForegroundRole(QPalette.ColorRole)¶
-
XCrossSection.setGeometry(QRect)¶ QWidget.setGeometry(int, int, int, int)
-
XCrossSection.setGraphicsEffect(QGraphicsEffect)¶
-
XCrossSection.setHidden(bool)¶
-
XCrossSection.setInputContext(QInputContext)¶
-
XCrossSection.setInputMethodHints(Qt.InputMethodHints)¶
-
XCrossSection.setLayout(QLayout)¶
-
XCrossSection.setLayoutDirection(Qt.LayoutDirection)¶
-
XCrossSection.setLocale(QLocale)¶
-
XCrossSection.setMask(QBitmap)¶ QWidget.setMask(QRegion)
-
XCrossSection.setMaximumHeight(int)¶
-
XCrossSection.setMaximumSize(int, int)¶ QWidget.setMaximumSize(QSize)
-
XCrossSection.setMaximumWidth(int)¶
-
XCrossSection.setMinimumHeight(int)¶
-
XCrossSection.setMinimumSize(int, int)¶ QWidget.setMinimumSize(QSize)
-
XCrossSection.setMinimumWidth(int)¶
-
XCrossSection.setMouseTracking(bool)¶
-
XCrossSection.setObjectName(str)¶
-
XCrossSection.setPalette(QPalette)¶
-
XCrossSection.setParent(QWidget)¶ QWidget.setParent(QWidget, Qt.WindowFlags)
-
XCrossSection.setProperty(str, object) → bool¶
-
XCrossSection.setShortcutAutoRepeat(int, bool enabled=True)¶
-
XCrossSection.setShortcutEnabled(int, bool enabled=True)¶
-
XCrossSection.setShown(bool)¶
-
XCrossSection.setSizeIncrement(int, int)¶ QWidget.setSizeIncrement(QSize)
-
XCrossSection.setSizePolicy(QSizePolicy)¶ QWidget.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy)
-
XCrossSection.setStatusTip(str)¶
-
XCrossSection.setStyle(QStyle)¶
-
XCrossSection.setStyleSheet(str)¶
-
XCrossSection.setTabOrder(QWidget, QWidget)¶
-
XCrossSection.setToolTip(str)¶
-
XCrossSection.setUpdatesEnabled(bool)¶
-
XCrossSection.setVisible(bool)¶
-
XCrossSection.setWhatsThis(str)¶
-
XCrossSection.setWindowFilePath(str)¶
-
XCrossSection.setWindowFlags(Qt.WindowFlags)¶
-
XCrossSection.setWindowIcon(QIcon)¶
-
XCrossSection.setWindowIconText(str)¶
-
XCrossSection.setWindowModality(Qt.WindowModality)¶
-
XCrossSection.setWindowModified(bool)¶
-
XCrossSection.setWindowOpacity(float)¶
-
XCrossSection.setWindowRole(str)¶
-
XCrossSection.setWindowState(Qt.WindowStates)¶
-
XCrossSection.setWindowTitle(str)¶
-
XCrossSection.show()¶
-
XCrossSection.showFullScreen()¶
-
XCrossSection.showMaximized()¶
-
XCrossSection.showMinimized()¶
-
XCrossSection.showNormal()¶
-
XCrossSection.signalsBlocked() → bool¶
-
XCrossSection.size() → QSize¶
-
XCrossSection.sizeHint() → QSize¶
-
XCrossSection.sizeIncrement() → QSize¶
-
XCrossSection.sizePolicy() → QSizePolicy¶
-
XCrossSection.stackUnder(QWidget)¶
-
XCrossSection.startTimer(int) → int¶
-
XCrossSection.statusTip() → str¶
-
XCrossSection.style() → QStyle¶
-
XCrossSection.styleSheet() → str¶
-
XCrossSection.tabletEvent(QTabletEvent)¶
-
XCrossSection.testAttribute(Qt.WidgetAttribute) → bool¶
-
XCrossSection.thread() → QThread¶
-
XCrossSection.toolTip() → str¶
-
XCrossSection.topLevelWidget() → QWidget¶
-
XCrossSection.tr(str, str disambiguation=None, int n=-1) → str¶
-
XCrossSection.trUtf8(str, str disambiguation=None, int n=-1) → str¶
-
XCrossSection.underMouse() → bool¶
-
XCrossSection.ungrabGesture(Qt.GestureType)¶
-
XCrossSection.unsetCursor()¶
-
XCrossSection.unsetLayoutDirection()¶
-
XCrossSection.unsetLocale()¶
-
XCrossSection.update()¶ QWidget.update(QRect) QWidget.update(QRegion) QWidget.update(int, int, int, int)
-
XCrossSection.updateGeometry()¶
-
XCrossSection.updateMicroFocus()¶
-
XCrossSection.update_plot(obj=None)¶ Update cross section curve(s) associated to object obj
obj may be a marker or a rectangular shape (see
plotpy.tools.CrossSectionToolandplotpy.tools.AverageCrossSectionTool)If obj is None, update the cross sections of the last active object
-
XCrossSection.updatesEnabled() → bool¶
-
XCrossSection.visibility_changed(enable)¶ DockWidget visibility has changed
-
XCrossSection.visibleRegion() → QRegion¶
-
XCrossSection.whatsThis() → str¶
-
XCrossSection.wheelEvent(QWheelEvent)¶
-
XCrossSection.width() → int¶
-
XCrossSection.widthMM() → int¶
-
XCrossSection.winEvent(MSG) -> (bool, int)¶
-
XCrossSection.winId() → sip.voidptr¶
-
XCrossSection.window() → QWidget¶
-
XCrossSection.windowActivationChange(bool)¶
-
XCrossSection.windowFilePath() → str¶
-
XCrossSection.windowFlags() → Qt.WindowFlags¶
-
XCrossSection.windowIcon() → QIcon¶
-
XCrossSection.windowIconText() → str¶
-
XCrossSection.windowModality() → Qt.WindowModality¶
-
XCrossSection.windowOpacity() → float¶
-
XCrossSection.windowRole() → str¶
-
XCrossSection.windowState() → Qt.WindowStates¶
-
XCrossSection.windowTitle() → str¶
-
XCrossSection.windowType() → Qt.WindowType¶
-
XCrossSection.x() → int¶
-
XCrossSection.y() → int¶
-
-
class
plotpy.cross_section.YCrossSection(parent=None, position='right', xsection_pos='top')[source]¶ Y-axis cross section widget parent (QWidget): parent widget position (string): “left” or “right”
-
CrossSectionPlotKlass¶ alias of
YCrossSectionPlot
-
class
RenderFlags(QWidget.RenderFlags)¶ QWidget.RenderFlags(int) QWidget.RenderFlags()
-
YCrossSection.acceptDrops() → bool¶
-
YCrossSection.accessibleDescription() → str¶
-
YCrossSection.accessibleName() → str¶
-
YCrossSection.actionEvent(QActionEvent)¶
-
YCrossSection.actions() → list-of-QAction¶
-
YCrossSection.activateWindow()¶
-
YCrossSection.addAction(QAction)¶
-
YCrossSection.addActions(list-of-QAction)¶
-
YCrossSection.adjustSize()¶
-
YCrossSection.autoFillBackground() → bool¶
-
YCrossSection.backgroundRole() → QPalette.ColorRole¶
-
YCrossSection.baseSize() → QSize¶
-
YCrossSection.blockSignals(bool) → bool¶
-
YCrossSection.changeEvent(QEvent)¶
-
YCrossSection.childAt(QPoint) → QWidget¶ QWidget.childAt(int, int) -> QWidget
-
YCrossSection.children() → list-of-QObject¶
-
YCrossSection.childrenRect() → QRect¶
-
YCrossSection.childrenRegion() → QRegion¶
-
YCrossSection.clearFocus()¶
-
YCrossSection.clearMask()¶
-
YCrossSection.close() → bool¶
-
YCrossSection.colorCount() → int¶
-
YCrossSection.configure_panel()¶ Configure panel
-
YCrossSection.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
-
YCrossSection.contentsMargins() → QMargins¶
-
YCrossSection.contentsRect() → QRect¶
-
YCrossSection.contextMenuEvent(QContextMenuEvent)¶
-
YCrossSection.contextMenuPolicy() → Qt.ContextMenuPolicy¶
-
YCrossSection.create(sip.voidptr window=None, bool initializeWindow=True, bool destroyOldWindow=True)¶
-
YCrossSection.create_dockwidget(title)¶ Add to parent QMainWindow as a dock widget
-
YCrossSection.cs_curve_has_changed(curve)¶ Cross section curve has just changed
-
YCrossSection.cursor() → QCursor¶
-
YCrossSection.customContextMenuRequested¶ QWidget.customContextMenuRequested[QPoint] [signal]
-
YCrossSection.deleteLater()¶
-
YCrossSection.depth() → int¶
-
YCrossSection.destroy(bool destroyWindow=True, bool destroySubWindows=True)¶
-
YCrossSection.destroyed¶ QObject.destroyed[QObject] [signal] QObject.destroyed [signal]
-
YCrossSection.devType() → int¶
-
YCrossSection.disconnect(QObject, SIGNAL(), QObject, SLOT()) → bool¶ QObject.disconnect(QObject, SIGNAL(), callable) -> bool
-
YCrossSection.dragEnterEvent(QDragEnterEvent)¶
-
YCrossSection.dragLeaveEvent(QDragLeaveEvent)¶
-
YCrossSection.dragMoveEvent(QDragMoveEvent)¶
-
YCrossSection.dropEvent(QDropEvent)¶
-
YCrossSection.dumpObjectInfo()¶
-
YCrossSection.dumpObjectTree()¶
-
YCrossSection.dynamicPropertyNames() → list-of-QByteArray¶
-
YCrossSection.effectiveWinId() → sip.voidptr¶
-
YCrossSection.emit(SIGNAL(), ...)¶
-
YCrossSection.enabledChange(bool)¶
-
YCrossSection.ensurePolished()¶
-
YCrossSection.enterEvent(QEvent)¶
-
YCrossSection.event(QEvent) → bool¶
-
YCrossSection.eventFilter(QObject, QEvent) → bool¶
-
YCrossSection.find(sip.voidptr) → QWidget¶
-
YCrossSection.findChild(type, str name='') → QObject¶ QObject.findChild(tuple, str name=’‘) -> QObject
-
YCrossSection.findChildren(type, str name='') → list-of-QObject¶ QObject.findChildren(tuple, str name=’‘) -> list-of-QObject QObject.findChildren(type, QRegExp) -> list-of-QObject QObject.findChildren(tuple, QRegExp) -> list-of-QObject
-
YCrossSection.focusInEvent(QFocusEvent)¶
-
YCrossSection.focusNextChild() → bool¶
-
YCrossSection.focusNextPrevChild(bool) → bool¶
-
YCrossSection.focusOutEvent(QFocusEvent)¶
-
YCrossSection.focusPolicy() → Qt.FocusPolicy¶
-
YCrossSection.focusPreviousChild() → bool¶
-
YCrossSection.focusProxy() → QWidget¶
-
YCrossSection.focusWidget() → QWidget¶
-
YCrossSection.font() → QFont¶
-
YCrossSection.fontChange(QFont)¶
-
YCrossSection.fontInfo() → QFontInfo¶
-
YCrossSection.fontMetrics() → QFontMetrics¶
-
YCrossSection.foregroundRole() → QPalette.ColorRole¶
-
YCrossSection.frameGeometry() → QRect¶
-
YCrossSection.frameSize() → QSize¶
-
YCrossSection.geometry() → QRect¶
-
YCrossSection.getContentsMargins() -> (int, int, int, int)¶
-
YCrossSection.grabGesture(Qt.GestureType, Qt.GestureFlags flags=Qt.GestureFlags(0))¶
-
YCrossSection.grabKeyboard()¶
-
YCrossSection.grabMouse()¶ QWidget.grabMouse(QCursor)
-
YCrossSection.grabShortcut(QKeySequence, Qt.ShortcutContext context=Qt.WindowShortcut) → int¶
-
YCrossSection.graphicsEffect() → QGraphicsEffect¶
-
YCrossSection.graphicsProxyWidget() → QGraphicsProxyWidget¶
-
YCrossSection.hasFocus() → bool¶
-
YCrossSection.hasMouseTracking() → bool¶
-
YCrossSection.height() → int¶
-
YCrossSection.heightForWidth(int) → int¶
-
YCrossSection.heightMM() → int¶
-
YCrossSection.hide()¶
-
YCrossSection.inherits(str) → bool¶
-
YCrossSection.inputContext() → QInputContext¶
-
YCrossSection.inputMethodEvent(QInputMethodEvent)¶
-
YCrossSection.inputMethodHints() → Qt.InputMethodHints¶
-
YCrossSection.inputMethodQuery(Qt.InputMethodQuery) → object¶
-
YCrossSection.insertAction(QAction, QAction)¶
-
YCrossSection.insertActions(QAction, list-of-QAction)¶
-
YCrossSection.installEventFilter(QObject)¶
-
YCrossSection.isActiveWindow() → bool¶
-
YCrossSection.isAncestorOf(QWidget) → bool¶
-
YCrossSection.isEnabled() → bool¶
-
YCrossSection.isEnabledTo(QWidget) → bool¶
-
YCrossSection.isEnabledToTLW() → bool¶
-
YCrossSection.isFullScreen() → bool¶
-
YCrossSection.isHidden() → bool¶
-
YCrossSection.isLeftToRight() → bool¶
-
YCrossSection.isMaximized() → bool¶
-
YCrossSection.isMinimized() → bool¶
-
YCrossSection.isModal() → bool¶
-
YCrossSection.isRightToLeft() → bool¶
-
YCrossSection.isTopLevel() → bool¶
-
YCrossSection.isVisible() → bool¶
-
YCrossSection.isVisibleTo(QWidget) → bool¶
-
YCrossSection.isWidgetType() → bool¶
-
YCrossSection.isWindow() → bool¶
-
YCrossSection.isWindowModified() → bool¶
-
YCrossSection.keyPressEvent(QKeyEvent)¶
-
YCrossSection.keyReleaseEvent(QKeyEvent)¶
-
YCrossSection.keyboardGrabber() → QWidget¶
-
YCrossSection.killTimer(int)¶
-
YCrossSection.languageChange()¶
-
YCrossSection.layout() → QLayout¶
-
YCrossSection.layoutDirection() → Qt.LayoutDirection¶
-
YCrossSection.leaveEvent(QEvent)¶
-
YCrossSection.locale() → QLocale¶
-
YCrossSection.logicalDpiX() → int¶
-
YCrossSection.logicalDpiY() → int¶
-
YCrossSection.lower()¶
-
YCrossSection.mapFrom(QWidget, QPoint) → QPoint¶
-
YCrossSection.mapFromGlobal(QPoint) → QPoint¶
-
YCrossSection.mapFromParent(QPoint) → QPoint¶
-
YCrossSection.mapTo(QWidget, QPoint) → QPoint¶
-
YCrossSection.mapToGlobal(QPoint) → QPoint¶
-
YCrossSection.mapToParent(QPoint) → QPoint¶
-
YCrossSection.mask() → QRegion¶
-
YCrossSection.maximumHeight() → int¶
-
YCrossSection.maximumSize() → QSize¶
-
YCrossSection.maximumWidth() → int¶
-
YCrossSection.metaObject() → QMetaObject¶
-
YCrossSection.metric(QPaintDevice.PaintDeviceMetric) → int¶
-
YCrossSection.minimumHeight() → int¶
-
YCrossSection.minimumSize() → QSize¶
-
YCrossSection.minimumSizeHint() → QSize¶
-
YCrossSection.minimumWidth() → int¶
-
YCrossSection.mouseDoubleClickEvent(QMouseEvent)¶
-
YCrossSection.mouseGrabber() → QWidget¶
-
YCrossSection.mouseMoveEvent(QMouseEvent)¶
-
YCrossSection.mousePressEvent(QMouseEvent)¶
-
YCrossSection.mouseReleaseEvent(QMouseEvent)¶
-
YCrossSection.move(QPoint)¶ QWidget.move(int, int)
-
YCrossSection.moveEvent(QMoveEvent)¶
-
YCrossSection.moveToThread(QThread)¶
-
YCrossSection.nativeParentWidget() → QWidget¶
-
YCrossSection.nextInFocusChain() → QWidget¶
-
YCrossSection.normalGeometry() → QRect¶
-
YCrossSection.numColors() → int¶
-
YCrossSection.objectName() → str¶
-
YCrossSection.overrideWindowFlags(Qt.WindowFlags)¶
-
YCrossSection.overrideWindowState(Qt.WindowStates)¶
-
YCrossSection.paintEngine() → QPaintEngine¶
-
YCrossSection.paintEvent(QPaintEvent)¶
-
YCrossSection.paintingActive() → bool¶
-
YCrossSection.palette() → QPalette¶
-
YCrossSection.paletteChange(QPalette)¶
-
YCrossSection.parent() → QObject¶
-
YCrossSection.parentWidget() → QWidget¶
-
YCrossSection.physicalDpiX() → int¶
-
YCrossSection.physicalDpiY() → int¶
-
YCrossSection.pos() → QPoint¶
-
YCrossSection.previousInFocusChain() → QWidget¶
-
YCrossSection.property(str) → object¶
-
YCrossSection.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.
-
YCrossSection.raise_()¶
-
YCrossSection.rect() → QRect¶
-
YCrossSection.register_panel(manager)¶ Register panel to plot manager
-
YCrossSection.releaseKeyboard()¶
-
YCrossSection.releaseMouse()¶
-
YCrossSection.releaseShortcut(int)¶
-
YCrossSection.removeAction(QAction)¶
-
YCrossSection.removeEventFilter(QObject)¶
-
YCrossSection.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)
-
YCrossSection.repaint()¶ QWidget.repaint(int, int, int, int) QWidget.repaint(QRect) QWidget.repaint(QRegion)
-
YCrossSection.resetInputContext()¶
-
YCrossSection.resize(QSize)¶ QWidget.resize(int, int)
-
YCrossSection.resizeEvent(QResizeEvent)¶
-
YCrossSection.restoreGeometry(QByteArray) → bool¶
-
YCrossSection.saveGeometry() → QByteArray¶
-
YCrossSection.scroll(int, int)¶ QWidget.scroll(int, int, QRect)
-
YCrossSection.setAcceptDrops(bool)¶
-
YCrossSection.setAccessibleDescription(str)¶
-
YCrossSection.setAccessibleName(str)¶
-
YCrossSection.setAttribute(Qt.WidgetAttribute, bool on=True)¶
-
YCrossSection.setAutoFillBackground(bool)¶
-
YCrossSection.setBackgroundRole(QPalette.ColorRole)¶
-
YCrossSection.setBaseSize(int, int)¶ QWidget.setBaseSize(QSize)
-
YCrossSection.setContentsMargins(int, int, int, int)¶ QWidget.setContentsMargins(QMargins)
-
YCrossSection.setContextMenuPolicy(Qt.ContextMenuPolicy)¶
-
YCrossSection.setCursor(QCursor)¶
-
YCrossSection.setDisabled(bool)¶
-
YCrossSection.setEnabled(bool)¶
-
YCrossSection.setFixedHeight(int)¶
-
YCrossSection.setFixedSize(QSize)¶ QWidget.setFixedSize(int, int)
-
YCrossSection.setFixedWidth(int)¶
-
YCrossSection.setFocus()¶ QWidget.setFocus(Qt.FocusReason)
-
YCrossSection.setFocusPolicy(Qt.FocusPolicy)¶
-
YCrossSection.setFocusProxy(QWidget)¶
-
YCrossSection.setFont(QFont)¶
-
YCrossSection.setForegroundRole(QPalette.ColorRole)¶
-
YCrossSection.setGeometry(QRect)¶ QWidget.setGeometry(int, int, int, int)
-
YCrossSection.setGraphicsEffect(QGraphicsEffect)¶
-
YCrossSection.setHidden(bool)¶
-
YCrossSection.setInputContext(QInputContext)¶
-
YCrossSection.setInputMethodHints(Qt.InputMethodHints)¶
-
YCrossSection.setLayout(QLayout)¶
-
YCrossSection.setLayoutDirection(Qt.LayoutDirection)¶
-
YCrossSection.setLocale(QLocale)¶
-
YCrossSection.setMask(QBitmap)¶ QWidget.setMask(QRegion)
-
YCrossSection.setMaximumHeight(int)¶
-
YCrossSection.setMaximumSize(int, int)¶ QWidget.setMaximumSize(QSize)
-
YCrossSection.setMaximumWidth(int)¶
-
YCrossSection.setMinimumHeight(int)¶
-
YCrossSection.setMinimumSize(int, int)¶ QWidget.setMinimumSize(QSize)
-
YCrossSection.setMinimumWidth(int)¶
-
YCrossSection.setMouseTracking(bool)¶
-
YCrossSection.setObjectName(str)¶
-
YCrossSection.setPalette(QPalette)¶
-
YCrossSection.setParent(QWidget)¶ QWidget.setParent(QWidget, Qt.WindowFlags)
-
YCrossSection.setProperty(str, object) → bool¶
-
YCrossSection.setShortcutAutoRepeat(int, bool enabled=True)¶
-
YCrossSection.setShortcutEnabled(int, bool enabled=True)¶
-
YCrossSection.setShown(bool)¶
-
YCrossSection.setSizeIncrement(int, int)¶ QWidget.setSizeIncrement(QSize)
-
YCrossSection.setSizePolicy(QSizePolicy)¶ QWidget.setSizePolicy(QSizePolicy.Policy, QSizePolicy.Policy)
-
YCrossSection.setStatusTip(str)¶
-
YCrossSection.setStyle(QStyle)¶
-
YCrossSection.setStyleSheet(str)¶
-
YCrossSection.setTabOrder(QWidget, QWidget)¶
-
YCrossSection.setToolTip(str)¶
-
YCrossSection.setUpdatesEnabled(bool)¶
-
YCrossSection.setVisible(bool)¶
-
YCrossSection.setWhatsThis(str)¶
-
YCrossSection.setWindowFilePath(str)¶
-
YCrossSection.setWindowFlags(Qt.WindowFlags)¶
-
YCrossSection.setWindowIcon(QIcon)¶
-
YCrossSection.setWindowIconText(str)¶
-
YCrossSection.setWindowModality(Qt.WindowModality)¶
-
YCrossSection.setWindowModified(bool)¶
-
YCrossSection.setWindowOpacity(float)¶
-
YCrossSection.setWindowRole(str)¶
-
YCrossSection.setWindowState(Qt.WindowStates)¶
-
YCrossSection.setWindowTitle(str)¶
-
YCrossSection.show()¶
-
YCrossSection.showFullScreen()¶
-
YCrossSection.showMaximized()¶
-
YCrossSection.showMinimized()¶
-
YCrossSection.showNormal()¶
-
YCrossSection.signalsBlocked() → bool¶
-
YCrossSection.size() → QSize¶
-
YCrossSection.sizeHint() → QSize¶
-
YCrossSection.sizeIncrement() → QSize¶
-
YCrossSection.sizePolicy() → QSizePolicy¶
-
YCrossSection.stackUnder(QWidget)¶
-
YCrossSection.startTimer(int) → int¶
-
YCrossSection.statusTip() → str¶
-
YCrossSection.style() → QStyle¶
-
YCrossSection.styleSheet() → str¶
-
YCrossSection.tabletEvent(QTabletEvent)¶
-
YCrossSection.testAttribute(Qt.WidgetAttribute) → bool¶
-
YCrossSection.thread() → QThread¶
-
YCrossSection.toolTip() → str¶
-
YCrossSection.topLevelWidget() → QWidget¶
-
YCrossSection.tr(str, str disambiguation=None, int n=-1) → str¶
-
YCrossSection.trUtf8(str, str disambiguation=None, int n=-1) → str¶
-
YCrossSection.underMouse() → bool¶
-
YCrossSection.ungrabGesture(Qt.GestureType)¶
-
YCrossSection.unsetCursor()¶
-
YCrossSection.unsetLayoutDirection()¶
-
YCrossSection.unsetLocale()¶
-
YCrossSection.update()¶ QWidget.update(QRect) QWidget.update(QRegion) QWidget.update(int, int, int, int)
-
YCrossSection.updateGeometry()¶
-
YCrossSection.updateMicroFocus()¶
-
YCrossSection.update_plot(obj=None)¶ Update cross section curve(s) associated to object obj
obj may be a marker or a rectangular shape (see
plotpy.tools.CrossSectionToolandplotpy.tools.AverageCrossSectionTool)If obj is None, update the cross sections of the last active object
-
YCrossSection.updatesEnabled() → bool¶
-
YCrossSection.visibility_changed(enable)¶ DockWidget visibility has changed
-
YCrossSection.visibleRegion() → QRegion¶
-
YCrossSection.whatsThis() → str¶
-
YCrossSection.wheelEvent(QWheelEvent)¶
-
YCrossSection.width() → int¶
-
YCrossSection.widthMM() → int¶
-
YCrossSection.winEvent(MSG) -> (bool, int)¶
-
YCrossSection.winId() → sip.voidptr¶
-
YCrossSection.window() → QWidget¶
-
YCrossSection.windowActivationChange(bool)¶
-
YCrossSection.windowFilePath() → str¶
-
YCrossSection.windowFlags() → Qt.WindowFlags¶
-
YCrossSection.windowIcon() → QIcon¶
-
YCrossSection.windowIconText() → str¶
-
YCrossSection.windowModality() → Qt.WindowModality¶
-
YCrossSection.windowOpacity() → float¶
-
YCrossSection.windowRole() → str¶
-
YCrossSection.windowState() → Qt.WindowStates¶
-
YCrossSection.windowTitle() → str¶
-
YCrossSection.windowType() → Qt.WindowType¶
-
YCrossSection.x() → int¶
-
YCrossSection.y() → int¶
-