This is a Python binding to the C++ class Mantidplot::InstrumentView.
bases: mantidplot.MDIWindow
mantidplot.
InstrumentView
¶The InstrumentWindow contains functionality for exploring a 3D model of an instrument. It is a tabbed widget offering rendering, picking, masking and grouping functions. There is also a tree view of the instrument hierarchy.
Both
= 2¶Box
= 1¶CaptionPolicy
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
DrawChildren
= 2¶DrawWindowBackground
= 1¶HLine
= 4¶IgnoreMask
= 4¶Label
= 1¶Name
= 0¶NoFrame
= 0¶PaintDeviceMetric
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
Panel
= 2¶PdmDepth
= 6¶PdmDpiX
= 7¶PdmDpiY
= 8¶PdmHeight
= 2¶PdmHeightMM
= 4¶PdmNumColors
= 5¶PdmPhysicalDpiX
= 9¶PdmPhysicalDpiY
= 10¶PdmWidth
= 1¶PdmWidthMM
= 3¶Plain
= 16¶Raised
= 32¶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)
Shadow
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
Shadow_Mask
= 240¶Shape
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
Shape_Mask
= 15¶StyleMask
¶bit_length
() → int¶Number of bits necessary to represent self in binary. >>> bin(37) ‘0b100101’ >>> (37).bit_length() 6
StyledPanel
= 6¶Sunken
= 48¶VLine
= 5¶WinPanel
= 3¶acceptDrops
(self) → bool¶accessibleDescription
(self) → str¶accessibleName
(self) → str¶actionEvent
(self, QActionEvent)¶actions
(self) → List[QAction]¶activateWindow
(self)¶addAction
(self, QAction)¶addActions
(self, object)¶adjustSize
(self)¶autoFillBackground
(self) → bool¶backgroundRole
(self) → QPalette.ColorRole¶baseSize
(self) → QSize¶blockSignals
(self, bool) → bool¶changeColormap
(self)¶changeColormap(self, str)
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¶confirmClose
(self, bool)¶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¶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)¶dock
(self)¶dragEnterEvent
(self, QDragEnterEvent)¶dragLeaveEvent
(self, QDragLeaveEvent)¶dragMoveEvent
(self, QDragMoveEvent)¶drawFrame
(self, QPainter)¶dropEvent
(self, QDropEvent)¶dumpObjectInfo
(self)¶dumpObjectTree
(self)¶dynamicPropertyNames
(self) → object¶effectiveWinId
(self) → int¶emit
(self, QT_SIGNAL, *)¶enabledChange
(self, bool)¶ensurePolished
(self)¶enterEvent
(self, QEvent)¶event
(self, QEvent) → bool¶eventFilter
(self, QObject, QEvent) → bool¶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¶frameRect
(self) → QRect¶frameShadow
(self) → QFrame.Shadow¶frameShape
(self) → QFrame.Shape¶frameSize
(self) → QSize¶frameStyle
(self) → int¶frameWidth
(self) → int¶geometry
(self) → QRect¶getContentsMargins
(self) → Tuple[int, int, int, int]¶getTab
()¶Returns a handler to the requested tab
Args:
title The full title of a tab in the window
Returns a handler to the requested tab
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¶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])¶installEventFilter
(self, QObject)¶isActiveWindow
(self) → bool¶isAncestorOf
(self, QWidget) → bool¶isDocked
(self) → bool¶isEnabled
(self) → bool¶isEnabledTo
(self, QWidget) → bool¶isEnabledToTLW
(self) → bool¶isFloating
(self) → bool¶isFullScreen
(self) → bool¶isHidden
(self) → bool¶isLeftToRight
(self) → bool¶isMaximized
(self) → bool¶isMinimized
(self) → bool¶isModal
(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)¶lineWidth
(self) → int¶locale
(self) → QLocale¶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¶midLineWidth
(self) → 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)¶name
(self) → str¶nativeParentWidget
(self) → QWidget¶nextInFocusChain
(self) → QWidget¶normalGeometry
(self) → QRect¶numColors
(self) → int¶objectName
(self) → str¶overlay
()¶Overlays a workspace onto an unwrapped surface on the instrument view. Raises a dialog box if the current surface is not unwrapped.
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¶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)¶removeEventFilter
(self, QObject)¶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)
resetInputContext
(self)¶resize
(self, QSize)¶resize(self, int, int)
resizeEvent
(self, QResizeEvent)¶restore
(self, Sequence[str])¶restoreGeometry
(self, Union[QByteArray, bytes, bytearray]) → bool¶saveGeometry
(self) → QByteArray¶scroll
(self, int, int)¶scroll(self, int, int, QRect)
selectComponent
(self, str)¶sender
(self) → QObject¶senderSignalIndex
(self) → int¶setAcceptDrops
(self, bool)¶setAccessibleDescription
(self, str)¶setAccessibleName
(self, str)¶setAttribute
(self, Qt.WidgetAttribute, on: bool = True)¶setAutoFillBackground
(self, bool)¶setBackgroundRole
(self, QPalette.ColorRole)¶setBaseSize
(self, int, int)¶setBaseSize(self, QSize)
setBinRange
()¶Updates the integration range over which the colours are calculated
setCaptionPolicy
(self, MDIWindow.CaptionPolicy)¶setColorMapMaxValue
(self, float)¶setColorMapMinValue
(self, float)¶setColorMapRange
(self, float, float)¶setContentsMargins
(self, int, int, int, int)¶setContentsMargins(self, QMargins)
setContextMenuPolicy
(self, Qt.ContextMenuPolicy)¶setCursor
(self, Union[QCursor, Qt.CursorShape])¶setDisabled
(self, bool)¶setEnabled
(self, bool)¶setFixedHeight
(self, int)¶setFixedSize
(self, QSize)¶setFixedSize(self, int, int)
setFixedWidth
(self, int)¶setFocus
(self)¶setFocusPolicy
(self, Qt.FocusPolicy)¶setFocusProxy
(self, QWidget)¶setFont
(self, QFont)¶setForegroundRole
(self, QPalette.ColorRole)¶setFrameRect
(self, QRect)¶setFrameShadow
(self, QFrame.Shadow)¶setFrameShape
(self, QFrame.Shape)¶setFrameStyle
(self, int)¶setGeometry
(self, QRect)¶setGeometry(self, int, int, int, int)
setGraphicsEffect
(self, QGraphicsEffect)¶setHidden
(self, bool)¶setInputContext
(self, QInputContext)¶setInputMethodHints
(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])¶setLayout
(self, QLayout)¶setLayoutDirection
(self, Qt.LayoutDirection)¶setLineWidth
(self, int)¶setLocale
(self, QLocale)¶setMask
(self, QBitmap)¶setMask(self, QRegion)
setMaximumHeight
(self, int)¶setMaximumSize
(self, int, int)¶setMaximumSize(self, QSize)
setMaximumWidth
(self, int)¶setMidLineWidth
(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¶setScaleType
(self, GraphOptions.ScaleType)¶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)¶setToolTip
(self, str)¶setUpdatesEnabled
(self, bool)¶setViewType
(self, str)¶setVisible
(self, bool)¶setWhatsThis
(self, str)¶setWindowFilePath
(self, str)¶setWindowFlags
(self, Union[Qt.WindowFlags, Qt.WindowType])¶setWindowIcon
(self, QIcon)¶setWindowIconText
(self, str)¶setWindowLabel
(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)¶show
(self)¶showEvent
(self, QShowEvent)¶showFullScreen
(self)¶showMaximized
(self)¶showMinimized
(self)¶showNormal
(self)¶signalsBlocked
(self) → bool¶size
(self) → QSize¶sizeHint
(self) → QSize¶sizeIncrement
(self) → QSize¶sizePolicy
(self) → QSizePolicy¶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¶undock
(self)¶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¶windowLabel
(self) → object¶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¶