EventConnection QML Type
ステートマシンから送信されるイベントに接続します。詳細...
| Import Statement: | import QtScxml 6.12 |
| Since: | QtScxml 5.8 |
プロパティ
- events : stringlist
- stateMachine : ScxmlStateMachine
信号
- occurred(event)
詳細な説明
ステートマシンがイベントを送信した際に通知を受け取るには、対応するシグナルへの接続を作成します。
プロパティのドキュメント
events : stringlist
監視対象となるイベントを記述するSCXMLイベント指定子のリスト。
SCXMLドキュメント内のイベント指定ではスペースの使用が許可されていますが、このリスト内では使用できません。ただし、このリストには、同様の効果を持つ複数の指定子を含めることができます。
stateMachine : ScxmlStateMachine
イベントを送信するステートマシン。
シグナルのドキュメント
occurred(event)
このシグナルは、SCXMLイベント「event 」が発生したときに発信されます。
注: 対応するハンドラは onOccurred です。
「QScxmlEvent」も参照してください 。
© 2026 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.