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. tablemodel.h
          0.6 kB
        2. tablemodel.cpp
          0.6 kB
        3. qml.qrc
          0.1 kB
        4. main.qml
          0.8 kB
        5. main.cpp
          0.8 kB
        6. CMakeLists.txt
          1 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