Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

State Change



  • Is there a signal for when all the properties related to a state change have been set?



  • Are you talking about QState? If so, the signal propertiesAssigned is what you arel looking for.



  • Thanks, but I'm referring a QML state change. I don't believe the propertiesAssigned signal is exposed in qml.

    Is there a way from QML to know when all the properties related to a state change have been assigned?



  • Hi,

    There is an (undocumented) completed signal that is emitted. For Qt Quick 2.0 we should have a more complete set (right now I'm experimenting with aboutToExit, aboutToEnter, exited, and entered).

    Regards,
    Michael


Log in to reply