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

Method deleteChannel

gui/src/plotmarkercontroller.cpp:276–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276void MarkerPanel::deleteChannel(QString name)
277{
278 if(!m_map.contains(name))
279 return;
280 QWidget *w = m_map[name];
281 m_panelLayout->removeWidget(w);
282 delete w;
283 m_map.remove(name);
284}
285
286void MarkerPanel::updateChannel(QString name, QList<PlotMarkerController::MarkerInfo> mi)
287{

Callers

nothing calls this directly

Calls 3

containsMethod · 0.45
removeWidgetMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected