C++ (Qt)qint8 MainWindow::slotAddTextToLog(const QString text){ teLog->append(QDate::currentDate().toString("dd.MM.yyyy") + " " + QTime::currentTime().toString() + " - " + text); return 0;}
C++ (Qt)teLog->append(QString("Test\r\n"));
C++ (Qt)teLog->setText(teLog->toHtml() + QString("Test\r\n"));