"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
from typing import Optional, Sequence
import PySide6.QtCore
import PySide6.QtScxml

bytes = str


class QScxmlStaticScxmlServiceFactory(PySide6.QtScxml.QScxmlInvokableServiceFactory):
    """
    https://doc.qt.io/qt-6/qscxmlstaticscxmlservicefactory.html

    **Detailed Description**

    A factory for instantiating SCXML state machines from files known at compile
    time, that is, files specified via the `src` attribute in `<invoke>`.
    """

    def __init__(
        self,
        metaObject: PySide6.QtCore.QMetaObject,
        invokeInfo: PySide6.QtScxml.QScxmlExecutableContent.InvokeInfo,
        nameList: Sequence[int],
        parameters: Sequence[PySide6.QtScxml.QScxmlExecutableContent.ParameterInfo],
        parent: Optional[PySide6.QtCore.QObject] = ...,
    ) -> None:
        ...

    def invoke(
        self, parentStateMachine: PySide6.QtScxml.QScxmlStateMachine
    ) -> PySide6.QtScxml.QScxmlInvokableService:
        """
        https://doc.qt.io/qt-6/qscxmlstaticscxmlservicefactory.html#invoke

        **[override virtual] QScxmlInvokableService
        *QScxmlStaticScxmlServiceFactory::invoke(QScxmlStateMachine *
        parentStateMachine )**

        Reimplements: **QScxmlInvokableServiceFactory::invoke**
        (QScxmlStateMachine *parentStateMachine).
        """
        ...
