Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-12035

Research use of QML annotations for tooling

XMLWordPrintable

      We should look into using annotations to extend our tooling capabilities.

      For example we could use it for improving our custom added properties section in the following way to allow users to specify a range for a property, allowing us to determine a better control type, like a spinbox with integrated slider, for this property. Along with providing a category for better organization of these properties within the property panel.

      As these annotations are disregarded in the runtime this would allow us to use them purely for tooling improvements.

       
      @QDSAnnotation { range:[0,100]; category: myCategory }
      property int myInt: 0
       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thohartm Thomas Hartmann
            brook_cronin_qt Brook Cronin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes