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

Create a QML wrapper around QGenericItemModel

    XMLWordPrintable

Details

    Description

      Here's an idea:

      Item {
          property list<string> strings: ["a", "b", "c"]
          GenericItemModel on strings {
              id: genericModel
          }
      
          ListView {
              model: genericModel
              [...]
          }
      }
      

      If we can generalize something like that for all kinds of containers in QML we'll finally have a nice replacement for ListModel.

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes