内容表

上一话题

QScxmlExecutableContent.InvokeInfo

下一话题

QScxmlExecutableContent.ParameterInfo

QScxmlCompiler.Loader

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

Inheritance diagram of PySide2.QtScxml.QScxmlCompiler.Loader

详细描述

class PySide2.QtScxml.QScxmlCompiler. Loader

Creates a new loader.

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

  • baseDir – unicode

  • errors – 字符串列表

返回类型

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.

返回 QByteArray that stores the contents of the file.