Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2859

QAbstractItemModel::multiData/QModelRoleDataSpan missing

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: P4: Low P4: Low
    • 6.8.0
    • 6.7.2
    • PySide
    • None
    • Windows
    • ba83ea754 (dev), 8b08cebf5 (dev)

      Looking at the documentation for QAbstractItemModel, I noticed the availability of a multiData method (https://doc.qt.io/qt-6/qabstractitemmodel.html#multiData). In theory this should help to speed up my application, where i'm processing a large model with multiple columns and roles. Sadly this seems to be unavailable in PySide.

      Would be appreciated if this could be supported. My assumption is this method simply gets auto-rejected in the Shiboken typesystem as the required "QModelRoleDataSpan" is not exposed (https://doc.qt.io/qt-6/qmodelroledataspan.html).

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

            kleint Friedemann Kleint
            lexn Lex Nicolaes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes