| 310 | } |
| 311 | |
| 312 | void ImageDock::customPositionXChanged(double value) { |
| 313 | CONDITIONAL_RETURN_NO_LOCK; |
| 314 | |
| 315 | const double x = Worksheet::convertToSceneUnits(value, m_worksheetUnit); |
| 316 | for (auto* image : m_imageList) { |
| 317 | auto position = image->position(); |
| 318 | position.point.setX(x); |
| 319 | image->setPosition(position); |
| 320 | } |
| 321 | } |
| 322 | |
| 323 | void ImageDock::customPositionYChanged(double value) { |
| 324 | CONDITIONAL_RETURN_NO_LOCK; |
nothing calls this directly
no test coverage detected