Hi,
I'd like to use a QStatemachine to handle the state of an application. According to the current state of the SM, a different UI should appears like here :

<QSM states> [Start] -> [State1] -> [State2] ->[State3]->[State4]->etc

<UI> [Splash screen for 10s] -> [ UI1] -> [UI2] -> [ UI3 ] -> [UI4]


A button click create the transition between the states.

Whereas I could use the QStatemachine from Qt docs from a single ui, my problem is I don't see how to implement the relationship when SM changed in the main or MainWidow class to call
other classes/UI.