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

VerticalHeaderView / HorizontalHeaderView should always use headerData() -- stale docs?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6
    • Quick: Controls 2
    • None

    Description

      The docs for VerticalHeaderView::model say

      https://doc.qt.io/qt-6/qml-qtquick-controls-verticalheaderview.html#model-prop

      If model is a QAbstractTableModel, its vertical headerData() will be accessed.

      If model is a QAbstractItemModel other than QAbstractTableModel, model's data() will be accessed.

      Not only this is a wrong behavior, but it seems, it's not the existing behavior at all? Are the docs stale?

      Attachments

        For Gerrit Dashboard: QTBUG-123595
        # Subject Branch Project Status CR V

        Activity

          People

            richard Richard Moe Gustavsen
            peppe Giuseppe D'Angelo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change