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

HeaderView: it's not possible to edit a cell in a HeaderView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8
    • None

    Description

      It's currently not possible to edit a cell in a HeaderView (using e.g TableView.edit(), or clicking on a cell). The reason being that TableView requires the model to return Qt::ItemIsEditable from QAbstractItemModel::flags(index). But the application developer doesn't have access to the model used by HeaderView, because it's an internal proxy model that fetches the headerData() from the model assigned to the syncView.

      Attachments

        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
              richard Richard Moe Gustavsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes