load images using the file dialog
| 275 | |
| 276 | //load images using the file dialog |
| 277 | void MainWindow::loadUserFilePath() { |
| 278 | QString filter = "Image Formats (" + supportedImageformats.join(" ") + ")"; |
| 279 | |
| 280 | QList<QUrl> urls = QFileDialog::getOpenFileUrls(this, |
| 281 | "Open Image File", |
| 282 | QDir::homePath(), |
| 283 | filter); |
| 284 | loadMultipleDropped(urls); |
| 285 | } |
| 286 | |
| 287 | void MainWindow::calcNormal() { |
| 288 | if(input.isNull()) |
nothing calls this directly
no outgoing calls
no test coverage detected