fits the preview into the graphicsView
| 763 | |
| 764 | //fits the preview into the graphicsView |
| 765 | void MainWindow::fitInView() { |
| 766 | ui->graphicsView->scene()->setSceneRect(QRectF(0, 0, input.width(), input.height())); |
| 767 | ui->graphicsView->setSceneRect(ui->graphicsView->scene()->sceneRect()); |
| 768 | ui->graphicsView->fitInView(ui->graphicsView->scene()->sceneRect(), Qt::KeepAspectRatio); |
| 769 | } |
| 770 | |
| 771 | //displays single color channels of the image (handled by an intensitymap) |
| 772 | void MainWindow::displayChannelIntensity() { |
nothing calls this directly
no outgoing calls
no test coverage detected