I am trying to delete all rows from a QTableWidget . Here is what I tried.
for ( int i = 0; i < mTestTable->rowCount(); ++i ) { mTestTable->removeRo
AFAIK setRowCount(0) removes nothing. Objects are still there, but no more visible.
setRowCount(0)
yourtable->model()->removeRows(0, yourtable->rowCount());