! called when label's current horizontal position relative to its parent (top, center, bottom, custom ) is changed. */
| 301 | called when label's current horizontal position relative to its parent (top, center, bottom, custom ) is changed. |
| 302 | */ |
| 303 | void 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 | |
| 312 | void ImageDock::customPositionXChanged(double value) { |
| 313 | CONDITIONAL_RETURN_NO_LOCK; |
nothing calls this directly
no test coverage detected