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

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

XMLWordPrintable

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

      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.

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

            richard Richard Moe Gustavsen
            richard Richard Moe Gustavsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes