PySide6.QtScxml.QScxmlCompiler.Loader¶
- class Loader¶
The Loader class is a URI resolver and resource loader for an SCXML compiler. More…
Synopsis¶
Methods¶
def
__init__()
Virtual methods¶
def
load()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
- __init__()¶
Creates a new loader.
- abstract 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.