EventConnection QML Type

상태 머신에서 전송한 이벤트에 연결합니다. 더 보기...

Import Statement: import QtScxml 6.8
Since: QtScxml 5.8

속성

신호

상세 설명

상태 머신이 이벤트를 전송할 때 알림을 받으려면 해당 신호에 대한 연결을 생성할 수 있습니다.

속성 문서

events : stringlist

수신할 이벤트를 설명하는 SCXML 이벤트 지정자 목록입니다.

SCXML 문서의 이벤트 사양에는 공백이 허용되지만 이 목록에는 공백이 허용되지 않습니다. 그러나 이 목록에는 동일한 효과를 위해 여러 지정자가 포함될 수 있습니다.


stateMachine : ScxmlStateMachine

이벤트를 전송하는 상태 머신.


신호 문서

occurred(event)

이 신호는 SCXML 이벤트 event 가 발생할 때 전송됩니다.

참고: 해당 핸들러는 onOccurred 입니다.

QScxmlEvent도 참조하세요 .


© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.