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

Function QItemSelectionModel::isSelected should be virtual

    XMLWordPrintable

Details

    Description

      After changing QItemSelectionModel::selected(...) for

      After changing the QItemSelectionModel::select() functions may need to change the functions check whether an item is selected. Otherwise QItemSelectionModel::isSeletsted(...) limits the possible logic that could be implemented in QItemSelectionModel::select(...). When working with large trees (hundreds of thousands of items) should avoid the use selection of ranges and use selection of branches, otherwise have very poor performance. When working with selections based on the branches, the default behavior QItemSelectionModel::isSelected(...) not suitable.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              isaev ilya Isaev Ilya
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes