Package schrodinger :: Package application :: Package desmond :: Module cwidget :: Class EntryField
[hide private]
[frames] | no frames]

Class EntryField

PyQt4.QtGui.QWidget --+
                      |
                     EntryField

A special composite widget which contains a labeled line edit field.

Instance Methods [hide private]
 
__init__(self, parent, label_text, initial_text="")
Create a labeled text entry area with text 'label_text', set the initial text value to 'initial_text' and if 'units_text' is defined then add a label after the editable text to display the lable
 
setText(self, text)
Set the text for the QLineEdit part of the entry field
 
text(self)
Returns the text for the QLineEdit part of the entry field
 
setValidator(self, validator)
 
hasAcceptableInput(self)