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

ListModel provides no way to turn a row number into a QModelIndex

    XMLWordPrintable

Details

    Description

      I expect this was overlooked when exposing QModelIndex & other related classes/changes like QItemSelectionModel to QML in Qt 5.5.

      The result of this is that it appears (to me) to be impossible to use ItemSelectionModel with a ListModel-type model.

      Found via http://stackoverflow.com/questions/41566115/purpose-and-usage-of-itemselectionmodel-in-qml

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes