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

Upgrade QTableWidget to allow drag and drop to rearrange rows

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Invalid
    • Affects Version/s: Some future release
    • Fix Version/s: None
    • Labels:
      None

      Description

      Currently QTableWidget allows drag and drop but it only allows you to move blocks of cells within the grid. This is not all that useful. I think a much more frequent case is that users want to rearrange rows or columns. It would be nice to add a drag and drop mode that can rearrange rows or columns. Attached find some code that leverages the existing Qt code to have drag and drop rearrange rows.

        Attachments

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mawiesma Martin Wiesmann (closed Nokia identity) (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes