schrodinger.application.dendrogram.gradientSelector module

class schrodinger.application.dendrogram.gradientSelector.PropertyWidget

Bases: PyQt6.QtWidgets.QWidget

__init__()
DrawChildren = 2
DrawWindowBackground = 1
IgnoreMask = 4
class PaintDeviceMetric(value)

Bases: enum.Enum

An 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.Flag

An 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
PropertyWidget.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
PropertyWidget.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)
layout(self) → QLayout
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)
PropertyWidget.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)
PropertyWidget.repaint(self, int, int, int, int) -> None
repaint(self, QRect) → None
repaint(self, QRegion) → None
resize(self, QSize)
PropertyWidget.resize(self, int, int) -> None
resizeEvent(self, QResizeEvent)
restoreGeometry(self, QByteArray) → bool
saveGeometry(self) → QByteArray
screen(self) → QScreen
PropertyWidget.scroll(self, int, int)
PropertyWidget.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)
PropertyWidget.setBaseSize(self, int, int)
setBaseSize(self, QSize) → None
PropertyWidget.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)
PropertyWidget.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)
PropertyWidget.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)
PropertyWidget.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) → None
setMaximumWidth(self, int)
setMinimumHeight(self, int)
PropertyWidget.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)
PropertyWidget.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)
PropertyWidget.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)
sharedPainter(self) → QPainter
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
PropertyWidget.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
class schrodinger.application.dendrogram.gradientSelector.GradientSelectorView

Bases: PyQt6.QtWidgets.QGraphicsView

__init__()
gradientUpdated
preciseGradientUpdated
setLimits(m, M)
setValues(values)
colorAt(x)
resizeEvent(self, QResizeEvent)
rescale(width)
mouseReleaseEvent(self, QMouseEvent)
grabbedColorMoveEvent(event)
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
addColorStop(x, color)
AdjustIgnored = 0
AdjustToContents = 2
AdjustToContentsOnFirstShow = 1
AnchorUnderMouse = 2
AnchorViewCenter = 1
BoundingRectViewportUpdate = 4
Box = 1
CacheBackground = 1
class CacheModeFlag(value)

Bases: enum.Flag

An enumeration.

CacheNone = 0
CacheBackground = 1
CacheNone = 0
DontAdjustForAntialiasing = 2
DontSavePainterState = 1
class DragMode(value)

Bases: enum.Enum

An enumeration.

NoDrag = 0
ScrollHandDrag = 1
RubberBandDrag = 2
DrawChildren = 2
DrawWindowBackground = 1
FullViewportUpdate = 0
HLine = 4
IgnoreMask = 4
MinimalViewportUpdate = 1
NoAnchor = 0
NoDrag = 0
NoFrame = 0
NoViewportUpdate = 3
class OptimizationFlag(value)

Bases: enum.Flag

An enumeration.

DontSavePainterState = 1
DontAdjustForAntialiasing = 2
class PaintDeviceMetric(value)

Bases: enum.Enum

An 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
Panel = 2
PdmDepth = 6
PdmDevicePixelRatio = 11
PdmDevicePixelRatioScaled = 12
PdmDpiX = 7
PdmDpiY = 8
PdmHeight = 2
PdmHeightMM = 4
PdmNumColors = 5
PdmPhysicalDpiX = 9
PdmPhysicalDpiY = 10
PdmWidth = 1
PdmWidthMM = 3
Plain = 16
Raised = 32
class RenderFlag(value)

Bases: enum.Flag

An enumeration.

DrawWindowBackground = 1
DrawChildren = 2
IgnoreMask = 4
RubberBandDrag = 2
ScrollHandDrag = 1
class Shadow(value)

Bases: enum.IntEnum

An enumeration.

Plain = 16
Raised = 32
Sunken = 48
Shadow_Mask = 240
class Shape(value)

Bases: enum.IntEnum

An enumeration.

NoFrame = 0
Box = 1
Panel = 2
WinPanel = 3
HLine = 4
VLine = 5
StyledPanel = 6
Shape_Mask = 15
class SizeAdjustPolicy(value)

Bases: enum.Enum

An enumeration.

