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

Method heightChanged

src/frontend/dockwidgets/ImageDock.cpp:272–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void ImageDock::heightChanged(double value) {
273 CONDITIONAL_RETURN_NO_LOCK;
274
275 int height = Worksheet::convertToSceneUnits(value, m_worksheetUnit);
276 for (auto* image : m_imageList)
277 image->setHeight(height);
278}
279
280void ImageDock::keepRatioChanged(int state) {
281 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setHeightMethod · 0.80

Tested by

no test coverage detected