Package schrodinger :: Package ui :: Module ligfilter :: Class AddDefinitionDialog
[hide private]
[frames] | no frames]

Class AddDefinitionDialog

PyQt4.QtGui.QDialog --+
                      |
                     AddDefinitionDialog

Frame for generating a pattern definition.

Instance Methods [hide private]
 
warning(self, text)
 
__init__(self, parent, definitions)
 
okPressed(self)
 
rejected(self)
 
helpPressed(self)
 
display(self)
Brings up the dialog and waits for the user to close it.
 
setDefaults(self)
 
updateDefinitionState(self, selected=None, deselected=None)
 
view(self)
 
getDefinition(self)
Return the pattern defined in the AddDefinitionDialog.
 
updateText(self)
 
include(self)
 
exclude(self)
 
getSMARTSFromSelection(self)
Set the SMARTS entry field according to atoms selected in the Workspace.
 
updateInclExclState(self, selected=None, deselected=None)
 
delete(self)
 
deleteAll(self)
Method Details [hide private]

display(self)

 

Brings up the dialog and waits for the user to close it. Returns None if cancelled, or modified receptor if OK.

getDefinition(self)

 

Return the pattern defined in the AddDefinitionDialog. Return None if the definition is bad, or if the user opts not to overwrite an existing pattern definition.