IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

EventConnection QML Type

Connects to events sent out by state machines.

This type was introduced in QtScxml 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

EventConnection QML Type▲

  • Import Statement: import QtScxml 6.1

  • Since: QtScxml 5.8

Detailed Description▲

To receive a notification when a state machine sends out an event, a connection can be created to the corresponding signal.

Property Documentation▲

 

events : stringlist▲

The list of SCXML event specifiers that describe the events to listen for.

Even though spaces are allowed in event specifications in SCXML documents, they are not allowed in this list. However, the list can contain multiple specifiers, to the same effect.

stateMachine : ScxmlStateMachine▲

The state machine that sends out the event.

Signal Documentation▲

 

occurred(event)▲

This signal is emitted when the event event occurrs.

The corresponding signal handler is onOccurred.

The corresponding handler is onOccurred.

See Also▲

See also QScxmlEvent

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+