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

TableView HorizontalHeaderView stops working if used with QSortFilterProxyModel

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.15.0
    • Fix Version/s: 5.15.1
    • Component/s: Quick: Controls 2
    • Labels:
      None

      Description

      If a QAbstractTableModel is displayed in a TableView with HorizontalHeaderView and VerticalHeaderView everything works fine. But if this model is filtered with a QSortFilterProxyModel, it stops working.

      This is related to QTBUG-85777 which is marked as a suggestion, but form a user perspective this is actually a bug

        Attachments

        1. CMakeLists.txt
          1 kB
        2. main.cpp
          0.8 kB
        3. main.qml
          0.8 kB
        4. qml.qrc
          0.1 kB
        5. tablemodel.cpp
          0.6 kB
        6. tablemodel.h
          0.6 kB

          Issue Links

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

            Activity

              People

              Assignee:
              richard Richard Moe Gustavsen
              Reporter:
              maxwell31 James Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes