MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / zoomOut

Method zoomOut

pj_plotting/widget/src/PlotWidget.cpp:734–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734void PlotWidget::zoomOut(bool emit_signal) {
735 if (curveList().empty()) {
736 setZoomRectangle(QRectF(0, 1, 1, -1), false);
737 return;
738 }
739
740 updateMaximumZoomArea();
741 setZoomRectangle(maxZoomRect(), emit_signal);
742 replot();
743}
744
745void PlotWidget::onZoomOutHorizontalTriggered(bool emit_signal) {
746 updateMaximumZoomArea();

Callers 6

onCatalogItemsDroppedMethod · 0.80
FilterEditorPanelMethod · 0.80
refreshPreviewMethod · 0.80
applyToWidgetFunction · 0.80
linkedZoomOutMethod · 0.80

Calls 2

QRectFClass · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected