selecting all columns of a single table doesn't usually meet our needs. IMHO QSqlTableModel is too restricted to a single case of use.

But thanks jacek for your posting. I think I'm going to use QSqlQueryModel.