Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

State Chart Editor Events, Actions, Metadata and Picture Export



  • Hello,

    Context:
    I would like to use a state chart as a graphical specification for my unit- and integration tests with the option to maybe later on parse them and automatically generate some code out of it.

    Question:

    1. It seems that in the Qt State Chart editor, I cannot create custom actions and events (like for example onFileServerRequest, onRainStartedFalling, doInsertStuffIntoDatabase, doSwitchOffPhone, whatever), is there a way of adding them as some kind of plugin so that I can later on access them in the state chart editor and apply them to different states or transitions, whenever I create a state chart file?

    2. Is there any way to make all data visible in the state chart? I would like to export the state chart as a picture, and currently I am saving the variables and values concerning a state as meta data, but when exporting a picture, they are not included, also the conditions of transistions and events and actions don't appear graphically on the picture.

    Is there any kind of verbose mode maybe to make everything appear in the picture?

    Thank you for your time and trouble.

    Best regards

    Philip.



  • @ColonelPanic said in State Chart Editor Events, Actions, Metadata and Picture Export:

    Qt State Chart editor

    You may want to take a look at the editor's source code, and even contribute changes to it just in case.


Log in to reply