schrodinger.application.models.gui.menus module¶
Context menus for model-related interactions. Each menu class encapsulates the actions and signals for a specific model type.
- class schrodinger.application.models.gui.menus.ActionText¶
Bases:
objectNamespace for menu action texts
- VIEW_CONFIGURATIONS = 'View configurations'¶
- VIEW_RECEIPTS_COMING_SOON = 'View receipts (coming soon)'¶
- COPY_DEFINITION_COMING_SOON = 'Copy definition (coming soon)'¶
- EDIT_DEFINITION = 'Edit definition'¶
- DELETE_DEFINITION_COMING_SOON = 'Delete definition (coming soon)'¶
- RUN_MODEL = 'Run model'¶
- VIEW_RECEIPTS = 'View Receipts'¶
- CREATE_CHILD_CONFIGURATION = 'Create child configuration'¶
- COPY_CONFIGURATION_COMING_SOON = 'Copy configuration (coming soon)'¶
- EDIT_CONFIGURATION = 'Edit configuration'¶
- DELETE_CONFIGURATION_COMING_SOON = 'Delete configuration (coming soon)'¶
- VIEW_RECEIPT_COMING_SOON = 'View receipt (coming soon)'¶
- RE_RUN_MODEL_COMING_SOON = 'Re-run model (coming soon)'¶
- class schrodinger.application.models.gui.menus.ModelDefinitionMenu(*args, **kwargs)¶
Bases:
_ModelMenuContext menu for model definitions.
- viewConfigurationsClicked¶
A
pyqtSignalemitted by instances of the class.
- editClicked¶
A
pyqtSignalemitted by instances of the class.
- class schrodinger.application.models.gui.menus.ModelConfigurationMenu(*args, **kwargs)¶
Bases:
_ModelMenuContext menu for model configurations.
- runModelClicked¶
A
pyqtSignalemitted by instances of the class.
- viewReceiptsClicked¶
A
pyqtSignalemitted by instances of the class.
- createChildClicked¶
A
pyqtSignalemitted by instances of the class.
- editClicked¶
A
pyqtSignalemitted by instances of the class.
- __init__(*args, **kwargs)¶
- setValidationSummary(summary: ValidationSummary) → None¶
Set the validation summary used to determine if configurations are runnable.
- showForModel(config: ModelConfiguration, pos: QPoint) → None¶