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

Add a QTableWidget::takeCellWidget() function

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 4.7.3
    • Widgets: Itemviews
    • None

    Description

      The auto-delete-on-set functionality of QTableWidget::setCellWidget() make it impossible to simply move or swap table cell widgets around.

      I suggest you introduce a function modelled after QTableWidget::takeItem() which dissociates a cell widget from its table, but does not delete it, so that it can be re-entered at another table position, or re-used for other purposes.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              wdi Wolf-D. Ihlenfeldt
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes