Package schrodinger :: Package application :: Package desmond :: Module gui_v2 :: Class AdvOptionsFrame
[hide private]
[frames] | no frames]

Class AdvOptionsFrame

object --+
         |
        AdvOptionsFrame

Frame for the "Advanced Options" button.

Instance Methods [hide private]
 
__init__(self, master, key, win, mdc_callback, adv_dialog_class, is_annealing, is_replica_exchange, app)
See class docstring.
 
openAdvancedDialog(self)
 
model_changed_callback(self, model)
 
closeDialog(self)
Close the advanced options dialog.
 
hideDialog(self)
 
okPressed(self)
Called when the "OK" button of the advanced dialog is pressed.
 
applySettings(self)
Called when the "Apply" button of the advanced dialog is pressed.
 
cancelPressed(self)
Called when the "Cancel" button of the advanced dialog is pressed.
 
helpPressed(self)
 
checkValidity(self)
Checks if all widgets have valid values.
 
updateKey(self, key)
 
updateFromKey(self, key)

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

Class Variables [hide private]
  MDC_DEFAULT_HEIGHT = 350
  MDC_DEFAULT_WIDTH = 480
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, master, key, win, mdc_callback, adv_dialog_class, is_annealing, is_replica_exchange, app)
(Constructor)

 

See class docstring.

Overrides: object.__init__

okPressed(self)

 

Called when the "OK" button of the advanced dialog is pressed. Closes the dialog only if "Apply" operation was successful.

applySettings(self)

 

Called when the "Apply" button of the advanced dialog is pressed. Returns 0 on success, 1 if any of the widgets had invalid values.

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.