MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / on_toolButtonMonitor_clicked

Method on_toolButtonMonitor_clicked

bt_editor/startup_dialog.cpp:65–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void StartupDialog::on_toolButtonMonitor_clicked()
66{
67 _mode = GraphicMode::MONITOR;
68 updateCurrentMode();
69
70 QTime now = QTime::currentTime();
71 static QTime prev_click_time = now;
72 int ms_delay = prev_click_time.msecsTo( now );
73 if( ms_delay > 0 && ms_delay <= QApplication::doubleClickInterval())
74 {
75 on_toolButtonStart_clicked();
76 }
77 else{
78 prev_click_time = now;
79 }
80}
81
82void StartupDialog::on_toolButtonReplay_clicked()
83{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected