Does StateMachine support PropertyChanges?

  • The QML StateMachine component seems wonderful, but how can it not support PropertyChanges???

    With legacy states, PropertyChanges change properties from their initial values. Changing from one state to another reliably restores properties to initial values if not expressly set via a PropertyChanges element.

    PropertyChanges elements are not recognized in the new StateMachine component. Without this elegant feature, one must write Javascript code to change properties and track which properties were changed in order to ensure they are restored correctly -- it has become extremely error-prone!

    Am I correct? Is the new StateMachine inferior to the legacy states support when it comes to managing properties?

Log in to reply