static redirect qDebug to QTextEdit