QSqlQueryModel::headerData()
It asks the database, but the queries depend on the database you use (unless it supports the standard information_schema schema).does anybody know how the QSqlTableModel gets the header-data?
QSqlQueryModel::record() or QSqlDatabase::record() and QSqlRecord::fieldName() might be helpful.
Bookmarks