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

QHeaderView: Let it be able to indicate where a dragged section would be dropped

    XMLWordPrintable

Details

    • 180c662b0790c6eceffdcb4661681d7df1541a2d (qt/qtbase/dev)

    Description

      It would be nice if the header view could indicate where a dragged section would be dropped. The actual column header is shown being dragged, but it's not completely clear where it will land when the user 'drops' it. Suggestions for ideal behavior would be:

      • Do not move the drag column under the mouse, but rather present a line indicating where the column will be dropped, like dragging tabs in Opera or Firefox.
      • Keep the existing behaviour of showing the column being moved, but have it 'snap' to where it will appear. For instance, if the mouse cursor is dragged from left to right over another column, then the column would stay glued to the left-hand side until the cursor reaches the halfway point, at which point it would snap to the right-hand side of the column.

      Attachments

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

        Activity

          People

            chehrlic Christian Ehrlicher
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes