schrodinger.maestro_utils.surface_manager.choose_entry_dialog module

class schrodinger.maestro_utils.surface_manager.choose_entry_dialog.ChooseEntryDialog(*args, project: Project, file_path: str, entries_to_select: set[int] = None, wsreplace: bool = None, **kwargs)

Bases: BaseDialog

Dialog for choosing a surface entry.

ui_module = <module 'schrodinger.maestro_utils.surface_manager.choose_entry_dialog_ui' from '/scr/buildbot/builds/build/internal/lib/python3.11/site-packages/schrodinger/maestro_utils/surface_manager/choose_entry_dialog_ui.py'>
__init__(*args, project: Project, file_path: str, entries_to_select: set[int] = None, wsreplace: bool = None, **kwargs)

Constructor for ChooseEntryDialog. Sets up the UI.

Parameters:
  • project – The current project.

  • file_path – The path to the file being imported.

  • entries_to_select – The entry IDs to select in the table.

  • wsreplace – Whether to replace the workspace entry if importing into a new entry.

initSetOptions()

Suggested subclass use: set instance variables, excluding layouts and subwidgets. Also use here to (optionally) apply the legacy stylesheet spacing settings (PANEL-19101).

initSetUp()

Creates widget from ui and stores it ui_widget.

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