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.
- selected: bool¶
A parameter of the class.
- property required: bool¶
Required if the input has no default value.
- input_defChanged¶
A
pyqtSignalemitted by instances of the class.
- input_defReplaced¶
A
pyqtSignalemitted by instances of the class.
- selectedChanged¶
A
pyqtSignalemitted by instances of the class.
- selectedReplaced¶
A
pyqtSignalemitted 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.
- 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
checkedis False.
- filterChanged¶
A
pyqtSignalemitted by instances of the class.
- filterReplaced¶
A
pyqtSignalemitted by instances of the class.
- inputsChanged¶
A
pyqtSignalemitted by instances of the class.
- inputsReplaced¶
A
pyqtSignalemitted by instances of the class.
- selected_transformChanged¶
A
pyqtSignalemitted by instances of the class.
- selected_transformReplaced¶
A
pyqtSignalemitted by instances of the class.