MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / zoomReset

Method zoomReset

ImagePlay/src/IPImageViewer.cpp:293–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void IPImageViewer::zoomReset()
294{
295 _zoomFitMode = false;
296
297 _scale = 1.0;
298
299 QMatrix matrix;
300 matrix.scale(_scale, _scale);
301 _graphicsView->setMatrix(matrix);
302}
303
304bool IPImageViewer::eventFilter(QObject *object, QEvent *event)
305{

Callers 2

zoomAllViewersMethod · 0.80
tabChangedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected