Uploaded image for project: 'Qt Automotive Suite'
  1. Qt Automotive Suite
  2. AUTOSUITE-629

Store annotations (min/max...) in a JSON file and add support for this to the QML simulation C++ classes

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Not Evaluated
    • 5.12.0
    • 5.12.0
    • Qt IVI
    • None

    Description

      Storing the annotation files in a JSON file gives the simulation code the advantage to use these values at runtime and not hardcode it as it is done right now. This makes it possible to exchange the data at runtime when needed. E.g. redefine min/max for some properties, change default values, or provide a complete new list of radio stations using a JSON file would be possible.

      • Change the autogenerator to write the annoations in a JSON file and embed it in a QRC
      • Add functions for reading this JSON including a way to overwrite on runtime to the C++ classes
      • Add more support functions to the C++ classes, e.g. generic read functions for the JSON data ? reusable functions to check for min/max of a property and give a uniform error in case the values are out of range.

      Attachments

        For Gerrit Dashboard: AUTOSUITE-629
        # Subject Branch Project Status CR V

        Activity

          People

            gagi Dominik Holland
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes