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

Class DefinitionViewerDialog

PyQt4.QtGui.QDialog --+
                      |
                     DefinitionViewerDialog

Frame containing a text box with a text display of the definition. Shows multi-level definitions (i.e., patterns built from other patterns) with indenting.

Instance Methods [hide private]
 
__init__(self, parent, definitionname, definitions)
Pass in a definition name and a dictionary of definitions (names and Definition objects), and this class displays the definition in a text box.
 
printTree(self, name, level)
Recursively descend through the included/excluded lists, printing to the text box and indenting the text at deeper levels.