schrodinger.ui.dendrogram module

class schrodinger.ui.dendrogram.DendrogramGraphicNode(tree: Optional[DendrogramGraphicTree], node: Optional[DendrogramNode])

Bases: PyQt6.QtWidgets.QGraphicsObject

getAllVisibleLeaves(self) Any
getBranchColor(self) QColor
getChildren(self) Any
getCoordinates(self) QPointF
getLabel(self) Optional[DendrogramGraphicNodeLabel]
getLeafIndices(self) Any
getNode(self) Optional[DendrogramNode]
isLeaf(self) bool
isSelected(self) bool
m_hideAfterAnimation
setBranchColor(self, color: Union[QColor, Qt.GlobalColor, int])
setBranchWidth(self, width: float)
setCoordinates(self, coords: QPointF)
setLabel(self, label: Optional[str])
setSelected(self, select: bool)
class schrodinger.ui.dendrogram.DendrogramGraphicNodeLabel(parent: Optional[DendrogramGraphicNode])

Bases: PyQt6.QtWidgets.QGraphicsItem

setImage(self, image: QImage)
setLabel(self, label: Optional[str])
setPicture(self, pic: QPicture, shape: QPainterPath)
class schrodinger.ui.dendrogram.DendrogramGraphicTree(firstNode: DendrogramNode)

Bases: PyQt6.QtCore.QObject, PyQt6.QtWidgets.QGraphicsItemGroup

aboutToUpdatePositions

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

assignColorsWithThreshold(self, threshold: float)
copySelectionFrom(self, otherTree: Optional[DendrogramGraphicTree])
displayLabels(self)
getFirstNode(self) Optional[DendrogramNode]
getHoveredNode(self) Optional[DendrogramGraphicNode]
getNode(self, node: Optional[DendrogramNode]) Optional[DendrogramGraphicNode]
getSelectedNodes(self) Any
hoverEnter

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

hoverLeave

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

initializeCoordinates(self, preferences: DendrogramGraphicTreeCoordinatesPreferences)
isSelected(self, i: int) bool
listAllNodes(self) Any
minimize(self)
selectionChanged

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

updatePositions(self, emitSignal: bool = True, animation: bool = True)
class schrodinger.ui.dendrogram.DendrogramGraphicTreeCoordinatesPreferences
class schrodinger.ui.dendrogram.DendrogramGraphicTreeCoordinatesPreferences(a0: DendrogramGraphicTreeCoordinatesPreferences) None

Bases: PyQt6.sip.wrapper

cutoffLength
logScale
minimumLength
rectangular
scaleFactor
selfReorganize
totalAngle
class schrodinger.ui.dendrogram.DendrogramNode
class schrodinger.ui.dendrogram.DendrogramNode(a0: DendrogramNode) None

Bases: PyQt6.sip.wrapper

addChild(self, childNode: DendrogramNode)
getDistance(self) float
getLabel(self) Any
recentered(self) DendrogramNode
setDistance(self, f: float)
setLabel(self, label: Any)
setLeaf(self, i: int)
class schrodinger.ui.dendrogram.DendrogramNodeBFIterator(firstNode: Optional[DendrogramNode])
class schrodinger.ui.dendrogram.DendrogramNodeBFIterator(a0: DendrogramNodeBFIterator) None

Bases: PyQt6.sip.wrapper

next(self) Optional[DendrogramNode]
node(self) Optional[DendrogramNode]
class schrodinger.ui.dendrogram.DendrogramScene

Bases: PyQt6.QtWidgets.QGraphicsScene

drawTree(self, tree: Optional[DendrogramGraphicTree])
class schrodinger.ui.dendrogram.DendrogramTreeBuilder
class schrodinger.ui.dendrogram.DendrogramTreeBuilder(a0: DendrogramTreeBuilder) None

Bases: PyQt6.sip.wrapper

buildTree(self) DendrogramNode
getLabels(self) Any
initializeWithSize(self, size: int)
loadFile(self, filename: Optional[str])
setDistance(self, firstIndex: int, secondIndex: int, distance: float)
class schrodinger.ui.dendrogram.DendrogramView

Bases: PyQt6.QtWidgets.QGraphicsView

getScene(self) Optional[DendrogramScene]
class schrodinger.ui.dendrogram.TestStdException
class schrodinger.ui.dendrogram.TestStdException(a0: TestStdException) None

Bases: PyQt6.sip.wrapper

throwBadAlloc(self)
throwLogicError(self)
throwOutOfRange(self)
throwRuntimeError(self)