QScxmlCompiler.Loader

The Loader class is a URI resolver and resource loader for an SCXML compiler. More

Inheritance diagram of PySide2.QtScxml.QScxmlCompiler.Loader

Detailed Description

class PySide2.QtScxml.QScxmlCompiler.Loader

Creates a new loader.

PySide2.QtScxml.QScxmlCompiler.Loader.load(name, baseDir, errors)
Parameters
  • name – unicode

  • baseDir – unicode

  • errors – list of strings

Return type

QByteArray

Resolves the URI name and loads an SCXML file from the directory specified by baseDir . errors contains information about the errors that might have occurred.

Returns a QByteArray that stores the contents of the file.