QAbstractItemView is the abstract base class of all views. It has no headers. Both QTreeView and QTableView inherit from QAbstractItemView and they do have headers.