MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / enableTracking

Method enableTracking

gui/src/plotcursors.cpp:154–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void PlotCursors::enableTracking(bool tracking)
155{
156 m_tracking = tracking;
157
158 m_yCursors.first->handle()->setVisible(!tracking);
159 m_yCursors.second->handle()->setVisible(!tracking);
160 updateTracking();
161 Q_EMIT update();
162}
163
164bool PlotCursors::tracking() const { return m_tracking; }
165

Callers 1

xTrackToggledMethod · 0.80

Calls 2

setVisibleMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected