| 268 | } |
| 269 | |
| 270 | void IPImageViewer::zoomOut() |
| 271 | { |
| 272 | _zoomFitMode = false; |
| 273 | |
| 274 | if(_scale <= 0.1) |
| 275 | return; |
| 276 | |
| 277 | _scale *= (1/1.1); |
| 278 | |
| 279 | QMatrix matrix; |
| 280 | matrix.scale(_scale, _scale); |
| 281 | _graphicsView->setMatrix(matrix); |
| 282 | } |
| 283 | |
| 284 | void IPImageViewer::zoomFit() |
| 285 | { |
no outgoing calls
no test coverage detected