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

wrong selection mechanism on class reimplemented from QTableWidget

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low 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)

      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

        1. PowerModel.zip
          8 kB
        2. NewSrc.zip
          5 kB
        3. Bug.jpg
          Bug.jpg
          44 kB
        4. First.jpg
          First.jpg
          41 kB
        5. NewSrcVar2.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            arsen Arsen Arutunyan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes