Package schrodinger :: Package application :: Package desmond :: Module gui :: Class SimOptionsFrame
[hide private]
[frames] | no frames]

Class SimOptionsFrame

object --+
         |
        SimOptionsFrame

Responsible for drawing the simulation options widgets, including simulation time, recording intervals and the number of frames.

Instance Methods [hide private]
 
__init__(self, master, key, app)
See class docstring.
 
setup(self)
Sets up the panel with SLineEdit widgets
 
onTrajIntervalChanged(self)
Called when trajectory interval changes.
 
onNumOfFramesChanged(self, num_frames_str)
Called when the number of frames changes.
 
setEnabledExceptSimulationTime(self, enable)
 
onSimTimeChanged(self)
Called when simulation time changes.
 
setGuiState(self, state)
 
checkValidity(self)
Checks if all widgets have valid values.
 
updateKey(self, key)
Update the key based on the GUI settings
 
updateFromKey(self, key)
Updates widgets based on key.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  LE_WIDTH = 80
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, master, key, app)
(Constructor)

 

See class docstring.

Parameters:
  • master (af2.JobApp object.) - The root or master application
Overrides: object.__init__

onNumOfFramesChanged(self, num_frames_str)

 

Called when the number of frames changes.

Parameters:
  • num_frames_str (str) - Value of the number of frames field.

checkValidity(self)

 

Checks if all widgets have valid values. If a widget with invalid value was encountered, then returns string that describes the problem. Returns None if there are no issues.