Was wrestling with the same problem with QTableWidget this morning! Thanks!