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

Method updatePosition

src/backend/worksheet/plots/cartesian/CartesianPlotLegend.cpp:447–453  ·  view source on GitHub ↗

! calculates the position of the legend, when the position relative to the parent was specified (left, right, etc.) */

Source from the content-addressed store, hash-verified

445 calculates the position of the legend, when the position relative to the parent was specified (left, right, etc.)
446*/
447void CartesianPlotLegendPrivate::updatePosition() {
448 WorksheetElementPrivate::updatePosition();
449
450 suppressRetransform = true;
451 title->retransform();
452 suppressRetransform = false;
453}
454
455/*!
456 Reimplementation of QGraphicsItem::paint(). This function does the actual painting of the legend.

Callers 3

initMethod · 0.45
initMethod · 0.45
initMethod · 0.45

Calls 1

retransformMethod · 0.45

Tested by

no test coverage detected