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

wrong selection mechanism on class reimplemented from QTableWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 4.8.1, 4.8.3, 4.8.4, 5.1.1, 5.5.0
    • Widgets: Itemviews
    • None
    • Window 7 x64 (msvc2010) (QT static build x64)

    Description

      i reimplemented QTableWidget.
      Now for example, i selected row number 5.
      Then i'm changing current item like this(on 8):
      SelectionModel->setCurrentIndex(Model->index(8,0),QItemSelectionModel::NoUpdate);
      Then if i'm trying to add selection with shift key (from 8 to 10).
      Now i have a problem - I need to select 8, 9 and 10 items, but selection made from 5 to 10.
      Please help
      best regards Arsen

      Attachments

        1. Bug.jpg
          Bug.jpg
          44 kB
        2. First.jpg
          First.jpg
          41 kB
        3. NewSrc.zip
          5 kB
        4. NewSrcVar2.zip
          5 kB
        5. PowerModel.zip
          8 kB

        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
              arsen Arsen Arutunyan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes