MCPcopy Create free account
hub / github.com/Theverat/NormalmapGenerator / loadUserFilePath

Method loadUserFilePath

src_gui/mainwindow.cpp:277–285  ·  view source on GitHub ↗

load images using the file dialog

Source from the content-addressed store, hash-verified

275
276//load images using the file dialog
277void 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
287void MainWindow::calcNormal() {
288 if(input.isNull())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected