Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. State Chart Editor Events, Actions, Metadata and Picture Export

State Chart Editor Events, Actions, Metadata and Picture Export

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 351 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    ColonelPanic
    wrote on last edited by
    #1

    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.

    Pablo J. RoginaP 1 Reply Last reply
    0
    • C ColonelPanic

      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.

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @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.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved