schrodinger.protein.helm.helm_renderer module¶
- class schrodinger.protein.helm.helm_renderer.HexColor(value)¶
Bases:
enum.EnumAn enumeration.
- Acidic = <PyQt6.QtGui.QColor object>¶
- Basic = <PyQt6.QtGui.QColor object>¶
- Aliphatic = <PyQt6.QtGui.QColor object>¶
- Aromatic = <PyQt6.QtGui.QColor object>¶
- Hydrophilic = <PyQt6.QtGui.QColor object>¶
- Thiol = <PyQt6.QtGui.QColor object>¶
- IminoAcid = <PyQt6.QtGui.QColor object>¶
- VariablePolar = <PyQt6.QtGui.QColor object>¶
- NABackBone = <PyQt6.QtGui.QColor object>¶
- Adenine = <PyQt6.QtGui.QColor object>¶
- Cytosine = <PyQt6.QtGui.QColor object>¶
- Guanine = <PyQt6.QtGui.QColor object>¶
- Thymine = <PyQt6.QtGui.QColor object>¶
- Uracil = <PyQt6.QtGui.QColor object>¶
- Other = <PyQt6.QtGui.QColor object>¶
- Black = <PyQt6.QtGui.QColor object>¶
- Gray3 = <PyQt6.QtGui.QColor object>¶
- Gray4 = <PyQt6.QtGui.QColor object>¶
- Gray6 = <PyQt6.QtGui.QColor object>¶
- DarkRed = <PyQt6.QtGui.QColor object>¶
- White = <PyQt6.QtGui.QColor object>¶
- class schrodinger.protein.helm.helm_renderer.ZOrder(value)¶
Bases:
enum.IntEnumEnum describing which layer (Z value) each GraphicsItem is drawn on.
- BehindMonomer = 1¶
- DefaultMonomerItem = 2¶
- InFrontMonomer = 3¶
- schrodinger.protein.helm.helm_renderer.get_polymer_type(monomer: rdkit.Chem.rdchem.Atom) schrodinger.protein.helm._helm_parser.PolymerType¶
- schrodinger.protein.helm.helm_renderer.protect_painter(painter_method: Callable) Callable¶
Decorator which can be applied to paint methods to ensure the state of the painter isn’t modified
- Parameters
painter_method – method to wrap. Should take a painter as its first argument
- Returns
wrapped function
- class schrodinger.protein.helm.helm_renderer.HelmMonomer(res_name: str, polymer_type: schrodinger.protein.helm._helm_parser.PolymerType, is_branch: bool, position: PyQt6.QtCore.QPointF)¶
Bases:
object- res_name: str¶
- polymer_type: schrodinger.protein.helm._helm_parser.PolymerType¶
- is_branch: bool¶
- position: PyQt6.QtCore.QPointF¶
- property is_standard: bool¶
- property is_d_amino_acid: bool¶
- property is_nucleotide_sugar: bool¶
- property is_nucleotide_phosphate: bool¶
- property is_nucleotide_backbone: bool¶
- __init__(res_name: str, polymer_type: schrodinger.protein.helm._helm_parser.PolymerType, is_branch: bool, position: PyQt6.QtCore.QPointF) None¶
- class schrodinger.protein.helm.helm_renderer.HelmMonomerTextLabel(text: str, size: int = 14, weight: PyQt6.QtGui.QFont.Weight = Weight.Normal, color: schrodinger.protein.helm.helm_renderer.HexColor = HexColor.Black, parent=None)¶
Bases:
PyQt6.QtWidgets.QGraphicsTextItemGraphicsItem used for text labeling all monomers. Sets default font, etc., specific to the Helm rendering use case.
- __init__(text: str, size: int = 14, weight: PyQt6.QtGui.QFont.Weight = Weight.Normal, color: schrodinger.protein.helm.helm_renderer.HexColor = HexColor.Black, parent=None)¶
- setFormattedText(text: str)¶
Set the label’s text, with proper HTML formatting and centering.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- adjustSize(self)¶
- advance(self, int)¶
- blockSignals(self, bool) bool¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childEvent(self, QChildEvent)¶
- childItems(self) List[QGraphicsItem]¶
- children(self) List[QObject]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- connectNotify(self, QMetaMethod)¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- customEvent(self, QEvent)¶
- data(self, int) Any¶
- defaultTextColor(self) QColor¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- deviceTransform(self, QTransform) QTransform¶
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- document(self) QTextDocument¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveOpacity(self) float¶
- enabledChanged¶
enabledChanged(self) [signal]
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- HelmMonomerTextLabel.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- filtersChildEvents(self) bool¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- font(self) QFont¶
- grabGesture(self, Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inherits(self, str) bool¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installEventFilter(self, QObject)¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- HelmMonomerTextLabel.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowType(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- killTimer(self, int)¶
- linkActivated¶
linkActivated(self, str) [signal]
- linkHovered¶
linkHovered(self, str) [signal]
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- HelmMonomerTextLabel.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- HelmMonomerTextLabel.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- HelmMonomerTextLabel.mapFromParent(self, float, float) -> QPointF
- HelmMonomerTextLabel.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- HelmMonomerTextLabel.mapFromScene(self, float, float) -> QPointF
- HelmMonomerTextLabel.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- HelmMonomerTextLabel.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- HelmMonomerTextLabel.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- HelmMonomerTextLabel.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- HelmMonomerTextLabel.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- HelmMonomerTextLabel.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- HelmMonomerTextLabel.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- HelmMonomerTextLabel.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- HelmMonomerTextLabel.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- HelmMonomerTextLabel.mapToParent(self, float, float) -> QPointF
- HelmMonomerTextLabel.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- HelmMonomerTextLabel.mapToScene(self, float, float) -> QPointF
- HelmMonomerTextLabel.mapToScene(self, float, float, float, float) -> QPolygonF
- metaObject(self) QMetaObject¶
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- HelmMonomerTextLabel.moveBy(self, float, float)
- moveToThread(self, QThread)¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- opacity(self) float¶
- opacityChanged¶
opacityChanged(self) [signal]
- opaqueArea(self) QPainterPath¶
- openExternalLinks(self) bool¶
- paint(self, QPainter, QStyleOptionGraphicsItem, QWidget)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parent(self) QObject¶
- parentChanged¶
parentChanged(self) [signal]
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- property(self, str) Any¶
- 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(self, PYQT_SIGNAL) int¶
- removeEventFilter(self, QObject)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- rotationChanged¶
rotationChanged(self) [signal]
- scale(self) float¶
- scaleChanged¶
scaleChanged(self) [signal]
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- HelmMonomerTextLabel.scroll(self, float, float, rect: QRectF = QRectF())
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setDefaultTextColor(self, Union[QColor, Qt.GlobalColor, int, QGradient])¶
- setDocument(self, QTextDocument)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setFont(self, QFont)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setHtml(self, str)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setObjectName(self, str)¶
- setOpacity(self, float)¶
- setOpenExternalLinks(self, bool)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParent(self, QObject)¶
- setParentItem(self, QGraphicsItem)¶
- setPlainText(self, str)¶
- setPos(self, QPointF)¶
- HelmMonomerTextLabel.setPos(self, float, float) -> None
- setProperty(self, str, Any) bool¶
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setTabChangesFocus(self, bool)¶
- setTextCursor(self, QTextCursor)¶
- setTextInteractionFlags(self, Qt.TextInteractionFlag)¶
- setTextWidth(self, float)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- HelmMonomerTextLabel.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- signalsBlocked(self) bool¶
- stackBefore(self, QGraphicsItem)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- tabChangesFocus(self) bool¶
- textCursor(self) QTextCursor¶
- textInteractionFlags(self) Qt.TextInteractionFlag¶
- textWidth(self) float¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- toGraphicsObject(self) QGraphicsObject¶
- toHtml(self) str¶
- toPlainText(self) str¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- tr(str, disambiguation: str = None, n: int = - 1) str¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabGesture(self, Qt.GestureType)¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- HelmMonomerTextLabel.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- visibleChanged¶
visibleChanged(self) [signal]
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- xChanged¶
xChanged(self) [signal]
- y(self) float¶
- yChanged¶
yChanged(self) [signal]
- zChanged¶
zChanged(self) [signal]
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.HelmMonomerItemMixin(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
objectMixin which establishes the necessary methods to render the monomer item in the QGraphicsScene. Handles position offsets so that the center of the shape appears at the position set in the monomer object
Also defines default brush and pen settings
- MAGNIFY_FACTOR = 1.0¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- setup()¶
Initialize the current monomer
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- setShape() None¶
Set the shape and/or bounding box of the monomer. Must be implemented by inheriting classes for them to be rendered in the scene
- class schrodinger.protein.helm.helm_renderer.AminoAcidMonomerBase(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.HelmMonomerItemMixin,PyQt6.QtWidgets.QGraphicsRectItemItem representing an amino acid’s position and graphical details in the scene
- setShape()¶
Set the size of the monomer rectangle
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- AminoAcidMonomerBase.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- AminoAcidMonomerBase.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- AminoAcidMonomerBase.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- AminoAcidMonomerBase.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- AminoAcidMonomerBase.mapFromParent(self, float, float) -> QPointF
- AminoAcidMonomerBase.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- AminoAcidMonomerBase.mapFromScene(self, float, float) -> QPointF
- AminoAcidMonomerBase.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- AminoAcidMonomerBase.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- AminoAcidMonomerBase.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- AminoAcidMonomerBase.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- AminoAcidMonomerBase.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- AminoAcidMonomerBase.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- AminoAcidMonomerBase.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- AminoAcidMonomerBase.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- AminoAcidMonomerBase.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- AminoAcidMonomerBase.mapToParent(self, float, float) -> QPointF
- AminoAcidMonomerBase.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- AminoAcidMonomerBase.mapToScene(self, float, float) -> QPointF
- AminoAcidMonomerBase.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- AminoAcidMonomerBase.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- AminoAcidMonomerBase.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- AminoAcidMonomerBase.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- AminoAcidMonomerBase.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- AminoAcidMonomerBase.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- AminoAcidMonomerBase.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.StandardAminoAcidMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.AminoAcidMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- StandardAminoAcidMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- StandardAminoAcidMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- StandardAminoAcidMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- StandardAminoAcidMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- StandardAminoAcidMonomerItem.mapFromParent(self, float, float) -> QPointF
- StandardAminoAcidMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- StandardAminoAcidMonomerItem.mapFromScene(self, float, float) -> QPointF
- StandardAminoAcidMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- StandardAminoAcidMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- StandardAminoAcidMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- StandardAminoAcidMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- StandardAminoAcidMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- StandardAminoAcidMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- StandardAminoAcidMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- StandardAminoAcidMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- StandardAminoAcidMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- StandardAminoAcidMonomerItem.mapToParent(self, float, float) -> QPointF
- StandardAminoAcidMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- StandardAminoAcidMonomerItem.mapToScene(self, float, float) -> QPointF
- StandardAminoAcidMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- StandardAminoAcidMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- StandardAminoAcidMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- StandardAminoAcidMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- StandardAminoAcidMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer rectangle
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- StandardAminoAcidMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- StandardAminoAcidMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.DAminoAcidMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.AminoAcidMonomerBase- DEFAULT_X_RADIUS = 16.0¶
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- DAminoAcidMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- DAminoAcidMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- DAminoAcidMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- DAminoAcidMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- DAminoAcidMonomerItem.mapFromParent(self, float, float) -> QPointF
- DAminoAcidMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- DAminoAcidMonomerItem.mapFromScene(self, float, float) -> QPointF
- DAminoAcidMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- DAminoAcidMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- DAminoAcidMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- DAminoAcidMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- DAminoAcidMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- DAminoAcidMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- DAminoAcidMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- DAminoAcidMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- DAminoAcidMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- DAminoAcidMonomerItem.mapToParent(self, float, float) -> QPointF
- DAminoAcidMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- DAminoAcidMonomerItem.mapToScene(self, float, float) -> QPointF
- DAminoAcidMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- DAminoAcidMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- DAminoAcidMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- DAminoAcidMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- DAminoAcidMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer rectangle
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- DAminoAcidMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- DAminoAcidMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.OtherAminoAcidMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.AminoAcidMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- OtherAminoAcidMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- OtherAminoAcidMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- OtherAminoAcidMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- OtherAminoAcidMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- OtherAminoAcidMonomerItem.mapFromParent(self, float, float) -> QPointF
- OtherAminoAcidMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- OtherAminoAcidMonomerItem.mapFromScene(self, float, float) -> QPointF
- OtherAminoAcidMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- OtherAminoAcidMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- OtherAminoAcidMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- OtherAminoAcidMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- OtherAminoAcidMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- OtherAminoAcidMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- OtherAminoAcidMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- OtherAminoAcidMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- OtherAminoAcidMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- OtherAminoAcidMonomerItem.mapToParent(self, float, float) -> QPointF
- OtherAminoAcidMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- OtherAminoAcidMonomerItem.mapToScene(self, float, float) -> QPointF
- OtherAminoAcidMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- OtherAminoAcidMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- OtherAminoAcidMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- OtherAminoAcidMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- OtherAminoAcidMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer rectangle
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- OtherAminoAcidMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- OtherAminoAcidMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.BBPhosphateMonomerBase(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.HelmMonomerItemMixin,PyQt6.QtWidgets.QGraphicsEllipseItemItem representing a nucleic acid backbone phosphate group’s position and graphical details in the scene
- MAGNIFY_FACTOR = 1.05¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Compute the size of the smallest monomer GraphicsItem that can fit the text label, given that the monomer is ellipse-shaped.
- setShape()¶
Set the size of the monomer ellipse
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- BBPhosphateMonomerBase.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- BBPhosphateMonomerBase.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBPhosphateMonomerBase.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- BBPhosphateMonomerBase.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- BBPhosphateMonomerBase.mapFromParent(self, float, float) -> QPointF
- BBPhosphateMonomerBase.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- BBPhosphateMonomerBase.mapFromScene(self, float, float) -> QPointF
- BBPhosphateMonomerBase.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- BBPhosphateMonomerBase.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- BBPhosphateMonomerBase.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- BBPhosphateMonomerBase.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- BBPhosphateMonomerBase.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- BBPhosphateMonomerBase.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- BBPhosphateMonomerBase.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBPhosphateMonomerBase.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- BBPhosphateMonomerBase.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- BBPhosphateMonomerBase.mapToParent(self, float, float) -> QPointF
- BBPhosphateMonomerBase.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- BBPhosphateMonomerBase.mapToScene(self, float, float) -> QPointF
- BBPhosphateMonomerBase.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- BBPhosphateMonomerBase.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- BBPhosphateMonomerBase.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- BBPhosphateMonomerBase.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- BBPhosphateMonomerBase.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setSpanAngle(self, int)¶
- setStartAngle(self, int)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- BBPhosphateMonomerBase.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- spanAngle(self) int¶
- stackBefore(self, QGraphicsItem)¶
- startAngle(self) int¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- BBPhosphateMonomerBase.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.BBStandardPhosphateMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.BBPhosphateMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.05¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- BBStandardPhosphateMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Compute the size of the smallest monomer GraphicsItem that can fit the text label, given that the monomer is ellipse-shaped.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- BBStandardPhosphateMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBStandardPhosphateMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- BBStandardPhosphateMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- BBStandardPhosphateMonomerItem.mapFromParent(self, float, float) -> QPointF
- BBStandardPhosphateMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- BBStandardPhosphateMonomerItem.mapFromScene(self, float, float) -> QPointF
- BBStandardPhosphateMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- BBStandardPhosphateMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- BBStandardPhosphateMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- BBStandardPhosphateMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- BBStandardPhosphateMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- BBStandardPhosphateMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- BBStandardPhosphateMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBStandardPhosphateMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- BBStandardPhosphateMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- BBStandardPhosphateMonomerItem.mapToParent(self, float, float) -> QPointF
- BBStandardPhosphateMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- BBStandardPhosphateMonomerItem.mapToScene(self, float, float) -> QPointF
- BBStandardPhosphateMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- BBStandardPhosphateMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- BBStandardPhosphateMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- BBStandardPhosphateMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- BBStandardPhosphateMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer ellipse
- setSpanAngle(self, int)¶
- setStartAngle(self, int)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- BBStandardPhosphateMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- spanAngle(self) int¶
- stackBefore(self, QGraphicsItem)¶
- startAngle(self) int¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- BBStandardPhosphateMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.BBModifiedPhosphateMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.BBPhosphateMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.05¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- BBModifiedPhosphateMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Compute the size of the smallest monomer GraphicsItem that can fit the text label, given that the monomer is ellipse-shaped.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- BBModifiedPhosphateMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBModifiedPhosphateMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- BBModifiedPhosphateMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- BBModifiedPhosphateMonomerItem.mapFromParent(self, float, float) -> QPointF
- BBModifiedPhosphateMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- BBModifiedPhosphateMonomerItem.mapFromScene(self, float, float) -> QPointF
- BBModifiedPhosphateMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- BBModifiedPhosphateMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- BBModifiedPhosphateMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- BBModifiedPhosphateMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- BBModifiedPhosphateMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- BBModifiedPhosphateMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- BBModifiedPhosphateMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBModifiedPhosphateMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- BBModifiedPhosphateMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- BBModifiedPhosphateMonomerItem.mapToParent(self, float, float) -> QPointF
- BBModifiedPhosphateMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- BBModifiedPhosphateMonomerItem.mapToScene(self, float, float) -> QPointF
- BBModifiedPhosphateMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- BBModifiedPhosphateMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- BBModifiedPhosphateMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- BBModifiedPhosphateMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- BBModifiedPhosphateMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer ellipse
- setSpanAngle(self, int)¶
- setStartAngle(self, int)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- BBModifiedPhosphateMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- spanAngle(self) int¶
- stackBefore(self, QGraphicsItem)¶
- startAngle(self) int¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- BBModifiedPhosphateMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.BBSugarMonomerBase(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.HelmMonomerItemMixin,PyQt6.QtWidgets.QGraphicsRectItemItem representing a nucleic acid backbone sugar group’s position and graphical details in the scene. Used for both ribose and deoxyribose.
- setShape()¶
Set the size of the monomer rectangle
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- BBSugarMonomerBase.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- BBSugarMonomerBase.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBSugarMonomerBase.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- BBSugarMonomerBase.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- BBSugarMonomerBase.mapFromParent(self, float, float) -> QPointF
- BBSugarMonomerBase.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- BBSugarMonomerBase.mapFromScene(self, float, float) -> QPointF
- BBSugarMonomerBase.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- BBSugarMonomerBase.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- BBSugarMonomerBase.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- BBSugarMonomerBase.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- BBSugarMonomerBase.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- BBSugarMonomerBase.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- BBSugarMonomerBase.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBSugarMonomerBase.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- BBSugarMonomerBase.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- BBSugarMonomerBase.mapToParent(self, float, float) -> QPointF
- BBSugarMonomerBase.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- BBSugarMonomerBase.mapToScene(self, float, float) -> QPointF
- BBSugarMonomerBase.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- BBSugarMonomerBase.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- BBSugarMonomerBase.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- BBSugarMonomerBase.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- BBSugarMonomerBase.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- BBSugarMonomerBase.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- BBSugarMonomerBase.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.BBStandardSugarMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.BBSugarMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- BBStandardSugarMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- BBStandardSugarMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBStandardSugarMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- BBStandardSugarMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- BBStandardSugarMonomerItem.mapFromParent(self, float, float) -> QPointF
- BBStandardSugarMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- BBStandardSugarMonomerItem.mapFromScene(self, float, float) -> QPointF
- BBStandardSugarMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- BBStandardSugarMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- BBStandardSugarMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- BBStandardSugarMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- BBStandardSugarMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- BBStandardSugarMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- BBStandardSugarMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBStandardSugarMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- BBStandardSugarMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- BBStandardSugarMonomerItem.mapToParent(self, float, float) -> QPointF
- BBStandardSugarMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- BBStandardSugarMonomerItem.mapToScene(self, float, float) -> QPointF
- BBStandardSugarMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- BBStandardSugarMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- BBStandardSugarMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- BBStandardSugarMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- BBStandardSugarMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer rectangle
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- BBStandardSugarMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- BBStandardSugarMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.BBModifiedSugarMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.BBSugarMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.0¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- BBModifiedSugarMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Method with class-specific logic to figure out how to resize the monomer given the final size of its text label. Args are the text label’s size; returns size of the smallest monomer that properly contains the text.
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- BBModifiedSugarMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBModifiedSugarMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- BBModifiedSugarMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- BBModifiedSugarMonomerItem.mapFromParent(self, float, float) -> QPointF
- BBModifiedSugarMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- BBModifiedSugarMonomerItem.mapFromScene(self, float, float) -> QPointF
- BBModifiedSugarMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- BBModifiedSugarMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- BBModifiedSugarMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- BBModifiedSugarMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- BBModifiedSugarMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- BBModifiedSugarMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- BBModifiedSugarMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- BBModifiedSugarMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- BBModifiedSugarMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- BBModifiedSugarMonomerItem.mapToParent(self, float, float) -> QPointF
- BBModifiedSugarMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- BBModifiedSugarMonomerItem.mapToScene(self, float, float) -> QPointF
- BBModifiedSugarMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- BBModifiedSugarMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- rect(self) QRectF¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- BBModifiedSugarMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- BBModifiedSugarMonomerItem.setPos(self, float, float) -> None
- setRect(self, QRectF)¶
- BBModifiedSugarMonomerItem.setRect(self, float, float, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size of the monomer rectangle
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- BBModifiedSugarMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- BBModifiedSugarMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.NABaseMonomerBase(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.HelmMonomerItemMixin,PyQt6.QtWidgets.QGraphicsPolygonItemItem representing a nucleobase’s position and graphical details in the scene
- MAGNIFY_FACTOR = 1.15¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Compute the size of the smallest monomer GraphicsItem that can fit the text label, given that the monomer is diamond-shaped.
- getPolygonVertices() List[PyQt6.QtCore.QPointF]¶
Get the polygon vertices to create the required diamond shape
- Returns
A list of vertices in clockwise order
- setShape()¶
Set the size and vertices of the monomer item diamond
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- NABaseMonomerBase.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- fillRule(self) Qt.FillRule¶
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- NABaseMonomerBase.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABaseMonomerBase.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- NABaseMonomerBase.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- NABaseMonomerBase.mapFromParent(self, float, float) -> QPointF
- NABaseMonomerBase.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- NABaseMonomerBase.mapFromScene(self, float, float) -> QPointF
- NABaseMonomerBase.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- NABaseMonomerBase.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- NABaseMonomerBase.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- NABaseMonomerBase.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- NABaseMonomerBase.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- NABaseMonomerBase.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- NABaseMonomerBase.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABaseMonomerBase.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- NABaseMonomerBase.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- NABaseMonomerBase.mapToParent(self, float, float) -> QPointF
- NABaseMonomerBase.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- NABaseMonomerBase.mapToScene(self, float, float) -> QPointF
- NABaseMonomerBase.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- NABaseMonomerBase.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- polygon(self) QPolygonF¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- NABaseMonomerBase.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFillRule(self, Qt.FillRule)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPolygon(self, QPolygonF)¶
- setPos(self, QPointF)¶
- NABaseMonomerBase.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- NABaseMonomerBase.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- NABaseMonomerBase.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.NAStandardBaseMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.NABaseMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.15¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- NAStandardBaseMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- fillRule(self) Qt.FillRule¶
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Compute the size of the smallest monomer GraphicsItem that can fit the text label, given that the monomer is diamond-shaped.
- getPolygonVertices() List[PyQt6.QtCore.QPointF]¶
Get the polygon vertices to create the required diamond shape
- Returns
A list of vertices in clockwise order
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- NAStandardBaseMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NAStandardBaseMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- NAStandardBaseMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- NAStandardBaseMonomerItem.mapFromParent(self, float, float) -> QPointF
- NAStandardBaseMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- NAStandardBaseMonomerItem.mapFromScene(self, float, float) -> QPointF
- NAStandardBaseMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- NAStandardBaseMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- NAStandardBaseMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- NAStandardBaseMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- NAStandardBaseMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- NAStandardBaseMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- NAStandardBaseMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NAStandardBaseMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- NAStandardBaseMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- NAStandardBaseMonomerItem.mapToParent(self, float, float) -> QPointF
- NAStandardBaseMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- NAStandardBaseMonomerItem.mapToScene(self, float, float) -> QPointF
- NAStandardBaseMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- NAStandardBaseMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- polygon(self) QPolygonF¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- NAStandardBaseMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFillRule(self, Qt.FillRule)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPolygon(self, QPolygonF)¶
- setPos(self, QPointF)¶
- NAStandardBaseMonomerItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size and vertices of the monomer item diamond
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- NAStandardBaseMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- NAStandardBaseMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.NAUnnaturalBaseMonomerItem(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
Bases:
schrodinger.protein.helm.helm_renderer.NABaseMonomerBase- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DEFAULT_X_RADIUS = 12.5¶
- DEFAULT_Y_RADIUS = 12.5¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- MAGNIFY_FACTOR = 1.15¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- NAUnnaturalBaseMonomerItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- fillRule(self) Qt.FillRule¶
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- getMonomerResizingProposal(text_x_radius: float, text_y_radius: float) Tuple[float, float]¶
Compute the size of the smallest monomer GraphicsItem that can fit the text label, given that the monomer is diamond-shaped.
- getPolygonVertices() List[PyQt6.QtCore.QPointF]¶
Get the polygon vertices to create the required diamond shape
- Returns
A list of vertices in clockwise order
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- NAUnnaturalBaseMonomerItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NAUnnaturalBaseMonomerItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- NAUnnaturalBaseMonomerItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- NAUnnaturalBaseMonomerItem.mapFromParent(self, float, float) -> QPointF
- NAUnnaturalBaseMonomerItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- NAUnnaturalBaseMonomerItem.mapFromScene(self, float, float) -> QPointF
- NAUnnaturalBaseMonomerItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- NAUnnaturalBaseMonomerItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- NAUnnaturalBaseMonomerItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- NAUnnaturalBaseMonomerItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- NAUnnaturalBaseMonomerItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- NAUnnaturalBaseMonomerItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- NAUnnaturalBaseMonomerItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NAUnnaturalBaseMonomerItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- NAUnnaturalBaseMonomerItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- NAUnnaturalBaseMonomerItem.mapToParent(self, float, float) -> QPointF
- NAUnnaturalBaseMonomerItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- NAUnnaturalBaseMonomerItem.mapToScene(self, float, float) -> QPointF
- NAUnnaturalBaseMonomerItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- NAUnnaturalBaseMonomerItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- polygon(self) QPolygonF¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- NAUnnaturalBaseMonomerItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFillRule(self, Qt.FillRule)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPolygon(self, QPolygonF)¶
- setPos(self, QPointF)¶
- NAUnnaturalBaseMonomerItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setShape()¶
Set the size and vertices of the monomer item diamond
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- NAUnnaturalBaseMonomerItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- setup()¶
Initialize the current monomer
- setupTextLabel()¶
Updates the geometry of the monomer and monomer label in order to prevent the label text from overflowing the monomer shape.
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- NAUnnaturalBaseMonomerItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- schrodinger.protein.helm.helm_renderer.monomer_item_factory(monomer: schrodinger.protein.helm.helm_renderer.HelmMonomer) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
Implement logic specifying different graphical styles (implemented by each child class) for a
monomer.- Parameters
monomer – Monomer properties, determined by
HelmScene.getMonomerData.- Returns
Graphics item to be added to the current
QtWidgets.QGraphicsScene.
- class schrodinger.protein.helm.helm_renderer.HelmConnector(start: schrodinger.protein.helm.helm_renderer.HelmMonomer, end: schrodinger.protein.helm.helm_renderer.HelmMonomer, is_cyclic: bool = False)¶
Bases:
object- is_cyclic: bool = False¶
- property has_branch: bool¶
- property is_disulfide_bridge: bool¶
- getPolymerType() schrodinger.protein.helm._helm_parser.PolymerType¶
- __init__(start: schrodinger.protein.helm.helm_renderer.HelmMonomer, end: schrodinger.protein.helm.helm_renderer.HelmMonomer, is_cyclic: bool = False) None¶
- class schrodinger.protein.helm.helm_renderer.LineHelmConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer._HelmConnectorBase,PyQt6.QtWidgets.QGraphicsLineItemBase class for all connectors rendered as a straight line.
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- LineHelmConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- LineHelmConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- LineHelmConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- LineHelmConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- LineHelmConnectorItem.mapFromParent(self, float, float) -> QPointF
- LineHelmConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- LineHelmConnectorItem.mapFromScene(self, float, float) -> QPointF
- LineHelmConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- LineHelmConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- LineHelmConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- LineHelmConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- LineHelmConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- LineHelmConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- LineHelmConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- LineHelmConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- LineHelmConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- LineHelmConnectorItem.mapToParent(self, float, float) -> QPointF
- LineHelmConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- LineHelmConnectorItem.mapToScene(self, float, float) -> QPointF
- LineHelmConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- LineHelmConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- LineHelmConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- LineHelmConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- LineHelmConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- LineHelmConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- LineHelmConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.PolylineHelmConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer._HelmConnectorBase,PyQt6.QtWidgets.QGraphicsPathItemBase class for all connectors rendered as a polyline (”
/‾\”).- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- PolylineHelmConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- PolylineHelmConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- PolylineHelmConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- PolylineHelmConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- PolylineHelmConnectorItem.mapFromParent(self, float, float) -> QPointF
- PolylineHelmConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- PolylineHelmConnectorItem.mapFromScene(self, float, float) -> QPointF
- PolylineHelmConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- PolylineHelmConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- PolylineHelmConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- PolylineHelmConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- PolylineHelmConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- PolylineHelmConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- PolylineHelmConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- PolylineHelmConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- PolylineHelmConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- PolylineHelmConnectorItem.mapToParent(self, float, float) -> QPointF
- PolylineHelmConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- PolylineHelmConnectorItem.mapToScene(self, float, float) -> QPointF
- PolylineHelmConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- PolylineHelmConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- path(self) QPainterPath¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- PolylineHelmConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPath(self, QPainterPath)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- PolylineHelmConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- PolylineHelmConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- PolylineHelmConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.ArrowheadConnectorMixin¶
Bases:
objectMixin for adding arrowheads to the start or end of a
_HelmConnectorBasegraphics item.- add_arrowhead(pos: PyQt6.QtCore.QPointF) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
- class schrodinger.protein.helm.helm_renderer.AALinearConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.LineHelmConnectorItemGraphics Item representing a non-branching connector between two amino acids.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- AALinearConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- AALinearConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- AALinearConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- AALinearConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- AALinearConnectorItem.mapFromParent(self, float, float) -> QPointF
- AALinearConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- AALinearConnectorItem.mapFromScene(self, float, float) -> QPointF
- AALinearConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- AALinearConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- AALinearConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- AALinearConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- AALinearConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- AALinearConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- AALinearConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- AALinearConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- AALinearConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- AALinearConnectorItem.mapToParent(self, float, float) -> QPointF
- AALinearConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- AALinearConnectorItem.mapToScene(self, float, float) -> QPointF
- AALinearConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- AALinearConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- AALinearConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- AALinearConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- AALinearConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- AALinearConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- AALinearConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.AABranchingConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.ArrowheadConnectorMixin,schrodinger.protein.helm.helm_renderer.LineHelmConnectorItemGraphics Item representing a branching connector between two amino acids.
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- add_arrowhead(pos: PyQt6.QtCore.QPointF) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- AABranchingConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- AABranchingConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- AABranchingConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- AABranchingConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- AABranchingConnectorItem.mapFromParent(self, float, float) -> QPointF
- AABranchingConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- AABranchingConnectorItem.mapFromScene(self, float, float) -> QPointF
- AABranchingConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- AABranchingConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- AABranchingConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- AABranchingConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- AABranchingConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- AABranchingConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- AABranchingConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- AABranchingConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- AABranchingConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- AABranchingConnectorItem.mapToParent(self, float, float) -> QPointF
- AABranchingConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- AABranchingConnectorItem.mapToScene(self, float, float) -> QPointF
- AABranchingConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- AABranchingConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- AABranchingConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- AABranchingConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- AABranchingConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- AABranchingConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- AABranchingConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.DisulfideConnectorMixin(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.ArrowheadConnectorMixinMixin for representing disulfide bridges.
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- add_arrowhead(pos: PyQt6.QtCore.QPointF) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
- class schrodinger.protein.helm.helm_renderer.DisulfideLinearConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.DisulfideConnectorMixin,schrodinger.protein.helm.helm_renderer.PolylineHelmConnectorItemGraphics Item representing disulfide bridges between two amino acids that have been laid out in a linear arrangement.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- add_arrowhead(pos: PyQt6.QtCore.QPointF) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- brush(self) QBrush¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- DisulfideLinearConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- DisulfideLinearConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- DisulfideLinearConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- DisulfideLinearConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- DisulfideLinearConnectorItem.mapFromParent(self, float, float) -> QPointF
- DisulfideLinearConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- DisulfideLinearConnectorItem.mapFromScene(self, float, float) -> QPointF
- DisulfideLinearConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- DisulfideLinearConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- DisulfideLinearConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- DisulfideLinearConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- DisulfideLinearConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- DisulfideLinearConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- DisulfideLinearConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- DisulfideLinearConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- DisulfideLinearConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- DisulfideLinearConnectorItem.mapToParent(self, float, float) -> QPointF
- DisulfideLinearConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- DisulfideLinearConnectorItem.mapToScene(self, float, float) -> QPointF
- DisulfideLinearConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- DisulfideLinearConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- path(self) QPainterPath¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- DisulfideLinearConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPath(self, QPainterPath)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- DisulfideLinearConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- DisulfideLinearConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- DisulfideLinearConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.DisulfideCyclicConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.DisulfideConnectorMixin,schrodinger.protein.helm.helm_renderer.LineHelmConnectorItemGraphics Item representing disulfide bridges between two amino acids that have been laid out in a cyclic arrangement, in which the bridge closes the cycle.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- add_arrowhead(pos: PyQt6.QtCore.QPointF) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- DisulfideCyclicConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- DisulfideCyclicConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- DisulfideCyclicConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- DisulfideCyclicConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- DisulfideCyclicConnectorItem.mapFromParent(self, float, float) -> QPointF
- DisulfideCyclicConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- DisulfideCyclicConnectorItem.mapFromScene(self, float, float) -> QPointF
- DisulfideCyclicConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- DisulfideCyclicConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- DisulfideCyclicConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- DisulfideCyclicConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- DisulfideCyclicConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- DisulfideCyclicConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- DisulfideCyclicConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- DisulfideCyclicConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- DisulfideCyclicConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- DisulfideCyclicConnectorItem.mapToParent(self, float, float) -> QPointF
- DisulfideCyclicConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- DisulfideCyclicConnectorItem.mapToScene(self, float, float) -> QPointF
- DisulfideCyclicConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- DisulfideCyclicConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- DisulfideCyclicConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- DisulfideCyclicConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- DisulfideCyclicConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- DisulfideCyclicConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- DisulfideCyclicConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.NABackboneConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.LineHelmConnectorItemGraphics Item representing backbone connections between nucleotides.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- NABackboneConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- NABackboneConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABackboneConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- NABackboneConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- NABackboneConnectorItem.mapFromParent(self, float, float) -> QPointF
- NABackboneConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- NABackboneConnectorItem.mapFromScene(self, float, float) -> QPointF
- NABackboneConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- NABackboneConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- NABackboneConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- NABackboneConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- NABackboneConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- NABackboneConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- NABackboneConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABackboneConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- NABackboneConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- NABackboneConnectorItem.mapToParent(self, float, float) -> QPointF
- NABackboneConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- NABackboneConnectorItem.mapToScene(self, float, float) -> QPointF
- NABackboneConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- NABackboneConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- NABackboneConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- NABackboneConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- NABackboneConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- NABackboneConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- NABackboneConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.NABackboneBaseConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.LineHelmConnectorItemGraphics Item representing a connection between a nucleotide backbone and base.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- NABackboneBaseConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- NABackboneBaseConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABackboneBaseConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- NABackboneBaseConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- NABackboneBaseConnectorItem.mapFromParent(self, float, float) -> QPointF
- NABackboneBaseConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- NABackboneBaseConnectorItem.mapFromScene(self, float, float) -> QPointF
- NABackboneBaseConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- NABackboneBaseConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- NABackboneBaseConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- NABackboneBaseConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- NABackboneBaseConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- NABackboneBaseConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- NABackboneBaseConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABackboneBaseConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- NABackboneBaseConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- NABackboneBaseConnectorItem.mapToParent(self, float, float) -> QPointF
- NABackboneBaseConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- NABackboneBaseConnectorItem.mapToScene(self, float, float) -> QPointF
- NABackboneBaseConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- NABackboneBaseConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- NABackboneBaseConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- NABackboneBaseConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- NABackboneBaseConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- NABackboneBaseConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- NABackboneBaseConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.NABaseConnectorItem(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
Bases:
schrodinger.protein.helm.helm_renderer.LineHelmConnectorItemGraphics Item representing a connection between two base pairs.
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- __init__(connector: schrodinger.protein.helm.helm_renderer.HelmConnector, parent=None)¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childItems(self) List[QGraphicsItem]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- data(self, int) Any¶
- deviceTransform(self, QTransform) QTransform¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- effectiveOpacity(self) float¶
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- NABaseConnectorItem.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- filtersChildEvents(self) bool¶
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- NABaseConnectorItem.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWindow(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- line(self) QLineF¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABaseConnectorItem.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- NABaseConnectorItem.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- NABaseConnectorItem.mapFromParent(self, float, float) -> QPointF
- NABaseConnectorItem.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- NABaseConnectorItem.mapFromScene(self, float, float) -> QPointF
- NABaseConnectorItem.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- NABaseConnectorItem.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- NABaseConnectorItem.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- NABaseConnectorItem.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- NABaseConnectorItem.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- NABaseConnectorItem.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- NABaseConnectorItem.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- NABaseConnectorItem.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- NABaseConnectorItem.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- NABaseConnectorItem.mapToParent(self, float, float) -> QPointF
- NABaseConnectorItem.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- NABaseConnectorItem.mapToScene(self, float, float) -> QPointF
- NABaseConnectorItem.mapToScene(self, float, float, float, float) -> QPolygonF
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- NABaseConnectorItem.moveBy(self, float, float)
- opacity(self) float¶
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pen(self) QPen¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- resetTransform(self)¶
- rotation(self) float¶
- scale(self) float¶
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- NABaseConnectorItem.scroll(self, float, float, rect: QRectF = QRectF())
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLine(self, QLineF)¶
- NABaseConnectorItem.setLine(self, float, float, float, float) -> None
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParentItem(self, QGraphicsItem)¶
- setPen(self, Union[QPen, QColor, Qt.GlobalColor, int, QGradient])¶
- setPos(self, QPointF)¶
- NABaseConnectorItem.setPos(self, float, float) -> None
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- NABaseConnectorItem.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- stackBefore(self, QGraphicsItem)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- NABaseConnectorItem.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- y(self) float¶
- zValue(self) float¶
- schrodinger.protein.helm.helm_renderer.connector_item_factory(connector: schrodinger.protein.helm.helm_renderer.HelmConnector) PyQt6.QtWidgets.QAbstractGraphicsShapeItem¶
Implement logic specifying different graphical styles (implemented by each child class) for a
connector.- Parameters
connector – Connector properties, determined by
HelmScene.getConnectorData.- Returns
Graphics item to be added to the current
QtWidgets.QGraphicsScene.
- class schrodinger.protein.helm.helm_renderer.HelmImageOptions(background_color_hex: str, width: int, height: int)¶
Bases:
object- background_color_hex: str¶
- width: int¶
- height: int¶
- __init__(background_color_hex: str, width: int, height: int) None¶
- class schrodinger.protein.helm.helm_renderer.HelmFallbackImage(helm_mol: rdkit.Chem.rdchem.Mol)¶
Bases:
PyQt6.QtSvgWidgets.QGraphicsSvgItemGraphicsItem for the stock image (in .svg format) shown when the input polymer is too complex to display in detail, as measured by N_MONOMER_MAX
- __init__(helm_mol: rdkit.Chem.rdchem.Mol)¶
- class CacheMode(value)¶
Bases:
enum.EnumAn enumeration.
- NoCache = 0¶
- ItemCoordinateCache = 1¶
- DeviceCoordinateCache = 2¶
- DeviceCoordinateCache = 2¶
- class GraphicsItemChange(value)¶
Bases:
enum.EnumAn enumeration.
- ItemPositionChange = 0¶
- ItemVisibleChange = 2¶
- ItemEnabledChange = 3¶
- ItemSelectedChange = 4¶
- ItemParentChange = 5¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemTransformChange = 8¶
- ItemPositionHasChanged = 9¶
- ItemTransformHasChanged = 10¶
- ItemSceneChange = 11¶
- ItemVisibleHasChanged = 12¶
- ItemEnabledHasChanged = 13¶
- ItemSelectedHasChanged = 14¶
- ItemParentHasChanged = 15¶
- ItemSceneHasChanged = 16¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemScenePositionHasChanged = 27¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- class GraphicsItemFlag(value)¶
Bases:
enum.FlagAn enumeration.
- ItemIsMovable = 1¶
- ItemIsSelectable = 2¶
- ItemIsFocusable = 4¶
- ItemClipsToShape = 8¶
- ItemClipsChildrenToShape = 16¶
- ItemIgnoresTransformations = 32¶
- ItemIgnoresParentOpacity = 64¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemStacksBehindParent = 256¶
- ItemUsesExtendedStyleOption = 512¶
- ItemHasNoContents = 1024¶
- ItemSendsGeometryChanges = 2048¶
- ItemAcceptsInputMethod = 4096¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemIsPanel = 16384¶
- ItemSendsScenePositionChanges = 65536¶
- ItemContainsChildrenInShape = 524288¶
- ItemAcceptsInputMethod = 4096¶
- ItemChildAddedChange = 6¶
- ItemChildRemovedChange = 7¶
- ItemClipsChildrenToShape = 16¶
- ItemClipsToShape = 8¶
- ItemContainsChildrenInShape = 524288¶
- ItemCoordinateCache = 1¶
- ItemCursorChange = 17¶
- ItemCursorHasChanged = 18¶
- ItemDoesntPropagateOpacityToChildren = 128¶
- ItemEnabledChange = 3¶
- ItemEnabledHasChanged = 13¶
- ItemFlagsChange = 21¶
- ItemFlagsHaveChanged = 22¶
- ItemHasNoContents = 1024¶
- ItemIgnoresParentOpacity = 64¶
- ItemIgnoresTransformations = 32¶
- ItemIsFocusable = 4¶
- ItemIsMovable = 1¶
- ItemIsPanel = 16384¶
- ItemIsSelectable = 2¶
- ItemNegativeZStacksBehindParent = 8192¶
- ItemOpacityChange = 25¶
- ItemOpacityHasChanged = 26¶
- ItemParentChange = 5¶
- ItemParentHasChanged = 15¶
- ItemPositionChange = 0¶
- ItemPositionHasChanged = 9¶
- ItemRotationChange = 28¶
- ItemRotationHasChanged = 29¶
- ItemScaleChange = 30¶
- ItemScaleHasChanged = 31¶
- ItemSceneChange = 11¶
- ItemSceneHasChanged = 16¶
- ItemScenePositionHasChanged = 27¶
- ItemSelectedChange = 4¶
- ItemSelectedHasChanged = 14¶
- ItemSendsGeometryChanges = 2048¶
- ItemSendsScenePositionChanges = 65536¶
- ItemStacksBehindParent = 256¶
- ItemToolTipChange = 19¶
- ItemToolTipHasChanged = 20¶
- ItemTransformChange = 8¶
- ItemTransformHasChanged = 10¶
- ItemTransformOriginPointChange = 32¶
- ItemTransformOriginPointHasChanged = 33¶
- ItemUsesExtendedStyleOption = 512¶
- ItemVisibleChange = 2¶
- ItemVisibleHasChanged = 12¶
- ItemZValueChange = 23¶
- ItemZValueHasChanged = 24¶
- NoCache = 0¶
- NonModal = 0¶
- PanelModal = 1¶
- class PanelModality(value)¶
Bases:
enum.EnumAn enumeration.
- NonModal = 0¶
- PanelModal = 1¶
- SceneModal = 2¶
- SceneModal = 2¶
- Type = 1¶
- UserType = 65536¶
- acceptDrops(self) bool¶
- acceptHoverEvents(self) bool¶
- acceptTouchEvents(self) bool¶
- acceptedMouseButtons(self) Qt.MouseButton¶
- advance(self, int)¶
- blockSignals(self, bool) bool¶
- boundingRect(self) QRectF¶
- boundingRegion(self, QTransform) QRegion¶
- boundingRegionGranularity(self) float¶
- cacheMode(self) QGraphicsItem.CacheMode¶
- childEvent(self, QChildEvent)¶
- childItems(self) List[QGraphicsItem]¶
- children(self) List[QObject]¶
- childrenBoundingRect(self) QRectF¶
- clearFocus(self)¶
- clipPath(self) QPainterPath¶
- collidesWithItem(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidesWithPath(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) bool¶
- collidingItems(self, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- commonAncestorItem(self, QGraphicsItem) QGraphicsItem¶
- connectNotify(self, QMetaMethod)¶
- contains(self, QPointF) bool¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- cursor(self) QCursor¶
- customEvent(self, QEvent)¶
- data(self, int) Any¶
- deleteLater(self)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- deviceTransform(self, QTransform) QTransform¶
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveOpacity(self) float¶
- elementId(self) str¶
- enabledChanged¶
enabledChanged(self) [signal]
- ensureVisible(self, rect: QRectF = QRectF(), xMargin: int = 50, yMargin: int = 50)¶
- HelmFallbackImage.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- filtersChildEvents(self) bool¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- flags(self) QGraphicsItem.GraphicsItemFlag¶
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusOutEvent(self, QFocusEvent)¶
- focusProxy(self) QGraphicsItem¶
- grabGesture(self, Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- graphicsEffect(self) QGraphicsEffect¶
- group(self) QGraphicsItemGroup¶
- hasCursor(self) bool¶
- hasFocus(self) bool¶
- hide(self)¶
- hoverEnterEvent(self, QGraphicsSceneHoverEvent)¶
- hoverLeaveEvent(self, QGraphicsSceneHoverEvent)¶
- hoverMoveEvent(self, QGraphicsSceneHoverEvent)¶
- inherits(self, str) bool¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installEventFilter(self, QObject)¶
- installSceneEventFilter(self, QGraphicsItem)¶
- isActive(self) bool¶
- isAncestorOf(self, QGraphicsItem) bool¶
- isBlockedByModalPanel(self) Tuple[bool, QGraphicsItem]¶
- isClipped(self) bool¶
- isEnabled(self) bool¶
- isObscured(self, rect: QRectF = QRectF()) bool¶
- HelmFallbackImage.isObscured(self, float, float, float, float) -> bool
- isObscuredBy(self, QGraphicsItem) bool¶
- isPanel(self) bool¶
- isSelected(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isUnderMouse(self) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QGraphicsItem) bool¶
- isWidget(self) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowType(self) bool¶
- itemChange(self, QGraphicsItem.GraphicsItemChange, Any) Any¶
- itemTransform(self, QGraphicsItem) Tuple[QTransform, bool]¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- killTimer(self, int)¶
- mapFromItem(self, QGraphicsItem, QPointF) QPointF¶
- mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
- HelmFallbackImage.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
- HelmFallbackImage.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapFromParent(self, QPointF) QPointF¶
- mapFromParent(self, QRectF) QPolygonF
- mapFromParent(self, QPolygonF) QPolygonF
- mapFromParent(self, QPainterPath) QPainterPath
- HelmFallbackImage.mapFromParent(self, float, float) -> QPointF
- HelmFallbackImage.mapFromParent(self, float, float, float, float) -> QPolygonF
- mapFromScene(self, QPointF) QPointF¶
- mapFromScene(self, QRectF) QPolygonF
- mapFromScene(self, QPolygonF) QPolygonF
- mapFromScene(self, QPainterPath) QPainterPath
- HelmFallbackImage.mapFromScene(self, float, float) -> QPointF
- HelmFallbackImage.mapFromScene(self, float, float, float, float) -> QPolygonF
- mapRectFromItem(self, QGraphicsItem, QRectF) QRectF¶
- HelmFallbackImage.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectFromParent(self, QRectF) QRectF¶
- HelmFallbackImage.mapRectFromParent(self, float, float, float, float) -> QRectF
- mapRectFromScene(self, QRectF) QRectF¶
- HelmFallbackImage.mapRectFromScene(self, float, float, float, float) -> QRectF
- mapRectToItem(self, QGraphicsItem, QRectF) QRectF¶
- HelmFallbackImage.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
- mapRectToParent(self, QRectF) QRectF¶
- HelmFallbackImage.mapRectToParent(self, float, float, float, float) -> QRectF
- mapRectToScene(self, QRectF) QRectF¶
- HelmFallbackImage.mapRectToScene(self, float, float, float, float) -> QRectF
- mapToItem(self, QGraphicsItem, QPointF) QPointF¶
- mapToItem(self, QGraphicsItem, QRectF) QPolygonF
- mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
- mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
- HelmFallbackImage.mapToItem(self, QGraphicsItem, float, float) -> QPointF
- HelmFallbackImage.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
- mapToParent(self, QPointF) QPointF¶
- mapToParent(self, QRectF) QPolygonF
- mapToParent(self, QPolygonF) QPolygonF
- mapToParent(self, QPainterPath) QPainterPath
- HelmFallbackImage.mapToParent(self, float, float) -> QPointF
- HelmFallbackImage.mapToParent(self, float, float, float, float) -> QPolygonF
- mapToScene(self, QPointF) QPointF¶
- mapToScene(self, QRectF) QPolygonF
- mapToScene(self, QPolygonF) QPolygonF
- mapToScene(self, QPainterPath) QPainterPath
- HelmFallbackImage.mapToScene(self, float, float) -> QPointF
- HelmFallbackImage.mapToScene(self, float, float, float, float) -> QPolygonF
- maximumCacheSize(self) QSize¶
- metaObject(self) QMetaObject¶
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- HelmFallbackImage.moveBy(self, float, float)
- moveToThread(self, QThread)¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- opacity(self) float¶
- opacityChanged¶
opacityChanged(self) [signal]
- opaqueArea(self) QPainterPath¶
- paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)¶
- panel(self) QGraphicsItem¶
- panelModality(self) QGraphicsItem.PanelModality¶
- parent(self) QObject¶
- parentChanged¶
parentChanged(self) [signal]
- parentItem(self) QGraphicsItem¶
- parentObject(self) QGraphicsObject¶
- parentWidget(self) QGraphicsWidget¶
- pos(self) QPointF¶
- prepareGeometryChange(self)¶
- property(self, str) Any¶
- 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(self, PYQT_SIGNAL) int¶
- removeEventFilter(self, QObject)¶
- removeSceneEventFilter(self, QGraphicsItem)¶
- renderer(self) QSvgRenderer¶
- resetTransform(self)¶
- rotation(self) float¶
- rotationChanged¶
rotationChanged(self) [signal]
- scale(self) float¶
- scaleChanged¶
scaleChanged(self) [signal]
- scene(self) QGraphicsScene¶
- sceneBoundingRect(self) QRectF¶
- sceneEvent(self, QEvent) bool¶
- sceneEventFilter(self, QGraphicsItem, QEvent) bool¶
- scenePos(self) QPointF¶
- sceneTransform(self) QTransform¶
- HelmFallbackImage.scroll(self, float, float, rect: QRectF = QRectF())
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setAcceptDrops(self, bool)¶
- setAcceptHoverEvents(self, bool)¶
- setAcceptTouchEvents(self, bool)¶
- setAcceptedMouseButtons(self, Qt.MouseButton)¶
- setActive(self, bool)¶
- setBoundingRegionGranularity(self, float)¶
- setCacheMode(self, QGraphicsItem.CacheMode, logicalCacheSize: QSize = QSize())¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setData(self, int, Any)¶
- setElementId(self, str)¶
- setEnabled(self, bool)¶
- setFiltersChildEvents(self, bool)¶
- setFlag(self, QGraphicsItem.GraphicsItemFlag, enabled: bool = True)¶
- setFlags(self, QGraphicsItem.GraphicsItemFlag)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusProxy(self, QGraphicsItem)¶
- setGraphicsEffect(self, QGraphicsEffect)¶
- setGroup(self, QGraphicsItemGroup)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setMaximumCacheSize(self, QSize)¶
- setObjectName(self, str)¶
- setOpacity(self, float)¶
- setPanelModality(self, QGraphicsItem.PanelModality)¶
- setParent(self, QObject)¶
- setParentItem(self, QGraphicsItem)¶
- setPos(self, QPointF)¶
- HelmFallbackImage.setPos(self, float, float) -> None
- setProperty(self, str, Any) bool¶
- setRotation(self, float)¶
- setScale(self, float)¶
- setSelected(self, bool)¶
- setToolTip(self, str)¶
- setTransform(self, QTransform, combine: bool = False)¶
- setTransformOriginPoint(self, QPointF)¶
- HelmFallbackImage.setTransformOriginPoint(self, float, float) -> None
- setTransformations(self, Iterable[QGraphicsTransform])¶
- setVisible(self, bool)¶
- setX(self, float)¶
- setY(self, float)¶
- setZValue(self, float)¶
- shape(self) QPainterPath¶
- show(self)¶
- signalsBlocked(self) bool¶
- stackBefore(self, QGraphicsItem)¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- toGraphicsObject(self) QGraphicsObject¶
- toolTip(self) str¶
- topLevelItem(self) QGraphicsItem¶
- topLevelWidget(self) QGraphicsWidget¶
- tr(str, disambiguation: str = None, n: int = - 1) str¶
- transform(self) QTransform¶
- transformOriginPoint(self) QPointF¶
- transformations(self) List[QGraphicsTransform]¶
- type(self) int¶
- ungrabGesture(self, Qt.GestureType)¶
- ungrabKeyboard(self)¶
- ungrabMouse(self)¶
- unsetCursor(self)¶
- update(self, rect: QRectF = QRectF())¶
- HelmFallbackImage.update(self, float, float, float, float) -> None
- updateMicroFocus(self)¶
- visibleChanged¶
visibleChanged(self) [signal]
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- window(self) QGraphicsWidget¶
- x(self) float¶
- xChanged¶
xChanged(self) [signal]
- y(self) float¶
- yChanged¶
yChanged(self) [signal]
- zChanged¶
zChanged(self) [signal]
- zValue(self) float¶
- class schrodinger.protein.helm.helm_renderer.HelmScene¶
Bases:
PyQt6.QtWidgets.QGraphicsSceneScene object for rendering a helm molecule
- __init__()¶
- setHelmMolecule(helm_mol: rdkit.Chem.rdchem.Mol)¶
Set the helm molecule to render and add bond and monomer representations to the scene.
- Parameters
helm_mol – Helm data represented by a 2D coarse-grained molecule.
- getMonomerData(monomer: rdkit.Chem.rdchem.Atom) Tuple[int, schrodinger.protein.helm.helm_renderer.HelmMonomer]¶
Compute the properties of
monomerneeded for the logic that determines its graphical representation: theHelmMonomerItemMixinchild class thatmonomer_item_factoryshould dispatch to.- Parameters
monomer – Representation of the monomer in the input
rdkitmolecule.- Returns
2-tuple of the index of the monomer in the conformer object and a
HelmMonomerobject with the needed properties.
- getConnectorData(bond: rdkit.Chem.rdchem.Bond, monomer_lookup: dict) schrodinger.protein.helm.helm_renderer.HelmConnector¶
Compute the properties of
bondneeded for the logic that determines its graphical representation: the_HelmConnectorBasechild class thatconnector_item_factoryshould dispatch to.- Parameters
bond – Representation of the connector in the input
rdkitmolecule.monomer_lookup – A dict mapping the monomer’s index in the conformer to its
HelmMonomerrepresentation.
- Returns
A
HelmConnectorobject with the needed properties.
- setOptions(options: schrodinger.protein.helm.helm_renderer.HelmImageOptions)¶
- AllLayers = 65535¶
- BackgroundLayer = 2¶
- BspTreeIndex = 0¶
- ForegroundLayer = 4¶
- ItemLayer = 1¶
- NoIndex = -1¶
- class SceneLayer(value)¶
Bases:
enum.FlagAn enumeration.
- ItemLayer = 1¶
- BackgroundLayer = 2¶
- ForegroundLayer = 4¶
- AllLayers = 65535¶
- activePanel(self) QGraphicsItem¶
- activeWindow(self) QGraphicsWidget¶
- addEllipse(self, QRectF, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient] = QBrush()) QGraphicsEllipseItem¶
- HelmScene.addEllipse(self, float, float, float, float, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient] = QBrush()) -> QGraphicsEllipseItem
- addItem(self, QGraphicsItem)¶
- addLine(self, QLineF, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen()) QGraphicsLineItem¶
- HelmScene.addLine(self, float, float, float, float, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen()) -> QGraphicsLineItem
- addPath(self, QPainterPath, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient] = QBrush()) QGraphicsPathItem¶
- addPixmap(self, QPixmap) QGraphicsPixmapItem¶
- addPolygon(self, QPolygonF, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient] = QBrush()) QGraphicsPolygonItem¶
- addRect(self, QRectF, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient] = QBrush()) QGraphicsRectItem¶
- HelmScene.addRect(self, float, float, float, float, pen: Union[QPen, QColor, Qt.GlobalColor, int, QGradient] = QPen(), brush: Union[QBrush, QColor, Qt.GlobalColor, int, QGradient] = QBrush()) -> QGraphicsRectItem
- addSimpleText(self, str, font: QFont = QFont()) QGraphicsSimpleTextItem¶
- addText(self, str, font: QFont = QFont()) QGraphicsTextItem¶
- addWidget(self, QWidget, flags: Qt.WindowType = Qt.WindowFlags()) QGraphicsProxyWidget¶
- advance(self)¶
- backgroundBrush(self) QBrush¶
- blockSignals(self, bool) bool¶
- bspTreeDepth(self) int¶
- changed¶
changed(self, Iterable[QRectF]) [signal]
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- clear(self)¶
- clearFocus(self)¶
- clearSelection(self)¶
- collidingItems(self, QGraphicsItem, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) List[QGraphicsItem]¶
- connectNotify(self, QMetaMethod)¶
- contextMenuEvent(self, QGraphicsSceneContextMenuEvent)¶
- createItemGroup(self, Iterable[QGraphicsItem]) QGraphicsItemGroup¶
- customEvent(self, QEvent)¶
- deleteLater(self)¶
- destroyItemGroup(self, QGraphicsItemGroup)¶
- destroyed¶
destroyed(self, object: QObject = None) [signal]
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QGraphicsSceneDragDropEvent)¶
- dragLeaveEvent(self, QGraphicsSceneDragDropEvent)¶
- dragMoveEvent(self, QGraphicsSceneDragDropEvent)¶
- drawBackground(self, QPainter, QRectF)¶
- drawForeground(self, QPainter, QRectF)¶
- dropEvent(self, QGraphicsSceneDragDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- focusInEvent(self, QFocusEvent)¶
- focusItem(self) QGraphicsItem¶
- focusItemChanged¶
focusItemChanged(self, QGraphicsItem, QGraphicsItem, Qt.FocusReason) [signal]
- focusNextPrevChild(self, bool) bool¶
- focusOnTouch(self) bool¶
- focusOutEvent(self, QFocusEvent)¶
- font(self) QFont¶
- foregroundBrush(self) QBrush¶
- hasFocus(self) bool¶
- height(self) float¶
- helpEvent(self, QGraphicsSceneHelpEvent)¶
- inherits(self, str) bool¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- installEventFilter(self, QObject)¶
- invalidate(self, rect: QRectF = QRectF(), layers: QGraphicsScene.SceneLayer = QGraphicsScene.AllLayers)¶
- HelmScene.invalidate(self, float, float, float, float, layers: QGraphicsScene.SceneLayer = QGraphicsScene.AllLayers) -> None
- isActive(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isWidgetType(self) bool¶
- isWindowType(self) bool¶
- itemAt(self, QPointF, QTransform) QGraphicsItem¶
- HelmScene.itemAt(self, float, float, QTransform) -> QGraphicsItem
- itemIndexMethod(self) QGraphicsScene.ItemIndexMethod¶
- items(self, order: Qt.SortOrder = Qt.DescendingOrder) List[QGraphicsItem]¶
- items(self, QPointF, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) List[QGraphicsItem]
- items(self, QRectF, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) List[QGraphicsItem]
- items(self, QPolygonF, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) List[QGraphicsItem]
- items(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, order: Qt.SortOrder = Qt.DescendingOrder, deviceTransform: QTransform = QTransform()) List[QGraphicsItem]
- items(self, float, float, float, float, Qt.ItemSelectionMode, Qt.SortOrder, deviceTransform: QTransform = QTransform()) List[QGraphicsItem]
- itemsBoundingRect(self) QRectF¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- killTimer(self, int)¶
- metaObject(self) QMetaObject¶
- minimumRenderSize(self) float¶
- mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)¶
- mouseGrabberItem(self) QGraphicsItem¶
- mouseMoveEvent(self, QGraphicsSceneMouseEvent)¶
- mousePressEvent(self, QGraphicsSceneMouseEvent)¶
- mouseReleaseEvent(self, QGraphicsSceneMouseEvent)¶
- moveToThread(self, QThread)¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- palette(self) QPalette¶
- parent(self) QObject¶
- property(self, str) Any¶
- 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(self, PYQT_SIGNAL) int¶
- removeEventFilter(self, QObject)¶
- removeItem(self, QGraphicsItem)¶
- render(self, QPainter, target: QRectF = QRectF(), source: QRectF = QRectF(), mode: Qt.AspectRatioMode = Qt.KeepAspectRatio)¶
- sceneRect(self) QRectF¶
- sceneRectChanged¶
sceneRectChanged(self, QRectF) [signal]
- selectedItems(self) List[QGraphicsItem]¶
- selectionArea(self) QPainterPath¶
- selectionChanged¶
selectionChanged(self) [signal]
- sendEvent(self, QGraphicsItem, QEvent) bool¶
- sender(self) QObject¶
- senderSignalIndex(self) int¶
- setActivePanel(self, QGraphicsItem)¶
- setActiveWindow(self, QGraphicsWidget)¶
- setBackgroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setBspTreeDepth(self, int)¶
- setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusItem(self, QGraphicsItem, focusReason: Qt.FocusReason = Qt.OtherFocusReason)¶
- setFocusOnTouch(self, bool)¶
- setFont(self, QFont)¶
- setForegroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])¶
- setItemIndexMethod(self, QGraphicsScene.ItemIndexMethod)¶
- setMinimumRenderSize(self, float)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QObject)¶
- setProperty(self, str, Any) bool¶
- setSceneRect(self, QRectF)¶
- HelmScene.setSceneRect(self, float, float, float, float) -> None
- setSelectionArea(self, QPainterPath, QTransform)¶
- setSelectionArea(self, QPainterPath, selectionOperation: Qt.ItemSelectionOperation = Qt.ReplaceSelection, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape, deviceTransform: QTransform = QTransform()) None
- setStickyFocus(self, bool)¶
- setStyle(self, QStyle)¶
- signalsBlocked(self) bool¶
- startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.QtCore.QMetaObject object>¶
- stickyFocus(self) bool¶
- style(self) QStyle¶
- thread(self) QThread¶
- timerEvent(self, QTimerEvent)¶
- tr(str, disambiguation: str = None, n: int = - 1) str¶
- update(self, rect: QRectF = QRectF())¶
- HelmScene.update(self, float, float, float, float) -> None
- views(self) List[QGraphicsView]¶
- wheelEvent(self, QGraphicsSceneWheelEvent)¶
- width(self) float¶
- class schrodinger.protein.helm.helm_renderer.HelmWidget(helm_mol=None, options=None, *args, **kwargs)¶
Bases:
PyQt6.QtWidgets.QWidgetA widget which creates a visual representation of a coarse-grained 2D helm molecule
- __init__(helm_mol=None, options=None, *args, **kwargs)¶
- layout(self) QLayout¶
- setupView()¶
Set up the view for the widget
- getPng()¶
- getSvg()¶
- DrawChildren = 2¶
- DrawWindowBackground = 1¶
- IgnoreMask = 4¶
- class PaintDeviceMetric(value)¶
Bases:
enum.EnumAn enumeration.
- PdmWidth = 1¶
- PdmHeight = 2¶
- PdmWidthMM = 3¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmDepth = 6¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDepth = 6¶
- PdmDevicePixelRatio = 11¶
- PdmDevicePixelRatioScaled = 12¶
- PdmDpiX = 7¶
- PdmDpiY = 8¶
- PdmHeight = 2¶
- PdmHeightMM = 4¶
- PdmNumColors = 5¶
- PdmPhysicalDpiX = 9¶
- PdmPhysicalDpiY = 10¶
- PdmWidth = 1¶
- PdmWidthMM = 3¶
- class RenderFlag(value)¶
Bases:
enum.FlagAn enumeration.
- DrawWindowBackground = 1¶
- DrawChildren = 2¶
- IgnoreMask = 4¶
- acceptDrops(self) bool¶
- accessibleDescription(self) str¶
- accessibleName(self) str¶
- actionEvent(self, QActionEvent)¶
- actions(self) List[QAction]¶
- activateWindow(self)¶
- addAction(self, QAction)¶
- addActions(self, Iterable[QAction])¶
- adjustSize(self)¶
- autoFillBackground(self) bool¶
- backgroundRole(self) QPalette.ColorRole¶
- baseSize(self) QSize¶
- blockSignals(self, bool) bool¶
- changeEvent(self, QEvent)¶
- childAt(self, QPoint) QWidget¶
- HelmWidget.childAt(self, int, int) -> QWidget
- childEvent(self, QChildEvent)¶
- children(self) List[QObject]¶
- childrenRect(self) QRect¶
- childrenRegion(self) QRegion¶
- clearFocus(self)¶
- clearMask(self)¶
- close(self) bool¶
- closeEvent(self, QCloseEvent)¶
- colorCount(self) int¶
- connectNotify(self, QMetaMethod)¶
- contentsMargins(self) QMargins¶
- contentsRect(self) QRect¶
- contextMenuEvent(self, QContextMenuEvent)¶
- contextMenuPolicy(self) Qt.ContextMenuPolicy¶
- create(self, window: PyQt6.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createWindowContainer(QWindow, parent: QWidget = None, flags: Qt.WindowType = Qt.WindowFlags()) QWidget¶
- 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, object: QObject = None) [signal]
- devType(self) int¶
- devicePixelRatio(self) float¶
- devicePixelRatioF(self) float¶
- devicePixelRatioFScale() float¶
- disconnect(QMetaObject.Connection) bool¶
- disconnect(self) None
- disconnectNotify(self, QMetaMethod)¶
- dragEnterEvent(self, QDragEnterEvent)¶
- dragLeaveEvent(self, QDragLeaveEvent)¶
- dragMoveEvent(self, QDragMoveEvent)¶
- dropEvent(self, QDropEvent)¶
- dumpObjectInfo(self)¶
- dumpObjectTree(self)¶
- dynamicPropertyNames(self) List[QByteArray]¶
- effectiveWinId(self) PyQt6.sip.voidptr¶
- ensurePolished(self)¶
- enterEvent(self, QEnterEvent)¶
- event(self, QEvent) bool¶
- eventFilter(self, QObject, QEvent) bool¶
- find(PyQt6.sip.voidptr) QWidget¶
- findChild(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject¶
- findChild(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObject
- findChildren(self, type, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]¶
- findChildren(self, Tuple, name: str = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, type, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) List[QObject]
- findChildren(self, Tuple, QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) 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¶
- fontInfo(self) QFontInfo¶
- fontMetrics(self) QFontMetrics¶
- foregroundRole(self) QPalette.ColorRole¶
- frameGeometry(self) QRect¶
- frameSize(self) QSize¶
- geometry(self) QRect¶
- grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap¶
- grabGesture(self, Qt.GestureType, flags: Qt.GestureFlag = Qt.GestureFlags())¶
- grabKeyboard(self)¶
- grabMouse(self)¶
- grabMouse(self, Union[QCursor, Qt.CursorShape]) None
- grabShortcut(self, Union[QKeySequence, QKeySequence.StandardKey, str, int], context: Qt.ShortcutContext = Qt.WindowShortcut) int¶
- graphicsEffect(self) QGraphicsEffect¶
- graphicsProxyWidget(self) QGraphicsProxyWidget¶
- hasFocus(self) bool¶
- hasHeightForWidth(self) bool¶
- hasMouseTracking(self) bool¶
- hasTabletTracking(self) bool¶
- height(self) int¶
- heightForWidth(self, int) int¶
- heightMM(self) int¶
- hide(self)¶
- hideEvent(self, QHideEvent)¶
- inherits(self, str) bool¶
- initPainter(self, QPainter)¶
- inputMethodEvent(self, QInputMethodEvent)¶
- inputMethodHints(self) Qt.InputMethodHint¶
- inputMethodQuery(self, Qt.InputMethodQuery) Any¶
- HelmWidget.insertAction(self, QAction, QAction)
- insertActions(self, QAction, Iterable[QAction])¶
- installEventFilter(self, QObject)¶
- isActiveWindow(self) bool¶
- isAncestorOf(self, QWidget) bool¶
- isEnabled(self) bool¶
- isEnabledTo(self, QWidget) bool¶
- isFullScreen(self) bool¶
- isHidden(self) bool¶
- isLeftToRight(self) bool¶
- isMaximized(self) bool¶
- isMinimized(self) bool¶
- isModal(self) bool¶
- isRightToLeft(self) bool¶
- isSignalConnected(self, QMetaMethod) bool¶
- isVisible(self) bool¶
- isVisibleTo(self, QWidget) bool¶
- isWidgetType(self) bool¶
- isWindow(self) bool¶
- isWindowModified(self) bool¶
- isWindowType(self) bool¶
- keyPressEvent(self, QKeyEvent)¶
- keyReleaseEvent(self, QKeyEvent)¶
- keyboardGrabber() QWidget¶
- killTimer(self, int)¶
- layoutDirection(self) Qt.LayoutDirection¶
- leaveEvent(self, QEvent)¶
- locale(self) QLocale¶
- logicalDpiX(self) int¶
- logicalDpiY(self) int¶
- lower(self)¶
- mapFrom(self, QWidget, QPoint) QPoint¶
- mapFrom(self, QWidget, QPointF) QPointF
- mapFromGlobal(self, QPoint) QPoint¶
- mapFromGlobal(self, QPointF) QPointF
- mapFromParent(self, QPoint) QPoint¶
- mapFromParent(self, QPointF) QPointF
- mapTo(self, QWidget, QPoint) QPoint¶
- mapTo(self, QWidget, QPointF) QPointF
- mapToGlobal(self, QPoint) QPoint¶
- mapToGlobal(self, QPointF) QPointF
- mapToParent(self, QPoint) QPoint¶
- mapToParent(self, QPointF) QPointF
- 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)¶
- HelmWidget.move(self, int, int) -> None
- moveEvent(self, QMoveEvent)¶
- moveToThread(self, QThread)¶
- nativeEvent(self, QByteArray, PyQt6.sip.voidptr) Tuple[bool, PyQt6.sip.voidptr]¶
- nativeParentWidget(self) QWidget¶
- nextInFocusChain(self) QWidget¶
- normalGeometry(self) QRect¶
- objectName(self) str¶
- objectNameChanged¶
objectNameChanged(self, str) [signal]
- overrideWindowFlags(self, Qt.WindowType)¶
- overrideWindowState(self, Qt.WindowState)¶
- paintEngine(self) QPaintEngine¶
- paintEvent(self, QPaintEvent)¶
- paintingActive(self) bool¶
- palette(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(...)¶
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, PYQT_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.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren))¶
- render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: QWidget.RenderFlag = QWidget.RenderFlags(QWidget.DrawWindowBackground | QWidget.DrawChildren)) None
- repaint(self)¶
- HelmWidget.repaint(self, int, int, int, int) -> None
- repaint(self, QRect) None
- repaint(self, QRegion) None
- resize(self, QSize)¶
- HelmWidget.resize(self, int, int) -> None
- resizeEvent(self, QResizeEvent)¶
- restoreGeometry(self, QByteArray) bool¶
- saveGeometry(self) QByteArray¶
- screen(self) QScreen¶
- HelmWidget.scroll(self, int, int)
- HelmWidget.scroll(self, int, int, QRect) -> None
- 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)¶
- HelmWidget.setBaseSize(self, int, int)
- setBaseSize(self, QSize) None¶
- HelmWidget.setContentsMargins(self, int, int, int, int)
- setContentsMargins(self, QMargins) None¶
- setContextMenuPolicy(self, Qt.ContextMenuPolicy)¶
- setCursor(self, Union[QCursor, Qt.CursorShape])¶
- setDisabled(self, bool)¶
- setEnabled(self, bool)¶
- setFixedHeight(self, int)¶
- setFixedSize(self, QSize)¶
- HelmWidget.setFixedSize(self, int, int) -> None
- setFixedWidth(self, int)¶
- setFocus(self)¶
- setFocus(self, Qt.FocusReason) None
- setFocusPolicy(self, Qt.FocusPolicy)¶
- setFocusProxy(self, QWidget)¶
- setFont(self, QFont)¶
- setForegroundRole(self, QPalette.ColorRole)¶
- setGeometry(self, QRect)¶
- HelmWidget.setGeometry(self, int, int, int, int) -> None
- setGraphicsEffect(self, QGraphicsEffect)¶
- setHidden(self, bool)¶
- setInputMethodHints(self, Qt.InputMethodHint)¶
- setLayout(self, QLayout)¶
- setLayoutDirection(self, Qt.LayoutDirection)¶
- setLocale(self, QLocale)¶
- setMask(self, QBitmap)¶
- setMask(self, QRegion) None
- setMaximumHeight(self, int)¶
- HelmWidget.setMaximumSize(self, int, int)
- setMaximumSize(self, QSize) None¶
- setMaximumWidth(self, int)¶
- setMinimumHeight(self, int)¶
- HelmWidget.setMinimumSize(self, int, int)
- setMinimumSize(self, QSize) None¶
- setMinimumWidth(self, int)¶
- setMouseTracking(self, bool)¶
- setObjectName(self, str)¶
- setPalette(self, QPalette)¶
- setParent(self, QWidget)¶
- setParent(self, QWidget, Qt.WindowType) None
- setProperty(self, str, Any) bool¶
- setScreen(self, QScreen)¶
- setShortcutAutoRepeat(self, int, enabled: bool = True)¶
- setShortcutEnabled(self, int, enabled: bool = True)¶
- HelmWidget.setSizeIncrement(self, int, int)
- setSizeIncrement(self, QSize) None¶
- setSizePolicy(self, QSizePolicy)¶
- setSizePolicy(self, QSizePolicy.Policy, QSizePolicy.Policy) None
- setStatusTip(self, str)¶
- setStyle(self, QStyle)¶
- setStyleSheet(self, str)¶
- HelmWidget.setTabOrder(QWidget, QWidget)
- setTabletTracking(self, bool)¶
- setToolTip(self, str)¶
- setToolTipDuration(self, int)¶
- setUpdatesEnabled(self, bool)¶
- setVisible(self, bool)¶
- setWhatsThis(self, str)¶
- setWindowFilePath(self, str)¶
- setWindowFlag(self, Qt.WindowType, on: bool = True)¶
- setWindowFlags(self, Qt.WindowType)¶
- setWindowIcon(self, QIcon)¶
- setWindowIconText(self, str)¶
- setWindowModality(self, Qt.WindowModality)¶
- setWindowModified(self, bool)¶
- setWindowOpacity(self, float)¶
- setWindowRole(self, str)¶
- setWindowState(self, 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, timerType: Qt.TimerType = Qt.CoarseTimer) int¶
- staticMetaObject = <PyQt6.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¶
- toolTipDuration(self) int¶
- tr(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) None
- update(self, QRegion) None
- HelmWidget.update(self, int, int, int, int) -> None
- updateGeometry(self)¶
- updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)¶
- updatesEnabled(self) bool¶
- visibleRegion(self) QRegion¶
- whatsThis(self) str¶
- wheelEvent(self, QWheelEvent)¶
- width(self) int¶
- widthMM(self) int¶
- winId(self) PyQt6.sip.voidptr¶
- window(self) QWidget¶
- windowFilePath(self) str¶
- windowFlags(self) Qt.WindowType¶
- windowHandle(self) QWindow¶
- windowIcon(self) QIcon¶
- windowIconChanged¶
windowIconChanged(self, QIcon) [signal]
- windowIconText(self) str¶
- windowIconTextChanged¶
windowIconTextChanged(self, str) [signal]
- windowModality(self) Qt.WindowModality¶
- windowOpacity(self) float¶
- windowRole(self) str¶
- windowState(self) Qt.WindowState¶
- windowTitle(self) str¶
- windowTitleChanged¶
windowTitleChanged(self, str) [signal]
- windowType(self) Qt.WindowType¶
- x(self) int¶
- y(self) int¶