fixed bug with LineEdit returnPressed, new EchoMode for LineEdit

Hi,

as I am trying to use your code in a go project on a mac, I found an error with onreturnpressed and added the echomode, both for the widget lineedit.