Loader¶
The Loader class is a URI resolver and resource loader for an SCXML compiler. More…
Detailed Description¶
- class PySide2.QtScxml.QScxmlCompiler.Loader¶
Creates a new loader.
- PySide2.QtScxml.QScxmlCompiler.Loader.load(name, baseDir, errors)¶
- Parameters:
name – str
baseDir – str
errors – list of strings
- Return type:
Resolves the URI
name
and loads an SCXML file from the directory specified bybaseDir
.errors
contains information about the errors that might have occurred.Returns a
QByteArray
that stores the contents of the file.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.