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

TableView HorizontalHeaderView stops working if used with QSortFilterProxyModel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.15.1
    • 5.15.0
    • Quick: Controls 2
    • 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. qml.qrc
          0.1 kB
        4. tablemodel.cpp
          0.6 kB
        5. tablemodel.h
          0.6 kB
        6. main.qml
          0.8 kB

        Issue Links

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

          Activity

            People

              richard Richard Moe Gustavsen
              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