MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / on_trigger

Method on_trigger

DSView/pv/mainwindow.cpp:489–506  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487 }
488
489 void MainWindow::on_trigger(bool visible)
490 {
491 if (_device_agent->get_work_mode() != DSO)
492 {
493 _trigger_widget->update_view();
494 _trigger_dock->setVisible(visible);
495 _dso_trigger_dock->setVisible(false);
496 }
497 else
498 {
499 _dso_trigger_widget->update_view();
500 _trigger_dock->setVisible(false);
501 _dso_trigger_dock->setVisible(visible);
502 }
503
504 if (!visible)
505 _view->setFocus();
506 }
507
508 void MainWindow::on_measure(bool visible)
509 {

Callers

nothing calls this directly

Calls 2

get_work_modeMethod · 0.80
update_viewMethod · 0.45

Tested by

no test coverage detected