Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
how to remove Item in Qtablewidget?
ForestPoem last edited by ForestPoem
my source code ↓
my way this.
If this memory is free?
If not let me know any other method.
Ratzz last edited by
When you set the item, The table takes ownership of the item. So just deleting the tableWidget should satisfy. If you want to selectively delete, what you are doing should be good enough.