Meant to behave like a QLineEdit (disallowing newlines and having a maximum length), but show multiple lines.