Package schrodinger :: Package application :: Package matsci :: Module atomicsymbolsgui :: Class ElementValidator
[hide private]
[frames] | no frames]

Class ElementValidator

                            object --+    
                                     |    
ui.qt.swidgets.EnforcingValidatorMixin --+
                                         |
                PyQt4.QtGui.QValidator --+
                                         |
                                        ElementValidator

A QValidator to check if the input is a partial or valid atomic symbol. Partial symbols are 1- or 2-(Uu) letter strings that could begin a valid atomic symbol.

Instance Methods [hide private]
 
validate(self, text, pos)
Check if the text is a partial or valid atomic symbol.

Inherited from ui.qt.swidgets.EnforcingValidatorMixin: restoreLastValidValue

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

validate(self, text, pos)

 

Check if the text is a partial or valid atomic symbol. Partial symbols are strings that could begin a valid atomic symbol.

See PyQt documentation for argument and return value documentation.

Overrides: ui.qt.swidgets.EnforcingValidatorMixin.validate