schrodinger.application.models.gui.components.pipeline_composer.input_selection_model module

Model for the Select Inputs dialog.

Wraps each InputDef in a SelectableInput so the row checkbox state and the required flag are first-class fields. The dialog reads sel_inputs (derived) when the user clicks Confirm.

class schrodinger.application.models.gui.components.pipeline_composer.input_selection_model.SelectableInput(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

Variables:
  • input_def – The wrapped input definition.

  • selected – Whether the row is currently selected for exposure.

input_def: InputDef

A parameter of the class.

selected: bool

A parameter of the class.

property required: bool

Required if the input has no default value.

input_defChanged

A pyqtSignal emitted by instances of the class.

input_defReplaced

A pyqtSignal emitted by instances of the class.

selectedChanged

A pyqtSignal emitted by instances of the class.

selectedReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.models.gui.components.pipeline_composer.input_selection_model.InputSelectionModel(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

Variables:
  • selected_transform – Name of the chosen transform (empty until the user picks one).

  • filter – Substring filter applied to the input name column.

  • inputs – All inputs for the chosen transform (empty until a transform is picked).

selected_transform: str

A parameter of the class.

filter: str

A parameter of the class.

inputs: list[SelectableInput]

A parameter of the class.

selectedInputs() list[InputDef]
hasAnySelected() bool
headerCheckState() CheckState

Tri-state for the column-0 header checkbox.

Returns Unchecked when there are no rows.

setAllSelected(checked: bool) None

Bulk-toggle all rows. Required rows always remain selected when checked is False.

filterChanged

A pyqtSignal emitted by instances of the class.

filterReplaced

A pyqtSignal emitted by instances of the class.

inputsChanged

A pyqtSignal emitted by instances of the class.

inputsReplaced

A pyqtSignal emitted by instances of the class.

selected_transformChanged

A pyqtSignal emitted by instances of the class.

selected_transformReplaced

A pyqtSignal emitted by instances of the class.