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

Class AdvOptionsFrame

       object --+            
                |            
sip.simplewrapper --+        
                    |        
          sip.wrapper --+    
                        |    
     PyQt5.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, dialog_master=None)
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)

Inherited from PyQt5.QtCore.QObject: __getattr__, blockSignals, childEvent, children, connectNotify, customEvent, deleteLater, destroyed, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, objectNameChanged, parent, property, pyqtConfigure, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

Inherited from sip.simplewrapper: __new__

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

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

Inherited from PyQt5.QtCore.QObject: staticMetaObject

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, dialog_master=None)
(Constructor)

 

See class docstring.

Parameters:
  • dialog_master (QWidget) - The widget that will be the master widget of the Advanced Options dialog. If not provided, the app argument will be used.
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.