QScxmlStateMachine How to Modify the History State?
-
Was reading thru the Qt Assistant for QT 6.6.3.
I had found no means to query or extract or modify the History State in QScxmlStateMachine. I managed to save and restore the History State but i need to modify it before i restore the History State.
Seems like QT didn't expose any means to query the QScxmlStateMachine for the saved History State.
Will appreciate if any one else face this issue or can provide some insight on how can i can modify the saved History State in QScxmlStateMachine
-
Hi and welcome to devnet,
I would venture that it is pretty unlikely as the very goal of the history state is to come back to a known state.
If you want to do something custom, you better implement your own "history" state.