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

Method execMoveBehind

src/backend/worksheet/WorksheetElement.cpp:355–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void WorksheetElement::execMoveBehind(QAction* action) {
356 auto* parent = parentAspect();
357 const int newIndex = action->data().toInt();
358 const int currIndex = parent->indexOfChild<AbstractAspect>(this, ChildIndexFlag::IncludeHidden);
359 parent->moveChild(this, newIndex - currIndex);
360}
361
362// align rect at position pos using horAlign and vertAlign
363QPointF WorksheetElement::align(QPointF pos, QRectF rect, HorizontalAlignment horAlign, VerticalAlignment vertAlign, bool positive) const {

Callers 3

moveElementBeforeMethod · 0.80
prepareDrawingMenuMethod · 0.80

Calls 2

moveChildMethod · 0.80
dataMethod · 0.45

Tested by 3

moveElementBeforeMethod · 0.64
prepareDrawingMenuMethod · 0.64