MCPcopy Create free account
hub / github.com/IENT/YUView / setDrawZoomBox

Method setDrawZoomBox

YUViewLib/src/ui/views/SplitViewWidget.cpp:764–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764void 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
778void splitViewWidget::paintRegularGrid(QPainter *painter, playlistItem *item)
779{

Callers 2

toggleZoomBoxMethod · 0.95
getStateFromMasterMethod · 0.95

Calls 2

getOtherWidgetMethod · 0.95
updateMouseTrackingMethod · 0.95

Tested by

no test coverage detected