Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QStateMachine use in complex situations
bhupi last edited by
I am working on a application which deal with many QWidgets. I want to know way how navigation can be done within widgets.
From the above link i find that The State Machine Framework is for dealing complex situations. Can someone through light how it will beneficial in handling widgets navigation. what are its benefits.
State Machine Framework
Well one benefit is that you can set up complex states that would be
epic gigant mess using if-then-else structure.
A Former User last edited by
To add to what @mrjj said, don't write the C++ code for the statemachine by hand. This will also quickly lead to a giant mess. Use a code generator.