QHeaderView

class PyQt5.QtWidgets.QHeaderView

C++ documentation