schrodinger.maestro_utils.surface_manager.display_tab module

class schrodinger.maestro_utils.surface_manager.display_tab.DisplayTab(parent: QWidget = None)

Bases: QWidget

Tab for displaying and editing surface display options.

__init__(parent: QWidget = None)

Constructor for DisplayTab. Sets up the UI and connects the signals.

Parameters:

parent – Parent widget, defaults to None

setupDefineAslMenu() None

Creates and sets up the menu for the define ASL button. This enables the menu indicator to be displayed.

setupStyleRadioButtons() None

Sets up the style radio buttons and connects their signals.

setupTransparencyControls() None

Sets up transparency controls using the transparency controller.

refreshStyleRadioButtons() None

Refreshes the style radio buttons based on the current surface information.

If all selected surfaces share the same style, the corresponding radio button is checked. If the selected surfaces have different styles, no radio button is checked.

refresh(surface_infos: list[SurfaceInfo]) None

Refreshes the display tab with the provided surface information.

Parameters:

surface_infos – List of SurfaceInfo objects we want to refresh the tab with.