schrodinger.trajectory.trajectory_gui_dir.advanced_settings module

class schrodinger.trajectory.trajectory_gui_dir.advanced_settings.MessageType

Bases: enum.Enum

Holds enums for error, warning, no issue cases

NONE = 'none'
ERROR = 'error'
WARNING = 'warning'
class schrodinger.trajectory.trajectory_gui_dir.advanced_settings.AdvancedSettings(hide_hideatoms_related_settings, parent=None)

Bases: PyQt6.QtWidgets.QDialog

Advanced settings class for trajectory viewer

Variables
  • advancedSettingsDismissed() – A signal emitted after dismissing AdvancedSettings dialog.

  • advancedSettingsChanged() – A signal emitted when advanced settings are changed.

advancedSettingsDismissed

A pyqtSignal emitted by instances of the class.

advancedSettingsChanged

A pyqtSignal emitted by instances of the class.

__init__(hide_hideatoms_related_settings, parent=None)
Parameters
  • hide_hideatoms_related_settings (bool) – A flag indicating whether to hide/show hide atoms related settings.

  • parent (QWidget) – The Qt parent

setPlaybackSettingsData(settings_data, has_pbsettings_data, fsys_atom_total=0)

Set the playback settings data to the current entry trajectory. If the entry trajectory has saved placback settings, the same will be used to show in UI. Otherwise, populate the latest values from UI and override the values in settings_data

Parameters
  • settings_data (PlaybackSettingsData Object) – Playback settings data stored in PlaybackSettings object

  • has_pbsetetings_data – True if the current entry trajectory has saved playback setings data

  • fsys_atom_total (int) – Total number of atoms in the system

showDlg()

Update the dialog and post it.

setReplicateErrorWarningIcon(message_type: schrodinger.trajectory.trajectory_gui_dir.advanced_settings.MessageType)

Set the icon and the text for warning and error scenarios

updateStatusLabel(title: str, message_type: schrodinger.trajectory.trajectory_gui_dir.advanced_settings.MessageType, tooltip: str)

Update status label associated with replication components.

updateReplicatedAtomTotalStatus()

Check the current atom total based on the replication settings

enableOK()

Enable ‘OK’ button

isDisplayOnlyCurrentDisplayedAtoms()

Whether to display only currently displayed atoms

updateBidningSiteRadius()

Set enable state of ‘Define binding site radius as:’.

updateAtomSelectorWidget()

Set enable state of atom selector widget

updateDlg()

Update dialog according to data

cancelClicked()

Reject and emit advancedSettingsDismissed() signal when clicked on ‘Cancel’ button

isValidASL(asl)

Return True if asl in the text box is valid.

okClicked()

Update data according to dialog

help()

Shows ‘Advanced Playback Settings’ dialog help