use QPlainTextEdit instead of QTextEdit