MCPcopy Create free account
hub / github.com/Faster3ck/Converseen / openMultipageFile

Method openMultipageFile

src/mainwindowimpl.cpp:336–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336void MainWindowImpl::openMultipageFile(QString fileName)
337{
338 DialogMultipageEditor *dlg = new DialogMultipageEditor(this);
339
340 statusBar()->showMessage(tr("Analyzing the file. It may take a while, please wait..."));
341 QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
342 dlg->readFile(fileName);
343 QApplication::restoreOverrideCursor();
344 statusBar()->clearMessage();
345
346 dlg->exec();
347
348 if (dlg->result() == 1) {
349 QStringList fileNames = dlg->fileNames();
350 loadFiles(fileNames);
351 }
352}
353
354void MainWindowImpl::dropped(QStringList fileNames, QStringList directories)
355{

Callers

nothing calls this directly

Calls 2

fileNamesMethod · 0.80
readFileMethod · 0.45

Tested by

no test coverage detected