schrodinger.trajectory.trajectory_gui_dir.snapshot_custom_display_settings module¶
- class schrodinger.trajectory.trajectory_gui_dir.snapshot_custom_display_settings.CustomDisplaySettings(parent: PyQt6.QtWidgets.QWidget, is_lambda_dynamics_traj: bool)¶
Bases:
PyQt6.QtWidgets.QDialog
Custom display settings class for trajectory snapshots panel.
- Variables
settingsChanged() – A signal emitted when settings are changed.
- settingsChanged¶
pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- __init__(parent: PyQt6.QtWidgets.QWidget, is_lambda_dynamics_traj: bool)¶
- Parameters
parent – The Qt parent
is_lambda_dynamics_traj – True to disable and uncheck display_only_checkbox. False to enable it.
- isValidASL(asl)¶
Return True if asl is valid.
- showDlg(is_lambda_dynamics_traj: bool)¶
Update the dialog and show it.
- Parameters
is_lambda_dynamics_traj – True to disable and uncheck display_only_checkbox. False to enable it.
- enableOK()¶
Enable ‘OK’ button
- updateHideAtoms()¶
Enable/disable hide atoms option.
- updateToolTips()¶
Update tooltip of ui components which has dynamic tooltip.
- updateBindingSiteTooltip(checked)¶
Updates ‘Beyond Binding Site’ tooltip
- updateSolventsTooltip(checked)¶
Updates ‘Solvents Only’ tooltip
- updateNonpolarHydrogensTooltip(checked)¶
Updates ‘Nonpolar Hydrogens’ tooltip
- updateProteinTooltip(checked)¶
Updates ‘Protein Only’ tooltip
- updateAtomSelectorWidget()¶
Set enable state of atom selector widget
- updateDlg(is_lambda_dynamics_traj: bool)¶
Update dialog according to data
- Parameters
is_lambda_dynamics_traj – True to disable and uncheck display_only_checkbox. False to enable it.
- okClicked()¶
Update data according to dialog
- help()¶
Shows ‘Trajectory Snapshot Custom Display Settings’ dialog help