MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / log

Method log

scriptingwindow.cpp:359–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void ScriptingWindow::log(QString text)
360{
361 ScriptContainer *cont = qobject_cast<ScriptContainer*>(sender());
362 if (cont != nullptr)
363 ui->listLog->addItem(QString::number(elapsedTime.elapsed()) + "(" + cont->fileName + "): " + text);
364 else
365 ui->listLog->addItem(QString::number(elapsedTime.elapsed()) + ": " + text);
366
367 if (ui->cbAutoScroll->isChecked())
368 {
369 ui->listLog->scrollToBottom();
370 }
371}

Callers 10

setupFunction · 0.45
gotCANFrameFunction · 0.45
tickFunction · 0.45
setupFunction · 0.45
gotCANFrameFunction · 0.45
gotISOTPMessageFunction · 0.45
gotUDSMessageFunction · 0.45
tickFunction · 0.45
setupFunction · 0.45
gotCANFrameFunction · 0.45

Calls 2

addItemMethod · 0.80
elapsedMethod · 0.80

Tested by

no test coverage detected