AdjustIgnored = 0
AdjustToContentsOnFirstShow = 1
AdjustToContents = 2
SmartViewportUpdate = 2
class StyleMask(value)

Bases: enum.Enum

An enumeration.

Shadow_Mask = 240
Shape_Mask = 15
StyledPanel = 6
Sunken = 48
VLine = 5
class ViewportAnchor(value)

Bases: enum.Enum

An enumeration.

NoAnchor = 0
AnchorViewCenter = 1
AnchorUnderMouse = 2
class ViewportUpdateMode(value)

Bases: enum.Enum

An enumeration.

FullViewportUpdate = 0
MinimalViewportUpdate = 1
SmartViewportUpdate = 2
BoundingRectViewportUpdate = 4
NoViewportUpdate = 3
WinPanel = 3
acceptDrops(self) → bool
accessibleDescription(self) → str
accessibleName(self) → str
actionEvent(self, QActionEvent)
actions(self) → List[QAction]
activateWindow(self)
addAction(self, QAction)
addActions(self, Iterable[QAction])
addScrollBarWidget(self, QWidget, Qt.AlignmentFlag)
adjustSize(self)
alignment(self) → Qt.AlignmentFlag
autoFillBackground(self) → bool
backgroundBrush(self) → QBrush
backgroundRole(self) → QPalette.ColorRole
baseSize(self) → QSize
blockSignals(self, bool) → bool
cacheMode(self) → QGraphicsView.CacheModeFlag
centerOn(self, QPointF)
centerOn(self, QGraphicsItem) → None
GradientSelectorView.centerOn(self, float, float) -> None
changeEvent(self, QEvent)
childAt(self, QPoint) → QWidget
GradientSelectorView.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
cornerWidget(self) → QWidget
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)
dragMode(self) → QGraphicsView.DragMode
dragMoveEvent(self, QDragMoveEvent)
drawBackground(self, QPainter, QRectF)
drawForeground(self, QPainter, QRectF)
drawFrame(self, QPainter)
dropEvent(self, QDropEvent)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) → List[QByteArray]
effectiveWinId(self) → PyQt6.sip.voidptr
ensurePolished(self)
ensureVisible(self, QRectF, xMargin: int = 50, yMargin: int = 50)
ensureVisible(self, QGraphicsItem, xMargin: int = 50, yMargin: int = 50) → None
GradientSelectorView.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
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]
fitInView(self, QRectF, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio)
fitInView(self, QGraphicsItem, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio) → None
GradientSelectorView.fitInView(self, float, float, float, float, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio) -> None
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
foregroundBrush(self) → QBrush
foregroundRole(self) → QPalette.ColorRole
frameGeometry(self) → QRect
frameRect(self) → QRect
frameShadow(self) → QFrame.Shadow
frameShape(self) → QFrame.Shape
frameSize(self) → QSize
frameStyle(self) → int
frameWidth(self) → int
geometry(self) → QRect
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)
horizontalScrollBar(self) → QScrollBar
horizontalScrollBarPolicy(self) → Qt.ScrollBarPolicy
inherits(self, str) → bool
initPainter(self, QPainter)
initStyleOption(self, QStyleOptionFrame)
inputMethodEvent(self, QInputMethodEvent)
inputMethodHints(self) → Qt.InputMethodHint
inputMethodQuery(self, Qt.InputMethodQuery) → Any
GradientSelectorView.insertAction(self, QAction, QAction)
insertActions(self, QAction, Iterable[QAction])
installEventFilter(self, QObject)
invalidateScene(self, rect: QRectF = QRectF(), layers: QGraphicsScene.SceneLayer = QGraphicsScene.AllLayers)
isActiveWindow(self) → bool
isAncestorOf(self, QWidget) → bool
isEnabled(self) → bool
isEnabledTo(self, QWidget) → bool
isFullScreen(self) → bool
isHidden(self) → bool
isInteractive(self) → bool
isLeftToRight(self) → bool
isMaximized(self) → bool
isMinimized(self) → bool
isModal(self) → bool
isRightToLeft(self) → bool
isSignalConnected(self, QMetaMethod) → bool
isTransformed(self) → bool
isVisible(self) → bool
isVisibleTo(self, QWidget) → bool
isWidgetType(self) → bool
isWindow(self) → bool
isWindowModified(self) → bool
isWindowType(self) → bool
itemAt(self, QPoint) → QGraphicsItem
GradientSelectorView.itemAt(self, int, int) -> QGraphicsItem
items(self) → List[QGraphicsItem]
items(self, QPoint) → List[QGraphicsItem]
GradientSelectorView.items(self, int, int) -> List[QGraphicsItem]
GradientSelectorView.items(self, int, int, int, int, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) -> List[QGraphicsItem]
items(self, QRect, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) → List[QGraphicsItem]
items(self, QPolygon, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) → List[QGraphicsItem]
items(self, QPainterPath, mode: Qt.ItemSelectionMode = Qt.IntersectsItemShape) → List[QGraphicsItem]
keyPressEvent(self, QKeyEvent)
keyReleaseEvent(self, QKeyEvent)
keyboardGrabber() → QWidget
killTimer(self, int)
layout(self) → QLayout
layoutDirection(self) → Qt.LayoutDirection
leaveEvent(self, QEvent)
lineWidth(self) → int
locale(self) → QLocale
logicalDpiX(self) → int
logicalDpiY(self) → int
lower(self)
mapFrom(self, QWidget, QPoint) → QPoint
mapFrom(self, QWidget, QPointF) → QPointF
mapFromGlobal(self, QPoint) → QPoint
mapFromGlobal(self, QPointF) → QPointF
mapFromParent(self, QPoint) → QPoint
mapFromParent(self, QPointF) → QPointF
mapFromScene(self, QPointF) → QPoint
mapFromScene(self, QRectF) → QPolygon
mapFromScene(self, QPolygonF) → QPolygon
mapFromScene(self, QPainterPath) → QPainterPath
GradientSelectorView.mapFromScene(self, float, float) -> QPoint
GradientSelectorView.mapFromScene(self, float, float, float, float) -> QPolygon
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
mapToScene(self, QPoint) → QPointF
mapToScene(self, QRect) → QPolygonF
mapToScene(self, QPolygon) → QPolygonF
mapToScene(self, QPainterPath) → QPainterPath
GradientSelectorView.mapToScene(self, int, int) -> QPointF
GradientSelectorView.mapToScene(self, int, int, int, int) -> QPolygonF
mask(self) → QRegion
maximumHeight(self) → int
maximumSize(self) → QSize
maximumViewportSize(self) → QSize
maximumWidth(self) → int
metaObject(self) → QMetaObject
metric(self, QPaintDevice.PaintDeviceMetric) → int
midLineWidth(self) → int
minimumHeight(self) → int
minimumSize(self) → QSize
minimumSizeHint(self) → QSize
minimumWidth(self) → int
mouseDoubleClickEvent(self, QMouseEvent)
mouseGrabber() → QWidget
move(self, QPoint)
GradientSelectorView.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]

optimizationFlags(self) → QGraphicsView.OptimizationFlag
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, QPainter, target: QRectF = QRectF(), source: QRect = QRect(), mode: Qt.AspectRatioMode = Qt.KeepAspectRatio)
renderHints(self) → QPainter.RenderHint
repaint(self)
GradientSelectorView.repaint(self, int, int, int, int) -> None
repaint(self, QRect) → None
repaint(self, QRegion) → None
resetCachedContent(self)
resetTransform(self)
resize(self, QSize)
GradientSelectorView.resize(self, int, int) -> None
resizeAnchor(self) → QGraphicsView.ViewportAnchor
restoreGeometry(self, QByteArray) → bool
rotate(self, float)
rubberBandChanged

rubberBandChanged(self, QRect, QPointF, QPointF) [signal]

rubberBandRect(self) → QRect
rubberBandSelectionMode(self) → Qt.ItemSelectionMode
saveGeometry(self) → QByteArray
GradientSelectorView.scale(self, float, float)
scene(self) → QGraphicsScene
sceneRect(self) → QRectF
screen(self) → QScreen
GradientSelectorView.scroll(self, int, int)
GradientSelectorView.scroll(self, int, int, QRect) -> None
scrollBarWidgets(self, Qt.AlignmentFlag) → List[QWidget]
GradientSelectorView.scrollContentsBy(self, int, int)
sender(self) → QObject
senderSignalIndex(self) → int
setAcceptDrops(self, bool)
setAccessibleDescription(self, str)
setAccessibleName(self, str)
setAlignment(self, Qt.AlignmentFlag)
setAttribute(self, Qt.WidgetAttribute, on: bool = True)
setAutoFillBackground(self, bool)
setBackgroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])
setBackgroundRole(self, QPalette.ColorRole)
GradientSelectorView.setBaseSize(self, int, int)
setBaseSize(self, QSize) → None
setCacheMode(self, QGraphicsView.CacheModeFlag)
GradientSelectorView.setContentsMargins(self, int, int, int, int)
setContentsMargins(self, QMargins) → None
setContextMenuPolicy(self, Qt.ContextMenuPolicy)
setCornerWidget(self, QWidget)
setCursor(self, Union[QCursor, Qt.CursorShape])
setDisabled(self, bool)
setDragMode(self, QGraphicsView.DragMode)
setEnabled(self, bool)
setFixedHeight(self, int)
setFixedSize(self, QSize)
GradientSelectorView.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)
setForegroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, int, QGradient])
setForegroundRole(self, QPalette.ColorRole)
setFrameRect(self, QRect)
setFrameShadow(self, QFrame.Shadow)
setFrameShape(self, QFrame.Shape)
setFrameStyle(self, int)
setGeometry(self, QRect)
GradientSelectorView.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setHorizontalScrollBar(self, QScrollBar)
setHorizontalScrollBarPolicy(self, Qt.ScrollBarPolicy)
setInputMethodHints(self, Qt.InputMethodHint)
setInteractive(self, bool)
setLayout(self, QLayout)
setLayoutDirection(self, Qt.LayoutDirection)
setLineWidth(self, int)
setLocale(self, QLocale)
setMask(self, QBitmap)
setMask(self, QRegion) → None
setMaximumHeight(self, int)
GradientSelectorView.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) → None
setMaximumWidth(self, int)
setMidLineWidth(self, int)
setMinimumHeight(self, int)
GradientSelectorView.setMinimumSize(self, int, int)
setMinimumSize(self, QSize) → None
setMinimumWidth(self, int)
setMouseTracking(self, bool)
setObjectName(self, str)
setOptimizationFlag(self, QGraphicsView.OptimizationFlag, enabled: bool = True)
setOptimizationFlags(self, QGraphicsView.OptimizationFlag)
setPalette(self, QPalette)
setParent(self, QWidget)
setParent(self, QWidget, Qt.WindowType) → None
setProperty(self, str, Any) → bool
setRenderHint(self, QPainter.RenderHint, on: bool = True)
setRenderHints(self, QPainter.RenderHint)
setResizeAnchor(self, QGraphicsView.ViewportAnchor)
setRubberBandSelectionMode(self, Qt.ItemSelectionMode)
setScene(self, QGraphicsScene)
setSceneRect(self, QRectF)
GradientSelectorView.setSceneRect(self, float, float, float, float) -> None
setScreen(self, QScreen)
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
setSizeAdjustPolicy(self, QAbstractScrollArea.SizeAdjustPolicy)
GradientSelectorView.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)
GradientSelectorView.setTabOrder(QWidget, QWidget)
setTabletTracking(self, bool)
setToolTip(self, str)
setToolTipDuration(self, int)
setTransform(self, QTransform, combine: bool = False)
setTransformationAnchor(self, QGraphicsView.ViewportAnchor)
setUpdatesEnabled(self, bool)
setVerticalScrollBar(self, QScrollBar)
setVerticalScrollBarPolicy(self, Qt.ScrollBarPolicy)
setViewport(self, QWidget)
GradientSelectorView.setViewportMargins(self, int, int, int, int)
setViewportMargins(self, QMargins) → None
setViewportUpdateMode(self, QGraphicsView.ViewportUpdateMode)
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)
setupViewport(self, QWidget)
sharedPainter(self) → QPainter
GradientSelectorView.shear(self, float, float)
show(self)
showEvent(self, QShowEvent)
showFullScreen(self)
showMaximized(self)
showMinimized(self)
showNormal(self)
signalsBlocked(self) → bool
size(self) → QSize
sizeAdjustPolicy(self) → QAbstractScrollArea.SizeAdjustPolicy
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
transform(self) → QTransform
transformationAnchor(self) → QGraphicsView.ViewportAnchor
GradientSelectorView.translate(self, float, float)
underMouse(self) → bool
ungrabGesture(self, Qt.GestureType)
unsetCursor(self)
unsetLayoutDirection(self)
unsetLocale(self)
update(self)
update(self, QRect) → None
update(self, QRegion) → None
GradientSelectorView.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self, query: Qt.InputMethodQuery = Qt.ImQueryAll)
updateScene(self, Iterable[QRectF])
updateSceneRect(self, QRectF)
updatesEnabled(self) → bool
verticalScrollBar(self) → QScrollBar
verticalScrollBarPolicy(self) → Qt.ScrollBarPolicy
viewport(self) → QWidget
viewportEvent(self, QEvent) → bool
viewportMargins(self) → QMargins
viewportSizeHint(self) → QSize
viewportTransform(self) → QTransform
viewportUpdateMode(self) → QGraphicsView.ViewportUpdateMode
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
class schrodinger.application.dendrogram.gradientSelector.GradientSelector(view)

