MCPcopy Create free account
hub / github.com/KDAB/GammaRay / showMessage

Method showMessage

plugins/statemachineviewer/statemachineviewerwidget.cpp:301–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void StateMachineViewerWidget::showMessage(const QString &message)
302{
303 // update log
304 auto logTextEdit = m_ui->logTextEdit;
305 logTextEdit->appendPlainText(message);
306
307 // auto-scroll hack
308 QScrollBar *sb = logTextEdit->verticalScrollBar();
309 sb->setValue(sb->maximum());
310}
311
312void StateMachineViewerWidget::stateConfigurationChanged(const StateMachineConfiguration &config)
313{

Callers 1

logTransmissionRateMethod · 0.80

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected