MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / showSpectrumAsNew1D

Method showSpectrumAsNew1D

src/openms_gui/source/VISUAL/DataSelectionTabs.cpp:188–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186 }
187
188 void DataSelectionTabs::showSpectrumAsNew1D(int index)
189 {
190 Plot1DWidget* widget_1d = tv_->getActive1DWidget();
191 Plot2DWidget* widget_2d = tv_->getActive2DWidget();
192
193 if (widget_1d || widget_2d)
194 {
195 if (spectra_view_widget_->isVisible())
196 {
197 spectraview_controller_->showSpectrumAsNew1D(index);
198 }
199
200 if (id_view_widget_->isVisible())
201 {
202 idview_controller_->showSpectrumAsNew1D(index);
203 }
204 }
205 }
206
207 void DataSelectionTabs::showChromatogramsAsNew1D(const std::vector<int>& indices)
208 {

Callers 2

currentTabChangedMethod · 0.45
tabBarDoubleClickedMethod · 0.45

Calls 2

getActive1DWidgetMethod · 0.80
getActive2DWidgetMethod · 0.80

Tested by

no test coverage detected