Bases: PyQt6.QtWidgets.QGraphicsItem

__init__(view)
setLimits(minim, maxim)
setValues(values)
mousePressEvent(self, QGraphicsSceneMouseEvent)
mouseReleaseEvent(self, QGraphicsSceneMouseEvent)
addColor(color)
removeColor(color)
colorAt(x)
recalculateGradient()
getGradient()
paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)
boundingRect(self) → QRectF
class CacheMode(value)

Bases: enum.Enum

An enumeration.

NoCache = 0
ItemCoordinateCache = 1
DeviceCoordinateCache = 2
DeviceCoordinateCache = 2
class GraphicsItemChange(value)

Bases: enum.Enum

An 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.Flag

An 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.Enum

An 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)
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)
GradientSelector.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
GradientSelector.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
GradientSelector.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
GradientSelector.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
mapFromParent(self, QPointF) → QPointF
mapFromParent(self, QRectF) → QPolygonF
mapFromParent(self, QPolygonF) → QPolygonF
mapFromParent(self, QPainterPath) → QPainterPath
GradientSelector.mapFromParent(self, float, float) -> QPointF
GradientSelector.mapFromParent(self, float, float, float, float) -> QPolygonF
mapFromScene(self, QPointF) → QPointF
mapFromScene(self, QRectF) → QPolygonF
mapFromScene(self, QPolygonF) → QPolygonF
mapFromScene(self, QPainterPath) → QPainterPath
GradientSelector.mapFromScene(self, float, float) -> QPointF
GradientSelector.mapFromScene(self, float, float, float, float) -> QPolygonF
mapRectFromItem(self, QGraphicsItem, QRectF) → QRectF
GradientSelector.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
mapRectFromParent(self, QRectF) → QRectF
GradientSelector.mapRectFromParent(self, float, float, float, float) -> QRectF
mapRectFromScene(self, QRectF) → QRectF
GradientSelector.mapRectFromScene(self, float, float, float, float) -> QRectF
mapRectToItem(self, QGraphicsItem, QRectF) → QRectF
GradientSelector.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
mapRectToParent(self, QRectF) → QRectF
GradientSelector.mapRectToParent(self, float, float, float, float) -> QRectF
mapRectToScene(self, QRectF) → QRectF
GradientSelector.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
GradientSelector.mapToItem(self, QGraphicsItem, float, float) -> QPointF
GradientSelector.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
mapToParent(self, QPointF) → QPointF
mapToParent(self, QRectF) → QPolygonF
mapToParent(self, QPolygonF) → QPolygonF
mapToParent(self, QPainterPath) → QPainterPath
GradientSelector.mapToParent(self, float, float) -> QPointF
GradientSelector.mapToParent(self, float, float, float, float) -> QPolygonF
mapToScene(self, QPointF) → QPointF
mapToScene(self, QRectF) → QPolygonF
mapToScene(self, QPolygonF) → QPolygonF
mapToScene(self, QPainterPath) → QPainterPath
GradientSelector.mapToScene(self, float, float) -> QPointF
GradientSelector.mapToScene(self, float, float, float, float) -> QPolygonF
mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)
mouseMoveEvent(self, QGraphicsSceneMouseEvent)
GradientSelector.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
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
GradientSelector.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)
setOpacity(self, float)
setPanelModality(self, QGraphicsItem.PanelModality)
setParentItem(self, QGraphicsItem)
setPos(self, QPointF)
GradientSelector.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)
GradientSelector.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())
GradientSelector.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.application.dendrogram.gradientSelector.ColorSelector(x, color, parent)

Bases: PyQt6.QtWidgets.QGraphicsItem

__init__(x, color, parent)
moveTo(x)
getColor()
setColor(color)
getX()
paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)
boundingRect(self) → QRectF
class CacheMode(value)

Bases: enum.Enum

An enumeration.

NoCache = 0
ItemCoordinateCache = 1
DeviceCoordinateCache = 2
DeviceCoordinateCache = 2
class GraphicsItemChange(value)

Bases: enum.Enum

An 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.Flag

An 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.Enum

An 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)
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)
ColorSelector.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
ColorSelector.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
ColorSelector.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
ColorSelector.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
mapFromParent(self, QPointF) → QPointF
mapFromParent(self, QRectF) → QPolygonF
mapFromParent(self, QPolygonF) → QPolygonF
mapFromParent(self, QPainterPath) → QPainterPath
ColorSelector.mapFromParent(self, float, float) -> QPointF
ColorSelector.mapFromParent(self, float, float, float, float) -> QPolygonF
mapFromScene(self, QPointF) → QPointF
mapFromScene(self, QRectF) → QPolygonF
mapFromScene(self, QPolygonF) → QPolygonF
mapFromScene(self, QPainterPath) → QPainterPath
ColorSelector.mapFromScene(self, float, float) -> QPointF
ColorSelector.mapFromScene(self, float, float, float, float) -> QPolygonF
mapRectFromItem(self, QGraphicsItem, QRectF) → QRectF
ColorSelector.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
mapRectFromParent(self, QRectF) → QRectF
ColorSelector.mapRectFromParent(self, float, float, float, float) -> QRectF
mapRectFromScene(self, QRectF) → QRectF
ColorSelector.mapRectFromScene(self, float, float, float, float) -> QRectF
mapRectToItem(self, QGraphicsItem, QRectF) → QRectF
ColorSelector.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
mapRectToParent(self, QRectF) → QRectF
ColorSelector.mapRectToParent(self, float, float, float, float) -> QRectF
mapRectToScene(self, QRectF) → QRectF
ColorSelector.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
ColorSelector.mapToItem(self, QGraphicsItem, float, float) -> QPointF
ColorSelector.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
mapToParent(self, QPointF) → QPointF
mapToParent(self, QRectF) → QPolygonF
mapToParent(self, QPolygonF) → QPolygonF
mapToParent(self, QPainterPath) → QPainterPath
ColorSelector.mapToParent(self, float, float) -> QPointF
ColorSelector.mapToParent(self, float, float, float, float) -> QPolygonF
mapToScene(self, QPointF) → QPointF
mapToScene(self, QRectF) → QPolygonF
mapToScene(self, QPolygonF) → QPolygonF
mapToScene(self, QPainterPath) → QPainterPath
ColorSelector.mapToScene(self, float, float) -> QPointF
ColorSelector.mapToScene(self, float, float, float, float) -> QPolygonF
mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)
mouseMoveEvent(self, QGraphicsSceneMouseEvent)
mousePressEvent(self, QGraphicsSceneMouseEvent)
mouseReleaseEvent(self, QGraphicsSceneMouseEvent)
ColorSelector.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
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
ColorSelector.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)
setOpacity(self, float)
setPanelModality(self, QGraphicsItem.PanelModality)
setParentItem(self, QGraphicsItem)
setPos(self, QPointF)
ColorSelector.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)
ColorSelector.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())
ColorSelector.update(self, float, float, float, float) -> None
updateMicroFocus(self)
wheelEvent(self, QGraphicsSceneWheelEvent)
window(self) → QGraphicsWidget
x(self) → float
y(self) → float
zValue(self) → float