80 if (QThread::currentThread() != QApplication::instance()->thread())
82 QMetaObject::invokeMethod(
this,
"slotLog",Qt::QueuedConnection, Q_ARG(
Logtype, _type), Q_ARG(QString, _message));
89 textColor = QColor(0,160,0);
92 textColor = QColor(0,0,0);
95 textColor = QColor(160,160,0);
98 textColor = QColor(250,0,0);
101 textColor = QColor(0,0,250);
108 statusBar_->showMessage(_message,textColor, 4000);
Logtype
Log types for Message Window.
void slotLog(Logtype _type, QString _message)
Slot writing everything to the Logger widget.
LoggerWidget * logWidget_
Textedit at the bottom for log messages.
void append(const QString &_text, Logtype _type)
Append a new logmessage to log viewer.