schrodinger.trajectory.trajectory_gui_dir.plots module

File containing plot related code used in the Trajectory Plots GUI

class schrodinger.trajectory.trajectory_gui_dir.plots.TrajectoryPlotType(value)[source]

Bases: enum.Enum

Enum of plot types to generate

MEASUREMENT_WORKSPACE = 1
MEASUREMENT_ADD = 2
MEASUREMENT_PLANAR_ANGLE = 3
MEASUREMENT_CENTROID = 4
INTERACTIONS_ALL = 5
INTERACTIONS_HYDROGEN_BONDS = 6
INTERACTIONS_HALOGEN_BONDS = 7
INTERACTIONS_SALT_BRIDGE = 8
INTERACTIONS_PI_PI = 9
INTERACTIONS_CAT_PI = 10
DESCRIPTORS_RMSD = 11
DESCRIPTORS_ATOM_RMSF = 12
DESCRIPTORS_RES_RMSF = 13
DESCRIPTORS_RADIUS_GYRATION = 14
DESCRIPTORS_PSA = 15
DESCRIPTORS_SASA = 16
DESCRIPTORS_MOLECULAR_SA = 17
ENERGY_ALL_GROUPED = 18
ENERGY_ALL_INDIVIDUAL = 19
ENERGY_INDIVIDUAL_MOLECULES = 20
ENERGY_CUSTOM_SUBSTRUCTURE_SETS = 21
ENERGY_CUSTOM_ASL_SETS = 22
class schrodinger.trajectory.trajectory_gui_dir.plots.PlotDataType(value)

Bases: enum.Enum

An enumeration.

RMSF = 1
TRAJECTORY = 2
ENERGY = 3
schrodinger.trajectory.trajectory_gui_dir.plots.handle_chart_legend(chart, is_multiseries_interactions)[source]

Sets the chart legend depending on the type of the chart

Parameters
  • chart (QtCharts.QChart) – Chart containing legend

  • is_multiseries_interactions (bool) – is this a multiseries interaction plot

class schrodinger.trajectory.trajectory_gui_dir.plots.AbstractTrajectoryChartView(*args, **kwargs)[source]

Bases: PyQt5.QtChart.QChartView

QChartView subclass shared by all trajectory plots.

plotClicked
__init__(*args, **kwargs)[source]
mousePressEvent(self, QMouseEvent)[source]
mouseReleaseEvent(event)[source]

Find the frame that the user’s left click selected. Display selection used in the task input.

AdjustIgnored = 0
AdjustToContents = 2
AdjustToContentsOnFirstShow = 1
AnchorUnderMouse = 2
AnchorViewCenter = 1
BoundingRectViewportUpdate = 4
Box = 1
CacheBackground = 1
class CacheMode
class CacheMode(Union[QGraphicsView.CacheMode, QGraphicsView.CacheModeFlag]) None
class CacheMode(QGraphicsView.CacheMode) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
class CacheModeFlag

Bases: int

CacheNone = 0
DontAdjustForAntialiasing = 4
DontClipPainter = 1
DontSavePainterState = 2
class DragMode

Bases: int

DrawChildren = 2
DrawWindowBackground = 1
FullViewportUpdate = 0
HLine = 4
HorizontalRubberBand = 2
IgnoreMask = 4
MinimalViewportUpdate = 1
NoAnchor = 0
NoDrag = 0
NoFrame = 0
NoRubberBand = 0
NoViewportUpdate = 3
class OptimizationFlag

Bases: int

class OptimizationFlags
class OptimizationFlags(Union[QGraphicsView.OptimizationFlags, QGraphicsView.OptimizationFlag]) None
class OptimizationFlags(QGraphicsView.OptimizationFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
class PaintDeviceMetric

Bases: int

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
RectangleRubberBand = 3
class RenderFlag

Bases: int

class RenderFlags
class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
class RenderFlags(QWidget.RenderFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
class RubberBand

Bases: int

RubberBandDrag = 2
class RubberBands
class RubberBands(Union[QChartView.RubberBands, QChartView.RubberBand]) None
class RubberBands(QChartView.RubberBands) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
ScrollHandDrag = 1
class Shadow

Bases: int

Shadow_Mask = 240
class Shape

Bases: int

Shape_Mask = 15
class SizeAdjustPolicy

Bases: int

SmartViewportUpdate = 2
class StyleMask

Bases: int

StyledPanel = 6
Sunken = 48
VLine = 5
VerticalRubberBand = 1
class ViewportAnchor

Bases: int

class ViewportUpdateMode

Bases: int

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, Union[Qt.Alignment, Qt.AlignmentFlag])
adjustSize(self)
alignment(self) Qt.Alignment
autoFillBackground(self) bool
backgroundBrush(self) QBrush
backgroundRole(self) QPalette.ColorRole
baseSize(self) QSize
blockSignals(self, bool) bool
cacheMode(self) QGraphicsView.CacheMode
centerOn(self, Union[QPointF, QPoint])
centerOn(self, QGraphicsItem) None
AbstractTrajectoryChartView.centerOn(self, float, float) -> None
changeEvent(self, QEvent)
chart(self) QChart
childAt(self, QPoint) QWidget
AbstractTrajectoryChartView.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: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) 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) int
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) PyQt5.sip.voidptr
ensurePolished(self)
ensureVisible(self, QRectF, xMargin: int = 50, yMargin: int = 50)
ensureVisible(self, QGraphicsItem, xMargin: int = 50, yMargin: int = 50) None
AbstractTrajectoryChartView.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
enterEvent(self, QEvent)
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
find(PyQt5.sip.voidptr) QWidget
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
fitInView(self, QRectF, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio)
fitInView(self, QGraphicsItem, mode: Qt.AspectRatioMode = Qt.IgnoreAspectRatio) None
AbstractTrajectoryChartView.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
getContentsMargins(self) Tuple[int, int, int, int]
grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap
grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, 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.InputMethodHints
inputMethodQuery(self, Qt.InputMethodQuery) Any
AbstractTrajectoryChartView.insertAction(self, QAction, QAction)
insertActions(self, QAction, Iterable[QAction])
installEventFilter(self, QObject)
invalidateScene(self, rect: QRectF = QRectF(), layers: Union[QGraphicsScene.SceneLayers, 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
AbstractTrajectoryChartView.itemAt(self, int, int) -> QGraphicsItem
items(self) List[QGraphicsItem]
items(self, QPoint) List[QGraphicsItem]
AbstractTrajectoryChartView.items(self, int, int) -> List[QGraphicsItem]
AbstractTrajectoryChartView.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
mapFromGlobal(self, QPoint) QPoint
mapFromParent(self, QPoint) QPoint
mapFromScene(self, Union[QPointF, QPoint]) QPoint
mapFromScene(self, QRectF) QPolygon
mapFromScene(self, QPolygonF) QPolygon
mapFromScene(self, QPainterPath) QPainterPath
AbstractTrajectoryChartView.mapFromScene(self, float, float) -> QPoint
AbstractTrajectoryChartView.mapFromScene(self, float, float, float, float) -> QPolygon
mapTo(self, QWidget, QPoint) QPoint
mapToGlobal(self, QPoint) QPoint
mapToParent(self, QPoint) QPoint
mapToScene(self, QPoint) QPointF
mapToScene(self, QRect) QPolygonF
mapToScene(self, QPolygon) QPolygonF
mapToScene(self, QPainterPath) QPainterPath
AbstractTrajectoryChartView.mapToScene(self, int, int) -> QPointF
AbstractTrajectoryChartView.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
mouseMoveEvent(self, QMouseEvent)
move(self, QPoint)
AbstractTrajectoryChartView.move(self, int, int) -> None
moveEvent(self, QMoveEvent)
moveToThread(self, QThread)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int]
nativeParentWidget(self) QWidget
nextInFocusChain(self) QWidget
normalGeometry(self) QRect
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

optimizationFlags(self) QGraphicsView.OptimizationFlags
overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
overrideWindowState(self, Union[Qt.WindowStates, 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.RenderHints
repaint(self)
AbstractTrajectoryChartView.repaint(self, int, int, int, int) -> None
repaint(self, QRect) None
repaint(self, QRegion) None
resetCachedContent(self)
resetTransform(self)
resize(self, QSize)
AbstractTrajectoryChartView.resize(self, int, int) -> None
resizeAnchor(self) QGraphicsView.ViewportAnchor
resizeEvent(self, QResizeEvent)
restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool
rotate(self, float)
rubberBand(self) QChartView.RubberBands
rubberBandChanged

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

rubberBandRect(self) QRect
rubberBandSelectionMode(self) Qt.ItemSelectionMode
saveGeometry(self) QByteArray
AbstractTrajectoryChartView.scale(self, float, float)
scene(self) QGraphicsScene
sceneRect(self) QRectF
AbstractTrajectoryChartView.scroll(self, int, int)
AbstractTrajectoryChartView.scroll(self, int, int, QRect) -> None
scrollBarWidgets(self, Union[Qt.Alignment, Qt.AlignmentFlag]) List[QWidget]
AbstractTrajectoryChartView.scrollContentsBy(self, int, int)
sender(self) QObject
senderSignalIndex(self) int
setAcceptDrops(self, bool)
setAccessibleDescription(self, str)
setAccessibleName(self, str)
setAlignment(self, Union[Qt.Alignment, Qt.AlignmentFlag])
setAttribute(self, Qt.WidgetAttribute, on: bool = True)
setAutoFillBackground(self, bool)
setBackgroundBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setBackgroundRole(self, QPalette.ColorRole)
AbstractTrajectoryChartView.setBaseSize(self, int, int)
setBaseSize(self, QSize) None
setCacheMode(self, Union[QGraphicsView.CacheMode, QGraphicsView.CacheModeFlag])
setChart(self, QChart)
AbstractTrajectoryChartView.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)
AbstractTrajectoryChartView.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, QGradient])
setForegroundRole(self, QPalette.ColorRole)
setFrameRect(self, QRect)
setFrameShadow(self, QFrame.Shadow)
setFrameShape(self, QFrame.Shape)
setFrameStyle(self, int)
setGeometry(self, QRect)
AbstractTrajectoryChartView.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setHorizontalScrollBar(self, QScrollBar)
setHorizontalScrollBarPolicy(self, Qt.ScrollBarPolicy)
setInputMethodHints(self, Union[Qt.InputMethodHints, 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)
AbstractTrajectoryChartView.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) None
setMaximumWidth(self, int)
setMidLineWidth(self, int)
setMinimumHeight(self, int)
AbstractTrajectoryChartView.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, Union[QGraphicsView.OptimizationFlags, QGraphicsView.OptimizationFlag])
setPalette(self, QPalette)
setParent(self, QWidget)
setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
setProperty(self, str, Any) bool
setRenderHint(self, QPainter.RenderHint, on: bool = True)
setRenderHints(self, Union[QPainter.RenderHints, QPainter.RenderHint])
setResizeAnchor(self, QGraphicsView.ViewportAnchor)
setRubberBand(self, Union[QChartView.RubberBands, QChartView.RubberBand])
setRubberBandSelectionMode(self, Qt.ItemSelectionMode)
setScene(self, QGraphicsScene)
setSceneRect(self, QRectF)
AbstractTrajectoryChartView.setSceneRect(self, float, float, float, float) -> None
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
setSizeAdjustPolicy(self, QAbstractScrollArea.SizeAdjustPolicy)
AbstractTrajectoryChartView.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)
AbstractTrajectoryChartView.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)
AbstractTrajectoryChartView.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, Union[Qt.WindowFlags, Qt.WindowType])
setWindowIcon(self, QIcon)
setWindowIconText(self, str)
setWindowModality(self, Qt.WindowModality)
setWindowModified(self, bool)
setWindowOpacity(self, float)
setWindowRole(self, str)
setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
setWindowTitle(self, str)
setupViewport(self, QWidget)
sharedPainter(self) QPainter
AbstractTrajectoryChartView.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 = <PyQt5.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(self, str, disambiguation: str = None, n: int = - 1) str
transform(self) QTransform
transformationAnchor(self) QGraphicsView.ViewportAnchor
AbstractTrajectoryChartView.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
AbstractTrajectoryChartView.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self)
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) PyQt5.sip.voidptr
window(self) QWidget
windowFilePath(self) str
windowFlags(self) Qt.WindowFlags
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.WindowStates
windowTitle(self) str
windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self) Qt.WindowType
x(self) int
y(self) int
class schrodinger.trajectory.trajectory_gui_dir.plots.AbstractTrajectoryPlotManager(panel)[source]

Bases: PyQt5.QtCore.QObject

Base class for storing plot data for trajectory analysis data. Also holds a reference to the chart view.

Note that we cannot simply use QtCharts.QLineSeries.clicked for this because it does not appear to trigger on OS X.

Variables
  • displayAsl – Display the asl for the corresponding entry id Signal. args are (asl, entry_id)

  • displayFrameAndAsl – Change frame and show ASL for given entry id Signal args are (asl, entry_id, frame_number)

  • newDataAvailable – Emitted when plot has finished generating data.

  • showWarning – Emitted when plot requests parent panel to show a warning message.

deletePlot
displayAsl
displayFrameAndAsl
newDataAvailable
showWarning
PANEL_CLASS = None
__init__(panel)[source]
configureTask(task)[source]

