schrodinger.application.models.gui.execution_gui module

class schrodinger.application.models.gui.execution_gui.ConfigurationSummary(*args, variant: enum.StrEnum | None = None, **kwargs)

Bases: BaseWidget

initSetUp()

Creates widget from ui and stores it ui_widget.

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

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.

setConfiguration(model_config: ModelConfiguration)
class schrodinger.application.models.gui.execution_gui.SourceSelector(*args, variant: enum.StrEnum | None = None, **kwargs)

Bases: BaseWidget

initSetUp()

Creates widget from ui and stores it ui_widget.

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

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.

getErrorMessage() str | None

Return an error message if the source is invalid, or None.

makeRowSource()
class schrodinger.application.models.gui.execution_gui.SinkSelector(*args, variant: enum.StrEnum | None = None, **kwargs)

Bases: BaseWidget

initSetUp()

Creates widget from ui and stores it ui_widget.

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

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.

getErrorMessage() str | None

Return an error message if the sink is invalid, or None.

makeRowSink()
class schrodinger.application.models.gui.execution_gui.ExecutionPanel(*args, **kwargs)

Bases: Panel

model_class

alias of ExecutionPanelModel

executionRecordCreated

A pyqtSignal emitted by instances of the class.

PROPAGATE_PANELX_STYLES = True
__init__(*args, **kwargs)
initSetUp()

Creates widget from ui and stores it ui_widget.

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

initLayOut()

@overrides: widgetmixins.InitMixin

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

setCompositeModel(composite: CompositeModel)
setLibrary(library: AbstractLibraryClient) None