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

Method positionYChanged

src/frontend/dockwidgets/ImageDock.cpp:303–310  ·  view source on GitHub ↗

! called when label's current horizontal position relative to its parent (top, center, bottom, custom ) is changed. */

Source from the content-addressed store, hash-verified

301 called when label's current horizontal position relative to its parent (top, center, bottom, custom ) is changed.
302*/
303void ImageDock::positionYChanged(int index) {
304 CONDITIONAL_LOCK_RETURN;
305
306 auto position = m_image->position();
307 position.verticalPosition = WorksheetElement::VerticalPosition(index);
308 for (auto* image : m_imageList)
309 image->setPosition(position);
310}
311
312void ImageDock::customPositionXChanged(double value) {
313 CONDITIONAL_RETURN_NO_LOCK;

Callers

nothing calls this directly

Calls 3

VerticalPositionEnum · 0.85
positionMethod · 0.80
setPositionMethod · 0.45

Tested by

no test coverage detected