Configure the specified task by assigning it the analysis mode, and assigning inputs based on the currently selected trajectory. Task’s taskDone signal is connected to self._onTaskEnded().

setupView(fixed_height=250, multi_series=False)[source]
start()[source]
createPanel()[source]

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

getPlotTitle()[source]
createCollapsiblePlotWidget()[source]
isRunning()[source]

Return True if the plot is still generating data.

chart()[source]
onPlotClicked(value)[source]
getPlotType()[source]

Returns what type of plot this class uses; used for grouping export data.

getDataForExport()[source]

Return a list of row data to export to CSV or Excel. Subclasses must override.

Returns

Data to be exported

Return type

list(list)

getInitialPlotTitleAndTooltip()[source]

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

getSettingsHash()[source]
generateSettingsHash(settings_list)[source]

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getExportData()[source]

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

exportToCSV()[source]

Export plot data to a CSV file

exportToExcel()[source]

Export data to an .xls file

saveImage()[source]

Save a .png file of the plot

showContextMenu()[source]
loadFromTask(task)[source]

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

formatPlotAxes()[source]

Formats axes tick numbers and spacing depending on result data.

blockSignals(self, bool) bool
childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
inherits(self, str) bool
installEventFilter(self, QObject)
isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
metaObject(self) QMetaObject
moveToThread(self, QThread)
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

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)
sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.TrajectoryAnalysisPlotManager(panel)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.AbstractTrajectoryPlotManager

Chart class used for graphs with an x-axis of frames

getPlotTitle()[source]
getPlotType()[source]

Returns what type of plot this class uses; used for grouping export data. For TRAJECTORY grouping, each plot’s data is added as a column in the same Excel sheet.

getDataForExport()[source]

Return a list of row data to export to CSV or Excel.

Returns

Data to be exported

Return type

list(list)

PANEL_CLASS = None
__init__(panel)
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
configureTask(task)

Configure the specified task by assigning it the analysis mode, and assigning inputs based on the currently selected trajectory. Task’s taskDone signal is connected to self._onTaskEnded().

connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getExportData()

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

getInitialPlotTitleAndTooltip()

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

getSettingsHash()
inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loadFromTask(task)

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.WorkspaceMeasurementPlotManager(panel, mode, measurement, centroid_asls)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.TrajectoryAnalysisPlotManager

__init__(panel, mode, measurement, centroid_asls)[source]
Parameters
  • panel (QtWidget.QWidget) – Parent panel

  • mode (AnalysisMode) – Analysis mode

  • measurement (tuple) – Tuple defining the measurement from MaestroHub

  • centroid_asls (list(str)) – List of ASLs for atoms involved in measurement.

configureTask(task, mode, measurement, centroid_asls)[source]
Parameters
  • task (traj_plot_models.TrajectoryAnalysisTask) – Task to configure.

  • mode (AnalysisMode) – Analysis mode

  • measurement (tuple) – Tuple defining the measurement from MaestroHub

  • centroid_asls (list(str)) – List of ASLs for atoms involved in measurement.

getInitialPlotTitleAndTooltip()[source]

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

getSettingsHash()[source]
PANEL_CLASS = None
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getDataForExport()

Return a list of row data to export to CSV or Excel.

Returns

Data to be exported

Return type

list(list)

getExportData()

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

getPlotTitle()
getPlotType()

Returns what type of plot this class uses; used for grouping export data. For TRAJECTORY grouping, each plot’s data is added as a column in the same Excel sheet.

inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loadFromTask(task)

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.CentroidDistancePlotManager(panel, atom_sets)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.TrajectoryAnalysisPlotManager

__init__(panel, atom_sets)[source]

Create a plot for measuring distance between centroids of atom groups. :param atom_sets: List of tuples of atom IDs, per atom set. :type atom_sets: list(tuple(int)) NOTE: Disabled as of PANEL-20518

configureTask(task, atom_sets)[source]

Configure the plot task.

Parameters

atom_sets (list(tuple(int))) – List of tuples of atom IDs, per atom set.

getInitialPlotTitleAndTooltip()[source]

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

PANEL_CLASS = None
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getDataForExport()

Return a list of row data to export to CSV or Excel.

Returns

Data to be exported

Return type

list(list)

getExportData()

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

getPlotTitle()
getPlotType()

Returns what type of plot this class uses; used for grouping export data. For TRAJECTORY grouping, each plot’s data is added as a column in the same Excel sheet.

getSettingsHash()
inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loadFromTask(task)

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.AslPlotManager(panel, analysis_mode, asl, anums)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.TrajectoryAnalysisPlotManager

__init__(panel, analysis_mode, asl, anums)[source]
configureTask(task, analysis_mode, asl, anums)[source]

Configure the specified task by assigning it the analysis mode, and assigning inputs based on the currently selected trajectory. Task’s taskDone signal is connected to self._onTaskEnded().

getInitialPlotTitleAndTooltip()[source]

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

PANEL_CLASS = None
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getDataForExport()

Return a list of row data to export to CSV or Excel.

Returns

Data to be exported

Return type

list(list)

getExportData()

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

getPlotTitle()
getPlotType()

Returns what type of plot this class uses; used for grouping export data. For TRAJECTORY grouping, each plot’s data is added as a column in the same Excel sheet.

getSettingsHash()
inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loadFromTask(task)

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.AbstractAdvancedTrajectoryPlotManager(panel)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.AbstractTrajectoryPlotManager

Plot Manager for Advanced Plots (RMSF, Energy). These plots are stored as shortcuts at the bottom of the panel.

createShortcutWidget(plot_panel)[source]

Create and store reference to a shortcut widget for a given Advanced Plot

Parameters

plot_panel (BaseAdvancedPlotPanel) – Plot panel that shortcut will launch

Returns

Shortcut for the Advanced Plot

Return type

AdvancedPlotShortcut

PANEL_CLASS = None
__init__(panel)
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
configureTask(task)

Configure the specified task by assigning it the analysis mode, and assigning inputs based on the currently selected trajectory. Task’s taskDone signal is connected to self._onTaskEnded().

connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getDataForExport()

Return a list of row data to export to CSV or Excel. Subclasses must override.

Returns

Data to be exported

Return type

list(list)

getExportData()

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

getInitialPlotTitleAndTooltip()

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

getPlotTitle()
getPlotType()

Returns what type of plot this class uses; used for grouping export data.

getSettingsHash()
inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loadFromTask(task)

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.Callout(chart, series, pos, text_list)[source]

Bases: PyQt5.QtWidgets.QGraphicsItem

A callout is a rounded rectangle that displays values for a point on a QChart

__init__(chart, series, pos, text_list)[source]
pos(self) QPointF
paint(self, QPainter, QStyleOptionGraphicsItem, widget: QWidget = None)[source]
generateBoundingRect()[source]

Creates a bounding rect based on text length/height and chart position

boundingRect(self) QRectF[source]
class CacheMode

Bases: int

DeviceCoordinateCache = 2
class GraphicsItemChange

Bases: int

class GraphicsItemFlag

Bases: int

class GraphicsItemFlags
class GraphicsItemFlags(Union[QGraphicsItem.GraphicsItemFlags, QGraphicsItem.GraphicsItemFlag]) None
class GraphicsItemFlags(QGraphicsItem.GraphicsItemFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
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
ItemMatrixChange = 1
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

Bases: int

SceneModal = 2
Type = 1
UserType = 65536
acceptDrops(self) bool
acceptHoverEvents(self) bool
acceptTouchEvents(self) bool
acceptedMouseButtons(self) Qt.MouseButtons
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, Union[QPointF, QPoint]) 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)
Callout.ensureVisible(self, float, float, float, float, xMargin: int = 50, yMargin: int = 50) -> None
filtersChildEvents(self) bool
flags(self) QGraphicsItem.GraphicsItemFlags
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.InputMethodHints
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
Callout.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, Union[QPointF, QPoint]) QPointF
mapFromItem(self, QGraphicsItem, QRectF) QPolygonF
mapFromItem(self, QGraphicsItem, QPolygonF) QPolygonF
mapFromItem(self, QGraphicsItem, QPainterPath) QPainterPath
Callout.mapFromItem(self, QGraphicsItem, float, float) -> QPointF
Callout.mapFromItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
mapFromParent(self, Union[QPointF, QPoint]) QPointF
mapFromParent(self, QRectF) QPolygonF
mapFromParent(self, QPolygonF) QPolygonF
mapFromParent(self, QPainterPath) QPainterPath
Callout.mapFromParent(self, float, float) -> QPointF
Callout.mapFromParent(self, float, float, float, float) -> QPolygonF
mapFromScene(self, Union[QPointF, QPoint]) QPointF
mapFromScene(self, QRectF) QPolygonF
mapFromScene(self, QPolygonF) QPolygonF
mapFromScene(self, QPainterPath) QPainterPath
Callout.mapFromScene(self, float, float) -> QPointF
Callout.mapFromScene(self, float, float, float, float) -> QPolygonF
mapRectFromItem(self, QGraphicsItem, QRectF) QRectF
Callout.mapRectFromItem(self, QGraphicsItem, float, float, float, float) -> QRectF
mapRectFromParent(self, QRectF) QRectF
Callout.mapRectFromParent(self, float, float, float, float) -> QRectF
mapRectFromScene(self, QRectF) QRectF
Callout.mapRectFromScene(self, float, float, float, float) -> QRectF
mapRectToItem(self, QGraphicsItem, QRectF) QRectF
Callout.mapRectToItem(self, QGraphicsItem, float, float, float, float) -> QRectF
mapRectToParent(self, QRectF) QRectF
Callout.mapRectToParent(self, float, float, float, float) -> QRectF
mapRectToScene(self, QRectF) QRectF
Callout.mapRectToScene(self, float, float, float, float) -> QRectF
mapToItem(self, QGraphicsItem, Union[QPointF, QPoint]) QPointF
mapToItem(self, QGraphicsItem, QRectF) QPolygonF
mapToItem(self, QGraphicsItem, QPolygonF) QPolygonF
mapToItem(self, QGraphicsItem, QPainterPath) QPainterPath
Callout.mapToItem(self, QGraphicsItem, float, float) -> QPointF
Callout.mapToItem(self, QGraphicsItem, float, float, float, float) -> QPolygonF
mapToParent(self, Union[QPointF, QPoint]) QPointF
mapToParent(self, QRectF) QPolygonF
mapToParent(self, QPolygonF) QPolygonF
mapToParent(self, QPainterPath) QPainterPath
Callout.mapToParent(self, float, float) -> QPointF
Callout.mapToParent(self, float, float, float, float) -> QPolygonF
mapToScene(self, Union[QPointF, QPoint]) QPointF
mapToScene(self, QRectF) QPolygonF
mapToScene(self, QPolygonF) QPolygonF
mapToScene(self, QPainterPath) QPainterPath
Callout.mapToScene(self, float, float) -> QPointF
Callout.mapToScene(self, float, float, float, float) -> QPolygonF
mouseDoubleClickEvent(self, QGraphicsSceneMouseEvent)
mouseMoveEvent(self, QGraphicsSceneMouseEvent)
mousePressEvent(self, QGraphicsSceneMouseEvent)
mouseReleaseEvent(self, QGraphicsSceneMouseEvent)
Callout.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
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
Callout.scroll(self, float, float, rect: QRectF = QRectF())
setAcceptDrops(self, bool)
setAcceptHoverEvents(self, bool)
setAcceptTouchEvents(self, bool)
setAcceptedMouseButtons(self, Union[Qt.MouseButtons, 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, Union[QGraphicsItem.GraphicsItemFlags, QGraphicsItem.GraphicsItemFlag])
setFocus(self, focusReason: Qt.FocusReason = Qt.OtherFocusReason)
setFocusProxy(self, QGraphicsItem)
setGraphicsEffect(self, QGraphicsEffect)
setGroup(self, QGraphicsItemGroup)
setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
setOpacity(self, float)
setPanelModality(self, QGraphicsItem.PanelModality)
setParentItem(self, QGraphicsItem)
setPos(self, Union[QPointF, QPoint])
Callout.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, Union[QPointF, QPoint])
Callout.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())
Callout.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.trajectory.trajectory_gui_dir.plots.CollapsiblePlot(parent=None, system_title='', plot_title='', plot=None, tooltip=None)[source]

Bases: PyQt5.QtWidgets.QWidget

This class defines a collapsible plot. The widget has an area for title text, a ‘collapse’ button and a ‘close’ button.

__init__(parent=None, system_title='', plot_title='', plot=None, tooltip=None)[source]
Parameters
  • system_title (str) – System title for the widget

  • plot_title (str) – Title to set for this title bar

  • plot (AbstractTrajectoryPlotManager) – Plot to set in the collapsible area

  • tooltip (str) – Optional tooltip for the title

onPlotTitleChanged()[source]

For multi-interaction plots, title can change as new tasks are completed; update the title.

getPlotTitle()[source]

Returns plot title.

Returns

plot title

Return type

str

onCollapseButtonClicked()[source]

Collapse or expand the plot depending on its current state.

mousePressEvent(self, QMouseEvent)[source]
DrawChildren = 2
DrawWindowBackground = 1
IgnoreMask = 4
class PaintDeviceMetric

Bases: int

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

Bases: int

