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

Method showGoToDialog

src/openms_gui/source/VISUAL/Plot3DWidget.cpp:53–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 void Plot3DWidget::showGoToDialog()
54 {
55 Plot2DGoToDialog goto_dialog(this, canvas_->getMapper().getDim(DIM::X).getDimNameShort(), canvas_->getMapper().getDim(DIM::Y).getDimNameShort());
56 auto va = canvas()->getVisibleArea().getAreaXY();
57 goto_dialog.setRange(va);
58
59 auto all_area_xy = canvas_->getMapper().mapRange(canvas_->getDataRange());
60 goto_dialog.setMinMaxOfRange(all_area_xy);
61
62 goto_dialog.enableFeatureNumber(false);
63 if (goto_dialog.exec())
64 {
65 canvas()->setVisibleArea(goto_dialog.getRange());
66 }
67 }
68
69} //namespace

Callers

nothing calls this directly

Calls 7

mapRangeMethod · 0.80
enableFeatureNumberMethod · 0.80
setVisibleAreaMethod · 0.80
getRangeMethod · 0.80
canvasFunction · 0.50
setRangeMethod · 0.45
setMinMaxOfRangeMethod · 0.45

Tested by

no test coverage detected