Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
4.7.3
-
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
- duplicates
-
QTBUG-1830 Add a takeIndexWidget() (and takeCellWidget()) function so that an index widget can be moved from one index to another
-
- Reported
-