I would subclass QHeaderView and reimplement most of it. But it's much work, unfortunately. QHeaderView is a very incomplete class that was probably meant to be finished in some undefined future that never came to be...