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

Method zoomToCustom

YUViewLib/src/ui/views/MoveAndZoomableView.cpp:771–784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769}
770
771void MoveAndZoomableView::zoomToCustom(bool)
772{
773 bool ok;
774 int newValue = QInputDialog::getInt(this,
775 "Zoom to custom value",
776 "Please select a zoom factor in percent",
777 100,
778 1,
779 2147483647,
780 1,
781 &ok);
782 if (ok)
783 zoom(ZoomMode::TO_VALUE, QPoint(), double(newValue) / 100);
784}
785
786void MoveAndZoomableView::setLinkState(bool enabled)
787{

Callers 1

onMenuZoomToCustomMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected