| 602 | } |
| 603 | |
| 604 | void splitViewWidget::setZoomBoxPixelUnderCursor(QPoint posA, |
| 605 | QPoint posB, |
| 606 | bool setOtherViewIfLinked, |
| 607 | bool callUpdate) |
| 608 | { |
| 609 | if (this->enableLink && setOtherViewIfLinked) |
| 610 | this->getOtherWidget()->setZoomBoxPixelUnderCursor(posA, posB, false, true); |
| 611 | |
| 612 | this->zoomBoxPixelUnderCursor[0] = posA; |
| 613 | this->zoomBoxPixelUnderCursor[1] = posB; |
| 614 | |
| 615 | if (callUpdate) |
| 616 | update(); |
| 617 | } |
| 618 | |
| 619 | void splitViewWidget::paintZoomBox(int view, |
| 620 | QPainter & painter, |
nothing calls this directly
no test coverage detected