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

QSelectionModel::isColumnSelected get repeatly called in QHeaderView::paintSection()

    XMLWordPrintable

Details

    Description

      QSelectionModel::isColumnSelected(...) get repeatly called in QHeaderView::paintSection() and result in poor performance when user deselecting a large number of items. In some cases the column is not selectable so calling isColumnSelected(...) is not necessary. Is it possible to make isColumnSelected() virtual to allow customer to decide whether to calculate the selection or not?

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            z35liu Zheng Liu (closed Nokia identity) (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes