MCPcopy Create free account
hub / github.com/KDE/labplot / fitChanged

Method fitChanged

src/frontend/worksheet/WorksheetView.cpp:1236–1240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234}
1235
1236void WorksheetView::fitChanged(QAction* action) {
1237 m_worksheet->setZoomFit(static_cast<Worksheet::ZoomFit>(action->data().toInt()));
1238 updateScrollBarPolicy();
1239 updateFit();
1240}
1241
1242double WorksheetView::zoomFactor() const {
1243 double scale = transform().m11();

Callers

nothing calls this directly

Calls 2

setZoomFitMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected