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

QAbstractItemModel::multiData/QModelRoleDataSpan missing

    XMLWordPrintable

Details

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

    Description

      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).

      Attachments

        For Gerrit Dashboard: PYSIDE-2859
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes