schrodinger.ui.qt.presets.save_presets_dialog module

class schrodinger.ui.qt.presets.save_presets_dialog.SavePresetsDialog(preset_manager, preset_model)

Bases: schrodinger.ui.qt.basewidgets.BaseDialog

ui_module = <module 'schrodinger.ui.qt.presets.save_presets_dialog_ui' from '/scr/buildbot/savedbuilds/2024-3/NB/build-133/internal/lib/python3.11/site-packages/schrodinger/ui/qt/presets/save_presets_dialog_ui.py'>
__init__(preset_manager, preset_model)
Parameters
  • preset_manager (schrodinger.models.tasks.presets.PresetManager) – The preset manager to use for saving a preset.

  • preset_model (schrodinger.models.parameters.CompoundParam) – The model to use for saving the preset.

initSetUp()

Creates widget from ui and stores it ui_widget.

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

initSetOptions()

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