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

If list model support function property would be better.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.15.2
    • Core: Item Models
    • None
    • All

    Description

      Hi guys,

          I want to add a model to my repeater, and want to add a function property to each element.  The document says that from Qt 5.11 , ListElement support this feature. it's true. 

      But only static ListModel support this. If I want to add new ListElement to the model, it will be failed. Please see the demo. I want to ListModel support adding element with function property  dynamically  .

      Attachments

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

        Activity

          People

            dfaure_kdab David Faure
            yorkxychen york123 chen123
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes