QScxmlDynamicScxmlServiceFactory#
The QScxmlDynamicScxmlServiceFactory class creates SCXML service instances from documents loaded at runtime. More…
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#
Dynamically resolved services are used when loading SCXML content from files that a parent state machine requests at runtime, via the srcexpr attribute in the <invoke> element.
- class PySide6.QtScxml.QScxmlDynamicScxmlServiceFactory(invokeInfo, names, parameters[, parent=None])#
- Parameters:
names –
parameters –
invokeInfo –
PySide6.QtScxml.QScxmlExecutableContent.InvokeInfoparent –
PySide6.QtCore.QObject
Creates a factory for dynamically resolved services, passing the attributes of the <invoke> element as invokeInfo, any <param> child elements as parameters, the content of the names attribute as names, and the QObject parent parent.