Re: [Interest] SCXML and datamodel sharing in Qt Quick and C++

2017-12-01 Thread Tomasz Olszak
I was rather thinking about running it again once it is finished. So currently the best way to have it consistent is to wrap data model in Qt Object, expose params as properties. On property change update data model value and trigger somehow current state evaluation. Is it possible? By looking at s

Re: [Interest] SCXML and datamodel sharing in Qt Quick and C++

2017-12-01 Thread Ulf Hermann
> 1. I use scxml compiler and expose compiled machine to Qt Quick. > 2. I use ecmascript as datamodel type. I create data entries in *.scxml file. > 3. I need to repeat those values on Qt Quick side and assign to > StateMachine.initialValues so that they will be reset everytime machine > starts -

[Interest] SCXML and datamodel sharing in Qt Quick and C++

2017-12-01 Thread Tomasz Olszak
Hi, For some time I play with Qt SCXML. I will explain current approach and please help me if I do something in wrong way. 1. I use scxml compiler and expose compiled machine to Qt Quick. 2. I use ecmascript as datamodel type. I create data entries in *.scxml file. 3. I need to repeat those value