2016-05-07 22:12 GMT+02:00 Elvis Stansvik <elvst...@gmail.com>: > 2016-05-07 21:39 GMT+02:00 Elvis Stansvik <elvst...@gmail.com>: >> Hi all, >> >> Back in 2010 there were a couple of interesting threads on this list >> regarding the use of state machines: >> >> http://comments.gmane.org/gmane.comp.lib.qt.general/29861 >> http://comments.gmane.org/gmane.comp.lib.qt.general/36760 >> >> In the second one, which was about using a C++ QStateMachine based >> design for the backend logic, and making it available to QML, Sean >> Harmer describes his approach in a very good post. > > To clarify, I'm talking about this answer: > > http://permalink.gmane.org/gmane.comp.lib.qt.general/36869 >
I took the liberty of converting your trafficlight example from that post to Quick 2 (attached). Elvis > Elvis > >> >> Sean, you mentioned back in that thread that you would polish up what >> you had written and put it up on the Nokia blog (or the wiki?). Do you >> remember if you ever got around to this, and if so, if that material >> was lost when Nokia sold Qt? (or if Sean is not here, does anyone else >> know?). >> >> I'm very much interested in real-world examples/stories of using a >> state machine-based C++ (or Python) backend for the logic, and QML for >> the UI, especially embedded/hardware control use cases. >> >> Cheers, >> Elvis
trafficlight-quick2.tar.gz
Description: GNU Zip compressed data
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest