schrodinger.ui.qt.mapperwidgets.plptarget module

schrodinger.ui.qt.mapperwidgets.plptarget.find_param(param, params)

Utility function for finding the index of a param in a list by identity.

Parameters:
  • param – the param to search for

  • params – the list of params

Returns:

index of the param

class schrodinger.ui.qt.mapperwidgets.plptarget.PLPTargetMixin(*args, spec=None, **kwargs)

Bases: TargetMixin

Mixin for PLP views that provides logic for setting and mapping a PLP and creates a basic interface for all PLP views to implement.

EMPTY_PLP = ()
plpSelectionChanged

A pyqtSignal emitted by instances of the class.

__init__(*args, spec=None, **kwargs)
targetGetValue() list[schrodinger.models.parameters.CompoundParam]
targetSetValue(value: list[schrodinger.models.parameters.CompoundParam])
property spec
setSpec(spec)
setPLP(plp: list[schrodinger.models.parameters.CompoundParam])
selectedParams()
setSelectedParams(params: list[schrodinger.models.parameters.CompoundParam])
class schrodinger.ui.qt.mapperwidgets.plptarget.BasePLPSelectionTarget(plp_view: PLPTargetMixin)

Bases: TargetMixin, QObject

__init__(plp_view: PLPTargetMixin)
targetGetValue() list[schrodinger.models.parameters.CompoundParam]

Implementation of an abstract method in TargetMixin.

targetSetValue(value: list[schrodinger.models.parameters.CompoundParam])

Implementation of an abstract method in TargetMixin.