class RenderFlags
class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
class RenderFlags(QWidget.RenderFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
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
CollapsiblePlot.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: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) 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) int
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) PyQt5.sip.voidptr
ensurePolished(self)
enterEvent(self, QEvent)
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
find(PyQt5.sip.voidptr) QWidget
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, 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
getContentsMargins(self) Tuple[int, int, int, int]
grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap
grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, 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.InputMethodHints
inputMethodQuery(self, Qt.InputMethodQuery) Any
CollapsiblePlot.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
mapFromGlobal(self, QPoint) QPoint
mapFromParent(self, QPoint) QPoint
mapTo(self, QWidget, QPoint) QPoint
mapToGlobal(self, QPoint) QPoint
mapToParent(self, QPoint) QPoint
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)
mouseReleaseEvent(self, QMouseEvent)
move(self, QPoint)
CollapsiblePlot.move(self, int, int) -> None
moveEvent(self, QMoveEvent)
moveToThread(self, QThread)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int]
nativeParentWidget(self) QWidget
nextInFocusChain(self) QWidget
normalGeometry(self) QRect
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
overrideWindowState(self, Union[Qt.WindowStates, 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: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
repaint(self)
CollapsiblePlot.repaint(self, int, int, int, int) -> None
repaint(self, QRect) None
repaint(self, QRegion) None
resize(self, QSize)
CollapsiblePlot.resize(self, int, int) -> None
resizeEvent(self, QResizeEvent)
restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool
saveGeometry(self) QByteArray
CollapsiblePlot.scroll(self, int, int)
CollapsiblePlot.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)
CollapsiblePlot.setBaseSize(self, int, int)
setBaseSize(self, QSize) None
CollapsiblePlot.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)
CollapsiblePlot.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)
CollapsiblePlot.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
setLayout(self, QLayout)
setLayoutDirection(self, Qt.LayoutDirection)
setLocale(self, QLocale)
setMask(self, QBitmap)
setMask(self, QRegion) None
setMaximumHeight(self, int)
CollapsiblePlot.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) None
setMaximumWidth(self, int)
setMinimumHeight(self, int)
CollapsiblePlot.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, Union[Qt.WindowFlags, Qt.WindowType]) None
setProperty(self, str, Any) bool
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
CollapsiblePlot.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)
CollapsiblePlot.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, Union[Qt.WindowFlags, Qt.WindowType])
setWindowIcon(self, QIcon)
setWindowIconText(self, str)
setWindowModality(self, Qt.WindowModality)
setWindowModified(self, bool)
setWindowOpacity(self, float)
setWindowRole(self, str)
setWindowState(self, Union[Qt.WindowStates, 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 = <PyQt5.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(self, 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
CollapsiblePlot.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self)
updatesEnabled(self) bool
visibleRegion(self) QRegion
whatsThis(self) str
wheelEvent(self, QWheelEvent)
width(self) int
widthMM(self) int
winId(self) PyQt5.sip.voidptr
window(self) QWidget
windowFilePath(self) str
windowFlags(self) Qt.WindowFlags
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.WindowStates
windowTitle(self) str
windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self) Qt.WindowType
x(self) int
y(self) int
class schrodinger.trajectory.trajectory_gui_dir.plots.BaseAdvancedPlotPanel(*args, **kwargs)[source]

Bases: schrodinger.ui.qt.basewidgets.Panel

Base class for plot panels that get opened via shortcuts in the “Advanced Plots” section of the main plots panel.

closeRequested
APPLY_LEGACY_STYLESHEET = True
APPLY_PANELX_STYLESHEET = False
class BtnPos(value)

Bases: enum.IntEnum

An enumeration.

Left = 0
Middle = 1
Right = 2
DrawChildren = 2
DrawWindowBackground = 1
IgnoreMask = 4
PRESETS_FEATURE_FLAG = False
class PaintDeviceMetric

Bases: int

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

Bases: int

class RenderFlags
class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
class RenderFlags(QWidget.RenderFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
SHOW_AS_WINDOW = True
class StdBtn(value)

Bases: enum.IntEnum

An enumeration.

Ok = 0
Cancel = 1
Reset = 2
Help = 3
__init__(*args, **kwargs)
acceptDrops(self) bool
property accepted
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
BaseAdvancedPlotPanel.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(event)

Ensures proper handling of OK, Cancel, and [X] button clicks

colorCount(self) int
connectNotify(self, QMetaMethod)
contentsMargins(self) QMargins
contentsRect(self) QRect
contextMenuEvent(self, QContextMenuEvent)
contextMenuPolicy(self) Qt.ContextMenuPolicy
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget
cursor(self) QCursor
customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

customEvent(self, QEvent)
debug()
defineMappings()

Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:

  1. a basic widget, like QLineEdit or QComboBox

  2. a custom object that inherits MapperMixin or TargetMixin

  3. a TargetSpec instance

  4. a slot

For common widgets, standard signals and getter/setter methods will be used, as defined in mappers._get_default_access_names().

For more fine-grained custom control, instantiate a TargetSpec object, which allows custom setters, getters, and signals to be specified.

Supplying a slot as the first element of the tuple is equivalent to providing TargetSpec(slot=my_slot).

Note that all target slots are triggered on setModel() as well as in response to the specified signal.

The param is an abstract param reference, e.g. MyModel.my_param.

Example:

def defineMappings(self):
    combo = self.style_combo
    return [(self.name_le, MyModel.name),
            (TargetSpec(combo,
                    getter=combo.currentText,
                    setter=combo.setCurrentText), MyModel.style),
            (self.coord_widget, MyModel.coord),
            (self._onASLTextChanged, MyModel.asl_text)]
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) int
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) PyQt5.sip.voidptr
ensurePolished(self)
enterEvent(self, QEvent)
error(*args, **kwargs)

Shows a popup error message box. For parameter documentation see messagebox.MessageBox.

event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
find(PyQt5.sip.voidptr) QWidget
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, 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
forgetMessageBoxResponse(key)

Forgets any previously saved response that was stored via a save_response_key.

Parameters

key – the key for the response to forget

frameGeometry(self) QRect
frameSize(self) QSize
geometry(self) QRect
getContentsMargins(self) Tuple[int, int, int, int]
getModel()
classmethod getPanelInstance(create=True)

Return the singleton instance of this panel, creating one if necessary.

Parameters

create (bool) – Whether to create an instance of the panel if none exists

Returns

instance of this panel.

Return type

PanelMixin

getSignalsAndSlots(model)

Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.

Returns

a list of 2-tuples where each tuple is a signal, slot pair

grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap
grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, 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)
info(*args, **kwargs)

Shows a popup information message box. For parameter documentation see messagebox.MessageBox.

inherits(self, str) bool
initFinalize()

Suggested subclass use: perform any remaining initialization.

initLayOut()

@overrides: widgetmixins.InitMixin

initPainter(self, QPainter)
initSetDefaults()

@overrides: widgetmixins.InitMixin

initSetOptions()

Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).

initSetUp()

Creates widget from ui and stores it ui_widget.

Suggested subclass use: create and initialize subwidgets, and connect signals.

inputMethodEvent(self, QInputMethodEvent)
inputMethodHints(self) Qt.InputMethodHints
inputMethodQuery(self, Qt.InputMethodQuery) Any
BaseAdvancedPlotPanel.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)
makeInitialModel()
mapFrom(self, QWidget, QPoint) QPoint
mapFromGlobal(self, QPoint) QPoint
mapFromParent(self, QPoint) QPoint
mapTo(self, QWidget, QPoint) QPoint
mapToGlobal(self, QPoint) QPoint
mapToParent(self, QPoint) QPoint
mappedParams()

Return a list of the abstract params that are mapped to.

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
property model
model_class = None
mouseDoubleClickEvent(self, QMouseEvent)
mouseGrabber() QWidget
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
move(self, QPoint)
BaseAdvancedPlotPanel.move(self, int, int) -> None
moveEvent(self, QMoveEvent)
moveToThread(self, QThread)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int]
nativeParentWidget(self) QWidget
nextInFocusChain(self) QWidget
normalGeometry(self) QRect
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
paintEngine(self) QPaintEngine
paintEvent(self, QPaintEvent)
paintingActive(self) bool
palette(self) QPalette
classmethod panel(blocking=False, modal=False, finished_callback=None)

Open an instance of this class.

For full argument documentation, see ExecutionMixin.run.

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.

question(*args, **kwargs)

Shows a popup question message box. For parameter documentation see messagebox.QuestionMessageBox.

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: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
repaint(self)
BaseAdvancedPlotPanel.repaint(self, int, int, int, int) -> None
repaint(self, QRect) None
repaint(self, QRegion) None
reportValidation(results)

Present validation messages to the user. This is an implmentation of the ValidationMixin interface and does not need to be called directly.

This method assumes that error and question methods have been defined in the subclass, as in e.g. widget_mixins.MessageBoxMixin.

Parameters

results (validation.ValidationResults) – Set of validation results generated by validate

Returns

if True, there were no validation errors and the user decided to continue despite any warnings. If False, there was at least one validation error or the user decided to abort when faced with a warning.

resetMappedParams()
resize(self, QSize)
BaseAdvancedPlotPanel.resize(self, int, int) -> None
resizeEvent(self, QResizeEvent)
restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool
run(blocking=False, modal=False, finished_callback=None)

Show this widget, while optionally blocking, making the widget window modal, and registering a callback for when the widget is closed again.

Parameters
  • blocking (bool) – if True, block progress in the calling method until the widget is closed again.

  • modal (bool) – if True, open this widget as window modal. Otherwise, open this widget as nonmodal.

  • finished_callback (a callable object) – an object that will be called with no arguments when this widget is closed.

runAllSlots()
runValidation(silent=False, validate_children=True, stop_on_fail=True)

Runs validation and reports the results (unless run silently).

Parameters
  • silent (bool) – run without any reporting (i.e. error messages to the user). This is useful if we want to programmatically test validity. Changes return value of this method from ValidationResults to a boolean.

  • validate_children (bool) – run validation on all child objects. See _validateChildren for documentation on what this entails.

  • stop_on_fail (bool) – stop validation when first failure is encountered

Returns

if silent is False, returns the validation results. If silent is True, returns a boolean generated by reportValidation.

Return type

ValidationResults or bool

saveGeometry(self) QByteArray
BaseAdvancedPlotPanel.scroll(self, int, int)
BaseAdvancedPlotPanel.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)
BaseAdvancedPlotPanel.setBaseSize(self, int, int)
setBaseSize(self, QSize) None
BaseAdvancedPlotPanel.setContentsMargins(self, int, int, int, int)
setContentsMargins(self, QMargins) None
setContextMenuPolicy(self, Qt.ContextMenuPolicy)
setCursor(self, Union[QCursor, Qt.CursorShape])
setDefaults()

@overrides: af2.App

setDisabled(self, bool)
setEnabled(self, bool)
setFixedHeight(self, int)
setFixedSize(self, QSize)
BaseAdvancedPlotPanel.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)
BaseAdvancedPlotPanel.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
setLayout(self, QLayout)
setLayoutDirection(self, Qt.LayoutDirection)
setLocale(self, QLocale)
setMask(self, QBitmap)
setMask(self, QRegion) None
setMaximumHeight(self, int)
BaseAdvancedPlotPanel.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) None
setMaximumWidth(self, int)
setMinimumHeight(self, int)
BaseAdvancedPlotPanel.setMinimumSize(self, int, int)
setMinimumSize(self, QSize) None
setMinimumWidth(self, int)
setModel(model)

Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.

Parameters

model – the model instance or None

setModelWithoutSlots(model)

This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.

setMouseTracking(self, bool)
setObjectName(self, str)
setPalette(self, QPalette)
setParent(self, QWidget)
setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
setProperty(self, str, Any) bool
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
BaseAdvancedPlotPanel.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)
BaseAdvancedPlotPanel.setTabOrder(QWidget, QWidget)
setTabletTracking(self, bool)
setToolTip(self, str)
setToolTipDuration(self, int)
setUpdatesEnabled(self, bool)
setVisible(self, bool)
setWhatsThis(self, str)
setWidgetLayout()

Set the widget layout

setWindowFilePath(self, str)
setWindowFlag(self, Qt.WindowType, on: bool = True)
setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
setWindowFlagsForRun()
setWindowIcon(self, QIcon)
setWindowIconText(self, str)
setWindowModality(self, Qt.WindowModality)
setWindowModified(self, bool)
setWindowOpacity(self, float)
setWindowRole(self, str)
setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
setWindowTitle(self, str)
setting_model()
sharedPainter(self) QPainter
show()

Override the show method to clear and previous value of self.accepted

showEvent(self, QShowEvent)
showFullScreen(self)
showMaximized(self)
showMessageBox(*args, **kwargs)

Shows a popup message box. For parameter documentation see messagebox.MessageBox.

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 = <PyQt5.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(self, str, disambiguation: str = None, n: int = - 1) str
ui_module = None
underMouse(self) bool
ungrabGesture(self, Qt.GestureType)
unsetCursor(self)
unsetLayoutDirection(self)
unsetLocale(self)
update(self)
update(self, QRect) None
update(self, QRegion) None
BaseAdvancedPlotPanel.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self)
updatesEnabled(self) bool
visibleRegion(self) QRegion
warning(*args, **kwargs)

Shows a popup warning message box. For parameter documentation see messagebox.MessageBox.

whatsThis(self) str
wheelEvent(self, QWheelEvent)
width(self) int
widthMM(self) int
winId(self) PyQt5.sip.voidptr
window(self) QWidget
windowFilePath(self) str
windowFlags(self) Qt.WindowFlags
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.WindowStates
windowTitle(self) str
windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self) Qt.WindowType
x(self) int
y(self) int
class schrodinger.trajectory.trajectory_gui_dir.plots.AdvancedPlotShortcut(plot_panel, shortcut_title='', window_title='', parent=None)[source]

Bases: schrodinger.ui.qt.basewidgets.BaseWidget

Shortcut icon that opens an advanced plots (RMSF and Energy plots).

ui_module = <module 'schrodinger.trajectory.trajectory_gui_dir.shortcut_ui' from '/scr/buildbot/savedbuilds/2022-2/NB/build-128/internal/lib/python3.8/site-packages/schrodinger/trajectory/trajectory_gui_dir/shortcut_ui.py'>
__init__(plot_panel, shortcut_title='', window_title='', parent=None)[source]
mousePressEvent(self, QMouseEvent)[source]
getPlotTitle()[source]
close()[source]

Close and remove this widget.

APPLY_LEGACY_STYLESHEET = True
APPLY_PANELX_STYLESHEET = False
class BtnPos(value)

Bases: enum.IntEnum

An enumeration.

Left = 0
Middle = 1
Right = 2
DrawChildren = 2
DrawWindowBackground = 1
IgnoreMask = 4
class PaintDeviceMetric

Bases: int

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

Bases: int

class RenderFlags
class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
class RenderFlags(QWidget.RenderFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
SHOW_AS_WINDOW = False
class StdBtn(value)

Bases: enum.IntEnum

An enumeration.

Ok = 0
Cancel = 1
Reset = 2
Help = 3
acceptDrops(self) bool
property accepted
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
AdvancedPlotShortcut.childAt(self, int, int) -> QWidget
childEvent(self, QChildEvent)
children(self) List[QObject]
childrenRect(self) QRect
childrenRegion(self) QRegion
clearFocus(self)
clearMask(self)
closeEvent(event)

Ensures proper handling of OK, Cancel, and [X] button clicks

colorCount(self) int
connectNotify(self, QMetaMethod)
contentsMargins(self) QMargins
contentsRect(self) QRect
contextMenuEvent(self, QContextMenuEvent)
contextMenuPolicy(self) Qt.ContextMenuPolicy
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget
cursor(self) QCursor
customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

customEvent(self, QEvent)
debug()
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) int
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) PyQt5.sip.voidptr
ensurePolished(self)
enterEvent(self, QEvent)
error(*args, **kwargs)

Shows a popup error message box. For parameter documentation see messagebox.MessageBox.

event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
find(PyQt5.sip.voidptr) QWidget
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, 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
forgetMessageBoxResponse(key)

Forgets any previously saved response that was stored via a save_response_key.

Parameters

key – the key for the response to forget

frameGeometry(self) QRect
frameSize(self) QSize
geometry(self) QRect
getContentsMargins(self) Tuple[int, int, int, int]
grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap
grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, 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)
info(*args, **kwargs)

Shows a popup information message box. For parameter documentation see messagebox.MessageBox.

inherits(self, str) bool
initFinalize()

Suggested subclass use: perform any remaining initialization.

initLayOut()

Create a vertical layout for the widget (widget_layout) and populate it with two vertical sub-layouts: main_layout and bottom_layout.

If the user has specified the ui data member, insert the resultant ui_widget into main_layout.

If the widget already has a layout defined, this method will produce a warning (but not a traceback). main_layout and bottom_layout will be inserted into the existing widget layout, which will not be the same as widget_layout. It is therefore recommended that this mixin is used only with widgets that do not already have a layout.

Suggested subclass use: create, initialize, and populate layouts.

initPainter(self, QPainter)
initSetDefaults()

Set widget to its default state. If the widget uses a model/mapper, it’s preferable to reset the widget state by resetting the model.

initSetOptions()

Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).

initSetUp()

Creates widget from ui and stores it ui_widget.

Suggested subclass use: create and initialize subwidgets, and connect signals.

inputMethodEvent(self, QInputMethodEvent)
inputMethodHints(self) Qt.InputMethodHints
inputMethodQuery(self, Qt.InputMethodQuery) Any
AdvancedPlotShortcut.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
mapFromGlobal(self, QPoint) QPoint
mapFromParent(self, QPoint) QPoint
mapTo(self, QWidget, QPoint) QPoint
mapToGlobal(self, QPoint) QPoint
mapToParent(self, QPoint) QPoint
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)
mouseReleaseEvent(self, QMouseEvent)
move(self, QPoint)
AdvancedPlotShortcut.move(self, int, int) -> None
moveEvent(self, QMoveEvent)
moveToThread(self, QThread)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int]
nativeParentWidget(self) QWidget
nextInFocusChain(self) QWidget
normalGeometry(self) QRect
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
overrideWindowState(self, Union[Qt.WindowStates, 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.

question(*args, **kwargs)

Shows a popup question message box. For parameter documentation see messagebox.QuestionMessageBox.

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: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
repaint(self)
AdvancedPlotShortcut.repaint(self, int, int, int, int) -> None
repaint(self, QRect) None
repaint(self, QRegion) None
reportValidation(results)

Present validation messages to the user. This is an implmentation of the ValidationMixin interface and does not need to be called directly.

This method assumes that error and question methods have been defined in the subclass, as in e.g. widget_mixins.MessageBoxMixin.

Parameters

results (validation.ValidationResults) – Set of validation results generated by validate

Returns

if True, there were no validation errors and the user decided to continue despite any warnings. If False, there was at least one validation error or the user decided to abort when faced with a warning.

resize(self, QSize)
AdvancedPlotShortcut.resize(self, int, int) -> None
resizeEvent(self, QResizeEvent)
restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool
run(blocking=False, modal=False, finished_callback=None)

Show this widget, while optionally blocking, making the widget window modal, and registering a callback for when the widget is closed again.

Parameters
  • blocking (bool) – if True, block progress in the calling method until the widget is closed again.

  • modal (bool) – if True, open this widget as window modal. Otherwise, open this widget as nonmodal.

  • finished_callback (a callable object) – an object that will be called with no arguments when this widget is closed.

runValidation(silent=False, validate_children=True, stop_on_fail=True)

Runs validation and reports the results (unless run silently).

Parameters
  • silent (bool) – run without any reporting (i.e. error messages to the user). This is useful if we want to programmatically test validity. Changes return value of this method from ValidationResults to a boolean.

  • validate_children (bool) – run validation on all child objects. See _validateChildren for documentation on what this entails.

  • stop_on_fail (bool) – stop validation when first failure is encountered

Returns

if silent is False, returns the validation results. If silent is True, returns a boolean generated by reportValidation.

Return type

ValidationResults or bool

saveGeometry(self) QByteArray
AdvancedPlotShortcut.scroll(self, int, int)
AdvancedPlotShortcut.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)
AdvancedPlotShortcut.setBaseSize(self, int, int)
setBaseSize(self, QSize) None
AdvancedPlotShortcut.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)
AdvancedPlotShortcut.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)
AdvancedPlotShortcut.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
setLayout(self, QLayout)
setLayoutDirection(self, Qt.LayoutDirection)
setLocale(self, QLocale)
setMask(self, QBitmap)
setMask(self, QRegion) None
setMaximumHeight(self, int)
AdvancedPlotShortcut.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) None
setMaximumWidth(self, int)
setMinimumHeight(self, int)
AdvancedPlotShortcut.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, Union[Qt.WindowFlags, Qt.WindowType]) None
setProperty(self, str, Any) bool
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
AdvancedPlotShortcut.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)
AdvancedPlotShortcut.setTabOrder(QWidget, QWidget)
setTabletTracking(self, bool)
setToolTip(self, str)
setToolTipDuration(self, int)
setUpdatesEnabled(self, bool)
setVisible(self, bool)
setWhatsThis(self, str)
setWidgetLayout()

Set the widget layout

setWindowFilePath(self, str)
setWindowFlag(self, Qt.WindowType, on: bool = True)
setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
setWindowFlagsForRun()
setWindowIcon(self, QIcon)
setWindowIconText(self, str)
setWindowModality(self, Qt.WindowModality)
setWindowModified(self, bool)
setWindowOpacity(self, float)
setWindowRole(self, str)
setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
setWindowTitle(self, str)
sharedPainter(self) QPainter
show()

Override the show method to clear and previous value of self.accepted

showEvent(self, QShowEvent)
showFullScreen(self)
showMaximized(self)
showMessageBox(*args, **kwargs)

Shows a popup message box. For parameter documentation see messagebox.MessageBox.

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 = <PyQt5.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(self, 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
AdvancedPlotShortcut.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self)
updatesEnabled(self) bool
visibleRegion(self) QRegion
warning(*args, **kwargs)

Shows a popup warning message box. For parameter documentation see messagebox.MessageBox.

whatsThis(self) str
wheelEvent(self, QWheelEvent)
width(self) int
widthMM(self) int
winId(self) PyQt5.sip.voidptr
window(self) QWidget
windowFilePath(self) str
windowFlags(self) Qt.WindowFlags
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.WindowStates
windowTitle(self) str
windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self) Qt.WindowType
x(self) int
y(self) int
class schrodinger.trajectory.trajectory_gui_dir.plots.ShortcutRow(*args, **kwargs)[source]

Bases: schrodinger.ui.qt.basewidgets.BaseWidget

This class represents a row of advanced plot shortcuts

initLayOut()[source]

Create a vertical layout for the widget (widget_layout) and populate it with two vertical sub-layouts: main_layout and bottom_layout.

If the user has specified the ui data member, insert the resultant ui_widget into main_layout.

If the widget already has a layout defined, this method will produce a warning (but not a traceback). main_layout and bottom_layout will be inserted into the existing widget layout, which will not be the same as widget_layout. It is therefore recommended that this mixin is used only with widgets that do not already have a layout.

Suggested subclass use: create, initialize, and populate layouts.

hasSpace()[source]

Returns whether the shortcut row has space for another widget

addWidget(wdg)[source]
widgetCount()[source]
APPLY_LEGACY_STYLESHEET = True
APPLY_PANELX_STYLESHEET = False
class BtnPos(value)

Bases: enum.IntEnum

An enumeration.

Left = 0
Middle = 1
Right = 2
DrawChildren = 2
DrawWindowBackground = 1
IgnoreMask = 4
class PaintDeviceMetric

Bases: int

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

Bases: int

class RenderFlags
class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
class RenderFlags(QWidget.RenderFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
SHOW_AS_WINDOW = False
class StdBtn(value)

Bases: enum.IntEnum

An enumeration.

Ok = 0
Cancel = 1
Reset = 2
Help = 3
__init__(*args, **kwargs)
acceptDrops(self) bool
property accepted
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
ShortcutRow.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(event)

Ensures proper handling of OK, Cancel, and [X] button clicks

colorCount(self) int
connectNotify(self, QMetaMethod)
contentsMargins(self) QMargins
contentsRect(self) QRect
contextMenuEvent(self, QContextMenuEvent)
contextMenuPolicy(self) Qt.ContextMenuPolicy
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget
cursor(self) QCursor
customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

customEvent(self, QEvent)
debug()
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) int
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) PyQt5.sip.voidptr
ensurePolished(self)
enterEvent(self, QEvent)
error(*args, **kwargs)

Shows a popup error message box. For parameter documentation see messagebox.MessageBox.

event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
find(PyQt5.sip.voidptr) QWidget
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, 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
forgetMessageBoxResponse(key)

Forgets any previously saved response that was stored via a save_response_key.

Parameters

key – the key for the response to forget

frameGeometry(self) QRect
frameSize(self) QSize
geometry(self) QRect
getContentsMargins(self) Tuple[int, int, int, int]
grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap
grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, 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)
info(*args, **kwargs)

Shows a popup information message box. For parameter documentation see messagebox.MessageBox.

inherits(self, str) bool
initFinalize()

Suggested subclass use: perform any remaining initialization.

initPainter(self, QPainter)
initSetDefaults()

Set widget to its default state. If the widget uses a model/mapper, it’s preferable to reset the widget state by resetting the model.

initSetOptions()

Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).

initSetUp()

Creates widget from ui and stores it ui_widget.

Suggested subclass use: create and initialize subwidgets, and connect signals.

inputMethodEvent(self, QInputMethodEvent)
inputMethodHints(self) Qt.InputMethodHints
inputMethodQuery(self, Qt.InputMethodQuery) Any
ShortcutRow.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
mapFromGlobal(self, QPoint) QPoint
mapFromParent(self, QPoint) QPoint
mapTo(self, QWidget, QPoint) QPoint
mapToGlobal(self, QPoint) QPoint
mapToParent(self, QPoint) QPoint
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)
ShortcutRow.move(self, int, int) -> None
moveEvent(self, QMoveEvent)
moveToThread(self, QThread)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int]
nativeParentWidget(self) QWidget
nextInFocusChain(self) QWidget
normalGeometry(self) QRect
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
overrideWindowState(self, Union[Qt.WindowStates, 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.

question(*args, **kwargs)

Shows a popup question message box. For parameter documentation see messagebox.QuestionMessageBox.

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: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
repaint(self)
ShortcutRow.repaint(self, int, int, int, int) -> None
repaint(self, QRect) None
repaint(self, QRegion) None
reportValidation(results)

Present validation messages to the user. This is an implmentation of the ValidationMixin interface and does not need to be called directly.

This method assumes that error and question methods have been defined in the subclass, as in e.g. widget_mixins.MessageBoxMixin.

Parameters

results (validation.ValidationResults) – Set of validation results generated by validate

Returns

if True, there were no validation errors and the user decided to continue despite any warnings. If False, there was at least one validation error or the user decided to abort when faced with a warning.

resize(self, QSize)
ShortcutRow.resize(self, int, int) -> None
resizeEvent(self, QResizeEvent)
restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool
run(blocking=False, modal=False, finished_callback=None)

Show this widget, while optionally blocking, making the widget window modal, and registering a callback for when the widget is closed again.

Parameters
  • blocking (bool) – if True, block progress in the calling method until the widget is closed again.

  • modal (bool) – if True, open this widget as window modal. Otherwise, open this widget as nonmodal.

  • finished_callback (a callable object) – an object that will be called with no arguments when this widget is closed.

runValidation(silent=False, validate_children=True, stop_on_fail=True)

Runs validation and reports the results (unless run silently).

Parameters
  • silent (bool) – run without any reporting (i.e. error messages to the user). This is useful if we want to programmatically test validity. Changes return value of this method from ValidationResults to a boolean.

  • validate_children (bool) – run validation on all child objects. See _validateChildren for documentation on what this entails.

  • stop_on_fail (bool) – stop validation when first failure is encountered

Returns

if silent is False, returns the validation results. If silent is True, returns a boolean generated by reportValidation.

Return type

ValidationResults or bool

saveGeometry(self) QByteArray
ShortcutRow.scroll(self, int, int)
ShortcutRow.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)
ShortcutRow.setBaseSize(self, int, int)
setBaseSize(self, QSize) None
ShortcutRow.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)
ShortcutRow.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)
ShortcutRow.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
setLayout(self, QLayout)
setLayoutDirection(self, Qt.LayoutDirection)
setLocale(self, QLocale)
setMask(self, QBitmap)
setMask(self, QRegion) None
setMaximumHeight(self, int)
ShortcutRow.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) None
setMaximumWidth(self, int)
setMinimumHeight(self, int)
ShortcutRow.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, Union[Qt.WindowFlags, Qt.WindowType]) None
setProperty(self, str, Any) bool
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
ShortcutRow.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)
ShortcutRow.setTabOrder(QWidget, QWidget)
setTabletTracking(self, bool)
setToolTip(self, str)
setToolTipDuration(self, int)
setUpdatesEnabled(self, bool)
setVisible(self, bool)
setWhatsThis(self, str)
setWidgetLayout()

Set the widget layout

setWindowFilePath(self, str)
setWindowFlag(self, Qt.WindowType, on: bool = True)
setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
setWindowFlagsForRun()
setWindowIcon(self, QIcon)
setWindowIconText(self, str)
setWindowModality(self, Qt.WindowModality)
setWindowModified(self, bool)
setWindowOpacity(self, float)
setWindowRole(self, str)
setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
setWindowTitle(self, str)
sharedPainter(self) QPainter
show()

Override the show method to clear and previous value of self.accepted

showEvent(self, QShowEvent)
showFullScreen(self)
showMaximized(self)
showMessageBox(*args, **kwargs)

Shows a popup message box. For parameter documentation see messagebox.MessageBox.

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 = <PyQt5.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(self, str, disambiguation: str = None, n: int = - 1) str
ui_module = None
underMouse(self) bool
ungrabGesture(self, Qt.GestureType)
unsetCursor(self)
unsetLayoutDirection(self)
unsetLocale(self)
update(self)
update(self, QRect) None
update(self, QRegion) None
ShortcutRow.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self)
updatesEnabled(self) bool
visibleRegion(self) QRegion
warning(*args, **kwargs)

Shows a popup warning message box. For parameter documentation see messagebox.MessageBox.

whatsThis(self) str
wheelEvent(self, QWheelEvent)
width(self) int
widthMM(self) int
winId(self) PyQt5.sip.voidptr
window(self) QWidget
windowFilePath(self) str
windowFlags(self) Qt.WindowFlags
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.WindowStates
windowTitle(self) str
windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self) Qt.WindowType
x(self) int
y(self) int
class schrodinger.trajectory.trajectory_gui_dir.plots.OutputAxis[source]

Bases: PyQt5.QtChart.QValueAxis

class AxisType

Bases: int

AxisTypeBarCategory = 2
AxisTypeCategory = 4
AxisTypeDateTime = 8
AxisTypeLogValue = 16
AxisTypeNoAxis = 0
AxisTypeValue = 1
class AxisTypes
class AxisTypes(Union[QAbstractAxis.AxisTypes, QAbstractAxis.AxisType]) None
class AxisTypes(QAbstractAxis.AxisTypes) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
class TickType

Bases: int

TicksDynamic = 0
TicksFixed = 1
__init__(*args, **kwargs)
alignment(self) Qt.Alignment
applyNiceNumbers(self)
blockSignals(self, bool) bool
childEvent(self, QChildEvent)
children(self) List[QObject]
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
gridLineColor(self) QColor
gridLineColorChanged

gridLineColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

gridLinePen(self) QPen
gridLinePenChanged

gridLinePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

gridVisibleChanged

gridVisibleChanged(self, bool) [signal]

hide(self)
inherits(self, str) bool
installEventFilter(self, QObject)
isGridLineVisible(self) bool
isLineVisible(self) bool
isMinorGridLineVisible(self) bool
isReverse(self) bool
isSignalConnected(self, QMetaMethod) bool
isTitleVisible(self) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
labelFormat(self) str
labelFormatChanged

labelFormatChanged(self, str) [signal]

labelsAngle(self) int
labelsAngleChanged

labelsAngleChanged(self, int) [signal]

labelsBrush(self) QBrush
labelsBrushChanged

labelsBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

labelsColor(self) QColor
labelsColorChanged

labelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

labelsFont(self) QFont
labelsFontChanged

labelsFontChanged(self, QFont) [signal]

labelsVisible(self) bool
labelsVisibleChanged

labelsVisibleChanged(self, bool) [signal]

linePen(self) QPen
linePenChanged

linePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

linePenColor(self) QColor
lineVisibleChanged

lineVisibleChanged(self, bool) [signal]

max(self) float
maxChanged

maxChanged(self, float) [signal]

metaObject(self) QMetaObject
min(self) float
minChanged

minChanged(self, float) [signal]

minorGridLineColor(self) QColor
minorGridLineColorChanged

minorGridLineColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

minorGridLinePen(self) QPen
minorGridLinePenChanged

minorGridLinePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

minorGridVisibleChanged

minorGridVisibleChanged(self, bool) [signal]

minorTickCount(self) int
minorTickCountChanged

minorTickCountChanged(self, int) [signal]

moveToThread(self, QThread)
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

orientation(self) Qt.Orientation
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.

rangeChanged

rangeChanged(self, float, float) [signal]

receivers(self, PYQT_SIGNAL) int
removeEventFilter(self, QObject)
reverseChanged

reverseChanged(self, bool) [signal]

sender(self) QObject
senderSignalIndex(self) int
setGridLineColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setGridLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setGridLineVisible(self, visible: bool = True)
setLabelFormat(self, str)
setLabelsAngle(self, int)
setLabelsBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLabelsFont(self, QFont)
setLabelsVisible(self, visible: bool = True)
setLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setLinePenColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLineVisible(self, visible: bool = True)
setMax(self, float)
setMin(self, float)
setMinorGridLineColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setMinorGridLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setMinorGridLineVisible(self, visible: bool = True)
setMinorTickCount(self, int)
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
OutputAxis.setRange(self, float, float)
setReverse(self, reverse: bool = True)
setShadesBorderColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setShadesBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setShadesColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setShadesPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setShadesVisible(self, visible: bool = True)
setTickAnchor(self, float)
setTickCount(self, int)
setTickInterval(self, float)
setTickType(self, QValueAxis.TickType)
setTitleBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setTitleFont(self, QFont)
setTitleText(self, str)
setTitleVisible(self, visible: bool = True)
setVisible(self, visible: bool = True)
shadesBorderColor(self) QColor
shadesBorderColorChanged

shadesBorderColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

shadesBrush(self) QBrush
shadesBrushChanged

shadesBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

shadesColor(self) QColor
shadesColorChanged

shadesColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

shadesPen(self) QPen
shadesPenChanged

shadesPenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

shadesVisible(self) bool
shadesVisibleChanged

shadesVisibleChanged(self, bool) [signal]

show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
tickAnchor(self) float
tickAnchorChanged

tickAnchorChanged(self, float) [signal]

tickCount(self) int
tickCountChanged

tickCountChanged(self, int) [signal]

tickInterval(self) float
tickIntervalChanged

tickIntervalChanged(self, float) [signal]

tickType(self) QValueAxis.TickType
tickTypeChanged

tickTypeChanged(self, QValueAxis.TickType) [signal]

timerEvent(self, QTimerEvent)
titleBrush(self) QBrush
titleBrushChanged

titleBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

titleFont(self) QFont
titleFontChanged

titleFontChanged(self, QFont) [signal]

titleText(self) str
titleTextChanged

titleTextChanged(self, str) [signal]

titleVisibleChanged

titleVisibleChanged(self, bool) [signal]

tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractAxis.AxisType
visibleChanged

visibleChanged(self, bool) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.BFactorAxis[source]

Bases: PyQt5.QtChart.QValueAxis

class AxisType

Bases: int

AxisTypeBarCategory = 2
AxisTypeCategory = 4
AxisTypeDateTime = 8
AxisTypeLogValue = 16
AxisTypeNoAxis = 0
AxisTypeValue = 1
class AxisTypes
class AxisTypes(Union[QAbstractAxis.AxisTypes, QAbstractAxis.AxisType]) None
class AxisTypes(QAbstractAxis.AxisTypes) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
class TickType

Bases: int

TicksDynamic = 0
TicksFixed = 1
__init__(*args, **kwargs)
alignment(self) Qt.Alignment
applyNiceNumbers(self)
blockSignals(self, bool) bool
childEvent(self, QChildEvent)
children(self) List[QObject]
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
gridLineColor(self) QColor
gridLineColorChanged

gridLineColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

gridLinePen(self) QPen
gridLinePenChanged

gridLinePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

gridVisibleChanged

gridVisibleChanged(self, bool) [signal]

hide(self)
inherits(self, str) bool
installEventFilter(self, QObject)
isGridLineVisible(self) bool
isLineVisible(self) bool
isMinorGridLineVisible(self) bool
isReverse(self) bool
isSignalConnected(self, QMetaMethod) bool
isTitleVisible(self) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
labelFormat(self) str
labelFormatChanged

labelFormatChanged(self, str) [signal]

labelsAngle(self) int
labelsAngleChanged

labelsAngleChanged(self, int) [signal]

labelsBrush(self) QBrush
labelsBrushChanged

labelsBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

labelsColor(self) QColor
labelsColorChanged

labelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

labelsFont(self) QFont
labelsFontChanged

labelsFontChanged(self, QFont) [signal]

labelsVisible(self) bool
labelsVisibleChanged

labelsVisibleChanged(self, bool) [signal]

linePen(self) QPen
linePenChanged

linePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

linePenColor(self) QColor
lineVisibleChanged

lineVisibleChanged(self, bool) [signal]

max(self) float
maxChanged

maxChanged(self, float) [signal]

metaObject(self) QMetaObject
min(self) float
minChanged

minChanged(self, float) [signal]

minorGridLineColor(self) QColor
minorGridLineColorChanged

minorGridLineColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

minorGridLinePen(self) QPen
minorGridLinePenChanged

minorGridLinePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

minorGridVisibleChanged

minorGridVisibleChanged(self, bool) [signal]

minorTickCount(self) int
minorTickCountChanged

minorTickCountChanged(self, int) [signal]

moveToThread(self, QThread)
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

orientation(self) Qt.Orientation
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.

rangeChanged

rangeChanged(self, float, float) [signal]

receivers(self, PYQT_SIGNAL) int
removeEventFilter(self, QObject)
reverseChanged

reverseChanged(self, bool) [signal]

sender(self) QObject
senderSignalIndex(self) int
setGridLineColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setGridLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setGridLineVisible(self, visible: bool = True)
setLabelFormat(self, str)
setLabelsAngle(self, int)
setLabelsBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLabelsFont(self, QFont)
setLabelsVisible(self, visible: bool = True)
setLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setLinePenColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLineVisible(self, visible: bool = True)
setMax(self, float)
setMin(self, float)
setMinorGridLineColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setMinorGridLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setMinorGridLineVisible(self, visible: bool = True)
setMinorTickCount(self, int)
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
BFactorAxis.setRange(self, float, float)
setReverse(self, reverse: bool = True)
setShadesBorderColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setShadesBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setShadesColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setShadesPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setShadesVisible(self, visible: bool = True)
setTickAnchor(self, float)
setTickCount(self, int)
setTickInterval(self, float)
setTickType(self, QValueAxis.TickType)
setTitleBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setTitleFont(self, QFont)
setTitleText(self, str)
setTitleVisible(self, visible: bool = True)
setVisible(self, visible: bool = True)
shadesBorderColor(self) QColor
shadesBorderColorChanged

shadesBorderColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

shadesBrush(self) QBrush
shadesBrushChanged

shadesBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

shadesColor(self) QColor
shadesColorChanged

shadesColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

shadesPen(self) QPen
shadesPenChanged

shadesPenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

shadesVisible(self) bool
shadesVisibleChanged

shadesVisibleChanged(self, bool) [signal]

show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
tickAnchor(self) float
tickAnchorChanged

tickAnchorChanged(self, float) [signal]

tickCount(self) int
tickCountChanged

tickCountChanged(self, int) [signal]

tickInterval(self) float
tickIntervalChanged

tickIntervalChanged(self, float) [signal]

tickType(self) QValueAxis.TickType
tickTypeChanged

tickTypeChanged(self, QValueAxis.TickType) [signal]

timerEvent(self, QTimerEvent)
titleBrush(self) QBrush
titleBrushChanged

titleBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

titleFont(self) QFont
titleFontChanged

titleFontChanged(self, QFont) [signal]

titleText(self) str
titleTextChanged

titleTextChanged(self, str) [signal]

titleVisibleChanged

titleVisibleChanged(self, bool) [signal]

tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractAxis.AxisType
visibleChanged

visibleChanged(self, bool) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.SecondaryStructureAxis[source]

Bases: PyQt5.QtChart.QValueAxis

class AxisType

Bases: int

AxisTypeBarCategory = 2
AxisTypeCategory = 4
AxisTypeDateTime = 8
AxisTypeLogValue = 16
AxisTypeNoAxis = 0
AxisTypeValue = 1
class AxisTypes
class AxisTypes(Union[QAbstractAxis.AxisTypes, QAbstractAxis.AxisType]) None
class AxisTypes(QAbstractAxis.AxisTypes) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
class TickType

Bases: int

TicksDynamic = 0
TicksFixed = 1
__init__(*args, **kwargs)
alignment(self) Qt.Alignment
applyNiceNumbers(self)
blockSignals(self, bool) bool
childEvent(self, QChildEvent)
children(self) List[QObject]
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
gridLineColor(self) QColor
gridLineColorChanged

gridLineColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

gridLinePen(self) QPen
gridLinePenChanged

gridLinePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

gridVisibleChanged

gridVisibleChanged(self, bool) [signal]

hide(self)
inherits(self, str) bool
installEventFilter(self, QObject)
isGridLineVisible(self) bool
isLineVisible(self) bool
isMinorGridLineVisible(self) bool
isReverse(self) bool
isSignalConnected(self, QMetaMethod) bool
isTitleVisible(self) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
labelFormat(self) str
labelFormatChanged

labelFormatChanged(self, str) [signal]

labelsAngle(self) int
labelsAngleChanged

labelsAngleChanged(self, int) [signal]

labelsBrush(self) QBrush
labelsBrushChanged

labelsBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

labelsColor(self) QColor
labelsColorChanged

labelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

labelsFont(self) QFont
labelsFontChanged

labelsFontChanged(self, QFont) [signal]

labelsVisible(self) bool
labelsVisibleChanged

labelsVisibleChanged(self, bool) [signal]

linePen(self) QPen
linePenChanged

linePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

linePenColor(self) QColor
lineVisibleChanged

lineVisibleChanged(self, bool) [signal]

max(self) float
maxChanged

maxChanged(self, float) [signal]

metaObject(self) QMetaObject
min(self) float
minChanged

minChanged(self, float) [signal]

minorGridLineColor(self) QColor
minorGridLineColorChanged

minorGridLineColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

minorGridLinePen(self) QPen
minorGridLinePenChanged

minorGridLinePenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

minorGridVisibleChanged

minorGridVisibleChanged(self, bool) [signal]

minorTickCount(self) int
minorTickCountChanged

minorTickCountChanged(self, int) [signal]

moveToThread(self, QThread)
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

orientation(self) Qt.Orientation
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.

rangeChanged

rangeChanged(self, float, float) [signal]

receivers(self, PYQT_SIGNAL) int
removeEventFilter(self, QObject)
reverseChanged

reverseChanged(self, bool) [signal]

sender(self) QObject
senderSignalIndex(self) int
setGridLineColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setGridLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setGridLineVisible(self, visible: bool = True)
setLabelFormat(self, str)
setLabelsAngle(self, int)
setLabelsBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLabelsFont(self, QFont)
setLabelsVisible(self, visible: bool = True)
setLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setLinePenColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLineVisible(self, visible: bool = True)
setMax(self, float)
setMin(self, float)
setMinorGridLineColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setMinorGridLinePen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setMinorGridLineVisible(self, visible: bool = True)
setMinorTickCount(self, int)
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
SecondaryStructureAxis.setRange(self, float, float)
setReverse(self, reverse: bool = True)
setShadesBorderColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setShadesBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setShadesColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setShadesPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setShadesVisible(self, visible: bool = True)
setTickAnchor(self, float)
setTickCount(self, int)
setTickInterval(self, float)
setTickType(self, QValueAxis.TickType)
setTitleBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setTitleFont(self, QFont)
setTitleText(self, str)
setTitleVisible(self, visible: bool = True)
setVisible(self, visible: bool = True)
shadesBorderColor(self) QColor
shadesBorderColorChanged

shadesBorderColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

shadesBrush(self) QBrush
shadesBrushChanged

shadesBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

shadesColor(self) QColor
shadesColorChanged

shadesColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

shadesPen(self) QPen
shadesPenChanged

shadesPenChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

shadesVisible(self) bool
shadesVisibleChanged

shadesVisibleChanged(self, bool) [signal]

show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
tickAnchor(self) float
tickAnchorChanged

tickAnchorChanged(self, float) [signal]

tickCount(self) int
tickCountChanged

tickCountChanged(self, int) [signal]

tickInterval(self) float
tickIntervalChanged

tickIntervalChanged(self, float) [signal]

tickType(self) QValueAxis.TickType
tickTypeChanged

tickTypeChanged(self, QValueAxis.TickType) [signal]

timerEvent(self, QTimerEvent)
titleBrush(self) QBrush
titleBrushChanged

titleBrushChanged(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient]) [signal]

titleFont(self) QFont
titleFontChanged

titleFontChanged(self, QFont) [signal]

titleText(self) str
titleTextChanged

titleTextChanged(self, str) [signal]

titleVisibleChanged

titleVisibleChanged(self, bool) [signal]

tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractAxis.AxisType
visibleChanged

visibleChanged(self, bool) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.OutputSeries[source]

Bases: PyQt5.QtChart.QLineSeries

class SeriesType

Bases: int

SeriesTypeArea = 1
SeriesTypeBar = 2
SeriesTypeBoxPlot = 11
SeriesTypeCandlestick = 12
SeriesTypeHorizontalBar = 8
SeriesTypeHorizontalPercentBar = 10
SeriesTypeHorizontalStackedBar = 9
SeriesTypeLine = 0
SeriesTypePercentBar = 4
SeriesTypePie = 5
SeriesTypeScatter = 6
SeriesTypeSpline = 7
SeriesTypeStackedBar = 3
__init__(*args, **kwargs)
__len__()

Return len(self).

OutputSeries.append(self, float, float)
append(self, Union[QPointF, QPoint]) None
append(self, Iterable[Union[QPointF, QPoint]]) None
at(self, int) QPointF
attachAxis(self, QAbstractAxis) bool
attachedAxes(self) List[QAbstractAxis]
blockSignals(self, bool) bool
brush(self) QBrush
chart(self) QChart
childEvent(self, QChildEvent)
children(self) List[QObject]
clear(self)
clicked

clicked(self, Union[QPointF, QPoint]) [signal]

color(self) QColor
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
count(self) int
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

detachAxis(self, QAbstractAxis) bool
disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
doubleClicked

doubleClicked(self, Union[QPointF, QPoint]) [signal]

dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
hide(self)
hovered

hovered(self, Union[QPointF, QPoint], bool) [signal]

inherits(self, str) bool
insert(self, int, Union[QPointF, QPoint])
installEventFilter(self, QObject)
isSignalConnected(self, QMetaMethod) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
metaObject(self) QMetaObject
moveToThread(self, QThread)
name(self) str
nameChanged

nameChanged(self) [signal]

objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

opacity(self) float
opacityChanged

opacityChanged(self) [signal]

parent(self) QObject
pen(self) QPen
penChanged

penChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

pointAdded

pointAdded(self, int) [signal]

pointLabelsClipping(self) bool
pointLabelsClippingChanged

pointLabelsClippingChanged(self, bool) [signal]

pointLabelsColor(self) QColor
pointLabelsColorChanged

pointLabelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

pointLabelsFont(self) QFont
pointLabelsFontChanged

pointLabelsFontChanged(self, QFont) [signal]

pointLabelsFormat(self) str
pointLabelsFormatChanged

pointLabelsFormatChanged(self, str) [signal]

pointLabelsVisibilityChanged

pointLabelsVisibilityChanged(self, bool) [signal]

pointLabelsVisible(self) bool
pointRemoved

pointRemoved(self, int) [signal]

pointReplaced

pointReplaced(self, int) [signal]

pointsRemoved

pointsRemoved(self, int, int) [signal]

pointsReplaced

pointsReplaced(self) [signal]

pointsVector(self) List[QPointF]
pointsVisible(self) bool
pressed

pressed(self, Union[QPointF, QPoint]) [signal]

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
released

released(self, Union[QPointF, QPoint]) [signal]

OutputSeries.remove(self, float, float)
remove(self, Union[QPointF, QPoint]) None
remove(self, int) None
removeEventFilter(self, QObject)
OutputSeries.removePoints(self, int, int)
OutputSeries.replace(self, float, float, float, float)
replace(self, Union[QPointF, QPoint], Union[QPointF, QPoint]) None
replace(self, Iterable[Union[QPointF, QPoint]]) None
OutputSeries.replace(self, int, float, float) -> None
replace(self, int, Union[QPointF, QPoint]) None
sender(self) QObject
senderSignalIndex(self) int
setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setName(self, str)
setObjectName(self, str)
setOpacity(self, float)
setParent(self, QObject)
setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setPointLabelsClipping(self, enable: bool = True)
setPointLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setPointLabelsFont(self, QFont)
setPointLabelsFormat(self, str)
setPointLabelsVisible(self, visible: bool = True)
setPointsVisible(self, visible: bool = True)
setProperty(self, str, Any) bool
setUseOpenGL(self, enable: bool = True)
setVisible(self, visible: bool = True)
show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractSeries.SeriesType
useOpenGL(self) bool
useOpenGLChanged

useOpenGLChanged(self) [signal]

visibleChanged

visibleChanged(self) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.BFactorSeries[source]

Bases: PyQt5.QtChart.QLineSeries

class SeriesType

Bases: int

SeriesTypeArea = 1
SeriesTypeBar = 2
SeriesTypeBoxPlot = 11
SeriesTypeCandlestick = 12
SeriesTypeHorizontalBar = 8
SeriesTypeHorizontalPercentBar = 10
SeriesTypeHorizontalStackedBar = 9
SeriesTypeLine = 0
SeriesTypePercentBar = 4
SeriesTypePie = 5
SeriesTypeScatter = 6
SeriesTypeSpline = 7
SeriesTypeStackedBar = 3
__init__(*args, **kwargs)
__len__()

Return len(self).

BFactorSeries.append(self, float, float)
append(self, Union[QPointF, QPoint]) None
append(self, Iterable[Union[QPointF, QPoint]]) None
at(self, int) QPointF
attachAxis(self, QAbstractAxis) bool
attachedAxes(self) List[QAbstractAxis]
blockSignals(self, bool) bool
brush(self) QBrush
chart(self) QChart
childEvent(self, QChildEvent)
children(self) List[QObject]
clear(self)
clicked

clicked(self, Union[QPointF, QPoint]) [signal]

color(self) QColor
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
count(self) int
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

detachAxis(self, QAbstractAxis) bool
disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
doubleClicked

doubleClicked(self, Union[QPointF, QPoint]) [signal]

dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
hide(self)
hovered

hovered(self, Union[QPointF, QPoint], bool) [signal]

inherits(self, str) bool
insert(self, int, Union[QPointF, QPoint])
installEventFilter(self, QObject)
isSignalConnected(self, QMetaMethod) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
metaObject(self) QMetaObject
moveToThread(self, QThread)
name(self) str
nameChanged

nameChanged(self) [signal]

objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

opacity(self) float
opacityChanged

opacityChanged(self) [signal]

parent(self) QObject
pen(self) QPen
penChanged

penChanged(self, Union[QPen, QColor, Qt.GlobalColor, QGradient]) [signal]

pointAdded

pointAdded(self, int) [signal]

pointLabelsClipping(self) bool
pointLabelsClippingChanged

pointLabelsClippingChanged(self, bool) [signal]

pointLabelsColor(self) QColor
pointLabelsColorChanged

pointLabelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

pointLabelsFont(self) QFont
pointLabelsFontChanged

pointLabelsFontChanged(self, QFont) [signal]

pointLabelsFormat(self) str
pointLabelsFormatChanged

pointLabelsFormatChanged(self, str) [signal]

pointLabelsVisibilityChanged

pointLabelsVisibilityChanged(self, bool) [signal]

pointLabelsVisible(self) bool
pointRemoved

pointRemoved(self, int) [signal]

pointReplaced

pointReplaced(self, int) [signal]

pointsRemoved

pointsRemoved(self, int, int) [signal]

pointsReplaced

pointsReplaced(self) [signal]

pointsVector(self) List[QPointF]
pointsVisible(self) bool
pressed

pressed(self, Union[QPointF, QPoint]) [signal]

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
released

released(self, Union[QPointF, QPoint]) [signal]

BFactorSeries.remove(self, float, float)
remove(self, Union[QPointF, QPoint]) None
remove(self, int) None
removeEventFilter(self, QObject)
BFactorSeries.removePoints(self, int, int)
BFactorSeries.replace(self, float, float, float, float)
replace(self, Union[QPointF, QPoint], Union[QPointF, QPoint]) None
replace(self, Iterable[Union[QPointF, QPoint]]) None
BFactorSeries.replace(self, int, float, float) -> None
replace(self, int, Union[QPointF, QPoint]) None
sender(self) QObject
senderSignalIndex(self) int
setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setName(self, str)
setObjectName(self, str)
setOpacity(self, float)
setParent(self, QObject)
setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setPointLabelsClipping(self, enable: bool = True)
setPointLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setPointLabelsFont(self, QFont)
setPointLabelsFormat(self, str)
setPointLabelsVisible(self, visible: bool = True)
setPointsVisible(self, visible: bool = True)
setProperty(self, str, Any) bool
setUseOpenGL(self, enable: bool = True)
setVisible(self, visible: bool = True)
show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractSeries.SeriesType
useOpenGL(self) bool
useOpenGLChanged

useOpenGLChanged(self) [signal]

visibleChanged

visibleChanged(self) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.SecondaryStructureHelixSeries[source]

Bases: PyQt5.QtChart.QAreaSeries

class SeriesType

Bases: int

SeriesTypeArea = 1
SeriesTypeBar = 2
SeriesTypeBoxPlot = 11
SeriesTypeCandlestick = 12
SeriesTypeHorizontalBar = 8
SeriesTypeHorizontalPercentBar = 10
SeriesTypeHorizontalStackedBar = 9
SeriesTypeLine = 0
SeriesTypePercentBar = 4
SeriesTypePie = 5
SeriesTypeScatter = 6
SeriesTypeSpline = 7
SeriesTypeStackedBar = 3
__init__(*args, **kwargs)
attachAxis(self, QAbstractAxis) bool
attachedAxes(self) List[QAbstractAxis]
blockSignals(self, bool) bool
borderColor(self) QColor
borderColorChanged

borderColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

brush(self) QBrush
chart(self) QChart
childEvent(self, QChildEvent)
children(self) List[QObject]
clicked

clicked(self, Union[QPointF, QPoint]) [signal]

color(self) QColor
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

detachAxis(self, QAbstractAxis) bool
disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
doubleClicked

doubleClicked(self, Union[QPointF, QPoint]) [signal]

dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
hide(self)
hovered

hovered(self, Union[QPointF, QPoint], bool) [signal]

inherits(self, str) bool
installEventFilter(self, QObject)
isSignalConnected(self, QMetaMethod) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
lowerSeries(self) QLineSeries
metaObject(self) QMetaObject
moveToThread(self, QThread)
name(self) str
nameChanged

nameChanged(self) [signal]

objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

opacity(self) float
opacityChanged

opacityChanged(self) [signal]

parent(self) QObject
pen(self) QPen
pointLabelsClipping(self) bool
pointLabelsClippingChanged

pointLabelsClippingChanged(self, bool) [signal]

pointLabelsColor(self) QColor
pointLabelsColorChanged

pointLabelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

pointLabelsFont(self) QFont
pointLabelsFontChanged

pointLabelsFontChanged(self, QFont) [signal]

pointLabelsFormat(self) str
pointLabelsFormatChanged

pointLabelsFormatChanged(self, str) [signal]

pointLabelsVisibilityChanged

pointLabelsVisibilityChanged(self, bool) [signal]

pointLabelsVisible(self) bool
pointsVisible(self) bool
pressed

pressed(self, Union[QPointF, QPoint]) [signal]

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
released

released(self, Union[QPointF, QPoint]) [signal]

removeEventFilter(self, QObject)
selected

selected(self) [signal]

sender(self) QObject
senderSignalIndex(self) int
setBorderColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLowerSeries(self, QLineSeries)
setName(self, str)
setObjectName(self, str)
setOpacity(self, float)
setParent(self, QObject)
setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setPointLabelsClipping(self, enable: bool = True)
setPointLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setPointLabelsFont(self, QFont)
setPointLabelsFormat(self, str)
setPointLabelsVisible(self, visible: bool = True)
setPointsVisible(self, visible: bool = True)
setProperty(self, str, Any) bool
setUpperSeries(self, QLineSeries)
setUseOpenGL(self, enable: bool = True)
setVisible(self, visible: bool = True)
show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractSeries.SeriesType
upperSeries(self) QLineSeries
useOpenGL(self) bool
useOpenGLChanged

useOpenGLChanged(self) [signal]

visibleChanged

visibleChanged(self) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.SecondaryStructureStrandSeries[source]

Bases: PyQt5.QtChart.QAreaSeries

class SeriesType

Bases: int

SeriesTypeArea = 1
SeriesTypeBar = 2
SeriesTypeBoxPlot = 11
SeriesTypeCandlestick = 12
SeriesTypeHorizontalBar = 8
SeriesTypeHorizontalPercentBar = 10
SeriesTypeHorizontalStackedBar = 9
SeriesTypeLine = 0
SeriesTypePercentBar = 4
SeriesTypePie = 5
SeriesTypeScatter = 6
SeriesTypeSpline = 7
SeriesTypeStackedBar = 3
__init__(*args, **kwargs)
attachAxis(self, QAbstractAxis) bool
attachedAxes(self) List[QAbstractAxis]
blockSignals(self, bool) bool
borderColor(self) QColor
borderColorChanged

borderColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

brush(self) QBrush
chart(self) QChart
childEvent(self, QChildEvent)
children(self) List[QObject]
clicked

clicked(self, Union[QPointF, QPoint]) [signal]

color(self) QColor
colorChanged

colorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

detachAxis(self, QAbstractAxis) bool
disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
doubleClicked

doubleClicked(self, Union[QPointF, QPoint]) [signal]

dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
hide(self)
hovered

hovered(self, Union[QPointF, QPoint], bool) [signal]

inherits(self, str) bool
installEventFilter(self, QObject)
isSignalConnected(self, QMetaMethod) bool
isVisible(self) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
lowerSeries(self) QLineSeries
metaObject(self) QMetaObject
moveToThread(self, QThread)
name(self) str
nameChanged

nameChanged(self) [signal]

objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

opacity(self) float
opacityChanged

opacityChanged(self) [signal]

parent(self) QObject
pen(self) QPen
pointLabelsClipping(self) bool
pointLabelsClippingChanged

pointLabelsClippingChanged(self, bool) [signal]

pointLabelsColor(self) QColor
pointLabelsColorChanged

pointLabelsColorChanged(self, Union[QColor, Qt.GlobalColor, QGradient]) [signal]

pointLabelsFont(self) QFont
pointLabelsFontChanged

pointLabelsFontChanged(self, QFont) [signal]

pointLabelsFormat(self) str
pointLabelsFormatChanged

pointLabelsFormatChanged(self, str) [signal]

pointLabelsVisibilityChanged

pointLabelsVisibilityChanged(self, bool) [signal]

pointLabelsVisible(self) bool
pointsVisible(self) bool
pressed

pressed(self, Union[QPointF, QPoint]) [signal]

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
released

released(self, Union[QPointF, QPoint]) [signal]

removeEventFilter(self, QObject)
selected

selected(self) [signal]

sender(self) QObject
senderSignalIndex(self) int
setBorderColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setBrush(self, Union[QBrush, QColor, Qt.GlobalColor, QGradient])
setColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setLowerSeries(self, QLineSeries)
setName(self, str)
setObjectName(self, str)
setOpacity(self, float)
setParent(self, QObject)
setPen(self, Union[QPen, QColor, Qt.GlobalColor, QGradient])
setPointLabelsClipping(self, enable: bool = True)
setPointLabelsColor(self, Union[QColor, Qt.GlobalColor, QGradient])
setPointLabelsFont(self, QFont)
setPointLabelsFormat(self, str)
setPointLabelsVisible(self, visible: bool = True)
setPointsVisible(self, visible: bool = True)
setProperty(self, str, Any) bool
setUpperSeries(self, QLineSeries)
setUseOpenGL(self, enable: bool = True)
setVisible(self, visible: bool = True)
show(self)
signalsBlocked(self) bool
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
type(self) QAbstractSeries.SeriesType
upperSeries(self) QLineSeries
useOpenGL(self) bool
useOpenGLChanged

useOpenGLChanged(self) [signal]

visibleChanged

visibleChanged(self) [signal]

class schrodinger.trajectory.trajectory_gui_dir.plots.EnergyPlotPanel(plot_view, parent=None)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.BaseAdvancedPlotPanel

Plot for energy analysis.

ui_module = <module 'schrodinger.trajectory.trajectory_gui_dir.energy_plot_ui' from '/scr/buildbot/savedbuilds/2022-2/NB/build-128/internal/lib/python3.8/site-packages/schrodinger/trajectory/trajectory_gui_dir/energy_plot_ui.py'>
model_class

alias of schrodinger.trajectory.trajectory_gui_dir.traj_plot_models.EnergyPlotModel

SHORTCUT_PREFIX = 'Energy'
__init__(plot_view, parent=None)[source]
initSetUp()[source]

Creates widget from ui and stores it ui_widget.

Suggested subclass use: create and initialize subwidgets, and connect signals.

initFinalize()[source]

Suggested subclass use: perform any remaining initialization.

defineMappings()[source]

Override this in the subclass to define mappings. Should return a list of tuples [(<target>, <param>)]. Targets can be:

  1. a basic widget, like QLineEdit or QComboBox

  2. a custom object that inherits MapperMixin or TargetMixin

  3. a TargetSpec instance

  4. a slot

For common widgets, standard signals and getter/setter methods will be used, as defined in mappers._get_default_access_names().

For more fine-grained custom control, instantiate a TargetSpec object, which allows custom setters, getters, and signals to be specified.

Supplying a slot as the first element of the tuple is equivalent to providing TargetSpec(slot=my_slot).

Note that all target slots are triggered on setModel() as well as in response to the specified signal.

The param is an abstract param reference, e.g. MyModel.my_param.

Example:

def defineMappings(self):
    combo = self.style_combo
    return [(self.name_le, MyModel.name),
            (TargetSpec(combo,
                    getter=combo.currentText,
                    setter=combo.setCurrentText), MyModel.style),
            (self.coord_widget, MyModel.coord),
            (self._onASLTextChanged, MyModel.asl_text)]
getSignalsAndSlots(model)[source]

Override this method to specify signal and slot pairs that need to be connected/disconnected whenever the model instance is switched using setModel. The model instance is provided as an argument so that instance-specific signals can be used, but any pairs of signals and slots may be returned from this method.

Returns

a list of 2-tuples where each tuple is a signal, slot pair

updatePlotValues()[source]

Slot for updating the chart based on current UI selection.

getEnergyValues()[source]

Return the energy values based on the current panel settings. :return:

APPLY_LEGACY_STYLESHEET = True
APPLY_PANELX_STYLESHEET = False
class BtnPos(value)

Bases: enum.IntEnum

An enumeration.

Left = 0
Middle = 1
Right = 2
DrawChildren = 2
DrawWindowBackground = 1
IgnoreMask = 4
PRESETS_FEATURE_FLAG = False
class PaintDeviceMetric

Bases: int

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

Bases: int

class RenderFlags
class RenderFlags(Union[QWidget.RenderFlags, QWidget.RenderFlag]) None
class RenderFlags(QWidget.RenderFlags) None

Bases: sip.simplewrapper

__init__(*args, **kwargs)
SHOW_AS_WINDOW = True
class StdBtn(value)

Bases: enum.IntEnum

An enumeration.

Ok = 0
Cancel = 1
Reset = 2
Help = 3
acceptDrops(self) bool
property accepted
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
EnergyPlotPanel.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(event)

Ensures proper handling of OK, Cancel, and [X] button clicks

closeRequested
colorCount(self) int
connectNotify(self, QMetaMethod)
contentsMargins(self) QMargins
contentsRect(self) QRect
contextMenuEvent(self, QContextMenuEvent)
contextMenuPolicy(self) Qt.ContextMenuPolicy
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createWindowContainer(QWindow, parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0) QWidget
cursor(self) QCursor
customContextMenuRequested

customContextMenuRequested(self, QPoint) [signal]

customEvent(self, QEvent)
debug()
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) int
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) PyQt5.sip.voidptr
ensurePolished(self)
enterEvent(self, QEvent)
error(*args, **kwargs)

Shows a popup error message box. For parameter documentation see messagebox.MessageBox.

event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
find(PyQt5.sip.voidptr) QWidget
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, 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
forgetMessageBoxResponse(key)

Forgets any previously saved response that was stored via a save_response_key.

Parameters

key – the key for the response to forget

frameGeometry(self) QRect
frameSize(self) QSize
geometry(self) QRect
getContentsMargins(self) Tuple[int, int, int, int]
getModel()
classmethod getPanelInstance(create=True)

Return the singleton instance of this panel, creating one if necessary.

Parameters

create (bool) – Whether to create an instance of the panel if none exists

Returns

instance of this panel.

Return type

PanelMixin

grab(self, rectangle: QRect = QRect(QPoint(0, 0), QSize(- 1, - 1))) QPixmap
grabGesture(self, Qt.GestureType, flags: Union[Qt.GestureFlags, 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)
info(*args, **kwargs)

Shows a popup information message box. For parameter documentation see messagebox.MessageBox.

inherits(self, str) bool
initLayOut()

@overrides: widgetmixins.InitMixin

initPainter(self, QPainter)
initSetDefaults()

@overrides: widgetmixins.InitMixin

initSetOptions()

Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).

inputMethodEvent(self, QInputMethodEvent)
inputMethodHints(self) Qt.InputMethodHints
inputMethodQuery(self, Qt.InputMethodQuery) Any
EnergyPlotPanel.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)
makeInitialModel()
mapFrom(self, QWidget, QPoint) QPoint
mapFromGlobal(self, QPoint) QPoint
mapFromParent(self, QPoint) QPoint
mapTo(self, QWidget, QPoint) QPoint
mapToGlobal(self, QPoint) QPoint
mapToParent(self, QPoint) QPoint
mappedParams()

Return a list of the abstract params that are mapped to.

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
property model
mouseDoubleClickEvent(self, QMouseEvent)
mouseGrabber() QWidget
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
move(self, QPoint)
EnergyPlotPanel.move(self, int, int) -> None
moveEvent(self, QMoveEvent)
moveToThread(self, QThread)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr) Tuple[bool, int]
nativeParentWidget(self) QWidget
nextInFocusChain(self) QWidget
normalGeometry(self) QRect
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

overrideWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
overrideWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
paintEngine(self) QPaintEngine
paintEvent(self, QPaintEvent)
paintingActive(self) bool
palette(self) QPalette
classmethod panel(blocking=False, modal=False, finished_callback=None)

Open an instance of this class.

For full argument documentation, see ExecutionMixin.run.

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.

question(*args, **kwargs)

Shows a popup question message box. For parameter documentation see messagebox.QuestionMessageBox.

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: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren))
render(self, QPainter, targetOffset: QPoint = QPoint(), sourceRegion: QRegion = QRegion(), flags: Union[QWidget.RenderFlags, QWidget.RenderFlag] = QWidget.RenderFlags(QWidget.RenderFlag.DrawWindowBackground | QWidget.RenderFlag.DrawChildren)) None
repaint(self)
EnergyPlotPanel.repaint(self, int, int, int, int) -> None
repaint(self, QRect) None
repaint(self, QRegion) None
reportValidation(results)

Present validation messages to the user. This is an implmentation of the ValidationMixin interface and does not need to be called directly.

This method assumes that error and question methods have been defined in the subclass, as in e.g. widget_mixins.MessageBoxMixin.

Parameters

results (validation.ValidationResults) – Set of validation results generated by validate

Returns

if True, there were no validation errors and the user decided to continue despite any warnings. If False, there was at least one validation error or the user decided to abort when faced with a warning.

resetMappedParams()
resize(self, QSize)
EnergyPlotPanel.resize(self, int, int) -> None
resizeEvent(self, QResizeEvent)
restoreGeometry(self, Union[QByteArray, bytes, bytearray]) bool
run(blocking=False, modal=False, finished_callback=None)

Show this widget, while optionally blocking, making the widget window modal, and registering a callback for when the widget is closed again.

Parameters
  • blocking (bool) – if True, block progress in the calling method until the widget is closed again.

  • modal (bool) – if True, open this widget as window modal. Otherwise, open this widget as nonmodal.

  • finished_callback (a callable object) – an object that will be called with no arguments when this widget is closed.

runAllSlots()
runValidation(silent=False, validate_children=True, stop_on_fail=True)

Runs validation and reports the results (unless run silently).

Parameters
  • silent (bool) – run without any reporting (i.e. error messages to the user). This is useful if we want to programmatically test validity. Changes return value of this method from ValidationResults to a boolean.

  • validate_children (bool) – run validation on all child objects. See _validateChildren for documentation on what this entails.

  • stop_on_fail (bool) – stop validation when first failure is encountered

Returns

if silent is False, returns the validation results. If silent is True, returns a boolean generated by reportValidation.

Return type

ValidationResults or bool

saveGeometry(self) QByteArray
EnergyPlotPanel.scroll(self, int, int)
EnergyPlotPanel.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)
EnergyPlotPanel.setBaseSize(self, int, int)
setBaseSize(self, QSize) None
EnergyPlotPanel.setContentsMargins(self, int, int, int, int)
setContentsMargins(self, QMargins) None
setContextMenuPolicy(self, Qt.ContextMenuPolicy)
setCursor(self, Union[QCursor, Qt.CursorShape])
setDefaults()

@overrides: af2.App

setDisabled(self, bool)
setEnabled(self, bool)
setFixedHeight(self, int)
setFixedSize(self, QSize)
EnergyPlotPanel.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)
EnergyPlotPanel.setGeometry(self, int, int, int, int) -> None
setGraphicsEffect(self, QGraphicsEffect)
setHidden(self, bool)
setInputMethodHints(self, Union[Qt.InputMethodHints, Qt.InputMethodHint])
setLayout(self, QLayout)
setLayoutDirection(self, Qt.LayoutDirection)
setLocale(self, QLocale)
setMask(self, QBitmap)
setMask(self, QRegion) None
setMaximumHeight(self, int)
EnergyPlotPanel.setMaximumSize(self, int, int)
setMaximumSize(self, QSize) None
setMaximumWidth(self, int)
setMinimumHeight(self, int)
EnergyPlotPanel.setMinimumSize(self, int, int)
setMinimumSize(self, QSize) None
setMinimumWidth(self, int)
setModel(model)

Sets the model object for the mapper. Disconnects the old model, if one is set, and connects the new model. Pass in None to have no model set.

Parameters

model – the model instance or None

setModelWithoutSlots(model)

This is called when this MapperMixin is a sub-widget of a parent MapperMixin. Since the slots will all be called at the end of the parent setModel, they shouldn’t be called during the sub-widget’s setModel.

setMouseTracking(self, bool)
setObjectName(self, str)
setPalette(self, QPalette)
setParent(self, QWidget)
setParent(self, QWidget, Union[Qt.WindowFlags, Qt.WindowType]) None
setProperty(self, str, Any) bool
setShortcutAutoRepeat(self, int, enabled: bool = True)
setShortcutEnabled(self, int, enabled: bool = True)
EnergyPlotPanel.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)
EnergyPlotPanel.setTabOrder(QWidget, QWidget)
setTabletTracking(self, bool)
setToolTip(self, str)
setToolTipDuration(self, int)
setUpdatesEnabled(self, bool)
setVisible(self, bool)
setWhatsThis(self, str)
setWidgetLayout()

Set the widget layout

setWindowFilePath(self, str)
setWindowFlag(self, Qt.WindowType, on: bool = True)
setWindowFlags(self, Union[Qt.WindowFlags, Qt.WindowType])
setWindowFlagsForRun()
setWindowIcon(self, QIcon)
setWindowIconText(self, str)
setWindowModality(self, Qt.WindowModality)
setWindowModified(self, bool)
setWindowOpacity(self, float)
setWindowRole(self, str)
setWindowState(self, Union[Qt.WindowStates, Qt.WindowState])
setWindowTitle(self, str)
setting_model()
sharedPainter(self) QPainter
show()

Override the show method to clear and previous value of self.accepted

showEvent(self, QShowEvent)
showFullScreen(self)
showMaximized(self)
showMessageBox(*args, **kwargs)

Shows a popup message box. For parameter documentation see messagebox.MessageBox.

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 = <PyQt5.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(self, 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
EnergyPlotPanel.update(self, int, int, int, int) -> None
updateGeometry(self)
updateMicroFocus(self)
updatesEnabled(self) bool
visibleRegion(self) QRegion
warning(*args, **kwargs)

Shows a popup warning message box. For parameter documentation see messagebox.MessageBox.

whatsThis(self) str
wheelEvent(self, QWheelEvent)
width(self) int
widthMM(self) int
winId(self) PyQt5.sip.voidptr
window(self) QWidget
windowFilePath(self) str
windowFlags(self) Qt.WindowFlags
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.WindowStates
windowTitle(self) str
windowTitleChanged

windowTitleChanged(self, str) [signal]

windowType(self) Qt.WindowType
x(self) int
y(self) int
class schrodinger.trajectory.trajectory_gui_dir.plots.EnergyPlotManager(panel, cfg_file, sets)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.AbstractAdvancedTrajectoryPlotManager

Chart class for energy matrix data. The plot data will be populated by the EnergyPlotPanel.

PANEL_CLASS

alias of schrodinger.trajectory.trajectory_gui_dir.plots.EnergyPlotPanel

__init__(panel, cfg_file, sets)[source]

Initialize the energy plot.

Parameters
  • panel (QtWidgets.QWidget.) – Parent panel

  • cfg_file (str) – Path to the cfg file.

  • sets (dict) – Dict of sets where keys are set names and values are ASLs.

configureTask(task, cfg_file, sets)[source]

Configure the energy task.

Parameters
getPlotType()[source]

Returns what type of plot this class uses; used for grouping export data.

enableSeriesTracking()[source]
loadFromTask(task)[source]

Load in results from the given task.

Parameters

task (traj_plot_models.TrajectoryEnergyJobTask) – Task to get result data from.

setPlotData(energies)[source]

Set self.energies array to the given data, and re-draw the chart.

getDataForExport()[source]

Return a list of row data to export to Excel or CSV. Used by the export menu in the plot sub-window.

getExportData()[source]

Return a list of row data to export to Excel. Used by the “Export Results…” button of the parent plots panels.

Returns

Data to be exported

Return type

list(list)

getInitialPlotTitleAndTooltip()[source]

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

getSettingsHash()[source]
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

createShortcutWidget(plot_panel)

Create and store reference to a shortcut widget for a given Advanced Plot

Parameters

plot_panel (BaseAdvancedPlotPanel) – Plot panel that shortcut will launch

Returns

Shortcut for the Advanced Plot

Return type

AdvancedPlotShortcut

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getPlotTitle()
inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str
class schrodinger.trajectory.trajectory_gui_dir.plots.PlanarAngleAnalysisPlot(panel, alist)[source]

Bases: schrodinger.trajectory.trajectory_gui_dir.plots.TrajectoryAnalysisPlotManager

__init__(panel, alist)[source]
configureTask(task, alist)[source]

Configure the specified task by assigning it the analysis mode, and assigning inputs based on the currently selected trajectory. Task’s taskDone signal is connected to self._onTaskEnded().

PANEL_CLASS = None
blockSignals(self, bool) bool
chart()
childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
createCollapsiblePlotWidget()
createPanel()

For advanced plots, creates an instance of a plot panel and returns it. For simple (panel-less) plots, returns None.

customEvent(self, QEvent)
deleteLater(self)
deletePlot
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
displayAsl
displayFrameAndAsl
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
exportToCSV()

Export plot data to a CSV file

exportToExcel()

Export data to an .xls file

findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
formatPlotAxes()

Formats axes tick numbers and spacing depending on result data.

generateSettingsHash(settings_list)

Return a tuple that uniquely identifies this plot.

Parameters

settings_list (list) – List of settings that can uniquely identify the plot. In addition to these, the plot class name and trajectory path will be added.

Returns

Unique identifier for the plot.

Return type

tuple

getDataForExport()

Return a list of row data to export to CSV or Excel.

Returns

Data to be exported

Return type

list(list)

getExportData()

Most panels export the same data whether export was selected from the plot panel or the main panel. Override this method to export different type of data when exporting from the parent panel, via the “Export Results…” button.

getInitialPlotTitleAndTooltip()

Return the plot title and tooltip for this plot.

Returns

Plot title, Plot tooltip.

Return type

(str, str or None)

getPlotTitle()
getPlotType()

Returns what type of plot this class uses; used for grouping export data. For TRAJECTORY grouping, each plot’s data is added as a column in the same Excel sheet.

getSettingsHash()
inherits(self, str) bool
installEventFilter(self, QObject)
isRunning()

Return True if the plot is still generating data.

isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loadFromTask(task)

Load in results from the given task.

Parameters

task (tasks.AbstractTask) – Task to get result data from.

metaObject(self) QMetaObject
moveToThread(self, QThread)
newDataAvailable
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

onPlotClicked(value)
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)
saveImage()

Save a .png file of the plot

sender(self) QObject
senderSignalIndex(self) int
setObjectName(self, str)
setParent(self, QObject)
setProperty(self, str, Any) bool
setupView(fixed_height=250, multi_series=False)
showContextMenu()
showWarning
signalsBlocked(self) bool
start()
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
staticMetaObject = <PyQt5.QtCore.QMetaObject object>
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = - 1) str