schrodinger.ui.dendrogram module

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

Bases: PyQt6.QtWidgets.QGraphicsObject

getAllVisibleLeaves(self) object
getBranchColor(self) QColor
getChildren(self) object
getCoordinates(self) QPointF
getLabel(self) DendrogramGraphicNodeLabel
getLeafIndices(self) object
getNode(self) 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: str)
setSelected(self, select: bool)
class schrodinger.ui.dendrogram.DendrogramGraphicNodeLabel(parent: DendrogramGraphicNode)

Bases: PyQt6.QtWidgets.QGraphicsItem

setImage(self, image: QImage)
setLabel(self, label: 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: DendrogramGraphicTree)
displayLabels(self)
getFirstNode(self) DendrogramNode
getHoveredNode(self) DendrogramGraphicNode
getNode(self, node: DendrogramNode) DendrogramGraphicNode
getSelectedNodes(self) object
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) object
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) object
recentered(self) DendrogramNode
setDistance(self, f: float)
setLabel(self, label: object)
setLeaf(self, i: int)
class schrodinger.ui.dendrogram.DendrogramNodeBFIterator(firstNode: DendrogramNode)
class schrodinger.ui.dendrogram.DendrogramNodeBFIterator(a0: DendrogramNodeBFIterator) None

Bases: PyQt6.sip.wrapper

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

Bases: PyQt6.QtWidgets.QGraphicsScene

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

Bases: PyQt6.sip.wrapper

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

Bases: PyQt6.QtWidgets.QGraphicsView

getScene(self) 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)