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

QQmlPropertyMap docs should show an example of deriving from it

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.9.0 Beta2, 6.10.0 FF
    • 6.8.0
    • Documentation
    • None
    • 23ed52c1c (dev), 7cbb3c18b (6.9)

      The documentation for QQmlPropertyMap states in a note:

      Note: When deriving a class from QQmlPropertyMap, use the protected two-argument constructor which ensures that the class is correctly registered with the Qt Meta-Object System.

      While this kind of explains it, it would be nice to add a small example of how to implement and use such a class.

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

            dheerendra Dheerendra Purohit
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes