Use QTextEdit to show log output