Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-113490

Document QML_CONSTRUCTIBLE_VALUE and QML_STRUCTURED_VALUE

    XMLWordPrintable

Details

    Description

      From ulherman's comment at QTBUG-56611: "You can register named value types with the QML_VALUE_TYPE macro these days. There is also QML_CONSTRUCTIBLE_VALUE and QML_STRUCTURED_VALUE. With those you can initialize value type properties from either their constructor parameters or from a JavaScript object containing their properties."

       

      Only QML_VALUE_TYPE is documented. The other 2 are not:

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              jksh Sze Howe Koh
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes