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

Method setMirrorModeActive

src/openms_gui/source/VISUAL/Plot1DCanvas.cpp:1250–1255  ·  view source on GitHub ↗

Sets whether this widget is currently in mirror mode

Source from the content-addressed store, hash-verified

1248
1249 /// Sets whether this widget is currently in mirror mode
1250 void Plot1DCanvas::setMirrorModeActive(bool b)
1251 {
1252 mirror_mode_ = b;
1253 qobject_cast<Plot1DWidget*>(spectrum_widget_)->toggleMirrorView(b);
1254 update_(OPENMS_PRETTY_FUNCTION);
1255 }
1256
1257 void Plot1DCanvas::paintGridLines_(QPainter& painter)
1258 {

Callers 1

contextMenuEventMethod · 0.80

Calls 1

toggleMirrorViewMethod · 0.80

Tested by

no test coverage detected