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 鈥� str

  • baseDir 鈥� str

  • errors 鈥� list of strings

Return type:

PySide2.QtCore.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.