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

Class AdvOptionsFrame

PyQt4.QtCore.QObject --+
                       |
                      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.
 
updateDialogKeys(self)
Update the keys of the dialog from the options.
 
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)
Class Variables [hide private]
  MDC_DEFAULT_HEIGHT = 350
  MDC_DEFAULT_WIDTH = 480
Method Details [hide private]

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.