| 254 | |
| 255 | |
| 256 | void IPImageViewer::zoomIn() |
| 257 | { |
| 258 | _zoomFitMode = false; |
| 259 | |
| 260 | if(_scale >= 9.0) |
| 261 | return; |
| 262 | |
| 263 | _scale *= 1.1; |
| 264 | |
| 265 | QMatrix matrix; |
| 266 | matrix.scale(_scale, _scale); |
| 267 | _graphicsView->setMatrix(matrix); |
| 268 | } |
| 269 | |
| 270 | void IPImageViewer::zoomOut() |
| 271 | { |
no outgoing calls
no test coverage detected