22 <<
" curDir=" << QDir::currentPath().toLatin1().data();
26 if (!fileCmdScriptFile.isEmpty ()) {
29 QFile file (fileCmdScriptFile);
31 QXmlStreamReader reader (&file);
32 if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
34 QString msg = QString (
"%1 %2 %3 %4")
35 .arg (QObject::tr (
"Cannot read script file"))
36 .arg (fileCmdScriptFile)
37 .arg (QObject::tr (
"from directory"))
38 .arg (QDir::currentPath());
39 QMessageBox::critical (
nullptr,
47 while (!reader.atEnd() && !reader.hasError()) {
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...