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

Add a QTableWidget::takeCellWidget() function

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes