MCPcopy Create free account
hub / github.com/YACReader/yacreader / exportLibrary

Method exportLibrary

YACReaderLibrary/export_library_dialog.cpp:70–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void ExportLibraryDialog::exportLibrary()
71{
72 QFileInfo f(path->text());
73 if (f.exists() && f.isDir() && f.isWritable()) {
74 progressBar->show();
75 accept->setEnabled(false);
76 emit exportPath(QDir::cleanPath(path->text()));
77 } else
78 QMessageBox::critical(NULL, tr("Problem found while writing"), tr("The selected path for the output file does not exist or is not a valid path. Be sure that you have write access to this folder"));
79}
80
81void ExportLibraryDialog::findPath()
82{

Callers

nothing calls this directly

Calls 3

textMethod · 0.80
isDirMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected