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

Method updateLabelsZoom

src/frontend/worksheet/WorksheetView.cpp:1248–1253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1246}
1247
1248void WorksheetView::updateLabelsZoom() const {
1249 const double zoom = zoomFactor();
1250 const auto& labels = m_worksheet->children<TextLabel>(AbstractAspect::ChildIndexFlag::Recursive | AbstractAspect::ChildIndexFlag::IncludeHidden);
1251 for (auto* label : labels)
1252 label->setZoomFactor(zoom);
1253}
1254
1255void WorksheetView::magnificationChanged(QAction* action) {
1256 if (action == noMagnificationAction) {

Callers

nothing calls this directly

Calls 1

setZoomFactorMethod · 0.80

Tested by

no test coverage detected