schrodinger.application.models.gui.gui_models module

CompoundParam-based models for models2 GUIs. Not to be confused with LiveDesign models.

class schrodinger.application.models.gui.gui_models.ModelType

Bases: Enum

DEFINITION = 1
CONFIGURATION = 2
class schrodinger.application.models.gui.gui_models.SaveMode

Bases: Enum

CREATE = 1
EDIT = 2
class schrodinger.application.models.gui.gui_models.PropagationStrategy

Bases: Enum

PROPAGATE_ALL = 1
NO_PROPAGATION = 2
class schrodinger.application.models.gui.gui_models.DefinitionEditorModel(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

definition: ModelDefinition

A parameter of the class.

save_mode: SaveMode

A parameter of the class.

definitionChanged

A pyqtSignal emitted by instances of the class.

definitionReplaced

A pyqtSignal emitted by instances of the class.

save_modeChanged

A pyqtSignal emitted by instances of the class.

save_modeReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.models.gui.gui_models.ConfigurationEditorModel(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

save_mode: SaveMode

A parameter of the class.

composite_model: CompositeModel

A parameter of the class.

composite_modelChanged

A pyqtSignal emitted by instances of the class.

composite_modelReplaced

A pyqtSignal emitted by instances of the class.

save_modeChanged

A pyqtSignal emitted by instances of the class.

save_modeReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.models.gui.gui_models.PropagationStrategyModel(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

constraint_diffs: list[ConstraintDiff]

A parameter of the class.

strategy: PropagationStrategy

A parameter of the class.

num_descendants: int

A parameter of the class.

hasRestrictions() bool
constraint_diffsChanged

A pyqtSignal emitted by instances of the class.

constraint_diffsReplaced

A pyqtSignal emitted by instances of the class.

num_descendantsChanged

A pyqtSignal emitted by instances of the class.

num_descendantsReplaced

A pyqtSignal emitted by instances of the class.

strategyChanged

A pyqtSignal emitted by instances of the class.

strategyReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.models.gui.gui_models.ExecutionPanelModel(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

task: ModelRunnerTask

A parameter of the class.

taskChanged

A pyqtSignal emitted by instances of the class.

taskReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.models.gui.gui_models.ReceiptsBrowserModel(*args, _param_type=<object object>, **kwargs)

Bases: CompositeModel

receipts: list[ExecutionRecord]

A parameter of the class.

sel_receipts: list[ExecutionRecord]

A parameter of the class.

configsChanged

A pyqtSignal emitted by instances of the class.

configsReplaced

A pyqtSignal emitted by instances of the class.

definitionChanged

A pyqtSignal emitted by instances of the class.

definitionReplaced

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.

outputsChanged

A pyqtSignal emitted by instances of the class.

outputsReplaced

A pyqtSignal emitted by instances of the class.

receiptsChanged

A pyqtSignal emitted by instances of the class.

receiptsReplaced

A pyqtSignal emitted by instances of the class.

sel_receiptsChanged

A pyqtSignal emitted by instances of the class.

sel_receiptsReplaced

A pyqtSignal emitted by instances of the class.

class schrodinger.application.models.gui.gui_models.LibraryModel(*args, _param_type=<object object>, **kwargs)

Bases: CompoundParam

model_type: ModelType

A parameter of the class.

definitions: list[ModelDefinition]

A parameter of the class.

sel_definitions: list[ModelDefinition]

A parameter of the class.

configs: list[ModelConfiguration]

A parameter of the class.

sel_configs: list[ModelConfiguration]

A parameter of the class.

model_name_query: str

A parameter of the class.

configsChanged

A pyqtSignal emitted by instances of the class.

configsReplaced

A pyqtSignal emitted by instances of the class.

definitionsChanged

A pyqtSignal emitted by instances of the class.

definitionsReplaced

A pyqtSignal emitted by instances of the class.

model_name_queryChanged

A pyqtSignal emitted by instances of the class.

model_name_queryReplaced

A pyqtSignal emitted by instances of the class.

model_typeChanged

A pyqtSignal emitted by instances of the class.

model_typeReplaced

A pyqtSignal emitted by instances of the class.

sel_configsChanged

A pyqtSignal emitted by instances of the class.

sel_configsReplaced

A pyqtSignal emitted by instances of the class.

sel_definitionsChanged

A pyqtSignal emitted by instances of the class.

sel_definitionsReplaced

A pyqtSignal emitted by instances of the class.