def __init__(self, text="<STR_LIT>", multiline=False):
self._multiline = multiline<EOL>if multiline:   self._widget = _g.QtGui.QTextEdit()<EOL>else:           self._widget = _g.QtGui.QLineEdit(); self.signal_return_pressed = self._widget.returnPressed<EOL>self.set_text(str(text))<EOL>self.signal_changed        = self._widget.textChanged<EOL>BaseObject.__init__(self)<EOL>self.get_value = self.get_text<EOL>self.set_value = self.set_text<EOL>self.show = self._widget.show<EOL>self.hide = self._widget.hide<EOL>
Simplified QLineEdit.