PDA

View Full Version : Reload a QTableWidget



SailinShoes
18th March 2008, 08:18
When I reload a QTableWidget I use the method clear()...but it only delete item text. It does not delete the columns and rows (items)?

Is there a method to delete rows and columns (items) in a QTableWidget?

jpn
18th March 2008, 12:40
QTableWidget::setRowCount()
QTableWidget::setColumnCount()