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

Method addChannel

gui/src/plotmanager.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void PlotManager::addChannel(ChannelComponent *c)
132{
133 m_channels.append(c->plotChannelCmpt());
134 PlotComponent *plt = c->plotChannelCmpt()->plotComponent();
135 plt->addChannel(c);
136 m_channelPlotcomboMap.insert(c, new PlotManagerCombobox(this, c));
137 c->addChannelToPlot();
138}
139
140void PlotManager::removeChannel(ChannelComponent *c)
141{

Callers 4

moveChannelMethod · 0.45
addPlotChannelMethod · 0.45

Calls 4

appendMethod · 0.80
plotChannelCmptMethod · 0.80
plotComponentMethod · 0.45
addChannelToPlotMethod · 0.45

Tested by

no test coverage detected