| 762 | } |
| 763 | |
| 764 | void splitViewWidget::setDrawZoomBox(bool drawZoomBox, bool setOtherViewIfLinked, bool callUpdate) |
| 765 | { |
| 766 | if (this->enableLink && setOtherViewIfLinked) |
| 767 | this->getOtherWidget()->setDrawZoomBox(drawZoomBox, false, callUpdate); |
| 768 | |
| 769 | this->drawZoomBox = drawZoomBox; |
| 770 | QSignalBlocker actionZoomBoxBlocker(this->actionZoomBox); |
| 771 | this->actionZoomBox.setChecked(drawZoomBox); |
| 772 | this->updateMouseTracking(); |
| 773 | |
| 774 | if (callUpdate) |
| 775 | update(); |
| 776 | } |
| 777 | |
| 778 | void splitViewWidget::paintRegularGrid(QPainter *painter, playlistItem *item) |
| 779 | { |
no test coverage detected