schrodinger.application.dendrogram.gradientSelector module

class schrodinger.application.dendrogram.gradientSelector.PropertyWidget

Bases: PyQt6.QtWidgets.QWidget

__init__()
class schrodinger.application.dendrogram.gradientSelector.GradientSelectorView

Bases: PyQt6.QtWidgets.QGraphicsView

__init__()
gradientUpdated

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.

preciseGradientUpdated

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.

setLimits(m, M)
setValues(values)
colorAt(x)
resizeEvent(self, event: Optional[QResizeEvent])
rescale(width)
mouseReleaseEvent(self, event: Optional[QMouseEvent])
grabbedColorMoveEvent(event)
mouseMoveEvent(self, event: Optional[QMouseEvent])
mousePressEvent(self, event: Optional[QMouseEvent])
addColorStop(x, color)
class schrodinger.application.dendrogram.gradientSelector.GradientSelector(view)

Bases: PyQt6.QtWidgets.QGraphicsItem

__init__(view)
setLimits(minim, maxim)
setValues(values)
mousePressEvent(self, event: Optional[QGraphicsSceneMouseEvent])
mouseReleaseEvent(self, event: Optional[QGraphicsSceneMouseEvent])
addColor(color)
removeColor(color)
colorAt(x)
recalculateGradient()
getGradient()
paint(self, painter: Optional[QPainter], option: Optional[QStyleOptionGraphicsItem], widget: Optional[QWidget] = None)
boundingRect(self) QRectF
class schrodinger.application.dendrogram.gradientSelector.ColorSelector(x, color, parent)

Bases: PyQt6.QtWidgets.QGraphicsItem

__init__(x, color, parent)
moveTo(x)
getColor()
setColor(color)
getX()
paint(self, painter: Optional[QPainter], option: Optional[QStyleOptionGraphicsItem], widget: Optional[QWidget] = None)
boundingRect(self) QRectF