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

Upgrade QTableWidget to allow drag and drop to rearrange rows

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Invalid
    • P4: Low
    • None
    • Some future release
    • 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

        1. TableWidgets.zip
          4 kB
          Martin Wiesmann (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            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