Package schrodinger :: Package application :: Package bioluminate :: Module bwidgets :: Class NumericLineEdit
[hide private]
[frames] | no frames]

Class NumericLineEdit

PyQt4.QtGui.QLineEdit --+
                        |
                       NumericLineEdit

A QtGui.QLineEdit with a builtin validator for floats or integers.

Instance Methods [hide private]
 
__init__(self, parent=None, width=50, validate_type='float', minimum=None, maximum=None)
 
validate(self)
Checks to see if the lineedit has acceptable input and changes the widget to indicate invalid input.
Method Details [hide private]

validate(self)

 

Checks to see if the lineedit has acceptable input and changes the widget to indicate invalid input. Even with a validator set users can input invalid args so this helps out.