! called when label's current horizontal position relative to its parent (top, center, bottom) is changed. */
| 158 | called when label's current horizontal position relative to its parent (top, center, bottom) is changed. |
| 159 | */ |
| 160 | void CustomPointDock::positionYChanged(int index) { |
| 161 | CONDITIONAL_LOCK_RETURN; |
| 162 | |
| 163 | auto verPos = WorksheetElement::VerticalPosition(index); |
| 164 | for (auto* point : m_points) { |
| 165 | auto position = point->position(); |
| 166 | position.verticalPosition = verPos; |
| 167 | point->setPosition(position); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | void CustomPointDock::customPositionXChanged(double value) { |
| 172 | CONDITIONAL_RETURN_NO_LOCK; |
nothing calls this directly
no test coverage detected